1A NOTE ON THE CHANGELOG:
2Starting in early 2011, Tk source code has been under the management of
3fossil, hosted at http://core.tcl.tk/tk/ .  Fossil presents a "Timeline"
4view of changes made that is superior in every way to a hand edited log file.
5Because of this, many Tcl developers are now out of the habit of maintaining
6this log file.  You may still find useful things in it, but the Timeline is
7a better first place to look now.
8============================================================================
9
102013-08-30  Don Porter  <dgp@users.sourceforge.net>
11
12	* generic/tk.h:		Bump to 8.5.15 for release.
13	* library/tk.tcl:
14	* unix/configure.in:
15	* unix/tk.spec:
16	* win/configure.in:
17	* README:
18
19	* unix/configure:	autoconf-2.59
20	* win/configure:
21
222013-08-25   Kevin Walzer <wordtech@users.sourceforge.net>
23
24	* macosx/tkMacOSXButton.c:  Bug [3016181]: Crash after scrollbar
25	* macosx/tkMacOSXMenu.c:	destroyed, Tk Cocoa.
26	* macosx/tkMacOSXScrlbr.c:
27	* macosx/tkMacOSXWm.c:
28
292012-08-15  Joe English  <jenglish@users.sourceforge.net>
30
31	* library/ttk/progress.tcl: Bug [c597acdab3]: Call [$pb step]
32	in tail position in ttk::progressbar::Autoincrement, so that
33	the widget is in a consistent state when any write traces on
34	the linked -variable are fired.
35
362013-07-02  Jan Nijtmans  <nijtmans@users.sf.net>
37
38	* unix/tcl.m4:  Bug [32afa6e256]: dirent64 check is incorrect in tcl.m4
39	* unix/configure: (thanks to Brian Griffin)
40
412012-06-28  Jan Nijtmans  <nijtmans@users.sf.net>
42
43	* library/ttk/scale.tcl: [Bug 2501278]: ttk::scale keyboard binding
44	problem.
45
462012-06-07  Jan Nijtmans  <nijtmans@users.sf.net>
47
48	* win/tkWinDialog.c: [Bug 1913750]: tk_chooseDirectory -initialdir
49	internationalization problem.
50	[Bug 3500545]: tk_getOpenFile -multiple 1 wrong	on windows.
51	[Bug 3416492]: Crash in open/save file dialog in Windows 7 libraries.
52	[Bug 3095112]: crash when selecting file from Win7 Library.
53	(All of those backported from Tk 8.6)
54
552013-06-05  Jan Nijtmans  <nijtmans@users.sf.net>
56
57	* generic/ttk/ttkScroll.c: [Bug 3613759]: ttk::entry and symbolic
58	index names.
59	* generic/ttk/ttkEntry.c: [Bug 2100430]: ttk::entry widget index
60	must be integer
61	* generic/tkEntry.c: Don't set interp result when it will be
62	overwritten later.
63
642013-05-19  Jan Nijtmans  <nijtmans@users.sf.net>
65
66	* unix/tcl.m4:     Fix for FreeBSD, and remove support for older
67	* unix/configure:  FreeBSD versions. Patch by Pietro Cerutti.
68
692013-04-10  Jan Nijtmans  <nijtmans@users.sf.net>
70
71	* win/makefile.vc: [Bug 3568760]: Tk documentation fails to build
72
732013-04-01  Don Porter  <dgp@users.sourceforge.net>
74
75	*** 8.5.14 TAGGED FOR RELEASE ***
76
77	* generic/tk.h:		Bump to 8.5.14 for release.
78	* library/tk.tcl:
79	* unix/configure.in:
80	* unix/tk.spec:
81	* win/configure.in:
82	* README:
83
84	* unix/configure:	autoconf-2.59
85	* win/configure:
86
87	* generic/tkInt.h:	[Bug 3607830] Runtime checks that Xkb is
88	* unix/tkUnixEvent.c:	available in the X server before trying to
89	* unix/tkUnixKey.c:	use.  Adapted from patch from Brian Griffin.
90
912013-03-27  Jan Nijtmans  <nijtmans@users.sf.net>
92
93	* library/button.tcl:    [Bug 3608074]: Add <<Invoke>> bindings to
94	* library/listbox.tcl:   Button's, Listbox and Menu.
95	* library/menu.tcl:
96	* doc/event.n:           Document <<Invoke>>, <<ThemeChanged>>,
97	* doc/ttk_panedwindow.n: <<EnteredChild>> (ttk_pandedwindow only) and
98	* doc/ttk_spinbox.n:     <<Increment/Decrement>> (ttk_spinbox only)
99
1002013-03-13  Jan Nijtmans  <nijtmans@users.sf.net>
101
102	* unix/tcl.m4: Patch by Andrew Shadura, providing better support for
103	three architectures they have in Debian.
104
1052013-03-11  Don Porter  <dgp@users.sourceforge.net>
106
107	* generic/tkListbox.c:	[Bug 3607326] Stop segfault from
108	* tests/listbox.test:	[listbox .l -listvariable $array].
109
1102013-02-28  Donal K. Fellows  <dkf@users.sf.net>
111
112	* unix/tkUnixKey.c (TkpGetKeySym): [Bug 3599312]: Put the
113	initialization of the key mapping before the input method handling so
114	that Alt key handling is correct on non-OSX Unix. Thanks to Colin
115	McDonald for developing the fix.
116
1172013-01-16  Jan Nijtmans  <nijtmans@users.sf.net>
118
119	* win/Makefile.in:  Don't compile Tk with -DTCL_NO_DEPRECATED by
120	* unix/Makefile.in: default any more, it might hurt when we compile Tk
121	8.x against Tcl 8.y with y > x, because new deprecated constructs
122	might be added in higher Tcl versions (except for Tk 8.6, for now,
123	because there is no higher 8.x yet).
124
1252013-01-14  Jan Nijtmans  <nijtmans@users.sf.net>
126
127	* win/tcl.m4:	 More flexible search for win32 tclConfig.sh,
128	* win/configure: backported from TEA.
129
1302012-12-03  François Vogel  <fvogelnew1@free.fr>
131
132	* generic/tkTextIndex.c: [Bug 3588824]: bug in image index handling
133	* tests/textIndex.test:  for weird image names
134
1352012-11-16  Joe Mistachkin  <joe@mistachkin.com>
136
137	* generic/tkBind.c: Add support for an 'M' binding substitution
138	that is replaced with the number of script-based binding patterns
139	matched so far for the event.
140
1412012-11-13  Jan Nijtmans  <nijtmans@users.sf.net>
142
143	* win/tkWinTest.c: [Bug 3585396]: winDialog.test requires user
144	* tests/winDialog.test: interaction. Renumber test-cases as in Tk 8.6,
145	and convert various to tcltest-2 style.
146
1472012-11-09  Don Porter  <dgp@users.sourceforge.net>
148
149	*** 8.5.13 TAGGED FOR RELEASE ***
150
151	* generic/tk.h:		Bump to 8.5.13 for release.
152	* library/tk.tcl:
153	* unix/configure.in:
154	* unix/tk.spec:
155	* win/configure.in:
156	* README:
157
158	* unix/configure:	autoconf-2.59
159	* win/configure:
160
1612012-11-07  Donal K. Fellows  <dkf@users.sf.net>
162
163	* generic/tkFocus.c (TkSetFocusWin): [Bug 3574708]: Move window
164	liveness into this function from caller sites to ensure that there are
165	no paths where things can trip up on setting the focus to a partially
166	dead window.
167
1682012-10-24  Don Porter  <dgp@users.sourceforge.net>
169
170	* macosx/tkMacOSXWm.c:	[Bug 3574893] Add overlooked toplevel ref
171	count maintenance in the [wm manage|forget] operations that could
172	cause segfaults due to premature free of structs.
173
1742012-10-23  Jan Nijtmans  <nijtmans@users.sf.net>
175
176	* generic/tkButton.h: Backport of ::tk::mac::useCompatibilityMetrics
177	* generic/tkButton.c  handling and scrollbar metrics handling from trunk.
178	* generic/tkScrollbar.h
179	* generic/tkScrollbar.c
180	* macosx/tkMacOSXButton.c
181	* macosx/tkMacOSXScrlbr.c
182	* unix/tkUnixPort.h
183	* win/tkWinButton.c
184	* win/tkWinScrlbr.c
185
1862012-10-09  Andreas Kupries  <andreask@activestate.com>
187
188	Cherrypick Merge, Backport of [6223d9e067]. Restored from
189	tk-cocoa-8-5-bacport-branch, did not survive the merge.
190	See trunk 2012-05-29 Donal K. Fellows
191
192	* generic/tkInt.decls (TkMacOSXDrawable): Added OSX-specific mechanism
193	to allow retrieval of the drawing surface. Allows Canvas3d to be
194	adapted to 8.6.
195
1962012-09-28  Jan Nijtmans  <nijtmans@users.sf.net>
197
198	* generic/tkInt.h:     Add 8 colors to the supported color list
199	* generic/tkColor.c:   (aqua, crimson, fuchsia, indigo, lime,
200	* unix/tkUnixColor.c:  olive, silver and teal), part of TIP #403
201	* xlib/rgb.txt
202	* xlib/xcolors.c
203
2042012-09-26  Jan Nijtmans  <nijtmans@users.sf.net>
205
206	* win/Makefile.in:    Compile win32 binaries with -DTCL_NO_DEPRECATED
207
2082012-09-25   Kevin Walzer <wordtech@users.sourceforge.net>
209
210	* macosx/*: Merge Tk-Cocoa backport into core-8-5-branch
211
2122012-09-13  Donal K. Fellows  <dkf@users.sf.net>
213
214	* generic/ttk/ttkEntry.c (EntryDisplay): [Bug 3567453]: Clip regions
215	* generic/ttk/ttkLabel.c (TextDraw): must be cleared with XSetClipMask
216	* xlib/xgc.c (TkSetRegion): and not TkSetRegion, or crashes will ensue
217	on X11-based builds, which can't handle None for a region argument.
218	Added a clean panic to the non-X11 TkSetRegion to catch this case and
219	stop such confusion from happening again.
220
2212012-09-11  Donal K. Fellows  <dkf@users.sf.net>
222
223	* generic/ttk/ttkEntry.c (EntryDisplay): [Bug 3566594]: Must manually
224	* generic/ttk/ttkLabel.c (TextDraw):     reset the clip region of GCs
225	when not using the Xft font renderer (well, especially on classic X11)
226	because the GC sharing code doesn't take into account clip handling.
227	Thanks to Christian Nassau for identifying the problem.
228
2292012-08-28  Jan Nijtmans  <nijtmans@users.sf.net>
230
231	* generic/tkMenuDraw.c: [Bug 3562426]: Context menu goes out of edge of
232	screen.
233
2342012-08-24  Donal K. Fellows  <dkf@users.sf.net>
235
236	* library/tkfbox.tcl (GlobFiltered): [Bug 3558535]: Factor out the
237	filtered-sorted globbing code into one procedure that knows how to
238	avoid nasty problems when non-list filters are used. This allows the
239	rest of the [tk_getOpenFile] implementation to be ignorant of the
240	considerable complexities of globbing.
241
2422012-08-23  Don Porter  <dgp@users.sourceforge.net>
243
244	* unix/tkUnixWm.c: [Bugs 3554026,3561016]: Stop crash with tearoff
245	menus.
246
2472012-08-17  Jan Nijtmans  <nijtmans@users.sf.net>
248
249	* win/nmakehlp.c: Add "-V<num>" option, in order to be able
250	to detect partial version numbers.
251
2522012-08-15  Jan Nijtmans  <nijtmans@users.sf.net>
253
254	* win/buildall.vc.bat: Only build the threaded builds by default
255	* win/rules.vc:        Backport some improvements from Tcl 8.6
256	* win/makefile.vc:
257
2582012-08-11  François Vogel  <fvogelnew1@free.fr>
259
260	* generic/tkTextTag.c:  [Bug 3554273]: Test textDisp-32.2 failed
261
2622012-08-09  Stuart Cassoff  <stwo@users.sourceforge.net>
263
264	* generic/tkEvent.c:	Remove useless (void *) casts
265	* unix/tkUnixEvent.c:	introduced in checkin [b7a58eae61].
266	* unix/tkUnixKey.c:	The warnings were false flags from a
267	* unix/tkUnixRFont.c:	faulty OpenBSD C compiler.
268
2692012-08-03  François Vogel  <fvogelnew1@free.fr>
270
271	* tests/bind.test:  [Bug 3554081]: Test bind-22.10 failed
272
2732012-08-02  François Vogel  <fvogelnew1@free.fr>
274
275	* tests/spinbox.test:  [Bug 3553311]: Test spinbox-3.70 failed
276
2772012-07-31  Donal K. Fellows  <dkf@users.sf.net>
278
279	* unix/tkUnixKey.c (TkpSetKeycodeAndState, TkpInitKeymapInfo)
280	(TkpGetKeySym): [Bug 3551802]: Convert from XKeycodeToKeysym to
281	XkbKeycodeToKeysym to fix deprecation warning.
282
2832012-07-31  Jan Nijtmans  <nijtmans@users.sf.net>
284
285	* win/nmakehlp.c: Backport from Tcl 8.6, but add -Q option from
286	sampleextension.
287
2882012-07-17  Don Porter  <dgp@users.sourceforge.net>
289
290	*** 8.5.12 TAGGED FOR RELEASE ***
291
292	* generic/tk.h:		Bump to 8.5.12 for release.
293	* library/tk.tcl:
294	* unix/configure.in:
295	* unix/tk.spec:
296	* win/configure.in:
297	* README:
298
299	* unix/configure:	autoconf-2.59
300	* win/configure:
301
302	* changes:	Updated for 8.5.12 release.
303
3042012-07-17  Jan Nijtmans  <nijtmans@users.sf.net>
305
306	* win/makefile.vc: [Bug 3544932]: Visual studio compiler check fails
307
3082012-07-08  Jan Nijtmans  <nijtmans@users.sf.net>
309
310	* generic/tkIntXlibDecls.h: [Bug 3541305]: Xfree/Xsync...
311	should not be macros
312
3132012-07-05  Donal K. Fellows  <dkf@users.sf.net>
314
315	* doc/wm.n (geometry): [Bug 3538401]: Better description of the key
316	difference between [wm geometry] and [winfo geometry]; the former
317	represents the window manager's understanding, not Tk's.
318
3192012-07-04  Donal K. Fellows  <dkf@users.sf.net>
320
321	* win/tkWinDialog.c (GetFileNameW): [Bug 3540127]: Clean up the tables
322	of options for the file dialogs so that options are listed in error
323	messages in alphabetical order.
324
3252012-07-02  Jan Nijtmans  <nijtmans@users.sf.net>
326
327	* win/tkWinDialog.c: [Bug 3540127]: filebox.test fails on win32
328
3292012-06-26  Jan Nijtmans  <nijtmans@users.sf.net>
330
331	* unix/configure.in:  Link cygwin wish.exe with win32 tk.dll, only
332	* unix/Makefile.in:   in combination with --enable-shared.
333	* unix/tcl.m4:
334	* unix/configure:     autoconf-2.59
335
3362012-06-22  Jan Nijtmans  <nijtmans@users.sf.net>
337
338	* win/Makefile.in:    [Bug 1844430]: cygwin make fails in 8.4.14-8.5b3
339	* unix/tcl.m4:        Sync with Tcl version.
340	* unix/configure:     autoconf-2.59
341
3422012-06-15  Donal K. Fellows  <dkf@users.sf.net>
343
344	* generic/ttk/ttkTreeview.c (unshareObj): [Bug 3535362]: Changed name
345	of 'unshare' internal function to avoid clash with some libc versions.
346
3472012-06-12  Donal K. Fellows  <dkf@users.sf.net>
348
349	* unix/tkUnixRFont.c (Tk_DrawChars, TkUnixSetXftClipRegion): Add some
350	* generic/ttk/ttkEntry.c (EntryDisplay): special magic to make the
351	* generic/ttk/ttkLabel.c (TextDraw): text clipping work right with the
352	Xft-based renderer (which doesn't use the standard Tk GC except to
353	supply the color).
354
3552012-06-11  Donal K. Fellows  <dkf@users.sf.net>
356
357	* generic/ttk/ttkLabel.c (TextDraw): [Bug 3294450]: Get the clipping
358	* generic/ttk/ttkEntry.c (EntryDisplay): of text in Ttk various text
359	elements (e.g., buttons, entries, etc.) correct. Stops a whole range
360	of visual problems, including loss of the second and subsequent lines
361	of a label when the first line doesn't entirely fit, and failing to
362	draw the last character of an entry at all if it doesn't all exactly
363	fit in the space available (a problem I've noticed in tkchat, and been
364	very frustrated with).
365
3662012-06-10  Jan Nijtmans  <nijtmans@users.sf.net>
367
368	* library/*.tcl:      [Bug 3534137]: $tcl_platform(platform) !=
369	[tk windowingsystem]
370
3712012-06-08  Jan Nijtmans  <nijtmans@users.sf.net>
372
373	* generic/tkMain.c:   Implement TkCygwinMainEx for loading
374	* generic/tkWindow.c: Cygwin's Tk_MainEx from the Tk dll.
375
3762012-06-07  Jan Nijtmans  <nijtmans@users.sf.net>
377
378	* generic/tkInt.decls:   Change XChangeWindowAttributes signature and
379	* generic/tkIntXlibDeclsDecls.h: many others to match Xorg, needed for
380	Cygwin.
381
3822012-06-06  Jan Nijtmans  <nijtmans@users.sf.net>
383
384	* unix/Makefile.in:      [Bug 3532186] pkgIndex.tcl file complexity
385	* win/Makefile.in:
386
3872012-06-02  Jan Nijtmans  <nijtmans@users.sf.net>
388
389	* generic/tkInt.decls:   Change XSetDashes signature and many others
390	* generic/tkIntDecls.h:  to match Xorg, needed for Cygwin.
391	* generic/tkIntXlibDeclsDecls.h
392	* win/Makefile.in:       Generate same pkgIndex.tcl file for win32 and
393	* unix/Makefile.in:      cygwin, one that is equally useable for both.
394
3952012-05-30  Jan Nijtmans  <nijtmans@users.sf.net>
396
397	* generic/tkWindow.c:	Simplify determination whether we are running
398	* generic/tkStubInit.c:	on cygwin.  Export Tk_GetHINSTANCE,
399	* generic/tkInt.decls:	TkSetPixmapColormap and TkpPrintWindowId on the
400	Cygwin dll, sync stub table with Tk 8.6 win32 version.
401	* generic/tk*Decls.h:    re-generated
402	* win/Makefile.in:       "make genstubs" when cross-compiling on UNIX
403
4042012-05-28  François Vogel  <fvogelnew1@free.fr>
405
406	* doc/text.n:  [Bug 1630251]: Doc for -endline option was wrong
407
4082012-05-28  François Vogel  <fvogelnew1@free.fr>
409
410	* generic/tkTextDisp.c: [Bug 1630254]: missing scrolling of text widget
411	when from a -startline == -endline initial state it is configured to
412	display a non-empty part of it
413
4142012-05-24  Jan Nijtmans  <nijtmans@users.sf.net>
415
416	* win/stubs.c:          Change XSetCommand signature to match Xorg,
417	* win/tkWinWm.c:        needed for Cygwin.
418	* generic/tkInt.decls
419	* generic/tk*Decls.h:   re-generated
420
4212012-05-09  Jan Nijtmans  <nijtmans@users.sf.net>
422
423	* win/tkWinWm.c:           Change TkpWmSetState signature to match Xorg,
424	* generic/tkInt.decls:     needed for Cygwin. (not needed for Mac)
425	* generic/tkIntPlatDeclsDecls.h:
426	* generic/tkWindow.c:      Don't check for cygwin in win32 static build.
427	* unix/tkUnixPort.h:       Some more useful #defines for Cygwin
428
4292012-05-05  Jan Nijtmans  <nijtmans@users.sf.net>
430
431	* xlib/xcolors.c:      Single "const" addition
432	* generic/tkWindow.c:  If tk.dll loaded in cygwin, don't use the
433	win32 file dialogs
434
4352012-05-04  Jan Nijtmans  <nijtmans@users.sf.net>
436
437	* library/menu.tcl: [Bug 2768586]: Menu posting on dual monitors
438
4392012-05-02  Jan Nijtmans  <nijtmans@users.sf.net>
440
441	* library/tk.tcl: [Bug 533519]: Window placement with multiple screens
442	* generic/tkBind.c:
443	* generic/tkFocus.c:
444	* generic/tkMenuDraw.c:
445	* generic/tkWinWm.c:
446
4472012-04-26  Donal K. Fellows  <dkf@users.sf.net>
448
449	* generic/tkStubInit.c (Tk_GetHINSTANCE): Ensure that this is defined
450	for OSX.
451
4522012-04-26  Jan Nijtmans  <nijtmans@users.sf.net>
453
454	* generic/tk.decls:	[Bug 3508771]: Implement TkClipBox, Tk*Region
455	* generic/tkInt.decls:	and Tk_GetHINSTANCE for Cygwin
456	* generic/tkPlatDecls.h:
457	* generic/tkintDecls.h:
458	* generic/tkStubInit.c:
459	* unix/Makefile.in:   [Bug 3519917]: Snow Leopard unix/Makefile
460	`make test` fail
461
4622012-04-22  Donal K. Fellows  <dkf@users.sf.net>
463
464	* generic/tkBind.c (ExpandPercents): [Bug 3520202]: Ensure that the
465	%k, %K and %N substitutions use dummy tokens with <MouseWheel> events
466	and that the %D subsitution is a dummy with <Key>/<KeyRelease>. This
467	was causing significant indigestion (and a read of goodness knows what
468	memory) to Tkinter/Python because of the way they map events between
469	languages.
470
4712012-04-20  Jan Nijtmans  <nijtmans@users.sf.net>
472
473	* generic/tk.tcl: Use vroot size in stead of screen size for
474	clipping window coordinates in ::tk::PlaceWindow.
475	* generic/dialog.tcl: Use ::tk::PlaceWindow in dialog.tcl, in
476	stead of dumplicating the code there.
477	(harmless part of [Bug 533519])
478
4792012-04-13  Jan Nijtmans  <nijtmans@users.sf.net>
480
481	* win/rules.vc: [Bug 3517448] TclKit build fails (unresolved
482	__strtoi64)
483
4842012-04-07  Jan Nijtmans  <nijtmans@users.sf.net>
485
486	* generic/tkBind.c: [Bug 3176239] control-MouseWheel causes segv
487
4882012-03-30  Jan Nijtmans  <nijtmans@users.sf.net>
489
490	* unix/tcl.m4:        [Bug 3511806] Compiler checks too early
491	* unix/configure.in:  This change allows to build the cygwin
492	* unix/configure      and mingw32 ports of Tcl/Tk to build
493	* win/tcl.m4:         out-of-the-box using a native or cross-
494	* win/configure.in:   compiler.
495	* win/configure
496
4972012-03-21  Jan Nijtmans  <nijtmans@users.sf.net>
498
499	* generic/tkColor.c:  [Bug 2809525] Abort on overlong color name.
500	* unix/tkUnixColor.c:
501
5022012-03-18  Jan Nijtmans  <nijtmans@users.sf.net>
503
504	* xlib/xcolors.c:   [RFE 3503317]: XParseColor speedup
505	* xlib/rgb.txt:     List of all colors accepted by Tk in Xorg format
506	* tests/color.test: Added test case for all colors in rgb.txt
507
5082012-03-07  Donal K. Fellows  <dkf@users.sf.net>
509
510	* generic/tkObj.c (GetPixelsFromObjEx): [Bug 3497848]: Better rounding
511	of pixel values to integers.
512
5132012-03-04  Jan Nijtmans  <nijtmans@users.sf.net>
514
515	* unix/tcl.m4:    Patch from the cygwin folks
516	* unix/configure: (re-generated)
517
5182012-02-28  François Vogel  <fvogelnew1@free.fr>
519
520	* generic/tkText.c:      [Bug 1630262, Bug 1615425]: segfault
521	* generic/tkTextBTree.c  when deleting lines or tagging outside of
522	* generic/tkTextDisp.c   the -startline/-endline range with peer
523	* generic/tkTextMark.c   text widgets.
524	* tests/text.test        [Bug 3487407]: Weird text indices.
525	* tests/textMark.test
526
5272012-02-28  Donal K. Fellows  <dkf@users.sf.net>
528
529	* doc/canvas.n: [Bug 3495198]: Corrected types of bitmap options.
530
5312012-02-26  Jan Nijtmans  <nijtmans@users.sf.net>
532
533	* xlib/xcolors.c: Provide fallback for _strtoi64
534	* win/configure.in: Detect whether _strtoi64 is available
535	* win/configure: (regenerated)
536
5372012-02-15  Jan Nijtmans  <nijtmans@users.sf.net>
538
539	* xlib/xcolors.c: [Bug 3486474]: Inconsistent color scaling
540	* generic/tkColor.c: new internal function TkParseColor
541	* generic/tkInt.h:
542	* generic/tk*.c:   Change XParseColor() to TkParseColor() everywhere.
543
5442012-02-10  Donal K. Fellows  <dkf@users.sf.net>
545
546	* win/tkWinDialog.c (GetFileNameW): Ensure that we do not convert a
547	result list to a string inadvertently, as this causes problems with
548	Tkinter's handling of multiple filename results. Issue was reported
549	via StackOverflow: http://stackoverflow.com/q/9227859/301832
550
5512012-01-30  Joe English  <jenglish@users.sourceforge.net>
552
553	* library/ttk/combobox.tcl: [Bug 2925561] Don't take focus in
554	disabled state.
555
5562012-01-29  Jan Nijtmans  <nijtmans@users.sf.net>
557
558	* win/tkImgPhoto.c: [Bug 3480634]: PNG Images missing in menus on Mac
559
5602012-01-27  Jan Nijtmans  <nijtmans@users.sf.net>
561
562	* win/tkWinDialog.c: [Bug 3480471]: tk_getOpenFile crashes on Win64
563
5642012-01-26  François Vogel  <fvogelnew1@free.fr>
565
566	* generic/tkTextDisp.c: [Bug-1754043] and [Bug-2321450]: When
567	-blockcursor is true, the cursor appears as a blinking bar which
568	expands to the right edge of the widget.
569
5702012-01-25  Jan Nijtmans  <nijtmans@users.sf.net>
571
572	* generic/tkImgPhoto.c: [Bug 2433260]: non-critical error in
573	Tk_PhotoPutBlock
574
5752012-01-25  François Vogel  <fvogelnew1@free.fr>
576
577	* generic/tkText.c: Don't increase the epoch twice
578
5792012-01-25  François Vogel  <fvogelnew1@free.fr>
580
581	* generic/tkText.c:      [Bug-1630271]: segfault/infinite loop
582	* generic/tkTextMark.c:  when a mark is before -startline
583	* tests/textMark.test:
584
5852012-01-25  François Vogel  <fvogelnew1@free.fr>
586
587	* generic/tkText.c: [Bug-3475627]: Test text-31.11 fails
588
5892012-01-22  François Vogel  <fvogelnew1@free.fr>
590
591	* generic/tkTextMark.c: [Bug-3288113,3288121]: Missing marks/endless
592	* tests/textMark.test:  loop in text mark prev/next
593
5942012-01-19  François Vogel  <fvogelnew1@free.fr>
595
596	* generic/tkText.c: [Bug-3021557]: Moving the cursor in
597	* tests/text.test:  elided text freezes Tk
598
5992011-12-22  Don Porter  <dgp@users.sourceforge.net>
600
601	* win/tkWinMenu.c: [Bug 3235256] Keep menu entry IDs out of system
602	values. Thanks Colin McDonald.
603
6042011-11-22  Jan Nijtmans  <nijtmans@users.sf.net>
605
606	* doc/wish.1: Use the same shebang comment everywhere.
607	* library/demos/hello
608	* library/demos/rmt
609	* library/demos/square
610	* library/demos/tcolor
611	* library/demos/timer
612	* library/demos/widget
613	* unix/Makefile.in: [Bug 1945073]: Demo square.tcl
614	* win/Makefile.in: cannot run; need package tktest
615
6162011-11-17  Alexandre Ferrieux  <ferrieux@users.sourceforge.net>
617
618	* generic/tkCanvas.c: [Bug 3437816]: Missing TCL_ERROR return
619	in [canvas lower].
620
6212011-11-08  Reinhard Max  <max@suse.de>
622
623	* unix/Makefile.in: Add square to DEMOPROGS. It contains a shebang
624	and hence should get installed with executable bits.
625
626	* doc/label.n:         Fix the escaping of leading dots in lines that
627	* doc/text.n:          start with a widget name, so that nroff
628	* doc/ttk_notebook.n:  doesn't mistake it as a non-existing macro
629	* doc/pack.n:          and skips the entire line.
630
6312011-11-04  Don Porter  <dgp@users.sourceforge.net>
632
633	*** 8.5.11 TAGGED FOR RELEASE ***
634
635	* generic/tk.h:		Bump to 8.5.11 for release.
636	* library/tk.tcl:
637	* unix/configure.in:
638	* unix/tk.spec:
639	* win/configure.in:
640	* README:
641
642	* unix/configure:	autoconf-2.59
643	* win/configure:
644
645	* changes:	Updated for 8.5.11 release.
646
6472011-11-01  Donal K. Fellows  <dkf@users.sf.net>
648
649	* generic/tkObj.c (GetPixelsFromObjEx): [Bug 3431491]: Use a bit of
650	type hackery to allow numbers to be interpreted as coordinates (most
651	notably on a canvas) without reinterpreting via a string.
652
6532011-10-26  Don Porter  <dgp@users.sourceforge.net>
654
655	* changes:	Updates for 8.5.11.
656
6572011-10-01  Kevin B. Kenny  <kennykb@acm.org>
658
659	* generic/tkInt.h:	[Bug 3410609] Change the event mechanism
660	* unix/tkUnixEvent.c:	for <KeyPress> events to use the keysym
661	* unix/tkUnixKey.c:	returned by XLookupString in preference to
662	the one that appears in the raw X event at any level. This change
663	allows binding to ISO_Level3_Shift-ed characters, composed characters,
664	and similar beasts. KeyRelease events still work as they did before,
665	as does Tk with input methods disabled.
666
6672011-09-01  Donal K. Fellows  <dkf@users.sf.net>
668
669	* doc/photo.n: Correctly documented what the [$ph data] command
670	produces without the -format option.
671
6722011-08-16  Jan Nijtmans  <nijtmans@users.sf.net>
673
674	* win/tkWinDialog.c: [Bug 3388350] mingw64 compiler warnings
675	* win/tkWinDraw.c
676	* win/tkWinSend.c
677	* win/tkWinSendCom.c
678	* win/tkWinColor.c
679	* win/tkWinDialog.c
680	* win/tkWinEmbed.c
681	* win/tkWinMenu.c
682	* win/tkWinPixmap.c
683	* win/tkWinTest.c
684	* win/tkWinWindow.c
685	* win/tkWinWm.c
686	* win/tkWinX.c
687	* win/stubs.c
688	* generic/tkAtom.c
689	* generic/tkSelect.c
690
6912011-08-13  Jan Nijtmans  <nijtmans@users.sf.net>
692
693	* generic/tkBitmap.c: [Bug 3388350] mingw64 compiler warnings
694	* generic/tkConsole.c
695	* unix/tkUnixMenubu.c
696	* win/tkWinButton.c
697	* win/tkWinEmbed.c
698	* win/tkWinFont.c
699	* win/tkWinImage.c
700	* win/tkWinKey.c
701	* win/tkWinTest.c
702	* win/tkWinWm.c
703
7042011-08-03  Jan Nijtmans  <nijtmans@users.sf.net>
705
706	* win/tkWinDialog.c: [Bug 3314770] regression - Windows file
707	dialogs not resizable
708
7092011-07-28  Jan Nijtmans  <nijtmans@users.sf.net>
710
711	* xlib/X11/Xutil.h: [Bug 3380684] XEmptyRegion prototype doesn't
712	match usage
713
7142011-06-29  Don Porter  <dgp@users.sourceforge.net>
715
716	* generic/ttk/ttkTrace.c: [Bug 3341056] Correct segfault due to flaw
717	* tests/ttk/ttk.test:	in the 2011-06-17 commit.
718
7192011-06-23  Don Porter  <dgp@users.sourceforge.net>
720
721	* changes:	Updated for 8.5.10 release.
722
7232011-06-17  Don Porter  <dgp@users.sourceforge.net>
724
725	*** 8.5.10 TAGGED FOR RELEASE ***
726
727	* generic/ttk/ttkTrace.c:	Workaround Bug 3062331.
728	* tests/ttk/ttk.test:
729	* changes:	Updated
730
7312011-06-16  Jan Nijtmans  <nijtmans@users.sf.net>
732
733	* win/tcl.m4: Sync with win/tcl.m4 from Tcl
734	* win/configure: (regenerated)
735
7362011-06-10  Don Porter  <dgp@users.sourceforge.net>
737
738	* README:	Correct some README bitrot.
739	* macosx/README:
740
741	* generic/tkCanvLine.c: [Bug 3175610] Incomplete refresh of line item.
742	Backport of 2011-03-03 trunk commit from Alexandre Ferrieux.
743
7442011-06-08  Don Porter  <dgp@users.sourceforge.net>
745
746	* changes:	Updated for 8.5.10 release.
747
7482011-06-07  Don Porter  <dgp@users.sourceforge.net>
749
750	* win/tkWinDialog.c:	Backport [Bug 2484771] fix.
751
752	* generic/tkEntry.c:	Restore support for values "08" and "09"
753	in a [spinbox] configured to use -from and -to values.  [Bug 2358545].
754
7552011-06-06  Don Porter  <dgp@users.sourceforge.net>
756
757	* generic/tkConsole.c:	Restore proper NUL output to the [console].
758	[Bug 2546087]
759
7602011-04-22  Peter Spjuth  <peter.spjuth@gmail.com>
761
762	* generic/tkCanvPoly.c: [Bug 3291543] There was a crash if dchars
763	* tests/canvas.test:    removed all coordinates of a polygon.
764
7652011-04-21  Peter Spjuth  <peter.spjuth@gmail.com>
766
767	* doc/checkbutton.n: Document all variable options as global.
768	* doc/radiobutton.n:
769	* doc/listbox.n:
770	* doc/menu.n:
771	* doc/options.n:
772	* doc/ttk_combobox.n:
773	* doc/ttk_entry.n:
774	* doc/ttk_progressbar.n:
775	* doc/ttk_widget.n:
776
7772011-04-04  Peter Spjuth  <peter.spjuth@gmail.com>
778
779	* tests/grid.test:
780	* generic/tkGrid.c: [Bug 723765]: When a slave was removed from grid,
781	the -in option was not remembered.
782
7832011-04-04  Peter Spjuth  <peter.spjuth@gmail.com>
784
785	* doc/labelframe.n:
786	* doc/frame.n:
787	* generic/tkFrame.c: [Bug 2997657]: Removed -container from labelframe
788	documentation since it does not work as expected and does not make
789	sense as a container. Added note to frame about restrictions when used
790	as a container.
791
7922011-03-28  Jan Nijtmans  <nijtmans@users.sf.net>
793
794	* generic/tkTextBTree.c:	[Bug 3129527]: Fix buffer overflow
795	w/ GCC 4.5 and -D_FORTIFY_SOURCE=2. One more place where this problem
796	could appear.
797
7982011-03-24  Jan Nijtmans  <nijtmans@users.sf.net>
799
800	* win/tkWinMenu.c: [Bug #3239768] tk8.4.19 (and later) WIN32
801	menu font support.
802
8032011-03-16  Jan Nijtmans  <nijtmans@users.sf.net>
804
805	* unix/tcl.m4:    Make SHLIB_LD_LIBS='${LIBS}' the default and
806	* unix/configure: set to "" on per-platform necessary basis.
807	Backported from TEA, but kept all original platform code which was
808	removed from TEA.
809
8102011-03-12  Jan Nijtmans  <nijtmans@users.sf.net>
811
812	* win/tkWin32Dll.c: Eliminate unneeded _TkFinalize wrapper.
813
8142011-03-11  Jan Nijtmans  <nijtmans@users.sf.net>
815
816	* generic/ttk/ttkDefaultTheme.c: Eliminate some unneeded write-only
817	* generic/ttk/ttkManager.c:      variables (discovered by gcc-4.6)
818	* generic/ttk/ttkSquare.c:
819
8202011-03-09  Reinhard Max  <max@suse.de>
821
822	* unix/configure.in: Use a symbol from libXft itself for the link
823	test rather than one from libfreetype, because the latter doesn't
824	work when the linker is called with --as-needed.
825
8262011-01-25  Jan Nijtmans  <nijtmans@users.sf.net>
827
828	* generic/tkSelect.c:	[Patch #3129527]: Fix buffer overflow
829	* win/tkWinWm.c:	w/ GCC 4.5 and -D_FORTIFY_SOURCE=2. Just the
830	* unix/tkUnixWm.c:	strcpy->memcpy part, to prevent anything
831	like [Bug #3164879]
832
8332011-01-22  Joe English  <jenglish@users.sourceforge.net>
834
835	* generic/ttk/ttkEntry.c(ttk::combobox): Add missing
836	'validate' command (reported by schelte).
837
8382011-01-19  Jan Nijtmans  <nijtmans@users.sf.net>
839
840	* generic/ttk/ttkGenStubs.tcl:	Make sure to use CONST/VOID in stead of
841	* generic/ttk/ttkDecls.h: const/void when appropriate. This allows to
842	use const/void in the *.decls file always, genStubs will do the right
843	thing.
844
8452011-01-17  Jan Nijtmans  <nijtmans@users.sf.net>
846
847	* win/tcl.m4:         handle --enable-64bit=ia64 for gcc. BACKPORT.
848	* win/configure:      (autoconf-2.59)
849
8502011-01-13  Jan Nijtmans  <nijtmans@users.sf.net>
851
852	* library/msgbox.tcl: [Patch #3154705] Close button has no effect
853
8542011-01-06  Stuart Cassoff  <stwo@users.sourceforge.net>
855
856	* generic/tkEvent.c:	Cast some NULLs to (void *) in order to quash
857	* unix/tkUnixEvent.c:	"missing sentinel in function call"
858	* unix/tkUnixKey.c:	compiler warnings.
859	* unix/tkUnixRFont.c:
860
8612010-12-17  Stuart Cassoff  <stwo@users.sourceforge.net>
862
863	* unix/Makefile.in:  [Bug 2446711]: Remove 'allpatch' target.
864
8652010-12-17  Stuart Cassoff  <stwo@users.sourceforge.net>
866
867	* unix/Makefile.in:  Use 'rpmbuild', not 'rpm' [Bug 2537626].
868
8692010-12-13  Jan Nijtmans  <nijtmans@users.sf.net>
870
871	* unix/tcl.m4:       Cross-compile support for Win and UNIX (backported)
872	* unix/configure:    (autoconf-2.59)
873	* win/tcl.m4:
874	* win/configure.in:
875	* win/configure:     (autoconf-2.59)
876	* win/tkWin32Dll.c:  SEH-emulation for AMD64
877	* win/tkWinX.c:      mingw-w64 does not accept _WIN32_IE < 0x0501
878
8792010-12-12  Stuart Cassoff  <stwo@users.sourceforge.net>
880
881	* unix/tcl.m4: Better building on OpenBSD.
882	* unix/configure: (autoconf-2.59)
883
8842010-11-24  Jan Nijtmans  <nijtmans@users.sf.net>
885
886	* win/tkWinDialog.c:	[Bug #3071836]: Crash/Tcl_Panic on WinXP saving
887	* win/tkWinInit.c:	file to C:\ re-wrote TkpDisplayWarning such
888	that it does not use an Tcl API calls any more, so it works even with
889	an ill-initialized Tcl.
890	* win/winMain.c:	Teach WishPanic how to thread UTF-8 in it's
891	messagebox.  Backports from Tcl 8.6. No change in functionality.
892
8932010-11-19  Jan Nijtmans  <nijtmans@users.sf.net>
894
895	* win/configure.in:	Allow cross-compilation by default. (backported)
896	* win/tcl.m4:		Use -pipe for gcc on win32 (backported)
897	* win/configure:	(regenerated)
898
8992010-11-16  Jan Nijtmans  <nijtmans@users.sf.net>
900
901	* win/tkWinPort.h  [Bug #3110161]: Extensions using TCHAR don't compile
902	on VS2005 SP1
903
9042010-11-04  Jan Nijtmans  <nijtmans@users.sf.net>
905
906	* library/msgs/de.msg:  Updated German messages.  Thanks to Ruediger
907	Haertel. [Patch 2442309] [Bug 3102739].
908
9092010-10-23  Jan Nijtmans  <nijtmans@users.sf.net>
910
911	* win/rules.vc        Update for VS10
912
9132010-10-11  Joe English  <jenglish@users.sourceforge.net>
914
915	* generic/ttk/ttkTreeview.c: Fix crash in 'tag add' / 'tag remove'
916	commands when no -tags specified [Bug 3085489].
917
9182010-10-06  Donal K. Fellows  <dkf@users.sf.net>
919
920	* win/Makefile.in (genstubs): [Tcl Bug 3082049]: Typo.
921
9222010-09-08  Joe English  <jenglish@users.sourceforge.net>
923
924	* generic/ttk/ttkTreeview.c (TreeviewSeeCommand): [Bug 2829363]:
925	Schedule redisplay if [$tv see] opens any items.
926
9272010-09-02  Joe English  <jenglish@users.sourceforge.net>
928
929	* library/ttk/winTheme.tcl, library/ttk/xpTheme.tcl,
930	* library/ttk/vistaTheme.tcl: [Bug 3057573]: Specify disabled combobox
931	text foreground color.
932
9332010-09-01  Don Porter  <dgp@users.sourceforge.net>
934
935	*** 8.5.9 TAGGED FOR RELEASE ***
936
937	* changes:	Updated for 8.5.9 release.
938
939	* doc/menu.n:  Formatting error.
940
9412010-09-01  Joe English  <jenglish@users.sourceforge.net>
942
943	* library/ttk/entry.tcl: Revert keyboard navigation bindings
944	to use real events instead of virtual events.
945
9462010-08-31  Andreas Kupries  <andreask@activestate.com>
947
948	* win/tcl.m4: Applied patch by Jeff fixing issues with the
949	manifest handling on Win64.
950	* win/configure: Regenerated.
951
9522010-08-26  Jeff Hobbs  <jeffh@ActiveState.com>
953
954	* generic/tkText.c (DumpLine): [Bug 3053347]:
955	s/segPtr->size/currentSize/ throughout, but particularly in if
956	lineChanged block where segPtr may no longer be valid.
957
958	* unix/Makefile.in: add valgrind target
959	* unix/configure, unix/tcl.m4: [Bug 1230554]: SHLIB_LD_LIBS='${LIBS}'
960	for OSF1-V*. Add /usr/lib64 to set of auto-search dirs.
961	(SC_PATH_X): Correct syntax error when xincludes not found.
962
963	* win/Makefile.in (VC_MANIFEST_EMBED_DLL VC_MANIFEST_EMBED_EXE):
964	* win/configure, win/configure.in, win/tcl.m4: SC_EMBED_MANIFEST
965	macro and --enable-embedded-manifest configure arg added to support
966	manifest embedding where we know the magic.  Help prevents DLL hell
967	with MSVC8+.
968
9692010-08-25  Jeff Hobbs  <jeffh@ActiveState.com>
970
971	* doc/ttk_spinbox.n (new), doc/ttk_*.3, doc/ttk_*.n:
972	* generic/ttk/ttkGenStubs.tcl:
973	* generic/ttk/ttk.decls, generic/ttk/ttkDecls.h:
974	* generic/ttk/ttkButton.c, generic/ttk/ttkCache.c:
975	* generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c:
976	* generic/ttk/ttkDefaultTheme.c, generic/ttk/ttkElements.c:
977	* generic/ttk/ttkEntry.c, generic/ttk/ttkFrame.c:
978	* generic/ttk/ttkImage.c, generic/ttk/ttkInit.c:
979	* generic/ttk/ttkLabel.c, generic/ttk/ttkLayout.c:
980	* generic/ttk/ttkNotebook.c, generic/ttk/ttkPanedwindow.c:
981	* generic/ttk/ttkProgress.c, generic/ttk/ttkScale.c:
982	* generic/ttk/ttkScroll.c, generic/ttk/ttkScrollbar.c:
983	* generic/ttk/ttkSeparator.c, generic/ttk/ttkSquare.c:
984	* generic/ttk/ttkState.c, generic/ttk/ttkStubInit.c:
985	* generic/ttk/ttkStubLib.c, generic/ttk/ttkTagSet.c:
986	* generic/ttk/ttkTheme.c, generic/ttk/ttkTheme.h:
987	* generic/ttk/ttkThemeInt.h, generic/ttk/ttkTrace.c:
988	* generic/ttk/ttkTrack.c, generic/ttk/ttkTreeview.c:
989	* generic/ttk/ttkWidget.c, generic/ttk/ttkWidget.h:
990	* library/ttk/spinbox.tcl (new):
991	* library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl:
992	* library/ttk/button.tcl, library/ttk/clamTheme.tcl:
993	* library/ttk/classicTheme.tcl, library/ttk/combobox.tcl:
994	* library/ttk/cursors.tcl, library/ttk/defaults.tcl:
995	* library/ttk/entry.tcl, library/ttk/notebook.tcl:
996	* library/ttk/panedwindow.tcl, library/ttk/scale.tcl:
997	* library/ttk/sizegrip.tcl, library/ttk/treeview.tcl:
998	* library/ttk/ttk.tcl, library/ttk/utils.tcl:
999	* library/ttk/vistaTheme.tcl, library/ttk/winTheme.tcl:
1000	* library/ttk/xpTheme.tcl:
1001	* macosx/ttkMacOSXTheme.c: used 8.6/carbon variant
1002	* tests/ttk/combobox.test, tests/ttk/treetags.test:
1003	* tests/ttk/treeview.test, tests/ttk/ttk.test:
1004	* tests/ttk/vsapi.test:
1005	* tests/ttk/checkbutton.test (new):
1006	* tests/ttk/radiobutton.test (new):
1007	* tests/ttk/spinbox.test (new):
1008	* win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c:
1009	Major backport of 8.6 Ttk for 8.5.9.  Most changes were only being
1010	committed to head (8.6), although they could apply for 8.5 as well.
1011	This re-sync makes future work easier to maintain and adds some
1012	useful work for 8.5 users. [Bug 3053320]: Notable changes:
1013	- Lots of code cleanup
1014	- Some bug fixes never backported
1015	- Addition of ttk::spinbox
1016	- minor color changes
1017	- Improved Vista/7 styling
1018	- Move to tile version 0.8.6 (pseudo-package)
1019	- ABI and API compatible (even $w identify)
1020	- minor new features (extended $w identify)
1021
10222010-08-03  Don Porter  <dgp@users.sourceforge.net>
1023
1024	* changes:	Updated for 8.5.9 release.
1025
10262010-08-20  Donal K. Fellows  <dkf@users.sf.net>
1027
1028	* doc/listbox.n (SEE ALSO): [Bug 3048809]: Corrected what other page
1029	was referred to (ttk::treeview can work as a listbox).
1030
10312010-08-12  Donal K. Fellows  <dkf@users.sf.net>
1032
1033	* library/text.tcl (TextCursorInSelection): [Patch 2585265]: Backport
1034	of factoring-out of decision logic for whether to delete the selected
1035	text.
1036
10372010-08-11  Jeff Hobbs  <jeffh@ActiveState.com>
1038
1039	* win/Makefile.in (%.${OBJEXT}): better implicit rules support
1040
1041	* unix/configure: regen with ac-2.59
1042	* unix/configure.in, unix/Makefile.in:
1043	* unix/tcl.m4 (AIX): remove the need for ldAIX, replace with
1044	-bexpall/-brtl.  Remove TK_EXP_FILE (export file) and other baggage
1045	that went with it.  Remove pre-4 AIX build support.
1046
10472010-08-11  Donal K. Fellows  <dkf@users.sf.net>
1048
1049	* generic/tkCanvLine.c (LineDeleteCoords): [Bug 2900121]: Backport of
1050	fix to sense of test.
1051
10522010-08-10  Don Porter  <dgp@users.sourceforge.net>
1053
1054	* library/msgs/pl.msg:	Backport updates to pl.msg from HEAD
1055
10562010-08-04  Jeff Hobbs  <jeffh@ActiveState.com>
1057
1058	* license.terms: Fix DFARs note for number-adjusted rights clause
1059
10602010-08-04  Don Porter  <dgp@users.sourceforge.net>
1061
1062	* generic/tk.h:		Bump to 8.5.9 for release.
1063	* library/tk.tcl:
1064	* unix/configure.in:
1065	* unix/tk.spec:
1066	* win/configure.in:
1067	* README:
1068
1069	* unix/configure:	autoconf-2.59
1070	* win/configure:
1071
1072	* changes:	Updated for 8.5.9 release.
1073
10742010-08-03  Jeff Hobbs  <jeffh@ActiveState.com>
1075
1076	* library/button.tcl (::tk::CheckEnter): [AS Bug#87409]: Use uplevel
1077	set instead of set :: to work with other var resolvers (itcl).
1078
10792010-08-03  Don Porter  <dgp@users.sourceforge.net>
1080
1081	* changes:	Updated for 8.5.9 release.
1082
10832010-07-06  Andreas Kupries  <andreask@activestate.com>
1084
1085	* doc/text.n: Fixed minor typo in the description of 'text delete', as
1086	reported by <eee@users.sf.net> on the chat.
1087
10882010-05-31  Joe English  <jenglish@users.sourceforge.net>
1089
1090	* generic/tkBind.c (Tk_CreateBinding): [Bug 3006842]: Silently ignore
1091	empty binding scripts.
1092	* generic/ttk/ttkTreeview.c: [$tv tag bind $tag <...> {}] now removes
1093	binding.
1094
10952010-05-31  Jan Nijtmans  <nijtmans@users.sf.net>
1096
1097	* generic/tkMain.c:  Fix CYGWIN warning: "fd_set and assiciated.macros
1098	have been defined in sys/types. This may cause runtime problems with
1099	W32"
1100	* win/winMain.c:     Add command line processing for CYGWIN, backported
1101	from trunk.
1102
11032010-05-20  Donal K. Fellows  <dkf@users.sf.net>
1104
1105	* win/tkWinX.c (HandleIMEComposition): [Bug 2992129]: Ensure that all
1106	places that generate key events zero them out first; Tk relies on that
1107	being true for the generic parts of the fix for Bug 1924761.
1108
11092010-05-19  Jan Nijtmans  <nijtmans@users.sf.net>
1110
1111	* win/tkWinDialog.c: [Bug 3002230]: tk_chooseDirectory returns garbage
1112	on cancel.
1113
11142010-05-17  Jan Nijtmans  <nijtmans@users.sf.net>
1115
1116	* win/tkWinDialog.c: [Bug 2987995]: Tk_getOpenFile returns garbage
1117	under described circumstances. Backported some formatting from trunk.
1118
11192010-05-03  Donal K. Fellows  <dkf@users.sf.net>
1120
1121	* library/button.tcl (CheckInvoke, CheckEnter): [Patch 1530276 redux]:
1122	Apply a bit more care to ensure that things continue to work correctly
1123	even when there is no -selectcolor defined.
1124
11252010-04-19  Jan Nijtmans  <nijtmans@users.sf.net>
1126
1127	* win/tkWinPort.h: Fix [Patch 2986105]: conditionally defining
1128	strcasecmp/strncasecmp
1129	* win/tkWinDialog.c: Fix [Bug 2987995]: Tk_GetOpenFile returns garbage
1130	under described circumstances, minor formatting.
1131	* win/tkWinDialog.c: [Patch 2898255]: Filenames limit with
1132	Tk_GetFileName().
1133	Assure modern style dialogs where available
1134
11352010-03-12  Jan Nijtmans  <nijtmans@users.sf.net>
1136
1137	* generic/tkButton.h:	[Bug 2956548]: TkpButtonSetDefaults only
1138	* generic/tkButton.c:	initializes one button type
1139	* win/tkWinButton.c:
1140	* win/tkWinEmbed.c:	Fix various gcc warnings, all
1141	* win/tkWinMenu.c:	backported from Tk 8.6
1142	* win/tkWinPixmap.c:
1143	* win/tkWinSend.c:
1144	* win/tkWinTest.c:
1145	* win/tkWinWm.c:
1146	* win/tkWinX.c:
1147	* win/tkWinInt.h:	VC6++ does not have SPI_SETKEYBOARDCUES
1148	* win/.cvsignore:
1149
11502010-03-11  Donal K. Fellows  <dkf@users.sf.net>
1151
1152	* generic/tkText.c (DumpLine): [Bug 2968379]: When peers are about,
1153	there can be unnamed marks present during a dump. Ignore them as they
1154	will just be for the peers' insert and current marks, which aren't
1155	very important.
1156
11572010-03-04  Donal K. Fellows  <dkf@users.sf.net>
1158
1159	* doc/clipboard.n: Added note about STRING vs. UTF8_STRING types.
1160
11612010-02-21  Donal K. Fellows  <dkf@users.sf.net>
1162
1163	* generic/tkText.c (TextEditCmd): [Bug 1799782]: Refix this, so that
1164        <<Modified>> events are issued when things change.
1165
11662010-02-19  Donal K. Fellows  <dkf@users.sf.net>
1167
1168	* unix/installManPage: [Tcl Bug 2954638]: Correct behaviour of manual
1169	page installer. Also added armouring to check that assumptions about
1170	the initial state are actually valid (e.g., look for existing input
1171	file).
1172
11732010-02-19  Stuart Cassoff  <stwo@users.sourceforge.net>
1174
1175	* tcl.m4: Correct compiler/linker flags for threaded builds on
1176	OpenBSD.
1177	* configure: (regenerated).
1178
11792010-02-17  Joe English  <jenglish@users.sourceforge.net>
1180
1181	* generic/tkMenu.c: [Bug 2952745]: Defer TkMenuOptionTables cleanup to
1182	CallWhenDeleted() time, to ensure that the record doesn't get freed
1183	until after all widget instance commands have been deleted.
1184
11852010-02-16  Jan Nijtmans  <nijtmans@users.sf.net>
1186
1187	* unix/tkUnixWm.c: Make TkSetTransientFor static
1188
11892010-02-07  Jan Nijtmans  <nijtmans@users.sf.net>
1190
1191	* generic/ttk/ttkGenStubs.tcl: Backport various formatting (spacing)
1192	* generic/ttk/ttk.decls:       changes from HEAD, so diffing
1193	* generic/ttk/ttkDecls.h:      between 8.5.x and 8.6 shows the
1194	* generic/tk*.decls:           real structural differences again.
1195	* generic/tk*Decls.h:          (any signature change not backported!)
1196
11972010-01-29  Jan Nijtmans  <nijtmans@users.sf.net>
1198
1199	* generic/tkBind.c:      Fix various gcc-4.4 warnings, all
1200	* generic/tkListbox.c:   backported from HEAD.
1201	* generic/tkText.c:
1202	* generic/ttk/ttkInit.c:
1203
12042010-01-20  Pat Thoyts  <patthoyts@users.sourceforge.net>
1205
1206	* library/bgerror.tcl:  [TIP 359]: Extended Window Manager Hints
1207	* library/clrpick.tcl:  following the freedesktop.org specification
1208	* library/demos/widget: are now supported on X11 using a new
1209	* library/dialog.tcl:   wm attribute called '-type'
1210	* library/msgbox.tcl:   This feature is now used in the Tk library
1211	* library/tkfbox.tcl:   functions where appropriate.
1212	* library/ttk/combobox.tcl:
1213	* tests/unixWm.test:
1214	* tests/wm.test:
1215	* unix/tkUnixWm.c:
1216
12172010-01-19  Donal K. Fellows  <dkf@users.sf.net>
1218
1219	* generic/tkCanvas.c (TagSearchScanExpr): [Bug 2931374]: Stop overflow
1220	of working buffer during construction of long tag expressions.
1221
12222010-01-18  Jan Nijtmans  <nijtmans@users.sf.net>
1223
1224	* generic/tkCanvas.c:      [Patch 2932808]: Canvas items not
1225	                           updating on widget state change.
1226
12272010-01-09  Pat Thoyts  <patthoyts@users.sourceforge.net>
1228
1229	* doc/menu.n:           [TIP 360]: Remove special handling of
1230	* library/obsolete.tcl: the .help menu on X11.
1231	* unix/tkUnixMenu.c:
1232
1233	* library/menu.tcl:      [TIP 360]: Make Tk menu activation
1234	* library/obsolete.tcl:  follow mouse movements.
1235
12362010-01-08  Pat Thoyts  <patthoyts@users.sourceforge.net>
1237
1238	* doc/photo.n: [Bug 2927569]: Multiple edits have peverted the
1239	original meaning of the phrase 'image file data' to reference
1240	a filename option that does not exist.
1241
12422010-01-07  Donal K. Fellows  <dkf@users.sf.net>
1243
1244	* generic/tkTextDisp.c (AsyncUpdateLineMetrics): [Bug 2677890]: Fix
1245	odd text widget update problem that had scrollbars being unable to
1246	cover the whole widget. Fix is to reify the range to update sooner.
1247
12482010-01-06  Jan Nijtmans  <nijtmans@users.sf.net>
1249
1250	* unix/tcl.m4:		Sync with Tcl version
1251	* unix/configure:	(regenerated)
1252	* unix/Makefile.in:
1253	* unix/.cvsignore:
1254	* generic/default.h:	Trivial CYGWIN fixes
1255	* generic/tkWindow.c:
1256	* doc/.cvsignore:
1257
12582010-01-06  Donal K. Fellows  <dkf@users.sf.net>
1259
1260	* unix/tkUnixWm.c (TkWmMapWindow): [Bug 1163496]: Allow windows to be
1261	* tests/wm.test (wm-transient-8.1): set to be transients for withdrawn
1262	masters correctly.
1263
12642010-01-05  Pat Thoyts  <patthoyts@users.sourceforge.net>
1265
1266	* win/tkWinDialog.c: [Patch 2898255]: Enable unlimited multiple
1267	file selection from the open files dialog (pawlak,fellows,thoyts)
1268
12692010-01-05  Donal K. Fellows  <dkf@users.sf.net>
1270
1271	* generic/tkMenu.c (MenuWidgetObjCmd): [Bug 220950]: Do not delete
1272	menu entries if the first index to delete is explicitly after the last
1273	index of existing entries.
1274
12752010-01-04  Pat Thoyts  <patthoyts@users.sourceforge.net>
1276
1277	* library/dialog.tcl: Backported fix for tk_dialog <Return> binding
1278	* library/console.tcl: Backported fix for console keyboard menu
1279	activation and <<Cut>> handling from HEAD.
1280	* library/tk.tcl: Correctly handle quoted ampersands in AmpMenuArgs
1281
12822010-01-03  Pat Thoyts  <patthoyts@users.sourceforge.net>
1283
1284	* generic/tkMenu.h: [Patch 2848897] Support the system keyboard
1285	* win/tkWinMenu.c:  cues option on Windows. This system parameter
1286	hides the underlines on menu items unless the keyboard is used to
1287	open the menu. (kovalenko, thoyts)
1288
12892010-01-03  Pat Thoyts  <patthoyts@users.sourceforge.net>
1290
1291	* library/tearoff.tcl: tearoff menus should be transient and use the
1292	                       toolwindow style on Windows.
1293	* tests/menu.test: menu tests using 'tkwait visibility' are unix only
1294
12952010-01-02  Donal K. Fellows  <dkf@users.sf.net>
1296
1297	* unix/tkUnixEvent.c (TransferXEventsToTcl): [Bug 1924761]: Use the
1298	new cache mechanism to force the extraction of the string of a key
1299	event from XIM at the right time rather than after queueing when it
1300	can be quashed by a race condition centered on the limited amount of
1301	state in some XIM implementations.
1302
1303	* unix/tkUnixKey.c (TkpGetString): [Bug 1373712]: Cache the value that
1304	* generic/tkInt.h (TkKeyEvent):		will be substituted via %A so
1305	* generic/tkEvent.c (CleanUpTkEvent):	that we do not need to make it
1306	* doc/HandleEvent.3 (ARGUMENTS):	fresh each time, which causes
1307	* doc/QWinEvent.3 (ARGUMENTS):		trouble with some input
1308	* macosx/tkMacOSXKeyEvent.c (InitKeyEvent): methods. Also includes the
1309	* win/tkWinX.c (GenerateXEvent):	factoring out of some code and
1310	update of documentation to describe the slightly increased constraints
1311	on how Tk_HandleEvent can be used.
1312
13132010-01-01  Donal K. Fellows  <dkf@users.sf.net>
1314
1315	* unix/tkUnixEvent.c (TransferXEventsToTcl): [Bug 1924761]: Move the
1316	* generic/tkEvent.c (Tk_HandleEvent):	     passing of key events to
1317	XFilterEvent to the low level point where all other events are
1318	handled, where it should have been all along. This makes more input
1319	methods work, stops [event generate] from interfering with input
1320	methods, and allows the simplification of tkEvent.c by removing half
1321	of InvokeInputMethods and allowing the rest - which was not full input
1322	method handling - to be rolled back into Tk_HandleEvent. Introduces a
1323	small potential bug when a focus change and input method handling are
1324	too close together in the Tk event queue, but that should be less
1325	deadly to usability than the previous problems where input methods
1326	could fail completely or reorder key presses...
1327
13282009-12-30  Pat Thoyts  <patthoyts@users.sourceforge.net>
1329
1330	* generic/tkMenu.c: [Patch 2879789]: Torn off menu items are only
1331	* tests/menu.tcl:   activated over a limited region of the window.
1332	Fixed to make the whole width of a menu item activate the entry.
1333
13342009-12-27  Pat Thoyts  <patthoyts@users.sourceforge.net>
1335
1336	* win/tkWinMenu.c: [Bug 2879927]: Highlight for cascade items in
1337	torn-off menus is incorrect on Windows.
1338
13392009-12-25  Donal K. Fellows  <dkf@users.sf.net>
1340
1341	* doc/option.n: [Bug 2914943]: Correct the first example.
1342	Also define what the format of option patterns is; that's a much less
1343	commonly known fact than it used to be.
1344
13452009-12-22  Joe English  <jenglish@users.sourceforge.net>
1346
1347	* library/ttk/sizegrip.tcl: [Bug 2912356]: Patch to avoid bizarro
1348	behavior under compiz.
1349
13502009-12-22  Donal K. Fellows  <dkf@users.sf.net>
1351
1352	* library/tkfbox.tcl (ListInvoke): [Bug 2919205]: Correct ordering of
1353	arguments to tk_messageBox.
1354
13552009-12-20  Donal K. Fellows  <dkf@users.sf.net>
1356
1357	* unix/tkUnixSend.c (ServerSecure): [Patch 2917663]: Better support
1358	for server-interpreted access control addreses.
1359
13602009-12-16  Joe English  <jenglish@users.sourceforge.net>
1361
1362	* generic/ttk/ttkNotebook.c: Don't call Tk_DeleteOptionTable()
1363	[Bug 2915709], backport fix for [Bug 2496162].
1364
13652009-12-14  Kevin B. Kenny  <kennykb@acm.org>
1366
1367	* library/demos/unicodeout.tcl: Added code to check for right-to-left
1368	support on Windows and adjust Hebrew and Arabic character strings
1369	accordingly. Changed the Hebrew string to 'ktb ebryt' (ktav Ivrit,
1370	"Hebrew writing") to be consistent with at least the Greek and Russian
1371	strings. Thanks to Rodrigo Readi for calling the inconsistency to our
1372	attention.
1373
13742009-12-02  Jan Nijtmans  <nijtmans@users.sf.net>
1375
1376	* win/tkInt.decls:	[Bugs 220600, 220690]: Comment that
1377	TkWinChildProc is exported through the stubs table since 8.5.9
1378
13792009-12-11  Donal K. Fellows  <dkf@users.sf.net>
1380
1381	* library/tk.tcl (tk::ScreenChanged): [Bug 2912473]: Stop problems
1382	caused by display names with a double colon in.
1383
13842009-12-10  Donal K. Fellows  <dkf@users.sf.net>
1385
1386	* library/demos/ttkscale.tcl: Added demo of [ttk::scale] widget.
1387
13882009-12-09  Andreas Kupries  <andreask@activestate.com>
1389
1390	* library/safetk.tcl (::safe::loadTk): [Bug 2902573]: Fixed access to
1391	the cleanupHook of the safe base. The code used the old internal
1392	commands which have been removed since 2009-12-09. See Tcl's
1393	ChangeLog.
1394
13952009-12-09  Donal K. Fellows  <dkf@users.sf.net>
1396
1397	* generic/tkColor.c (Tk_GetColorByValue): [Bug 2911570]: Ensure that
1398	hash keys of color values are zeroed first, so that they hash properly
1399	on 64-bit systems (where X structures are not tightly packed).
1400
14012009-12-08  Pat Thoyts  <patthoyts@users.sourceforge.net>
1402
1403	* unix/tkUnixWm.c: [Bug 2864685]: Backported window manager hinting
1404			   update from HEAD
1405
14062009-12-06  Benjamin Riefenstahl  <b.riefenstahl@turtle-trading.net>
1407
1408	* macosx/tkMacOSXFont.c (GetFontFamilyName): [Bug 2548661]: Merge fix
1409	from HEAD (1.44).
1410
14112009-12-03  Pat Thoyts  <patthoyts@users.sourceforge.net>
1412
1413	* library/ttk/xpTheme.tcl:    Fix selection of treeview rows on
1414	* library/ttk/vistaTheme.tcl: Windows XP and Vista.
1415
14162009-12-02  Jan Nijtmans  <nijtmans@users.sf.net>
1417
1418	* doc/GetHINSTANCE.3:	Correct mentioned header file
1419	* win/tkWinInt.h:	[Bugs 220600, 220690]: Make TkWinChildProc
1420	* generic/tkInt.decls:	available in private stub table.
1421	* generic/tkIntPlatDecls.h: (regenerated)
1422	* generic/tkStubInit.c:	(regenerated)
1423
14242009-11-25  Stuart Cassoff <stwo@users.sf.net>
1425
1426	* unix/tcl.m4:		[Patch 2892871]: Remove unneeded
1427	*			AC_STRUCT_TIMEZONE.
1428	* unix/configure:	Regenerated with autoconf-2.59.
1429
14302009-11-24  Donal K. Fellows  <dkf@users.sf.net>
1431
1432	* unix/tkUnixWm.c (WmIconphotoCmd): [Bug 2902814]: Use the correct
1433	type for the array of data passed into X. It's wrong, but "right"
1434	because of a mistake in the X11 specification.
1435
14362009-11-22  Pat Thoyts  <patthoyts@users.sourceforge.net>
1437
1438	* tests/winWm.test: [Bug 2899949]: Make sure the window is still
1439	* win/tkWinWm.c:    present when handling delayed activation
1440
14412009-11-13  Pat Thoyts  <patthoyts@users.sourceforge.net>
1442
1443	* tests/winDialog.test: [Bug 2307837]: Backported fix for running
1444	* win/tkWinTest.c:      dialog tests on non-English locales
1445
14462009-11-12  Don Porter  <dgp@users.sourceforge.net>
1447
1448	*** 8.5.8 TAGGED FOR RELEASE ***
1449
1450	* changes:	Updated for 8.5.8 release.
1451
14522009-11-03  Don Porter  <dgp@users.sourceforge.net>
1453
1454	* generic/tk.h:		Bump to 8.5.8 for release.
1455	* library/tk.tcl:
1456	* unix/configure.in:
1457	* unix/tk.spec:
1458	* win/configure.in:
1459	* README:
1460
1461	* unix/configure:	autoconf-2.59
1462	* win/configure:
1463
1464	* changes:	Updated for 8.5.8 release.
1465
14662009-11-03  Pat Thoyts  <patthoyts@users.sourceforge.net>
1467
1468	* win/tkWinWm.c: [Bug 2891541]: Permit normal behaviour on
1469	Windows for a grabbed toplevel when it is the main window.
1470
14712009-11-01  Joe Mistachkin  <joe@mistachkin.com>
1472
1473	* win/tkWinButton.c: [Bug 1739613]: The default width being stored
1474	in TSD cannot be put into the process-wide options table.  This fix
1475	allocates storage for the default width from the heap and frees it
1476	using an exit handler.
1477
14782009-10-29  Pat Thoyts  <patthoyts@users.sourceforge.net>
1479
1480	* win/tkWinFont.c: [Bug 1825353]: Backported patch for tiny
1481	fixed font on Russian Windows systems.
1482
14832009-10-25  Donal K. Fellows  <dkf@users.sf.net>
1484
1485	* unix/tkUnixColor.c (TkpGetColor): [Bug 2809525]: Impose a maximum
1486	X11 color name length so that it becomes impossible to blow things up
1487	that way.
1488
1489	* library/text.tcl: [Bug 1854913]: Stop <Delete> actions from ever
1490	deleting backwards, even when the insertion cursor is "at the end" of
1491	the text widget.
1492
14932009-10-24  Donal K. Fellows  <dkf@users.sf.net>
1494
1495	* macosx/ttkMacOSXTheme.c (RangeToFactor, TrackElementDraw)
1496	(PbarElementDraw): [Bug 2883712]: Corrected scaling of progress bars
1497	and scales, and backported the fix for 64-bitness.
1498
1499	* library/button.tcl, unix/tkUnixButton.c (TkpDisplayButton):
1500	[Patch 1530276]: Make -selectcolor handling work better for both
1501	checkbuttons and radiobuttons when they don't have indicators.
1502
15032009-10-22  Donal K. Fellows  <dkf@users.sf.net>
1504
1505	* generic/tkText.c (CreateWidget, TextEditUndo, TextEditRedo)
1506	(TextEditCmd, UpdateDirtyFlag):
1507	* generic/tkText.h: [Patch 1469210]: Corrected handling of marking as
1508	dirty when inserting after an undo from a non-dirty state.
1509
1510	* library/xmfbox.tcl (MotifFDialog_FileTypes)
1511	(MotifFDialog_ActivateSEnt):
1512	* library/tkfbox.tcl (Done, ::tk::dialog::file::):
1513	* macosx/tkMacOSXDialog.c (Tk_GetOpenFileObjCmd):
1514	* win/tkWinDialog.c (GetFileNameW, GetFileNameA):
1515	* doc/getOpenFile.n: [Patch 2168768]: Corrected handling of the
1516	-typevariable option to be consistently global; it's the only way it
1517	can work even close to the same on all platforms.
1518
15192009-10-15  Don Porter  <dgp@users.sourceforge.net>
1520
1521	* generic/tkConsole.c:	Relax the runtime version requirements on Tcl
1522	* generic/tkMain.c:	so that Tk 8.5.8 can [load] into Tcl 8.6 (and
1523	* generic/tkWindow.c:	later 8.*) interps.  [Feature Request 2794032]
1524	* library/tk.tcl
1525	* unix/Makefile.in:
1526	* win/Makefile.in:
1527	* win/makefile.vc:
1528
15292009-10-10  Donal K. Fellows  <dkf@users.sf.net>
1530
1531	* unix/tkUnixRFont.c (InitFont,TkpGetFontFromAttributes,Tk_DrawChars):
1532	[Bug 1961455]: Draw underlines and overstrikes when using Xft for font
1533	rendering.
1534
15352009-10-08  Donal K. Fellows  <dkf@users.sf.net>
1536
1537	* library/tkfbox.tcl (::tk::IconList_Create): [Patch 2870648]:
1538	Corrected cursor used in file/directory dialogs.
1539
15402009-10-07  Pat Thoyts  <patthoyts@users.sourceforge.net>
1541
1542	* library/ttk/vistaTheme.tcl: [Bug 2787164]: Fix size of dropdown
1543	arrow on combobox and menubutton for Windows 7.
1544
15452009-10-07  Donal K. Fellows  <dkf@users.sf.net>
1546
1547	* unix/tkUnixScrlbr.c (TkpComputeScrollbarGeometry): [Patch 2088597]:
1548	Stop scrollbars from getting too small at the end.
1549
15502009-10-05  Don Porter  <dgp@users.sourceforge.net>
1551
1552	* changes:	Updated for 8.5.8 release.
1553
15542009-10-05  Pat Thoyts  <patthoyts@users.sourceforge.net>
1555
1556	* win/tkWinButton.c: [Bug 2860827]: Backported patch avoiding 3D
1557	effects with user-specified background.
1558
15592009-09-25  Donal K. Fellows  <dkf@users.sf.net>
1560
1561	* generic/tkImgPhoto.c (ImgGetPhoto): Correct generation of grayscale
1562	data from an image. Reported by Keith Vetter on comp.lang.tcl.
1563
15642009-09-14  Jeff Hobbs  <jeffh@ActiveState.com>
1565
1566	* generic/tkMenuDraw.c (TkPostSubmenu): [Bug 873613]: Fix reposting of
1567	* win/tkWinMenu.c (TkWinHandleMenuEvent): submenu in torn off Windows
1568	menu.
1569	(DrawMenuEntryArrow): [Bug 873608]: Draw Win menu arrow after being
1570	torn off.
1571
15722009-09-10  Donal K. Fellows  <dkf@users.sf.net>
1573
1574	* unix/tkUnixRFont.c (InitFont): Move pattern disposal in error case
1575	to callers so they have more options when they come to recovering from
1576	the failure.
1577	(TkpGetFontFromAttributes): If the default attributes don't work, try
1578	adding a setting to turn off use of XRender. That seems to work for
1579	some people for unexplained reasons (possibly local misconfiguration).
1580	* generic/tkFont.c (Tk_AllocFontFromObj): Stop this function from
1581	keeling over in a heap when the low-level font allocation fails. An
1582	error beats a crash! (Issue reported on comp.lang.tcl by Denis
1583	Berezhnoy.)
1584
15852009-08-25  Donal K. Fellows  <dkf@users.sf.net>
1586
1587	* unix/tkUnixSend.c (ServerSecure): [Bug 1909931]: Added some support
1588	for server-interpreted access control addreses.
1589
15902009-08-24  Donal K. Fellows  <dkf@users.sf.net>
1591
1592	* library/msgbox.tcl (::tk::MessageBox): Correct bindings so that they
1593	work with ttk::buttons. Reported by Hans-Christoph Steiner.
1594
15952009-08-24  Daniel Steffen  <das@users.sourceforge.net>
1596
1597	* macosx/tkMacOSXHLEvents.c (ScriptHandler): Fix "do script" apple
1598	event handler issues on recent Mac OS X releases by using AE coercion
1599	to 'utf8' for text data and to 'fsrf' for alias data. (Reported by
1600	Youness Alaoui on tcl-mac)
1601
16022009-08-08  Donal K. Fellows  <dkf@users.sf.net>
1603
1604	* library/demos/pendulum.tcl: Make the display handle being resized
1605	more gracefully.
1606
16072009-08-04  Donal K. Fellows  <dkf@users.sf.net>
1608
1609	* generic/tkTextDisp.c (TkTextCharLayoutProc): Make the line breaking
1610	algorithm (in the word-wrap case) do the right thing with non-breaking
1611	spaces by restricting what we break on to ASCII spaces, which is good
1612	enough for most purposes.
1613
16142009-08-01  Donal K. Fellows  <dkf@users.sf.net>
1615
1616	* unix/tkUnixWm.c (WmIconphotoCmd): [Bug 2830420]: Assemble the image
1617	for the window manager in a way that doesn't assume we're on a little-
1618	endian system.
1619
16202009-07-22  Donal K. Fellows  <dkf@users.sf.net>
1621
1622	* generic/tkFocus.c (TkFocusDeadWindow): [Bug 2496114]: Ensure that
1623	focus desynchronization doesn't cause a crash.
1624
16252009-07-20  Donal K. Fellows  <dkf@users.sf.net>
1626
1627	* tests/clipboard.test (clipboard-6.2): [Bug 2824378]: Corrected
1628	result of test in light of changes to binary selection retrieval.
1629
16302009-07-18  Donal K. Fellows  <dkf@users.sf.net>
1631
1632	* unix/tkUnixSelect.c (SelCvtFromX32, SelCvtFromX8): Make the
1633	incremental transfer of binary selections work get deserialized
1634	correctly. Thanks to Emiliano Gavilán for detecting.
1635
16362009-07-15  Donal K. Fellows  <dkf@users.sf.net>
1637
1638	* unix/tkUnixSelect.c (TkSelEventProc, SelRcvIncrProc, SelCvtFromX8):
1639	[Bug 2821962]: Make byte sequence selection transfers possible.
1640
16412009-07-14  Donal K. Fellows  <dkf@users.sf.net>
1642
1643	* doc/canvas.n (WINDOW ITEMS): [Bug 2326602]: Corrected definition of
1644	the -height and -width options for these items.
1645
1646	* unix/configure.in: [Bug 2496018]: Allow the disabling of the use of
1647	XScreenSaver at configuration time, so as to permit better control of
1648	dependencies in the embedded case.
1649
16502009-07-11  Donal K. Fellows  <dkf@users.sf.net>
1651
1652	* doc/grid.n: [Bug 2818455]: Corrected example.
1653
16542009-06-27  Jan Nijtmans  <nijtmans@users.sf.net>
1655
1656	* generic/tkInt.decls (Tk(Orient|Smooth)(Parse|Print)Proc):
1657	Backport [Bug 2804935]: Expose these functions through the internal
1658	stub table as they are useful to existing third-party code.
1659
16602009-06-23  Jan Nijtmans  <nijtmans@users.sf.net>
1661
1662	* generic/tkCanvUtil.c: [Bug 220935]: canvas dash update problem
1663
16642009-06-02  Pat Thoyts  <patthoyts@users.sourceforge.net>
1665
1666	* win/tkWinWm.c:   [Bug 2799589]: Backported fix for crash on
1667	* tests/winWm.test: delayed window activation.
1668
16692009-05-21  Pat Thoyts  <patthoyts@users.sourceforge.net>
1670
1671	* win/tkWinMenu.c: [Bug 2794778]: Backported fix for keyboard
1672	traversal of the menus on Windows.
1673
16742009-05-14  Pat Thoyts  <patthoyts@users.sourceforge.net>
1675
1676	* generic/tkButton.c: [Bug 1923684]: Backported checkbutton fix
1677	for confused state when -offvalue equals -tristatevalue
1678
16792009-05-14  Pat Thoyts  <patthoyts@users.sourceforge.net>
1680
1681	* doc/ttk_image.n:  Backported support for the Vista theme.
1682	* doc/ttk_style.n:  This requires the vsapi element engine,
1683	* doc/ttk_vsapi.n:  the hover state and the theme script
1684	* doc/ttk_widget.n: definition.
1685	* generic/ttk/ttkState.c:
1686	* generic/ttk/ttkTheme.h:
1687	* generic/ttk/ttkWidget.c:
1688	* library/ttk/ttk.tcl:
1689	* library/ttk/vistaTheme.tcl:
1690	* library/ttk/xpTheme.tcl:
1691	* tests/ttk/vsapi.test:
1692	* win/ttkWinXPTheme.c:
1693
16942009-05-13  Pat Thoyts  <patthoyts@users.sourceforge.net>
1695
1696	* generic/tkFont.c: [Bug 2791352]: Backported fix and tests for
1697	* tests/font.test:  mis-parsing of certain font descriptions.
1698
16992009-05-03  Donal K. Fellows  <dkf@users.sf.net>
1700
1701	* win/tkWinWm.c (UpdateWrapper): [Bug 2785744]: Manipulate flag bit
1702	correctly so that menubar updates can't smash other attributes.
1703
17042009-04-30  Pat Thoyts  <patthoyts@users.sourceforge.net>
1705
1706	* win/tkWinWm.c: [Patch 2504402]: Backported change to create
1707	wm icons as device independent bitmaps. (cjmcdonald)
1708
17092009-04-30  Donal K. Fellows  <dkf@users.sf.net>
1710
1711	* win/tkWinPixmap.c (Tk_GetPixmap): [Bug 2080533]: Added patch that
1712	allows Tk to keep working even when the graphics card is stressed.
1713
17142009-04-28  Jeff Hobbs  <jeffh@ActiveState.com>
1715
1716	* unix/tcl.m4, unix/configure (SC_CONFIG_CFLAGS): Harden the check
1717	to add _r to CC on AIX with threads.
1718
17192009-04-27  Donal K. Fellows  <dkf@users.sf.net>
1720
1721	* generic/tkInt.decls: [Bug 2768945]: Expose (as "private") a set of
1722	functions needed for easily building canvas items that work like
1723	existing standard ones.
1724
17252009-04-24  Jeff Hobbs  <jeffh@ActiveState.com>
1726
1727	* win/tkWinDialog.c (ChooseDirectoryValidateProc): No need to set
1728	cwd on selchange. Prevents delete of selected folder in dialog.
1729
17302009-04-24  Stuart Cassoff <stwo@users.sf.net>
1731
1732	* unix/Makefile.in:	[Bug 2764263]: Removed stray @ from
1733	Makefile.in test target. [Bug 1945073]: Don't chmod+x square demo.
1734	[Patch 2764272]: Adjustable demo install location.
1735
17362009-04-24  Stuart Cassoff <stwo@users.sf.net>
1737
1738	* unix/Makefile.in: [Patch 2769530]: Don't chmod/exec installManPage.
1739
17402009-04-23  Jeff Hobbs  <jeffh@ActiveState.com>
1741
1742	* win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd): [Bug 2779910]: Enable
1743	the new style choosedir that has a "New Folder" button, with
1744	::tk::winChooseDirFlags override for new behavior.
1745
17462009-04-15  Don Porter  <dgp@users.sourceforge.net>
1747
1748	*** 8.5.7 TAGGED FOR RELEASE ***
1749
1750	* changes:	Updated for 8.5.7 release.
1751
17522009-04-14  Stuart Cassoff  <stwo@users.sourceforge.net>
1753
1754	* unix/tcl.m4:	Removed -Wno-implicit-int from CFLAGS_WARNING.
1755
17562009-04-10  Don Porter  <dgp@users.sourceforge.net>
1757
1758	* changes:	Updated for 8.5.7 release.
1759
1760	* generic/tk.h:		Bump to 8.5.7 for release.
1761	* library/tk.tcl:
1762	* unix/configure.in:
1763	* unix/tk.spec:
1764	* win/configure.in:
1765	* README:
1766
1767	* unix/configure:	autoconf-2.59
1768	* win/configure:
1769
17702009-04-10  Joe English  <jenglish@users.sourceforge.net
1771
1772	* library/palette.tcl(tk_setPalette): Don't set
1773	*selectColor: #b03060; this makes radio- and checkbuttons
1774	look wrong post-TIP#109.
1775
17762009-04-10  Daniel Steffen  <das@users.sourceforge.net>
1777
1778	* unix/configure.in (Darwin):	use Darwin SUSv3 extensions if
1779					available.
1780	* unix/configure:		autoconf-2.59
1781	* unix/tkConfig.h.in:		autoheader-2.59
1782
1783	* library/msgbox.tcl: don't set msgbox bitmap background on TkAqua.
1784
1785	* library/demos/filebox.tcl: only show "Motif Style Dialog" checkbutton
1786	on X11 windowingsystem.
1787
1788	* library/demos/widget: GOOBE: use ttk::cursor
1789
1790	* library/ttk/cursors.tcl: backport ttk::cursor from HEAD
1791
1792	* library/demos/knightstour.tcl: fix knightstour demo not running from
1793	interactive wish.
1794
1795	* library/console.tcl (::tk::ConsoleInit): remove redundant TkAqua
1796	Quit menu item.
1797
1798	* generic/tkPointer.c (Tk_UpdatePointer): use all 5 buttons.
1799
1800	* generic/tkMenu.c (PostProcessEntry): delay call to
1801	TkpConfigureMenuEntry() until all menu entry attributes are setup.
1802
1803	* library/menu.tcl (::tk::MbPost): fix error thrown in y position
1804	computation with indicatoron.
1805
1806	* generic/tkMenubutton.c: s/DEF_BUTTON_JUSTIFY/DEF_MENUBUTTON_JUSTIFY/
1807
1808	* generic/tkTextBTree.c (TkBTreeDeleteIndexRange): add bounds check
1809	to startEnd array access (fixes testsuite crash).
1810
1811	* tests/unixFont.test: only use xlsfonts with X11 windowingsystem.
1812
18132009-04-10  Donal K. Fellows  <dkf@users.sf.net>
1814
1815	* generic/tkCanvPs.c (TkPostscriptInfo): [Bug 1466509]: Eliminate old
1816	and misleading comments mentioning prolog.ps.
1817	* generic/prolog.ps, library/prolog.ps: Remove unused files.
1818	* unix/Makefile.in, win/Makefile.in: Stop building distributions that
1819	include the removed files or trying to install them.
1820
1821	* library/tk.tcl: [Bug 2116837]: Add event definitions to handle the
1822	standard virtual events when Caps Lock is on.
1823
18242009-04-03  Joe English  <jenglish@users.sourceforge.net>
1825
1826	* unix/tkUnixWm.c: [Bug 1789819]: Don't Panic.
1827
18282009-03-25  Donal K. Fellows  <dkf@users.sf.net>
1829
1830	* generic/ttk/ttkTheme.c (BuildOptionMap, NewElementImpl):
1831	[Bug 2178820]: Ensure that zero-size allocations don't happen; some
1832	malloc implementations don't like it at all.
1833
1834	* win/wish.exe.manifest.in: [Bug 1871101]: Add magic to make Tk not be
1835	blurred on Vista with large fonts.
1836
18372009-03-03  Pat Thoyts  <patthoyts@users.sourceforge.net>
1838
1839	* generic/tkFileFilter.c: Backported some fixes for uninitialized
1840	* generic/tkFont.c:       variables identified by das using clang
1841	* generic/tkListbox.c:    analysis.
1842
18432009-02-27  Pat Thoyts  <patthoyts@users.sourceforge.net>
1844
1845	* generic/tkWindow.c: [Bug 2645457] check for dead windows after
1846	calling Tk_MakeWindowExist to avoid a crash when mapping dead windows.
1847
18482009-02-23  Pat Thoyts  <patthoyts@users.sourceforge.net>
1849
1850	* win/tkWinCursor.c: [Patch 2542828] use stock Win32 help arrow
1851	cursor when question_arrow requested (danckaert)
1852
1853	* win/rc/*.cur: [Patch 2513104] fix cursor hotspots (cjmcdonald)
1854
1855	* win/tkWinMenu.c: Applied patch for menu image display bug
1856	[Bug 1329198, 456299] [Patch 2507419] (cjmcdonald)
1857
18582009-02-17  Jeff Hobbs  <jeffh@ActiveState.com>
1859
1860	* win/tcl.m4, win/configure: Check if cl groks _WIN64 already to
1861	avoid CC manipulation that can screw up later configure checks.
1862	Use 'd'ebug runtime in 64-bit builds.
1863
18642009-02-16  Jeff Hobbs  <jeffh@ActiveState.com>
1865
1866	* win/configure.in, win/configure: align better with tcl
1867	version. Ensures finding correct CPP for Win64.
1868
18692008-02-06  Daniel Steffen  <das@users.sourceforge.net>
1870
1871	* generic/tkImgPhoto.c:		fix numerous leaks discovered with the
1872	* generic/tkMenu.c:		Mac OS X Instruments.app Leaks tool.
1873	* generic/tkText.c:
1874	* generic/tkTextImage.c:
1875	* generic/tkTextIndex.c:
1876	* generic/tkUndo.c:
1877	* generic/ttk/ttkFrame.c:
1878	* macosx/tkMacOSXWm.c:
1879
18802009-01-22  Kevin B. Kenny  <kennykb@acm.org>
1881
1882	* unix/tcl.m4: Corrected a typo ($(SHLIB_VERSION) should be
1883	${SHLIB_VERSION}).
1884	* unix/configure: Autoconf 2.59
1885
18862009-01-19  Kevin B. Kenny  <kennykb@acm.org>
1887
1888	* unix/Makefile.in: Added a CONFIG_INSTALL_DIR parameter so that
1889	* unix/tcl.m4:      distributors can control where tclConfig.sh goes.
1890	Made the installation of 'ldAix' conditional
1891	upon actually being on an AIX system.  Allowed for downstream
1892	packagers to customize SHLIB_VERSION on BSD-derived systems.
1893	Thanks to Stuart Cassoff for [Patch 907924].
1894	* unix/configure: Autoconf 2.59
1895
18962009-01-14  Jan Nijtmans  <nijtmans@users.sf.net>
1897
1898	* generic/tkImgPhoto.c: fix for aMSN compatibility [tcl-Bug 2507326]
1899
19002009-01-11  George Peter Staplin  <georgeps@users.sourceforge.net>
1901
1902	* generic/tkEvent.c: Backport a fix from 8.6 for a NULL pointer
1903	dereference in CreateXIC.
1904
19052009-01-07  Pat Thoyts  <patthoyts@users.sourceforge.net>
1906
1907	* win/tkWinWm.c: Backported fix for [Bug 1847002] to prevent the
1908	bypassing of grab restrictions via the taskbar on Windows.
1909
19102008-12-22  Don Porter  <dgp@users.sourceforge.net>
1911
1912	*** 8.5.6 TAGGED FOR RELEASE ***
1913
1914	* tests/embed.test:	Eliminate duplicate test names.
1915
1916	* changes:	Updates for 8.5.6 release.
1917
19182008-12-22  Joe English  <jenglish@users.sourceforge.net>
1919
1920	* generic/ttk/ttkWidget.c: Don't crash when
1921	application uses nondefault visual [Bug 2264732]
1922	(Backport from trunk change 2008-11-11)
1923	* Workaround for [Bug 2207435]
1924	(Backport from trunk change 2008-10-31).
1925
19262008-12-22  Donal K. Fellows  <dkf@users.sf.net>
1927
1928	* generic/tkCanvPs.c (Tk_PostscriptFont,TkCanvPostscriptCmd): Backport
1929	of font size and reflection fix. [Bug 2107938]
1930
19312008-12-22  Alexandre Ferrieux 	<ferrieux@users.sourceforge.net>
1932
1933	* generic/tkCanvUtil.c: Backport of the Millipeter patch [1813597,
1934	* generic/tkInt.h:       2218964]
1935	* generic/tkObj.c:
1936	* generic/tkText.c:
1937
19382008-12-21  Don Porter  <dgp@users.sourceforge.net>
1939
1940	* generic/tk.h:		Bump to 8.5.6 for release.
1941	* library/tk.tcl:
1942	* unix/configure.in:
1943	* unix/tk.spec:
1944	* win/configure.in:
1945	* README:
1946
1947	* unix/configure:	autoconf-2.59
1948	* win/configure:
1949
1950	* changes:	Updates for 8.5.6 release.
1951
19522008-11-22  Pat Thoyts  <patthoyts@users.sourceforge.net>
1953
1954	* library/ttk/combobox.tcl: [Bug 1939129,1991930] combobox dropdown
1955	                            was drawn behind topmost toplevels.
1956
19572008-11-19  Jan Nijtmans  <nijtmans@users.sf.net>
1958
1959	* generic/tkImage.c    Relax the constraint that every Tk_ImageType
1960	* generic/tkImgPhoto.c can only be passed to this function once.
1961	                       This allows tkImg to be loaded in multiple
1962	                       interpreters in a thread-enabled build of Tk.
1963	                       [Bug 2312027]
1964
19652008-11-15  Pat Thoyts  <patthoyts@users.sourceforge.net>
1966
1967	* generic/tk.h:        The tip 125 implementation permits the
1968	* generic/tkFrame.c:   wm manage command to manage any widget but
1969	* macosx/tkMacOSXWm.c: only those with Frame instance data should
1970	* unix/tkUnixWm.c:     be permitted. We now check for the suitability
1971	* win/tkWinWm.c:       and raise an error for non-frame widgets.
1972	* test/wm.test:        Updated the tests and documentation.
1973	* doc/wm.n:            See also [Bug 2239034]
1974
19752008-11-12  Pat Thoyts  <patthoyts@users.sourceforge.net>
1976
1977	* tests/constraints.tcl: backported listbox test fix from head
1978	* tests/listbox.test:    the default on windows is 'underline'
1979	* tests/winDialog.test: backported some fixes from head
1980	* library/text.tcl: Backported fix for bug #1777362 to have events
1981	* test/text.test:   work with window paths that include hyphens.
1982
19832008-10-23  Don Porter  <dgp@users.sourceforge.net>
1984
1985	* generic/tk.h:		Bump version number to 8.5.6b1 to distinguish
1986	* library/tk.tcl:	CVS development snapshots from the 8.5.5 and
1987	* unix/configure.in:	8.5.6 releases.
1988	* unix/tk.spec:
1989	* win/configure.in:
1990	* README:
1991
1992	* unix/configure:	autoconf (2.59)
1993	* win/configure:
1994
19952008-10-17  Pat Thoyts  <patthoyts@users.sourceforge.net>
1996
1997	* library/ttk/scale.tcl: Backported keyboard bindings for ttk::scale
1998
19992008-10-11  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
2000
2001	*** 8.5.5 TAGGED FOR RELEASE ***
2002
2003	* generic/tkCanvas.c (CanvasWidgetCmd): Corrected result generation.
2004
20052008-10-10  Don Porter  <dgp@users.sourceforge.net>
2006
2007	* generic/tk.h:		Bump to 8.5.5 for release.
2008	* library/tk.tcl:
2009	* unix/configure.in:
2010	* unix/tk.spec:
2011	* win/configure.in:
2012
2013	* unix/configure:	autoconf-2.59
2014	* win/configure:
2015
2016	* changes:	Updates for 8.5.5 release.
2017
2018	* unix/Makefile.in:	Relax constraints in index script so that
2019	* win/Makefile.in:	each Tk 8.5.* release may be [package require]d
2020	* win/makefile.vc:	into any Tcl 8.5.* interp.  [Bug 1890438].
2021
20222008-10-09  Don Porter  <dgp@users.sourceforge.net>
2023
2024	* generic/tkListbox.c:	Make literal return values consistent with
2025	those generated by Tcl_PrintDouble().
2026
2027	* tests/canvText.test:	Backport test updates in light of the
2028	* tests/entry.test:	2008-10-05 commit.
2029	* tests/listbox.test:
2030	* tests/scrollbar.test:
2031	* tests/spinbox.test:
2032	* tests/textDisp.test:
2033
2034	* generic/tkEntry.c:	Fix missing space constructing the scroll
2035	command.
2036
20372008-10-05  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
2038
2039	* win/tkWinScrlbr.c:		Convert 'sprintf(..."%g"...)' to the
2040	* macosx/tkMacOSXScrlbr.c:	locale-insensitive Tcl_PrintDouble.
2041	* generic/tkScrollbar.c:	[Bug 2112563]  NOTE: Tcl_PrintDouble
2042	* generic/tkListbox.c:		is sensitive to the value of
2043	* generic/tkEntry.c:		::tcl_precision.
2044	* generic/tkCanvText.c:		*** POTENTIAL INCOMPATIBILITY ***
2045	* generic/tkArgv.c:
2046
20472008-08-25  Todd M. Helfter  <tmh@users.sourceforge.net>
2048
2049	* library/menu.tcl: additional fix for [Bug 1023955]
2050
20512008-09-08  Todd M. Helfter  <tmh@users.sourceforge.net>
2052
2053	* doc/menu.n: fix typo in docs [Bug 2098425]
2054
20552008-08-28  Don Porter  <dgp@users.sourceforge.net>
2056
2057	* unix/tkConfig.sh.in:	Added @XFT_LIBS@ to the definition of TK_LIBS
2058	to avoid link failures when a "big wish" program links against a
2059	--disable-shared build of libtk.  (Discovered building expectTk).
2060
2061	* generic/tk.h:		Bump version number to 8.5.5b1 to distinguish
2062	* library/tk.tcl:	CVS development snapshots from the 8.5.4 and
2063	* unix/configure.in:	8.5.5 releases.
2064	* unix/tk.spec:
2065	* win/configure.in:
2066	* README:
2067
2068	* unix/configure:	autoconf (2.59)
2069	* win/configure:
2070
20712008-08-25  Todd M. Helfter  <tmh@users.sourceforge.net>
2072
2073	* library/menu.tcl: fix typo from [Bug 1023955]
2074
20752008-08-25  Todd M. Helfter <tmh@users.sourceforge.net>
2076
2077	* library/menu.tcl : Do not flip to the arrow cursor on menus.
2078	This was a Motif convention.  Current behavior is maintained if
2079	tk_strictMotif is enabled.  [Bug 1023955]
2080
20812008-08-25  Todd M. Helfter <tmh@users.sourceforge.net>
2082
2083	The patch is associated with the bug tracker id: 1936220
2084	library/tkfbox.tcl : fix the multiple selection error for
2085	tk_getOpenFile -multiple 1 which fails on all unix platforms since
2086	the adoption of ttk widgets.
2087
20882008-08-19  Joe English  <jenglish@users.sourceforge.net>
2089
2090	* generic/ttk/ttkScroll.c:  Don't use sprintf "%g" to
2091	format floating point numbers in -[xy]scrollcommand callbacks
2092	or [xy]view methods.  Minor incompatibility: 0 and 1 now
2093	formatted as "0.0" resp "1.0".
2094	* tests/ttk/entry.test, tests/ttk/treeview.test: Updated
2095	to account for above change.
2096
20972008-08-19  Daniel Steffen  <das@users.sourceforge.net>
2098
2099	* macosx/tkMacOSXFont.c (SetFontFeatures):	Disable antialiasing of
2100						 	fixed-width fonts with
2101						 	size <= 10.
2102
21032008-08-14  Daniel Steffen  <das@users.sourceforge.net>
2104
2105	*** 8.5.4 TAGGED FOR RELEASE ***
2106
2107	* unix/tcl.m4 (SC_PATH_X):	check for libX11.dylib in addition to
2108					libX11.so et al.
2109
2110	* unix/configure: 		autoconf-2.59
2111
21122008-08-08  Don Porter  <dgp@users.sourceforge.net>
2113
2114	* generic/tk.h:		Bump to 8.5.4 for release.
2115	* library/tk.tcl:
2116	* unix/configure.in:
2117	* unix/tk.spec:
2118	* win/configure.in:
2119	* README:
2120
2121	* unix/configure:	autoconf-2.59
2122	* win/configure:
2123
2124	* changes:	Updates for 8.5.4 release.
2125
21262008-08-05  Joe English  <jenglish@users.sourceforge.net>
2127
2128	* generic/tk.h, generic/tkEvent.c: Fix for [Bug 2010422]
2129	"no event type or button # or keysym while executing
2130	"bind Listbox <MouseWheel> [...]".
2131
21322008-08-01  Pat Thoyts  <patthoyts@users.sourceforge.net>
2133
2134	* win/tkWinWm.c: Backported fixes for handling unmapped parent
2135	* test/wm.test:  toplevels. [Bug 2009788, 2028703]
2136
21372008-07-31  Don Porter  <dgp@users.sourceforge.net>
2138
2139	* generic/tk.h:	Added missing EXTERN for the Tcl_PkgInitStubsCheck
2140	declaration to fix inability to embed non-stub-enabled Tk on Windows.
2141
21422008-07-26  Pat Thoyts  <patthoyts@users.sourceforge.net>
2143
2144	* doc/options.n: Direct to the font manual for -font [Bug 1686012]
2145
2146	* win/tkWinWindow.c: Check for 0x prefix in sprintf %p. Bug [2026405]
2147
21482008-07-22  Daniel Steffen  <das@users.sourceforge.net>
2149
2150	* library/ttk/aquaTheme.tcl: Use system color names and TIP145 named
2151	font instead of hardcoded color values and deprecated native font name.
2152
2153	* macosx/tkMacOSXHLEvents.c: sync with HEAD.
2154
21552008-07-04  Joe English  <jenglish@users.sourceforge.net>
2156
2157	* generic/ttk/ttkDefaultTheme.c, generic/ttk/ttkClamTheme.c,
2158	generic/ttk/ttkClassicTheme.c, generic/ttk/ttkElements.c:
2159	Backport [Bug 2009213].
2160
21612008-06-29  Don Porter  <dgp@users.sourceforge.net>
2162
2163	*** 8.5.3 TAGGED FOR RELEASE ***
2164
2165	* generic/tk.h:		Bump to 8.5.3 for release.
2166	* library/tk.tcl:
2167	* unix/configure.in:
2168	* unix/tk.spec:
2169	* win/configure.in:
2170	* README:
2171
2172	* unix/configure:	autoconf-2.59
2173	* win/configure:
2174
2175	* changes:	Updates for 8.5.3 release.
2176
21772008-06-26  Don Porter  <dgp@users.sourceforge.net>
2178
2179	* generic/tkPanedWindow.c (PanedWindowProxyCommand)
2180	(DisplayPanedWindow): Ensure that a zero width never gets fed to the
2181	underlying window system. [Bug 1639824]  (Backport fix from dkf).
2182
21832008-06-20  Joe English  <jenglish@users.sourceforge.net>
2184
2185	* library/ttk/treeview.tcl: Backport fix for [Bug 1951733]
2186
21872008-06-19  Don Porter  <dgp@users.sourceforge.net>
2188
2189	* changes:	Updates for 8.5.3 release.
2190
21912008-06-18  Daniel Steffen  <das@users.sourceforge.net>
2192
2193	* macosx/tkMacOSXCarbonEvents.c:	fix debug carbon event tracing;
2194	(InstallStandardApplicationEventHandler):	replace needless use of
2195	TkMacOSXInitNamedDebugSymbol() by standard TkMacOSXInitNamedSymbol().
2196
2197	* macosx/tkMacOSXDebug.c:	revert 2007-11-09 commit making
2198	* macosx/tkMacOSXDebug.h:	TkMacOSXInitNamedDebugSymbol()
2199					available outside of debug builds.
2200
2201	* macosx/tkMacOSXEmbed.c (TkpMakeWindow):	fix bug with missing
2202	* macosx/tkMacOSXSubwindows.c (XMapWindow):	focus on first map by
2203	only sending VisibilityNotify events once windows are mapped (rather
2204	than when they are created).
2205
2206	* macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessWindowEvent): fix
2207	return value.
2208
2209	* macosx/tkMacOSXInit.c:	add helper to efficiently convert from
2210	* macosx/tkMacOSXPrivate.h:	CFString to Tcl_Obj.
2211
2212	* macosx/tkMacOSXFont.c (TkpGetFontFromAttributes, InitFont):	fix
2213	incorrect conversion to points of font sizes already in points; factor
2214	out retrieval of font family name from font family ID.
2215
22162008-06-13  Jeff Hobbs  <jeffh@ActiveState.com>
2217
2218	* win/configure, win/configure.in (TK_WIN_VERSION): fix handling
2219	of interim a/b versioning for manifest usage.
2220
22212008-06-12  Daniel Steffen  <das@users.sourceforge.net>
2222
2223	* generic/tkPointer.c (Tk_UpdatePointer): fix failure to restore a
2224	global grab capture and to release the restrict window capture when
2225	releasing a button grab. Fixes segfault due to dangling reference to
2226	restrict window inside TkpSetCapture() implementation. [Bug 1991932]
2227
2228	* unix/tcl.m4 (SunOS-5.11): fix 64bit amd64 support with gcc & Sun cc.
2229	* unix/configure: autoconf-2.59
2230
2231	* macosx/tkMacOSXXStubs.c (Tk_ResetUserInactiveTime): use UsrActivity
2232	instead of OverallAct (which may be ignored in some circumstances).
2233
2234	* macosx/Wish.xcodeproj/project.pbxproj: add debug configs for 64bit,
2235	* macosx/Wish.xcodeproj/default.pbxuser: with gcov, and with
2236	corefoundation disabled; updates & cleanup for Xcode 3.1 and for
2237	Leopard; sync with Tcl.xcodeproj.
2238	* macosx/Wish.xcode/project.pbxproj:	sync Wish.xcodeproj changes.
2239	* macosx/Wish.xcode/default.pbxuser:
2240	* macosx/README:			document new build configs.
2241
22422008-06-10  Joe English  <jenglish@users.sourceforge.net>
2243
2244	* unix/tkUnixKey.c: tkUnixKey.c: Use Xutf8LookupString if available
2245	[Patch #1986818].  This should fix problems (like #1908443) where
2246	Xlib's idea of the system encoding does not match Tcl's.
2247
22482008-05-23  Joe English  <jenglish@users.sourceforge.net>
2249
2250	* generic/ttk/ttkLabel.c: Avoid passing width or height <= 0 to
2251	Tk_RedrawImage, as this leads to a panic on Windows [Bug 1967576]
2252
22532008-05-11  Pat Thoyts  <patthoyts@users.sourceforge.net>
2254
2255	* library/tk.tcl: Support for ttk widgets in AmpWidget
2256
2257	* doc/button.n: Note negative widths for button [Patch #1883418]
2258	* doc/ttk_*:   'identify' widget command is on all ttk widgets.
2259
22602008-05-04  Joe English  <jenglish@users.sourceforge.net>
2261
2262	* macosx/ttkMacOSAquaTheme.c: "default" and "focus" adornments
2263	should not be disjoint [Bug 1942785]
2264
22652008-04-17  Don Porter  <dgp@users.sourceforge.net>
2266
2267	* generic/tkCanvas.c:   Fix logic that determines when canvas item
2268	<Enter> event should fire.  Thanks to Sebastian Wangnick. [Bug 1327482]
2269
22702008-04-14  Pat Thoyts  <patthoyts@users.sourceforge.net>
2271
2272	* win/tkWinDialog.c: backport tk_chooseColor -title fix from head
2273	* win/tkWinTest.c:   Added parent to testgetwininfo
2274	* tests/winDialog.test: Created some tk_chooseColor win tests.
2275
22762008-04-11  Don Porter  <dgp@users.sourceforge.net>
2277
2278	* generic/tk.h:		Bump version number to 8.5.3b1 to distinguish
2279	* library/tk.tcl:	CVS development snapshots from the 8.5.2 and
2280	* unix/configure.in:	8.5.3 releases.
2281	* unix/tk.spec:
2282	* win/configure.in:
2283
2284	* unix/configure:	autoconf (2.59)
2285	* win/configure:
2286
22872008-04-07  Jeff Hobbs  <jeffh@ActiveState.com>
2288
2289	* generic/tkWindow.c (Initialize): fix double-free on Tk_ParseArgv
2290	* tests/main.test (main-3.*):      error. [Bug 1937135]
2291
2292	* generic/tkArgv.c: fix -help mem explosion. [Bug 1936238] (kenny)
2293
22942008-04-03  Pat Thoyts  <patthoyts@users.sourceforge.net>
2295
2296	* library/ttk/xpTheme.tcl: fix the colour of labelframe in xp
2297
22982008-04-01  Don Porter  <dgp@users.sourceforge.net>
2299
2300	* generic/tkStubLib.c (Tk_InitStubs):	Added missing error message.
2301	* generic/tkWindow.c (Tk_PkgInitStubsCheck):
2302
23032008-03-28  Don Porter  <dgp@users.sourceforge.net>
2304
2305	*** 8.5.2 TAGGED FOR RELEASE ***
2306
2307	* README:		Bump to 8.5.2 for release.
2308	* generic/tk.h:
2309	* library/tk.tcl:
2310	* unix/configure.in:
2311	* unix/tk.spec:
2312	* win/configure.in:
2313
2314	* unix/configure:	autoconf-2.59
2315	* win/configure:
2316
2317	* changes:	Updates for 8.5.2 release.
2318
23192008-03-27  Jeff Hobbs  <jeffh@ActiveState.com>
2320
2321	* library/safetk.tcl (::safe::tkInterpInit): make sure tk_library
2322	and its subdirs (eg, ttk) are on the "safe" access path.
2323
23242008-03-27  Daniel Steffen  <das@users.sourceforge.net>
2325
2326	* unix/tcl.m4 (SunOS-5.1x): fix 64bit support for Sun cc. [Bug 1921166]
2327
2328	* unix/configure: autoconf-2.59
2329
23302008-03-27  Daniel Steffen  <das@users.sourceforge.net>
2331
2332	* generic/ttk/ttkStubLib.c:	ensure tcl stubs are used in libtkstub
2333					even in a static build of Tk.
2334	* generic/ttk/ttkDecls.h:	fix incorrect number of arguments in
2335					Ttk_InitStubs macro definition.
2336
23372008-03-26  Don Porter  <dgp@users.sourceforge.net>
2338
2339	* changes:	Updates for 8.5.2 release.
2340
2341	* unix/tkUnixCursor.c:	Stop crash in [. configure -cursor] on X11.
2342	Thanks to Emiliano Gavilán.  [Bug 1922466]
2343
23442008-03-26  Joe English  <jenglish@users.sourceforge.net>
2345
2346	* generic/tkInt.h, generic/tkEvent.c, unix/tkUnixEvent.c,
2347	unix/tkUnixKey.c: XIM reorganization and cleanup; see
2348	[Patch 1919791] for details.
2349
23502008-03-21  Joe English  <jenglish@users.sourceforge.net>
2351
2352	* generic/tk.decls, generic/ttk/ttkStubLib.c, unix/Makefile.in:
2353	Keep ttkStubLib.o in libtkstub instead of libtk. [Bug 1920030]
2354
23552008-03-20  Donal K. Fellows  <dkf@users.sf.net>
2356
2357	* tests/wm.test: Rewrote so that tests clean up after themselves
2358	rather than leaving that to the following test. Makes it easier to
2359	catch problems where they originate. Inspired by [Bug 1852338]
2360
23612008-03-19  Donal K. Fellows  <dkf@users.sf.net>
2362
2363	* doc/GetClrmap.3: Documented Tk_PreserveColormap. [Bug 220809]
2364
23652008-03-17  Joe English  <jenglish@users.sourceforge.net>
2366
2367	* unix/Makefile.in, win/Makefile.in, win/makefile.vc: Put ttkStubLib.o
2368	in libtkstub instead of libtk. [Bug 1863007]
2369
23702008-03-16  Donal K. Fellows  <dkf@users.sf.net>
2371
2372	* library/demos/goldberg.tcl: Made work when run twice in the same
2373	session. [Bug 1899664] Also made the control panel use Ttk widgets.
2374
23752008-03-13  Daniel Steffen  <das@users.sourceforge.net>
2376
2377	* unix/configure.in:	Use backslash-quoting instead of double-quoting
2378	* unix/tcl.m4:		for lib paths in tkConfig.sh. [Bug 1913622]
2379	* unix/configure:	autoconf-2.59
2380
23812008-03-13  Don Porter  <dgp@users.sourceforge.net>
2382
2383	* changes:	Updates for 8.5.2 release.
2384
23852008-03-12  Daniel Steffen  <das@users.sourceforge.net>
2386
2387	* macosx/Wish.xcodeproj/project.pbxproj: Add support for Xcode 3.1
2388	* macosx/Wish.xcodeproj/default.pbxuser: CODE_SIGN_IDENTITY and
2389	* macosx/Wish-Common.xcconfig:		 'xcodebuild install'.
2390
23912008-03-12  Joe English  <jenglish@users.sourceforge.net>
2392
2393	* unix/tkUnixRFont.c: Try a fallback font if XftFontOpenPattern()
2394	fails in GetFont (workaround for [Bug 1090382]).
2395
23962008-03-11  Daniel Steffen  <das@users.sourceforge.net>
2397
2398	* library/demos/knightstour.tcl:	Aqua GOOBE.
2399	* library/demos/widget:
2400
2401	* macosx/Wish.xcodeproj/project.pbxproj: Add support for Xcode 3.1 and
2402	* macosx/Wish.xcodeproj/default.pbxuser: configs for building with
2403	* macosx/Wish-Common.xcconfig:		 gcc-4.2 and llvm-gcc-4.2.
2404
2405	* generic/tkCanvUtil.c:			Fix gcc-4.2 warnings.
2406
2407	* macosx/GNUmakefile:			Fix quoting to allow paths to
2408	* macosx/Wish-Common.xcconfig:		${builddir}, ${INSTALL_ROOT}
2409	* unix/Makefile.in:			and ${TCL_BIN_DIR} to contain
2410	* unix/configure.in:			spaces.
2411	* unix/install-sh:
2412	* unix/tcl.m4:
2413
2414	* unix/configure:			autoconf-2.59
2415
2416	* unix/Makefile.in (install-strip):	Strip non-global symbols from
2417						dynamic library.
2418
24192008-03-10  Don Porter  <dgp@users.sourceforge.net>
2420
2421	* changes:	Updates for 8.5.2 release.
2422
24232008-03-07  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
2424
2425	* doc/colors.n: Reworked to produce nicer HTML output.
2426
24272008-03-06  Joe English  <jenglish@users.sourceforge.net>
2428
2429	* doc/ttk_notebook.n: Move "TAB IDENTIFIERS" section above "WIDGET
2430	COMMAND" section. [Bug 1882011]
2431
24322008-02-29  Pat Thoyts  <patthoyts@users.sourceforge.net>
2433
2434	* library/demos/widget:  Added a Knight's tour canvas demo.
2435	* library/demos/knightstour.tcl:
2436
24372008-02-27  Daniel Steffen  <das@users.sourceforge.net>
2438
2439	* macosx/tkMacOSXDraw.c: workaround leak in Carbon SetPortPenPixPat()
2440	API [Bug 1863346]; avoid repeated PixPat allocation/deallocation.
2441
24422008-02-23  Joe English  <jenglish@users.sourceforge.net>
2443
2444	* library/ttk/combobox.tcl, doc/ttk_combobox.n,
2445	* tests/ttk/combobox.test: Arrange to deliver <<ComboboxSelected>>
2446	event after listbox is unposted, as intended [Bug 1890211]. Clarified
2447	documentation.
2448
24492008-02-23  Joe English  <jenglish@users.sourceforge.net>
2450
2451	* generic/ttk/ttkPanedWindow.c: Don't enforce minimum sash thickness
2452	of 5 pixels, just use 5 as a default. [FR 1898288]
2453
24542008-02-14  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
2455
2456	* unix/README: Documented missing configure flags.
2457
24582008-02-06  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
2459
2460	* doc/ttk_scale.n (new file): Added basic documentation. [Bug 1881925]
2461
24622008-02-04  Don Porter  <dgp@users.sourceforge.net>
2463
2464	*** 8.5.1 TAGGED FOR RELEASE ***
2465
2466	* generic/tk.h:		Bump to 8.5.1 for release.
2467	* library/tk.tcl:
2468	* unix/configure.in:
2469	* unix/tk.spec:
2470	* win/configure.in:
2471
2472	* unix/configure:	autoconf-2.59
2473	* win/configure:
2474
24752008-02-04  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
2476
2477	* doc/MeasureChar.3, doc/FontId.3: Minor improvements (formatting,
2478	keywords).
2479
24802008-02-02  Daniel Steffen  <das@users.sourceforge.net>
2481
2482	* macosx/Wish-Info.plist.in:	add CFBundleLocalizations key, listing
2483	* unix/configure.in (Darwin): 	all library/msgs locales.
2484
2485	* unix/configure.in (Darwin):	correct Info.plist year substitution in
2486					non-framework builds.
2487
2488	* unix/configure:		autoconf-2.59
2489
24902008-02-01  Don Porter  <dgp@users.sourceforge.net>
2491
2492	* changes:	Updates for 8.5.1 release.
2493
24942008-02-01  Reinhard Max  <max@suse.de>
2495
2496	* generic/tkImgGIF.c: Fixed a buffer overflow (CVE-2008-0553).
2497	* tests/imgPhoto.test: Added a test for the above.
2498
24992008-01-31  Jeff Hobbs  <jeffh@ActiveState.com>
2500
2501	* library/msgbox.tcl (::tk::MessageBox): don't use ttk::label in
2502	low depth/aqua fallback, as it doesn't support -bitmap.
2503
2504	* win/tkWinDialog.c (Tk_MessageBoxObjCmd): pass "" instead of NULL
2505	when -title isn't set.  [Bug 1881892]
2506
25072008-01-31  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
2508
2509	* doc/panedwindow.n: Added proper description of -height and -width
2510	options, which aren't "standard". Last of fallout from [Bug 1882495].
2511
25122008-01-30  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
2513
2514	* doc/canvas.n, doc/listbox.n, doc/message.n: Fix erroneous listing of
2515	"standard" options. [Bug 1882495]
2516
25172008-01-29  Joe English  <jenglish@users.sourceforge.net>
2518
2519	* library/treeview.tcl: Fix bug in Shift-ButtonPress-1 binding (error
2520	if no current focus item; reported on c.l.t.)
2521
25222008-01-29  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
2523
2524	* doc/ttk_*.n: Adjusted handling of the standard options part of the
2525	Ttk manual pages so that they are documented in the correct location.
2526	[Bug 1876493]
2527
25282008-01-28  Joe English  <jenglish@users.sourceforge.net>
2529
2530	* unix/tkUnixRFont.c: Re-fix strict-aliasing warnings reintroduced by
2531	last patch.
2532
25332008-01-27  Joe English  <jenglish@users.sourceforge.net>
2534
2535	* generic/ttk/ttkNotebook.c: Make sure to schedule a redisplay when
2536	adding and/or hiding tabs. [Bug 1878298]
2537
25382008-01-27  Joe English  <jenglish@users.sourceforge.net>
2539
2540	* unix/tkUnixRFont.c: Merged common code from InitFont() and
2541	TkpGetFontAttrsForChar(), factored into GetTkFontAttributes() and
2542	GetTkFontMetrics(). Removed write-only struct UnixFtFont member
2543	'drawable'. Removed unneeded double-pointer indirections. Ensure that
2544	TkFontAttributes.family member is a Tk_Uid, as specified. Use
2545	FcTypeDouble for XFT_SIZE attribute. Finally: fix [Bug 1835848]
2546
25472008-01-25  Don Porter  <dgp@users.sourceforge.net>
2548
2549	* changes:	Updates for 8.5.1 release.
2550
25512008-01-08  Joe English  <jenglish@users.sourceforge.net>
2552
2553	* generic/ttk/ttkFrame.c: BUGFIX: fix crash in [ttk::labelframe] when
2554	-style option specified. [Bug 1867122]
2555
25562008-01-08  Joe English  <jenglish@users.sourceforge.net>
2557
2558	* win/ttkWinTheme.c: Add tristate support to checkbuttons and
2559	radiobuttons. [Bug 1865898]
2560	Fix check and radio indicator size. [Bug 1679067]
2561
25622008-01-06  Joe English  <jenglish@users.sourceforge.net>
2563
2564	* generic/ttk/ttkWidget.c, generic/ttk/ttkWidget.h: Call
2565	Tk_MakeWindowExist() in widget constructor. Removed now-unnecessary
2566	initial ConfigureNotify processing.
2567
25682008-01-06  Joe English  <jenglish@users.sourceforge.net>
2569
2570	* library/ttk/treeview.tcl, library/ttk/utils.tcl: Fix MouseWheel
2571	bindings for ttk::treeview widget. [Bugs 1442006, 1821939, 1862692]
2572
25732008-01-02  Don Porter  <dgp@users.sourceforge.net>
2574
2575	* generic/tk.h:		Bump version number to 8.5.1b1 to distinguish
2576	* library/tk.tcl:	CVS development snapshots from the 8.5.0 and
2577	* unix/configure.in:	8.5.1 releases.
2578	* unix/tk.spec:
2579	* win/configure.in:
2580
2581	* unix/configure:	autoconf (2.59)
2582	* win/configure:
2583
25842007-12-30  Donal K. Fellows  <dkf@users.sf.net>
2585
2586	* doc/canvas.n: Documented exact behaviour of items with respect to
2587	when they are the current item. [Bug 1774593] Also documented the
2588	clipping behaviour of window items.
2589
2590	* library/demos/nl.msg: Corrected following testing "in the field" by
2591	Arjen Markus. [Bug 1860802]
2592
25932007-12-17  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
2594
2595	*** 8.5.0 TAGGED FOR RELEASE ***
2596
2597	* doc/canvas.n: Documented -outlineoffset item option. [Bug 1836621]
2598
25992007-12-14  Don Porter  <dgp@users.sourceforge.net>
2600
2601	* changes:	More updates for 8.5.0 release.
2602
26032007-12-14  Joe English  <jenglish@users.sourceforge.net>
2604
2605	* doc/ttk_treeview.n: Fix typo. [Bug 1850713]
2606
26072007-12-14  Pat Thoyts  <patthoyts@users.sourceforge.net>
2608
2609	* win/tkWinInt.h:     Add in missing function definitions
2610	* win/tkWinButton.c:  to support plain MSVC6 and use INT_PTR
2611	* win/tkWinScrlBar.c: rather than LONG_PTR which isn'tr defined
2612	* win/tkWinWm.c:      in the msvc6 headers.
2613
26142007-12-14  Pat Thoyts <patthoyts@users.sourceforge.net>
2615
2616	* win/nmakehlp.c:  Support compilation with MSVC9 for AMD64.
2617	* win/makefile.vc:
2618
26192007-12-13  Jeff Hobbs  <jeffh@ActiveState.com>
2620
2621	* generic/tkMenubutton.c (ConfigureMenuButton): trace the
2622	-textvariable even if an image exists as it may use -compound.
2623
26242007-12-12  Jeff Hobbs  <jeffh@ActiveState.com>
2625
2626	* generic/tkText.c (DeleteIndexRange, TextEditCmd, UpdateDirtyFlag):
2627	* tests/text.test (text-25.10.1,25.11.[12]):
2628	Don't require [update idle] to trigger Modified event [Bug 1809538]
2629	Modified virtual event should only fire on state change [Bug 1799782]
2630	Make sure we delete chars before triggering <<Modified>> [Bug 1737288]
2631
26322007-12-12  Daniel Steffen  <das@users.sourceforge.net>
2633
2634	* macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): Revert 2007-10-26
2635	change to window class of transient toplevels that are not also
2636	overrideredirect. [Bug 1845899]
2637
2638	* macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): Implement more
2639	* macosx/tkMacOSXMouseEvent.c (BringWindowForward): X11-like transient
2640	* macosx/tkMacOSXSubwindows.c (XDestroyWindow):     behaviour by adding
2641	transient windows to a window group owned by the master window, this
2642	ensures transients always remain in front of and are collapsed with the
2643	master; bring master to front when selecting transient windows; restore
2644	default window group of transients if master destroyed. [Bug 1845899]
2645
26462007-12-12  Joe English  <jenglish@users.sourceforge.net>
2647
2648	* doc/ttk_intro.n, doc/ttk_style.n, doc/ttk_widget.n:
2649	Various minor updates.
2650
26512007-12-12  Don Porter  <dgp@users.sourceforge.net>
2652
2653	* changes:		Updated for 8.5.0 release.
2654
26552007-12-11  Joe English  <jenglish@users.sourceforge.net>
2656
2657	* generic/ttk/ttkTheme.c(StyleElementOptionsCmd):
2658	Use Ttk_GetElement() to find element instead of direct
2659	hash table access.
2660
26612007-12-11  Donal K. Fellows  <dkf@users.sf.net>
2662
2663	* generic/tkText.c (TextReplaceCmd): Added code to rebuild the from
2664	index after the deletion phase so that the linePtr field is valid for
2665	the insertion phase. [Bug 1602537]
2666
26672007-12-10  Donal K. Fellows  <dkf@users.sf.net>
2668
2669	* doc/event.n: Clarify the fact that [event info] only returns the
2670	names of virtual events that are bound to physical event sequences.
2671	This follows on from comments on comp.lang.tcl.
2672	http://groups.google.com/group/comp.lang.tcl/msg/935d2d226ae8a770
2673
26742007-12-10  Joe English  <jenglish@users.sourceforge.net>
2675
2676	* doc/AddOption.3, doc/CrtImgType.3, doc/CrtPhImgFmt.3,
2677	* doc/InternAtom.3, doc/TextLayout.3, doc/chooseColor.n,
2678	* doc/chooseDirectory.n, doc/loadTk.n, doc/palette.n,
2679	* doc/ttk_combobox.n: Various markup fixes (mostly: missing quotes on
2680	.SH arguments, extraneous .PPs)
2681
2682	* doc/ttk_entry.n, doc/ttk_scrollbar.n, doc/ttk_treeview.n: Remove
2683	extra .BEs that got added by mistake somewhere.
2684
26852007-12-10  Daniel Steffen  <das@users.sourceforge.net>
2686
2687	* generic/tk.decls:		use new genstubs 'export' command to
2688	* generic/tkInt.decls:		mark exported symbols not in stubs
2689					table [FR 1716117]; cleanup formatting
2690
2691	* generic/tkIntDecls.h:		regen with new genStubs.tcl.
2692	* generic/tkIntPlatDecls.h:	[Tcl Bug 1834288]
2693	* generic/tkIntXlibDecls.h:
2694	* generic/tkPlatDecls.h:
2695	* generic/tkStubInit.c:
2696
26972007-12-10  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
2698
2699	* tests/safe.test: Ensure list of hidden commands is correct. [Bug
2700	1847925]
2701
27022007-12-10  Pat Thoyts  <patthoyts@users.sourceforge.net>
2703
2704	* win/tkWin.h: We must specify the lowest Windows version we intend to
2705	support. In particular the SystemParametersInfo API doesn't like to
2706	receive structures that are larger than it expects which affects the
2707	font assignements. Set to Win98 support.
2708
2709	* win/tkWinFont.c: Handle failure to read the system parameters. This
2710	causes ttk/fonts.tcl to set any missing named fonts.
2711
2712	* win/ttkWinMonitor.c:  Only tkWin.h should include windows.h unless
2713	* win/ttkWinTheme.c:    we have an explicit override of the WINVER
2714	* tin/ttkWinXPTheme.c:  macro.
2715
2716	* win/rules.vc: Handle MSVC 9 (aka: Visual Studio 2008)
2717
2718	* tests/safe.test: Update for 'unload' as a safe command (tcl 8.5b3+)
2719
27202007-12-09  Donal K. Fellows  <dkf@users.sf.net>
2721
2722	* win/configure.in: Adjusted code so that running configure does not
2723	generate an error message when the full current directory name
2724	contains a space.
2725
2726	* win/tkWinWm.c: Added set of #defs to make this file build with my
2727	version of the SDK (i.e. with the msys suite we distribute).
2728
27292007-12-07  Joe English  <jenglish@users.sourceforge.net>
2730
2731	* library/ttk/altTheme.tcl, library/ttk/classicTheme.tcl:
2732	s/style/ttk::style/.
2733
27342007-12-07  Don Porter  <dgp@users.sourceforge.net>
2735
2736	* unix/README:  Mention the stub library created by `make` and warn
2737	about the effect of embedded paths in the installed binaries. Thanks
2738	to Larry Virden. [Tcl Bug 1794084]
2739
27402007-12-05  Joe English  <jenglish@users.sourceforge.net>
2741
2742	* macosx/ttkMacOSXTheme.c: Fix TCombobox layout so as not to truncate
2743	long text when combobox is wider than requested. [Bug 1845164]
2744
27452007-12-05  Jeff Hobbs  <jeffh@ActiveState.com>
2746
2747	* library/demos/widget: reduce start size to 70% of screenheight from
2748	sh-200 for a more reasonable size.
2749
2750	* win/tkWinButton.c, win/tkWinDialog.c: use SetWindowLongPtr and
2751	* win/tkWinScrlbr.c, win/tkWinWm.c:     GetWindowLongPtr only.
2752	* win/ttkWinMonitor.c:
2753
2754	* win/tkWinInt.h: remove CS_CLASSDC (not recommended for any apps now)
2755	* win/tkWinX.c:   and simplify WNDCLASS to one style.
2756	* win/tkWinWm.c:  Reduce wrapper update for exStyle to toolwindow
2757	change only and set WS_EX_LAYERED as sticky (once set on a window, do
2758	not remove it) to reduce alpha transition flicker.
2759
2760	* win/configure, win/tcl.m4 (LIBS_GUI): mingw needs -lole32 -loleaut32
2761	but not msvc for Tk's [send]. [Bug 1844749]
2762
27632007-12-04  Joe English  <jenglish@users.sourceforge.net>
2764
2765	* doc/ttk_style.n: Remove nonsense about "this manpage has not yet
2766	been written"; everything supported is documented.
2767
27682007-12-04  Donal K. Fellows  <dkf@users.sf.net>
2769
2770	* library/msgs/en.msg: Added missing messages. [Patch 1800744]
2771
2772	* library/msgs/da.msg: Added Danish messages. [Patch 1844143]. Many
2773	thanks to Torsten Berg <treincke@users.sf.net>.
2774
27752007-12-03  Jeff Hobbs  <jeffh@ActiveState.com>
2776
2777	* win/configure, win/tcl.m4 (LIBS_GUI): remove ole32.lib oleaut32.lib
2778	(LIBS): add ws2_32.lib for static builds with Tcl.
2779
27802007-12-01  Joe English  <jenglish@users.sourceforge.net>
2781
2782	* generic/ttk/ttkTheme.h, generic/ttk/ttkThemeInt.h,
2783	* generic/ttk/ttkTheme.c, generic/ttk/ttkLayout.c,
2784	* generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c,
2785	* generic/ttk/ttkTreeview.c, macosx/ttkMacOSXTheme.c,
2786	* win/ttkWinTheme.c, win/ttkWinXPTheme.c: Improved macrology for
2787	statically-initialized layout template tables.
2788
27892007-11-28  Don Porter  <dgp@users.sourceforge.net>
2790
2791	* unix/tkUnixPort.h:	When unix/configure determines whether the
2792	intptr_t type is available, it has the <inttypes.h> header present.
2793	It's only fair that we let Tk have it too.
2794
27952007-11-26  Kevin Kenny  <kennykb@acm.org>
2796
2797	* generic/tkImgPPM.c (StringReadPPM): Corrected a comparison whose
2798	sense was reversed that resulted in reading beyond the end of the
2799	input buffer on malformed PPM data. [Bug 1822391]
2800	* library/tkfbox.tcl (VerifyFileName): Corrected a couple of typos in
2801	handling of bad file names. [Bug 1822076] Thanks to Christoph Bauer
2802	(fridolin@users.sf.net) for the patch.
2803	* tests/filebox.test (filebox-7.1, filebox-7.2): Added test cases that
2804	exercise. [Bug 1822076]
2805	* tests/imgPPM.test (imgPPM-4.1): Added test case that exercises. [Bug
2806	1822391]
2807
28082007-11-25  Joe English  <jenglish@users.sourceforge.net>
2809
2810	* generic/ttk/ttkManager.h, generic/ttk/ttkManager.c,
2811	* generic/ttk/ttkFrame.c, generic/ttk/ttkNotebook.c,
2812	* generic/ttk/ttkPanedwindow.c:  Internal Ttk_Manager API updates;
2813	Fixed [Bug 1343984]; Added [$nb hide] method; [$nb add] on
2814	already-managed windows no longer throws an error, can be used to
2815	re-add a hidden tab.
2816
2817	* doc/ttk_notebook.n, tests/ttk/notebook.test,
2818	* tests/ttk/panedwindow.test:  Updated docs and test suite.
2819
28202007-11-23  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
2821
2822	* unix/README: General improvements.
2823
28242007-11-21  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
2825
2826	* library/tkfbox.tcl: Better theming in the file list area.
2827
28282007-11-19  Don Porter  <dgp@users.sourceforge.net>
2829
2830	*** 8.5b3 TAGGED FOR RELEASE ***
2831
2832	* README:		Bump version number to 8.5b3.
2833	* generic/tk.h:
2834	* library/tk.tcl:
2835	* unix/configure.in:
2836	* unix/tk.spec:
2837	* win/configure.in:
2838
2839	* unix/configure:	autoconf-2.59
2840	* win/configure:
2841
2842	* changes:		Update changes for 8.5b3 release.
2843
28442007-11-19  Pat Thoyts  <patthoyts@users.sourceforge.net>
2845
2846	* generic/ttk/ttkTheme.c:	Fix crash when 'style element create'
2847	* tests/ttk/ttk.test:		called w/ insufficient args; add tests.
2848
28492007-11-18  Joe English  <jenglish@users.sourceforge.net>
2850
2851	* generic/ttk/ttkElements.c, macosx/ttkMacOSXTheme.c: Add "fill"
2852	element: like "background" but only erases parcel.
2853
2854	* generic/ttk/ttkFrame.c: Use fill element in Labelframe Label
2855	sublayout.  Also improved default labelmargins for -labelanchor w*, e*.
2856
2857	* generic/ttk/ttkLabel.c: no longer need Labelframe hack.
2858
2859	* library/ttk/aquaTheme.tcl: ImageTextElement no longer needed.
2860	TextElement no longer needs '-background' option.
2861
2862	* generic/ttk/ttkFrame.c: Use sublayout for ttk::labelframe labels
2863	instead of single element.
2864
2865	* generic/ttk/ttkLabel.c: Default -anchor for text and label elements
2866	is now "w" instead of "center". [Bug 1614540]
2867
2868	* library/ttk/defaults.tcl, library/ttk/*Theme.tcl: Button styles now
2869	need explicit "-anchor center".
2870
2871	* generic/ttk/ttkLayout.c (TTKInitPadding): BUGFIX:
2872	Ttk_GetPaddingFromObj() and Ttk_GetBorderFromObj() returned garbage
2873	when passed an empty list.
2874
2875	* macosx/ttkMacOSXTheme.c: Resynchronize with Tile codebase so that
2876	patches can flow back and forth.
2877
2878	* library/ttk/aquaTheme.tcl: Extra TButton -padding no longer needed.
2879
28802007-11-18  Pat Thoyts  <patthoyts@users.sourceforge.net>
2881
2882	* win/ttkWinXPTheme.c: Add support for size information flags for
2883	scrollbar and combobox buttons. This handles Tile [Patches 1596647 and
2884	1596657] but a bit more generically.
2885
28862007-11-17  Pat Thoyts  <patthoyts@users.sourceforge.net>
2887
2888	* generic/(tkArgv.c, tkBind.c, tkCipboard.c, tkEntry.c, tkOption.c,
2889	tkScale.c, tkScrollbar.c, tkTextImage.c, tkVisual.c, tkWindow.c): Tidy
2890	up some variable types.
2891
2892	* generic/tkFont.c:	Only check for -displayof if there are
2893	* test/font.test:	sufficient arguments. This permits checking
2894				strings like -d.
2895
28962007-11-17  Joe English  <jenglish@users.sourceforge.net>
2897
2898	* library/ttk/scrollbar.tcl: Swap in core scrollbars for
2899	[ttk::scrollbar]s on OSX.
2900
29012007-11-16  Benjamin Riefenstahl  <b.riefenstahl@turtle-trading.net>
2902
2903	* macosx/tkMacOSXFont.c (TkpMeasureCharsInContext): Correct an
2904	oversight in the bug fix from 2007-11-11. [Bug 1824638]
2905
29062007-11-15  Daniel Steffen  <das@users.sourceforge.net>
2907
2908	* macosx/Wish.xcodeproj/project.pbxproj: add new chanio.test.
2909	* macosx/Wish.xcode/project.pbxproj:
2910
29112007-11-14  Donal K. Fellows  <dkf@users.sf.net>
2912
2913	* library/msgs/sv.msg: Get the locale declared within the message
2914	catalog correct! [Bug 1831803]
2915
29162007-11-11  Benjamin Riefenstahl  <b.riefenstahl@turtle-trading.net>
2917
2918	* macosx/tkMacOSXFont.c (TkpMeasureCharsInContext): Fix the case when
2919	TK_WHOLE_WORDS and TK_AT_LEAST_ONE are both set and maxLength is small.
2920	[Bug 1824638]
2921
29222007-11-09  Daniel Steffen  <das@users.sourceforge.net>
2923
2924	* macosx/tkMacOSXCarbonEvents.c
2925	(InstallStandardApplicationEventHandler): on Mac OS X Leopard, replace
2926	the 2005-11-27 approach of installing the standard application handler
2927	by calling RAEL and immediately longjmping out of it from an event
2928	handler, as that now leads to crashes in -[NSView unlockFocus] whenever
2929	HIToolbox uses Cocoa in Leopard (Help menu, Nav Services, Color
2930	Picker). Instead call InstallStandardEventHandler() on the application
2931	and menubar event targets, as Leopard ISEH finally handles these
2932	correctly. Unfortunately need a HIToolbox-internal SPI to retrieve the
2933	menubar event target, no public API appears have that functionality.
2934
2935	* macosx/tkMacOSXDebug.c:	make TkMacOSXInitNamedDebugSymbol()
2936	* macosx/tkMacOSXDebug.h:	available outside of debug builds as
2937					the new Leopard ISAEH needs it.
2938
2939	* macosx/tkMacOSXButton.c:	replace HiliteControl() by modern API
2940	* macosx/tkMacOSXMenubutton.c:	for activation and enabling;
2941					distinguish inactive and disabled
2942					look&feel; correct activation handling
2943					to match that of container toplevel.
2944
2945	* macosx/tkMacOSXMenubutton.c:	correct size computation of bevelbutton
2946					variant to match that of buttons;
2947					fix crash with bitmap due to NULL GC;
2948					delay picParams setup until needed;
2949					formatting cleanup. [Bug 1824521]
2950
2951	* library/menu.tcl:		correct handling of menubutton "active"
2952					state on Aqua to match that of buttons.
2953
2954	* macosx/tkMacOSXDefault.h:	correct button & menubutton active
2955					foreground and background colors and
2956					menubutton border width.
2957
2958	* macosx/tkMacOSXWindowEvent.c:	handle kEventWindowExpanding carbon
2959	* macosx/tkMacOSXCarbonEvents.c: event instead of kEventWindowExpanded
2960					to ensure activate event arrives after
2961					window is remapped, also need to
2962					process all Tk events generated by
2963					remapping in the event handler to
2964					ensure children are remapped before
2965					activate event is processed.
2966
2967	* macosx/tkMacOSXSubwindows.c:	add pixmap size field to MacDrawable
2968	* macosx/tkMacOSXInt.h:		struct; add flag for B&W pixmaps.
2969	* macosx/tkMacOSXDraw.c:
2970	* macosx/tkMacOSXEmbed.c:
2971	* macosx/tkMacOSXMenu.c:
2972
2973	* macosx/tkMacOSXPrivate.h:	correct Leopard HIToolboxVersionNumber.
2974
2975	* macosx/ttkMacOSXTheme.c:	add error checking; cleanup formatting.
2976
2977	* macosx/tkMacOSXFont.c (TkpGetFontAttrsForChar): panic on false return
2978					from TkMacOSXSetupDrawingContext().
2979
2980	* macosx/tkMacOSXButton.c:	sync formatting, whitespace, copyright
2981	* macosx/tkMacOSXDialog.c:	with core-8-4-branch.
2982	* macosx/tkMacOSXMenus.c:
2983	* macosx/tkMacOSXWm.c:
2984	* xlib/xgc.c
2985	* library/bgerror.tcl:
2986	* library/console.tcl:
2987	* library/menu.tcl:
2988
29892007-11-07  Joe English  <jenglish@users.sourceforge.net>
2990
2991	* generic/ttk/ttkTheme.c (Ttk_ElementSize): Fixed longstanding,
2992	subtle bug that caused element padding to sometimes be counted
2993	twice in size computations.
2994
2995	* generic/ttk/ttkElements.c, generic/ttk/ttkClamTheme.c,
2996	generic/ttk/ttkDefaultTheme.c, generic/ttk/ttkTreeview.c,
2997	generic/ttk/ttkImage.c, macosx/ttkMacOSXTheme.c,
2998	win/ttkWinTheme.c, win/ttkWinXPTheme.c:	Fix ElementSizeProcs affected
2999						 by previous change.
3000
30012007-11-06  Andreas Kupries  <andreask@activestate.com>
3002
3003	* doc/CrtConsoleChan.3: Fixed markup typo and extended see also
3004	  section per suggestions by Donal.
3005
30062007-11-05  Joe English  <jenglish@users.sourceforge.net>
3007
3008	* library/ttk/combobox.tcl: Set focus to listbox in <Map> binding
3009	instead of in Post command (see [Bug 1349811] for info).
3010
30112007-11-05  Andreas Kupries  <andreask@activestate.com>
3012
3013	* doc/CrtConsoleChan.3: New file providing minimal documentation
3014	  of 'Tk_InitConsoleChannels()'. [Bug 432435]
3015
30162007-11-05  Joe English  <jenglish@users.sourceforge.net>
3017
3018	* macosx/ttkMacOSXTheme.c (TreeitemLayout): Remove focus ring
3019	from treeview items on OSX (problem reported by Kevin Walzer).
3020
30212007-11-04  Joe English  <jenglish@users.sourceforge.net>
3022
3023	* generic/ttk/ttkTreeview.c: Use null "treearea" element for
3024	treeview owner-draw area instead of "client", to avoid
3025	nameclash with Notebook.client element (this was causing
3026	sizing anomalies in XP theme, and introduced extraneous
3027	padding).
3028	* generic/ttk/ttkDefaultTheme.c: Treeitem.indicator element
3029	needs left margin now.
3030
30312007-11-04  Daniel Steffen  <das@users.sourceforge.net>
3032
3033	* macosx/tkMacOSXMenus.c: add "Run Widget Demo" menu item to the
3034	default Edit menu along with associated carbon event handler enabling
3035	the item only if demo files are installed; cleanup handling of "About"
3036	and "Source" menu items.
3037
3038	* library/bgerror.tcl:		fix background of detail text on Aqua.
3039
3040	* library/console.tcl:		add accelerators and fix Aqua bindings
3041					of the new font size menu items.
3042
3043	* library/demos/mclist.tcl:	Aqua GOOBE.
3044	* library/demos/tree.tcl:
3045	* library/demos/ttknote.tcl:
3046	* library/demos/widget:
3047
3048	* doc/chooseDirectory.n:	remove/correct obsolete Mac OS 9-era
3049	* doc/getOpenFile.n:		information.
3050	* doc/menu.n:
3051
3052	* macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent): fix boolean arg
3053
3054	* macosx/Wish.xcodeproj/project.pbxproj: add new demo file.
3055	* macosx/Wish.xcode/project.pbxproj:
3056
30572007-11-03  Pat Thoyts  <patthoyts@users.sourceforge.net>
3058
3059	* library/console.tcl: Add menu item and key binding to adjust font.
3060
30612007-11-02  Donal K. Fellows  <dkf@users.sf.net>
3062
3063	* library/demos/mclist.tcl: Added a demo of how to do a multi-column
3064	sortable listbox.
3065
3066	* library/msgbox.tcl: Made message dialog use Ttk widgets for better
3067	L&F.
3068
3069	* library/tkfbox.tcl (::tk::dialog::file::CompleteEnt): Added <Tab>
3070	completion. [FR 805091]
3071	* library/tkfbox.tcl: Made file dialog use Ttk widgets for better L&F.
3072
3073	* library/demos/sayings.tcl: Better resizing. [Bug 1822410]
3074
30752007-11-01  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3076
3077	* library/demos/textpeer.tcl: Better resizing. [Bug 1822601]
3078
3079	* doc/colors.n: Added list of Windows system colors. [Bug 945409]
3080
30812007-11-01  Daniel Steffen  <das@users.sourceforge.net>
3082
3083	* macosx/tkMacOSXColor.c (GetThemeColor): improve translation of RGB
3084				pixel values into RGBColor.
3085
3086	* library/demos/widget:	increase height of main window text widget to
3087				use more of the available vertical space.
3088
3089	* doc/bind.n:		document the Option modifier, clarify meaning
3090				and availability of Command & Option.
3091
3092	* doc/console.n:	clarify availability of [console] in TkAqua.
3093
30942007-11-01  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
3095
3096	* unix/installManPage, doc/*.n: Make documentation use the name that
3097	scripts use as much as possible. [Bug 1640073]
3098
3099	* doc/text.n: Fixed mistake in [$t tag remove] docs. [Bug 1792191]
3100
3101	* doc/bind.n: Documented the Command modifier. [Bug 1232908]
3102
3103	* doc/console.n, doc/wish.1: Made it clearer when and why the console
3104	command is present. [Bug 1386955]
3105
31062007-10-31  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3107
3108	* library/demos/entry3.tcl: Improved description/comments so that
3109	people better understand what is being validated, following suggestion
3110	from Don Porter.
3111
3112	* library/demos/image2.tcl (loadImage): Mark non-loadable images
3113	as such instead of throwing a nasty dialog, following suggestion
3114	from Don Porter.
3115
3116	* generic/tkImgPhoto.c (Tk_PhotoPutBlock): More optimization, derived
3117	from [Patch 224066].
3118
31192007-10-30  Joe English  <jenglish@users.sourceforge.net>
3120
3121	* library/ttk/combobox.tcl (Unpost): BUGFIX: Unpost can be called with
3122	no preceding Post.
3123
31242007-10-31  Pat Thoyts  <patthoyts@users.sourceforge.net>
3125
3126	* win/rules.vc:     Use -fp:strict with msvc8 as -fp:precise fails on
3127	* generic/tkObj.c:  amd64 builds. Fix the two places in Tk that
3128	* generic/tkTrig.c: generate errors with msvc8 when using this flag.
3129
31302007-10-30  Jeff Hobbs  <jeffh@ActiveState.com>
3131
3132	* library/choosedir.tcl: only enable OK button when valid in
3133	conjunction with -mustexist. [Bug 1550528]
3134
3135	* library/listbox.tcl (::tk::ListboxBeginSelect): ignore -takefocus
3136	when considering focus on <1>, it is for tab focus.
3137
31382007-10-30  Don Porter  <dgp@users.sourceforge.net>
3139
3140	* generic/tk.h:		Bump version number to 8.5b2.1 to distinguish
3141	* library/tk.tcl:	CVS development snapshots from the 8.5b2
3142	* unix/configure.in:	release.
3143	* unix/tk.spec:
3144	* win/configure.in:
3145
3146	* unix/configure:	autoconf (2.59)
3147	* win/configure:
3148
31492007-10-30  Jeff Hobbs  <jeffh@ActiveState.com>
3150
3151	* doc/text.n: fix spelling of -inactiveselectbackground [Bug 1626415]
3152
3153	* library/entry.tcl: don't error with Clear event. [Bug 1509288]
3154
3155	* library/ttk/fonts.tcl: use size -12 TkFixedFont (was -10) on X11
3156
31572007-10-30  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3158
3159	* library/demos/unicodeout.tcl: Fixed Arabic and Hebrew rendering on
3160	Windows. [Bug 1803723]
3161
3162	* generic/tkImgPhoto.c (ImgPhotoCmd): Rename enumeration for somewhat
3163	simpler-to-read code. [Bug 1677613]
3164
31652007-10-30  Joe English  <jenglish@users.sourceforge.net>
3166
3167	* generic/ttk/ttkWidget.c: Split up RedisplayWidget() to factor out
3168	double-buffering related code.
3169
3170	* macosx/ttkMacOSXAquaTheme.c: Use SetThemeBackGround/
3171	kThemeBrushModelessDialogBackground{Active|Inactive} instead of
3172	ApplyThemeBackground/kThemeBackgroundWindowHeader (advice from DAS).
3173
3174	* library/ttk/aquaTheme.tcl: Use darker shade for inactive and
3175	disabled text, to match typical values of most
3176	kThemeXXXTextColorInactive values.
3177
31782007-10-30  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
3179
3180	* doc/selection.n: Clarify UTF8_STRING handling. [Bug 1778563]
3181
3182	* doc/text.n: Clarify search subccommand docs. [Bug 1622919]
3183
31842007-10-29  Jeff Hobbs  <jeffh@ActiveState.com>
3185
3186	* macosx/tkMacOSXFont.c (InitSystemFonts):
3187	* library/ttk/fonts.tcl: use Monaco 11 (was 9) as Aqua TkFixedFont
3188
3189	* tests/listbox.test, tests/panedwindow.test, tests/scrollbar.test:
3190	* library/bgerror.tcl, library/dialog.tcl, library/listbox.tcl:
3191	* library/msgbox.tcl, library/optMenu.tcl, library/tclIndex:
3192	* library/tkfbox.tcl, library/demos/floor.tcl, library/demos/rmt:
3193	* library/demos/tcolor, library/demos/text.tcl:
3194	* library/demos/twind.tcl, library/demos/widget: Buh-bye Motif look
3195	* library/ttk/fonts.tcl:    Update of Tk default look in 8.5
3196	* macosx/tkMacOSXDefault.h: Trims border sizes, cleaner X11 look
3197	* unix/tkUnixDefault.h:     with minor modifications for Win32/Aqua.
3198	* win/tkWinDefault.h:       Uses Tk*Font definitions throughout for
3199	* win/tkWinFont.c:          classic widgets. [Bug 1820344]
3200	* library/obsolete.tcl (::tk::classic::restore): This restores
3201	changes made to defaults in 8.5 using the 'option' command,
3202	segmented into logical groups.
3203
3204	* tests/winfo.test: winfo-4.5 raise .t to above . for Windows
3205
3206	* tests/unixWm.test: note TIP#142 results and remove unnecessary
3207	catches.
3208
32092007-10-29  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
3210
3211	* doc/*.1, doc/*.n, doc/*.3: Lots more GOOBE work.
3212
32132007-10-28  Joe English  <jenglish@users.sourceforge.net>
3214
3215	* library/ttk/combobox.tcl: Make popdown window [wm resizable 0 0] on
3216	OSX, to prevent TkAqua from shrinking the scrollbar to make room for a
3217	grow box that isn't there.
3218	* macosx/ttkMacOSXTheme.c, library/ttk/aquaTheme.tcl: Reworked
3219	combobox layout.
3220
32212007-10-26  Don Porter  <dgp@users.sourceforge.net>
3222
3223	*** 8.5b2 TAGGED FOR RELEASE ***
3224
3225	* changes:		Update changes for 8.5b2 release.
3226
3227	* doc/*.1:              Revert doc changes that broke
3228	* doc/*.3:              `make html` so we can get the release
3229	* doc/*.n:              out the door.
3230
3231	* README:		Bump version number to 8.5b2.
3232	* generic/tk.h:
3233	* library/tk.tcl:
3234	* unix/configure.in:
3235	* unix/tk.spec:
3236	* win/configure.in:
3237
3238	* unix/configure:	autoconf-2.59
3239	* win/configure:
3240
32412007-10-26  Daniel Steffen  <das@users.sourceforge.net>
3242
3243	* macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): fix window class
3244	of transient toplevels that are not also overrideredirect. [Bug
3245	1816252]
3246
3247	* macosx/tkMacOSXDialog.c:	TIP#242 cleanup.
3248	* library/demos/filebox.tcl: 	demo TIP#242 -typevariable.
3249
32502007-10-25  Joe English  <jenglish@users.sourceforge.net>
3251
3252	* generic/ttk/ttkNotebook.c: [Bug 1817596]
3253
32542007-10-25  Jeff Hobbs  <jeffh@ActiveState.com>
3255
3256	* doc/getOpenFile.n:	TIP#242 implementation of -typevariable to
3257	* library/tkfbox.tcl:	return type of selected file in file dialogs.
3258	* library/xmfbox.tcl:	[Bug 1156388]
3259	* macosx/tkMacOSXDialog.c:
3260	* tests/filebox.test:
3261	* tests/winDialog.test:
3262	* win/tkWinDialog.c:
3263
32642007-10-25  Don Porter  <dgp@users.sourceforge.net>
3265
3266	* generic/tkPlace.c:	Prevent segfault in place geometry manager.
3267	Thanks to Colin McDonald.  [Bug 1818491]
3268
32692007-10-24  Joe English  <jenglish@users.sourceforge.net>
3270
3271	* generic/ttk/*.c, win/{ttkWinMonitor,ttkWinTheme,ttkWinXPTheme}.c,
3272	* macosx/ttkMacOSXTheme.c: Move widget layout registration
3273	from TtkElements_Init() to widget *_Init() routines.
3274	Renaming/consistency: s/...ElementGeometry()/...ElementSize()/
3275
32762007-10-24  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
3277
3278	* doc/*.n, doc/*.3, doc/*.1: Lots of changes to take advantage of the
3279	new macros.
3280
32812007-10-24  Pat Thoyts  <patthoyts@users.sourceforge.net>
3282
3283	* win/tkWinDraw.c: Applied [Patch 1723362] for transparent bitmaps.
3284
3285	* generic/tkWindow.c: permit wm manage of any widget (esp: ttk::frame)
3286
32872007-10-23  Jeff Hobbs  <jeffh@ActiveState.com>
3288
3289	* library/ttk/combobox.tcl (ttk::combobox::PopdownWindow): redo wm
3290	transient on each drop to handle reparent-able frames. [Bug 1818441]
3291
32922007-10-23  Joe English  <jenglish@users.sourceforge.net>
3293
3294	* library/ttk/combobox.tcl: [namespace import ::ttk::scrollbar]
3295	doesn't work, since ttk::scrollbar isn't [namespace export]ed.
3296
32972007-10-23  Don Porter  <dgp@users.sourceforge.net>
3298
3299	* tests/cursor.test:	Make tests robust against changes in Tcl's
3300	rules for accepting integers in octal format.
3301
33022007-10-23  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3303
3304	* doc/font.n: Added section on the TIP#145 fonts.
3305
33062007-10-23  Pat Thoyts  <patthoyts@users.sourceforge.net>
3307
3308	* win/tkWinFont.c: Fixed leak in CreateNamedFont spotted by das.
3309
33102007-10-23  Daniel Steffen  <das@users.sourceforge.net>
3311
3312	* library/demos/combo.tcl:	Aqua GOOBE.
3313	* library/demos/toolbar.tcl:
3314	* library/demos/tree.tcl:
3315	* library/demos/ttknote.tcl:
3316	* library/demos/ttkprogress.tcl:
3317	* library/demos/widget:
3318
3319	* macosx/Wish.xcodeproj/project.pbxproj: add new demo files.
3320	* macosx/Wish.xcode/project.pbxproj:
3321
33222007-10-22  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3323
3324	* library/demos/widget: Added more demos, reorganized to make Tk and
3325	Ttk demos seem to be more coherent whole. Made localization a bit
3326	easier by reducing the amount of duplication.
3327	* library/demos/{combo,toolbar,tree,ttknote,ttkprogress}.tcl: New
3328	demos of new (mostly) Ttk widgets.
3329	* library/demos/ttkbut.tcl: Improvements.
3330
33312007-10-22  Joe English  <jenglish@users.sourceforge.net>
3332
3333	* library/ttk/combobox.tcl:	ttk::combobox overhaul; fixes [Bugs
3334					1814778, 1780286, 1609168, 1349586]
3335	* library/ttk/aquaTheme.tcl:	Factored out aqua-specific combobox
3336					-postposition adjustments.
3337	* generic/ttk/ttkTrack.c:	Detect [grab]s and unpress pressed
3338					element; combobox workaround no longer
3339					needed.
3340
33412007-10-22  Daniel Steffen  <das@users.sourceforge.net>
3342
3343	* macosx/tkMacOSXFont.c: 	register named fonts for TIP #145 fonts
3344					and all theme font IDs.
3345
3346	* generic/tkFont.c (Tk{Create,Delete}NamedFont): allow NULL interp.
3347
3348	* library/ttk/fonts.tcl:	check for TIP #145 fonts on all
3349					platforms; correct aqua font sizes.
3350
3351	* library/demos/ttkmenu.tcl:	Aqua GOOBE.
3352	* library/demos/ttkpane.tcl:
3353	* library/demos/widget:
3354
3355	* macosx/Wish.xcodeproj/project.pbxproj: add new demo files.
3356	* macosx/Wish.xcode/project.pbxproj:
3357
33582007-10-18  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3359
3360	* library/demos/ttkmenu.tcl: Added more demos of Ttk widgets. These
3361	* library/demos/ttkpane.tcl: ones are of menubuttons, panedwindows and
3362	a progress bar (indirectly).
3363
33642007-10-18  Pat Thoyts  <patthoyts@users.sourceforge.net>
3365
3366	* library/ttk/fonts.tcl: Create all the TIP #145 font names on all
3367	platforms (mac and unix get handled in script, windows in C)
3368
33692007-10-17  David Gravereaux <davygrvy@pobox.com>
3370
3371	* bitmaps/*.xbm: Changed CVS storage mode from -kb to -kkv as these
3372	are really text files, not binaries.
3373	* win/makefile.vc: Added $(BITMAPDIR) to the search path for the
3374	depend target.
3375
33762007-10-18  Daniel Steffen  <das@users.sourceforge.net>
3377
3378	* library/demos/widget:		Aqua GOOBE, cleanup icons.
3379	* library/demos/ttkbut.tcl:
3380	* library/demos/entry3.tcl:
3381	* library/demos/msgbox.tcl:
3382
3383	* library/demos/button.tcl:	restore setting of button
3384					highlightbackground on Aqua.
3385
3386	* macosx/ttkMacOSXTheme.c: 	adjust button and separator geometry.
3387
3388	* macosx/tkMacOSXWm.c:		fix warnings.
3389
3390	* macosx/Wish.xcodeproj/project.pbxproj: add new demo files.
3391	* macosx/Wish.xcode/project.pbxproj:
3392
33932007-10-17  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3394
3395	* library/demos/ttkbut.tcl: Added demo of the basic Ttk widgets.
3396
33972007-10-16  David Gravereaux <davygrvy@pobox.com>
3398
3399	* win/makefile.vc: depend target now works and builds a generated
3400	dependency list with $(TCLTOOLSDIR)/mkdepend.tcl
3401
34022007-10-16  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3403
3404	* library/demos/widget: Made the code for generating the contents of
3405	the main widget more informative. Added 'new' flagging for wholly new
3406	demos.
3407
3408	* doc/text.n: Made it clearer what things are text widget invokations
3409	and what are not. Also some other clarity improvements.
3410
34112007-10-15  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3412
3413	* library/demos/widget: Use Ttk widgets for the widget demo core, for
3414	vastly improved look-and-feel on at least one platform (Windows).
3415	* library/demos/{button,check,style,twind}.tcl: Various tweaks for
3416	GOOBE...
3417	* library/demos/textpeer.tcl: New demo script to show off peering as a
3418	specific feature.
3419
34202007-10-15  Jeff Hobbs  <jeffh@ActiveState.com>
3421
3422	* generic/tkFocus.c, generic/tkFrame.c, generic/tkInt.h:
3423	* macosx/tkMacOSXButton.c, macosx/tkMacOSXMenubutton.c:
3424	* macosx/tkMacOSXWm.c, unix/tkUnixWm.c, win/tkWinWm.c:
3425	* doc/wm.n, tests/wm.test: TIP #125 implementation [Bug 998125]
3426	Adds [wm manage|forget] for dockable frames.
3427	Finished X11 and Windows code, needs OS X completion.
3428
34292007-10-15  Joe English  <jenglish@users.sourceforge.net>
3430
3431	* generic/ttk/ttkTreeview.c: Store pointer to column table entry
3432	instead of column index in columnNames hash table. This avoids the
3433	need for the evil PTR2INT and INT2PTR macros, and simplifies things a
3434	bit.
3435
34362007-10-15  Daniel Steffen  <das@users.sourceforge.net>
3437
3438	* generic/tkArgv.c:		Fix gcc warnings about 'cast to/from
3439	* generic/tkCanvUtil.c:		pointer from/to integer of different
3440	* generic/tkCanvas.c:		size' on 64-bit platforms by casting
3441	* generic/tkCursor.c:		to intermediate types
3442	* generic/tkInt.h:		intptr_t/uintptr_t via new PTR2INT(),
3443	* generic/tkListbox.c:		INT2PTR(), PTR2UINT() and UINT2PTR()
3444	* generic/tkObj.c:		macros.
3445	* generic/tkStyle.c:
3446	* generic/tkTextIndex.c:
3447	* generic/tkUtil.c:
3448	* generic/ttk/ttkTheme.h:
3449	* generic/ttk/ttkTreeview.c:
3450	* unix/tkUnixMenu.c:
3451	* unix/configure.in:
3452
3453	* unix/configure:		autoconf-2.59
3454	* unix/tkConfig.h.in:		autoheader-2.59
3455
3456	* macosx/Wish-Common.xcconfig:		add 'tktest-X11' target.
3457	* macosx/Wish.xcode/project.pbxproj:
3458	* macosx/Wish.xcode/default.pbxuser:
3459	* macosx/Wish.xcodeproj/default.pbxuser:
3460	* macosx/Wish.xcodeproj/project.pbxproj:
3461
3462	* unix/configure.in (Darwin):	add support for 64-bit X11.
3463	* unix/configure:		autoconf-2.59
3464
34652007-10-14  Jeff Hobbs  <jeffh@ActiveState.com>
3466
3467	* win/configure, win/configure.in (TK_WIN_VERSION): Make sure the
3468	patchlevel doesn't contain extra dotted pairs (eg. interim release)
3469
34702007-10-12  Pat Thoyts  <patthoyts@users.sourceforge.net>
3471
3472	* win/makefile.vc:  Mine all version information from headers.
3473	* win/rules.vc:     Sync tcl and tk and bring extension versions
3474	* win/nmakehlp.c:   closer together. Try and avoid using tclsh
3475	                    to do substitutions as we may cross compile.
3476
3477	* library/console.tcl:          Use TkFixedFont and ttk widgets
3478
34792007-10-12  Daniel Steffen  <das@users.sourceforge.net>
3480
3481	* macosx/tkMacOSXDraw.c:	replace all (internal) use of QD region
3482	* macosx/tkMacOSXSubwindows.c:	API by HIShape API, with conversion to
3483	* macosx/tkMacOSXWindowEvent.c:	QD regions only when required by legacy
3484	* macosx/tkMacOSXPrivate.h:	Carbon or Tk API.
3485	* macosx/tkMacOSXRegion.c:
3486	* macosx/tkMacOSXDebug.c:
3487	* macosx/tkMacOSXDebug.h:
3488
3489	* macosx/tkMacOSXInt.h:		replace MacDrawable's QD RgnHandles
3490	* macosx/tkMacOSXEmbed.c:	clipRgn, aboveClipRgn & drawRgn by
3491	* macosx/tkMacOSXMenu.c:	HIShapeRefs visRgn & aboveVisRgn and
3492	* macosx/tkMacOSXSubwindows.c:	CGRect drawRect.
3493
3494	* macosx/tkMacOSXWindowEvent.c:	remove use of QD port vis rgn in window
3495	* macosx/tkMacOSXSubwindows.c:	update rgn calculation, manually excise
3496	* macosx/tkMacOSXWm.c:		growbox from toplevel clip rgn instead.
3497
3498	* macosx/tkMacOSXDraw.c:	replace use of QD port clip rgn by new
3499	* macosx/tkMacOSXPrivate.h:	clipRgn fld in TkMacOSXDrawingContext;
3500					handle QD/CG drawing mismatches in
3501					XCopyArea, XCopyPlane and TkPutImage;
3502					cleanup/speedup CGContext setup in
3503					TkMacOSXSetupDrawingContext().
3504
3505	* macosx/tkMacOSXDraw.c:	change TkMacOSXSetupDrawingContext() to
3506	* macosx/tkMacOSXEntry.c:	return boolean indicating whether
3507	* macosx/tkMacOSXFont.c:	drawing is allowed (and was setup) or
3508	* macosx/tkMacOSXMenu.c:	not (e.g. when clipRgn is empty).
3509	* macosx/ttkMacOSXTheme.c:
3510
3511	* macosx/tkMacOSXSubwindows.c:	signal that drawable is a pixmap via
3512	* macosx/tkMacOSXInt.h:		new explicit TK_IS_PIXMAP flag instead
3513					of a NULL cligRgn field.
3514
3515	* macosx/tkMacOSXRegion.c:	add wrappers for missing/buggy HIShape
3516	* macosx/tkMacOSXPrivate.h:	API, and private helpers to operate on
3517					HIShapeRefs & convert to/from TkRegion.
3518
3519	* macosx/tkMacOSXRegion.c:	add Tkp{Retain,Release}Region() API for
3520	* macosx/tkMacOSXInt.h:		TkRegion.
3521
3522	* xlib/xgc.c:			factor out alloc/free of GC clip_mask;
3523	* macosx/tkMacOSXXStubs.c:	manage clip rgn lifetime with new
3524					Tkp{Retain,Release}Region().
3525
3526	* macosx/tkMacOSXButton.c:	delay picParams setup until needed.
3527
3528	* generic/tkTextDisp.c (CharUndisplayProc): fix textDisp.test crash.
3529
35302007-10-11  David Gravereaux <davygrvy@pobox.com>
3531
3532	* win/winMain.c:  Replaced incorrect comments in main() to descibe
3533	why the console widget does not need to be created for this
3534	application entry point (if used).  Must have been a bad copy/paste
3535	of WinMain() from 10 years back.
3536
35372007-10-11  Daniel Steffen  <das@users.sourceforge.net>
3538
3539	* macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): manually constrain resize
3540	limitBounds to maxBounds, works around SectRect() mis-feature (return
3541	zero rect if input rect has zero height/width). [Bug 1810818]
3542
35432007-10-09  Pat Thoyts  <patthoyts@users.sourceforge.net>
3544
3545	* generic/tkImage.c:     Make Ttk_GetImage safe if called with NULL
3546	* tests/ttk/image.test:  interp. Added some tests that crash
3547	                         on Windows without this fix.
3548
35492007-10-02  Don Porter  <dgp@users.sourceforge.net>
3550
3551	[core-stabilizer-branch]
3552
3553	* README:               Bump version number to 8.5.0
3554	* generic/tk.h:
3555	* library/tk.tcl:
3556	* unix/configure.in:	Updated LOCALES.
3557	* unix/tk.spec:
3558	* win/configure.in:
3559
3560	* unix/configure:	autoconf (2.59)
3561	* win/configure:
3562
35632007-09-30  Joe English  <jenglish@users.sourceforge.net>
3564
3565	* library/ttk/entry.tcl (WordBack, WordForward):
3566	Fix private routines accidentally defined in global namespace
3567	[Bug 1803836]
3568
35692007-09-26  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3570
3571	* library/msgs/hu.msg: Added Hungarian message set, from Pader Reszo.
3572	[Patch 1800742]
3573
35742007-09-20  Donal K. Fellows  <dkf@users.sf.net>
3575
3576	*** 8.5b1 TAGGED FOR RELEASE ***
3577
3578	* generic/tkTextDisp.c (LayoutDLine):  Only call callbacks that are
3579	* tests/textDisp.test (textDisp-32.3): not NULL. [Bug 1791052]
3580
35812007-09-20  Don Porter  <dgp@users.sourceforge.net>
3582
3583	* changes: updates for 8.5b1 release.
3584
35852007-09-19  Don Porter  <dgp@users.sourceforge.net>
3586
3587	* README:		Bump version number to 8.5b1.
3588	* generic/tk.h:		Merge from core-stabilizer-branch.
3589	* library/tk.tcl:	Stabilizing toward 8.5b1 release now done
3590	* unix/configure.in:	on the HEAD.  core-stabilizer-branch is
3591	* unix/tk.spec:		now suspended.
3592	* win/configure.in:
3593
35942007-09-19  Pat Thoyts  <patthoyts@users.sourceforge.net>
3595
3596	* generic/tkStubLib.: Replaced isdigit with internal implementation.
3597
35982007-09-18  Don Porter  <dgp@users.sourceforge.net>
3599
3600	* generic/tkStubLib.c:	Remove C library calls from Tk_InitStubs()
3601	* win/makefile.vc:	so that we don't need the C library linked
3602	in to libtkStub.
3603
36042007-09-18  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
3605
3606	* generic/tkImgGIF.c (FileReadGIF, StringReadGIF): Rewrite for greater
3607	clarity (more comments, saner code arrangement, etc.)
3608
36092007-09-18  Pat Thoyts  <patthoyts@users.sourceforge.net>
3610
3611	* tests/all.tcl:     Made ttk/all.tcl be the same as tk's all.tcl and
3612	* tests/ttk/all.tcl: make use of file normalize (bugs noted by
3613	mjanssen and GPS with msys)
3614
36152007-09-17  Pat Thoyts  <patthoyts@users.sourceforge.net>
3616
3617	* win/makefile.vc: Add crt flags for tkStubLib now it uses C-library
3618	functions.
3619
36202007-09-17  Joe English  <jenglish@users.sourceforge.net>
3621
3622	* unix/tcl.m4: use '${CC} -shared' instead of 'ld -Bshareable' to
3623	build shared libraries on current NetBSDs. [Bug 1749251]
3624	* unix/configure: regenerated (autoconf-2.59).
3625
36262007-09-17  Don Porter  <dgp@users.sourceforge.net>
3627
3628	* generic/tkConsole.c:	Revised callers of Tcl_InitStubs() to account
3629	* generic/tkMain.c:	for restored compatible support for the call
3630	* generic/tkWindow.c:	Tcl_InitStubs(interp, TCL_VERSION, 1).  Also
3631	revised Tcl_PkgRequire() call for Tcl so that, for example, a Tk
3632	library built against Tcl 8.5.1 headers will not refuse to [load] into
3633	a Tcl 8.5.0 interpreter. [Tcl Bug 1578344]
3634
3635	* generic/tk.h:		Revised Tk_InitStubs() to restore Tk 8.4
3636	* generic/tkStubLib.c:	source compatibility with callers of
3637	* generic/tkWindow.c:	Tk_InitStubs(interp, TK_VERSION, 1).
3638
36392007-09-17  Joe English  <jenglish@users.sourceforge.net>
3640
3641	* library/ttk/combobox.tcl:  Try to improve combobox appearance on
3642	OSX + Tk 8.5. [Bug 1780286]
3643
36442007-09-15  Daniel Steffen  <das@users.sourceforge.net>
3645
3646	* unix/tcl.m4: 	replace all direct references to compiler by ${CC} to
3647			enable CC overriding at configure & make time; run
3648			check for visibility "hidden" with all compilers;
3649			quoting fixes from TEA tcl.m4.
3650	(SunOS-5.1x):	replace direct use of '/usr/ccs/bin/ld' in SHLIB_LD by
3651			'cc' compiler driver.
3652	* unix/configure: autoconf-2.59
3653
36542007-09-14  Daniel Steffen  <das@users.sourceforge.net>
3655
3656	* macosx/Wish-Common.xcconfig:		  enable Tcl DTrace support.
3657	* macosx/Wish.xcodeproj/project.pbxproj:
3658
36592007-09-12  Andreas Kupries  <andreask@activestate.com>
3660
3661	* win/Makefile.in (install-binaries): Fixed missing brace in the
3662	* win/makefile.vc (install-binaries): generated package index file.
3663	Note: unix/Makefile.in is good.
3664
36652007-09-11  Reinhard Max  <max@suse.de>
3666
3667	* generic/tkImgGIF.c: Fixed a buffer overrun that got triggered by
3668	multi-frame interlaced GIFs that contain subsequent frames that are
3669	smaller than the first one.
3670
3671	* tests/imgPhoto.test: Added a test for the above.
3672
36732007-09-11  Don Porter  <dgp@users.sourceforge.net>
3674
3675	* generic/tkConsole.c:	Revised calls to Tcl_InitStubs() and
3676	* generic/tkMain.c:	[package require Tcl] so that Tk Says What It
3677	* generic/tkWindow.c:	Means using the new facilties of [package] in
3678	* library/tk.tcl:	Tcl 8.5 about what version(s) of Tcl it is
3679	* unix/Makefile.in:	willing to work with. [Bug 1578344]
3680	* win/Makefile.in:
3681	* win/makefile.vc:
3682
36832007-09-10  Jeff Hobbs  <jeffh@ActiveState.com>
3684
3685	* unix/README: typo corrections [Bug 1788682]
3686
36872007-09-10  Don Porter  <dgp@users.sourceforge.net>
3688
3689	* generic/tkConsole.c:	Revise all Tcl_InitStubs() calls to restore
3690	* generic/tkMain.c:	the traditional practice that a Tk shared
3691	* generic/tkWindow.c:	library may [load] into a Tcl 8.5 interp at
3692	any patchlevel.	 This practice also matches the compile time checks of
3693	TCL_MAJOR_VERSION and TCL_MINOR_VERSION in tk.h. [Bug 1723622]
3694
36952007-09-06  Don Porter  <dgp@users.sourceforge.net>
3696
3697	* generic/tkWindow.c (Initialize):	Moved common Tk initialization
3698	* generic/tkInitScript.h (removed):	script out of tkInitScript.h
3699	* macosx/tkMacOSXInit.c:	and multiple TkpInit() routines and
3700	* unix/Makefile.in:	into the common Initialize() routine in
3701	* unix/tkUnixInit.c:	generic code. Also removed constraint on
3702	* win/tkWinInit.c:	ability to define a custom [tkInit] before
3703	calling Tk_Init(). Until now the custom [tkInit] had to be a proc. Now
3704	it can be any command. Removal of tkInitScript.h also fixes [Bug
3705	1656283].
3706
37072007-09-06  Daniel Steffen  <das@users.sourceforge.net>
3708
3709	* macosx/Wish.xcode/project.pbxproj: discontinue unmaintained support
3710	* macosx/Wish.xcode/default.pbxuser: for Xcode 1.5; replace by Xcode2
3711	project for use on Tiger (with Wish.xcodeproj to be used on Leopard).
3712
3713	* macosx/Wish.xcodeproj/project.pbxproj: updates for Xcode 2.5 and 3.0.
3714	* macosx/Wish.xcodeproj/default.pbxuser:
3715	* macosx/Wish.xcode/project.pbxproj:
3716	* macosx/Wish.xcode/default.pbxuser:
3717	* macosx/Wish-Common.xcconfig:
3718
3719	* macosx/README: document project changes.
3720
37212007-09-04  Joe English  <jenglish@users.sourceforge.net>
3722
3723	* generic/tkTest.c: Fix for [Bug 1788019] "tkTest.c compiler warning".
3724
37252007-09-04  Don Porter  <dgp@users.sourceforge.net>
3726
3727	* unix/Makefile.in:     It's unreliable to count on the release
3728	manager to remember to `make genstubs` before `make dist`. Let the
3729	Makefile remember the dependency for us.
3730
3731	* unix/Makefile.in:     Corrections to `make dist` dependencies to be
3732	sure that macosx/configure gets generated whenever it does not exist.
3733
37342007-09-03  Daniel Steffen  <das@users.sourceforge.net>
3735
3736	* generic/ttk/ttkInit.c  (Ttk_Init): register ttk in package database
3737	to enable extension access to the ttkStubs table.
3738
3739	* generic/ttk/ttkDecls.h: correct capitalization of ttk package name.
3740
37412007-08-28  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3742
3743	Assorted documentation improvements.
3744	* doc/button.n: Added examples.
3745	* doc/checkbutton.n: Added example.
3746	* doc/console.n: Standardized section ordering.
3747	* doc/tk.n: Added "See also".
3748	* doc/ttk_combobox.n: Added keywords.
3749
37502007-08-27  Daniel Steffen  <das@users.sourceforge.net>
3751
3752	* macosx/tkMacOSXDialog.c (Tk_ChooseColorObjCmd): correct setting of
3753	interp result [Bug 1782105]; fix -initialcolor overwriting last color
3754	selection; style cleanup.
3755
37562007-08-21  Pat Thoyts  <patthoyts@users.sourceforge.net>
3757
3758	* win/rules.vc: Synchronize with tcl rules.vc
3759	* tests/all.tcl: Fix the line-endings.
3760
37612007-08-07  Daniel Steffen  <das@users.sourceforge.net>
3762
3763	* unix/Makefile.in:	Add support for compile flags specific to
3764				object files linked directly into executables.
3765
3766	* unix/configure.in (Darwin): Only use -seg1addr flag when prebinding;
3767	use -mdynamic-no-pic flag for object files linked directly into exes.
3768
3769	* unix/configure: autoconf-2.59
3770
37712007-08-01  Pat Thoyts  <patthoyts@users.sourceforge.net>
3772
3773	* win/tkWinDialog.c:    Fix [Bug 1692927] (buffer length problems)
3774	* win/tkWinTest.c:      Added 'testfindwindow' and 'testgetwindowinfo'
3775	and extended 'testwinevent' for WM_COMMAND support to enable testing
3776	native messagebox dialogs.
3777	* tests/winMsgbox.test: New Windows native messagebox tests.
3778
37792007-07-25  Daniel Steffen  <das@users.sourceforge.net>
3780
3781	* macosx/tkMacOSXDialog.c (NavServicesGetFile): Reset interp result on
3782	nav dialog cancel. [Bug 1743786]
3783
37842007-07-09  Jeff Hobbs  <jeffh@ActiveState.com>
3785
3786	* unix/Makefile.in: clarify what the headers installed are, and
3787	add ttkTheme.h and ttkDecls.h to private headers (later public).
3788
37892007-07-09  Daniel Steffen  <das@users.sourceforge.net>
3790
3791	* macosx/tkMacOSXWindowEvent.c (Tk_MacOSXIsAppInFront):	Use process mgr
3792	* macosx/tkMacOSXMouseEvent.c:				to determine if
3793	app is in front instead of relying on activate/deactivate events (which
3794	may arrive after this info is needed, e.g. during window drag/click
3795	activation); replace other process mgr use to get this info with calls
3796	to Tk_MacOSXIsAppInFront().
3797
3798	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): Correct
3799	window click activation, titlebar click handling and background window
3800	dragging/growing in the presence of grabs or window-/app-modal windows;
3801	fix window click activation bringing all other app windows to front.
3802
3803	* macosx/tkMacOSXDraw.c (TkPutImage): Handle non-native XImage byte and
3804	bit orders; reverse bits via xBitReverseTable instead of InvertByte().
3805
38062007-07-06  Joe English  <jenglish@users.sourceforge.net>
3807
3808	* library/ttk/aquaTheme.tcl:	Set -anchor w for TMenubuttons.
3809					[Bug 1614540]
3810
38112007-07-04  Andreas Kupries  <andreask@activestate.com>
3812
3813	* macosx/tkMacOSXXStubs.c (DestroyImage): Fixed seg.fault in release
3814	of image data for images coming from XGetImage. Change committed by me
3815	for Daniel Steffen. See 2007-06-23 for the change which introduced the
3816	problem.
3817
38182007-07-02  Daniel Steffen  <das@users.sourceforge.net>
3819
3820	* xlib/xgc.c (XCreateGC): Correct black and white pixel values used to
3821	initialize GC foregrund and background fields.
3822
3823	* macosx/tkMacOSXColor.c: Add debug messages for unknown pixel values.
3824
3825	* macosx/tkMacOSXDraw.c (TkMacOSXRestoreDrawingContext): Don't restore
3826	port state if it wasn't altered by TkMacOSXSetupDrawingContext().
3827
38282007-06-29  Daniel Steffen  <das@users.sourceforge.net>
3829
3830	* xlib/ximage.c:		Bitmaps created from the static .xbm
3831					arrays always have LSBFirst bit order.
3832
3833	* unix/configure.in:		Fix flag used to weak-link libXss.
3834	* unix/configure:		autoconf-2.59
3835
3836	* macosx/tkMacOSXScrlbr.c: Correct int <-> dobule conversion issues
3837	that could lead to Carbon getting confused about scrollbar thumb size.
3838
3839	* macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage): Use
3840	TkMacOSX{Setup,Restore}DrawingContext() to setup/restore clip & colors.
3841	(TkMacOSXSetupDrawingContext, TkMacOSXRestoreDrawingContext): Add save
3842	and restore of QD port clip region; factor out clip region code common
3843	to CG and QD branches; check for port and context validity; handle
3844	tkPictureIsOpen flag during QD port setup.
3845	(TkScrollWindow): Remove unnecessary scroll region manipulation
3846
3847	* macosx/tkMacOSXDraw.c:	Remove second global QD temp region
3848	* macosx/tkMacOSXInt.h:		(no longer necessary) and rename
3849	* macosx/tkMacOSXRegion.c:	remaining global QD temp region.
3850	* macosx/tkMacOSXSubwindows.c:
3851	* macosx/tkMacOSXWindowEvent.c:
3852
3853	* macosx/tkMacOSXDraw.c: 	Make useCGDrawing variable MODULE_SCOPE
3854	* macosx/tkMacOSXFont.c: 	and respect it for ATSUI font drawing.
3855
3856	* macosx/tkMacOSXButton.c:	Reduce reliance on current QD port
3857	* macosx/tkMacOSXColor.c:	setting and remove unnecessary
3858	* macosx/tkMacOSXDebug.c:	references to a drawable's QD port,
3859	* macosx/tkMacOSXDebug.h:	notably replace GetWindowFromPort(
3860	* macosx/tkMacOSXDialog.c:	TkMacOSXGetDrawablePort()) idiom by new
3861	* macosx/tkMacOSXDraw.c:	TkMacOSXDrawableWindow() and change
3862	* macosx/tkMacOSXKeyEvent.c:	TkMacOSXSetColorInPort() to take a port
3863	* macosx/tkMacOSXMenu.c:	argument.
3864	* macosx/tkMacOSXMenubutton.c:
3865	* macosx/tkMacOSXMouseEvent.c:
3866	* macosx/tkMacOSXScale.c:
3867	* macosx/tkMacOSXScrlbr.c:
3868	* macosx/tkMacOSXSubwindows.c:
3869	* macosx/tkMacOSXWindowEvent.c:
3870	* macosx/tkMacOSXWm.c:
3871
3872	* macosx/tkMacOSXInt.h:		  	Factor out macros, declarations
3873	* macosx/tkMacOSXPrivate.h (new): 	and prototypes that are purely
3874	internal and private to the 'macosx' sources into a new internal header
3875	file that does _not_ get installed into Tk.framework/PrivateHeaders.
3876
3877	* macosx/tkMacOSXButton.c: 		#include new tkMacOSXPrivate.h
3878	* macosx/tkMacOSXCarbonEvents.c:	instead of tkMacOSXInt.h.
3879	* macosx/tkMacOSXClipboard.c:
3880	* macosx/tkMacOSXColor.c:
3881	* macosx/tkMacOSXCursor.c:
3882	* macosx/tkMacOSXDebug.c:
3883	* macosx/tkMacOSXDialog.c:
3884	* macosx/tkMacOSXDraw.c:
3885	* macosx/tkMacOSXEntry.c:
3886	* macosx/tkMacOSXEvent.c:
3887	* macosx/tkMacOSXFont.c:
3888	* macosx/tkMacOSXHLEvents.c:
3889	* macosx/tkMacOSXInit.c:
3890	* macosx/tkMacOSXKeyEvent.c:
3891	* macosx/tkMacOSXMenu.c:
3892	* macosx/tkMacOSXMenubutton.c:
3893	* macosx/tkMacOSXMenus.c:
3894	* macosx/tkMacOSXMouseEvent.c:
3895	* macosx/tkMacOSXNotify.c:
3896	* macosx/tkMacOSXRegion.c:
3897	* macosx/tkMacOSXScale.c:
3898	* macosx/tkMacOSXScrlbr.c:
3899	* macosx/tkMacOSXSubwindows.c:
3900	* macosx/tkMacOSXWindowEvent.c:
3901	* macosx/tkMacOSXWm.c:
3902	* macosx/tkMacOSXXStubs.c:
3903	* macosx/ttkMacOSXTheme.c:
3904
3905	* macosx/Wish.xcodeproj/project.pbxproj: Improve support for renamed
3906	* macosx/Wish.xcodeproj/default.pbxuser: tcl and tk source dirs; add
3907	* macosx/Wish-Common.xcconfig:		 10.5 SDK build config; remove
3908						 tclMathOp.c.
3909
3910	* macosx/README: Document Wish.xcodeproj changes.
3911
39122007-06-23  Daniel Steffen  <das@users.sourceforge.net>
3913
3914	* generic/tkImgPhoto.c (ImgPhotoConfigureInstance, DisposeInstance):
3915	Use XDestroyImage instead of XFree to destroy XImage; replace runtime
3916	endianness determination by compile-time check for WORDS_BIGENDIAN.
3917
3918	* xlib/ximage.c (XCreateBitmapFromData): Use XCreateImage and
3919	XDestroyImage instead of creating XImage structure manually.
3920
3921	* macosx/tkMacOSXXStubs.c (XCreateImage, DestroyImage): Correct XImage
3922	bytes_per_line/bitmap_pad calculations and endianness setting; free
3923	image data and XImage structure at destruction; formatting cleanup.
3924
3925	* macosx/tkMacOSXDialog.c (NavServicesGetFile): Disable app-modal
3926	sheet variant of nav dialog on OS versions where it causes problems.
3927
39282007-06-20  Jeff Hobbs  <jeffh@ActiveState.com>
3929
3930	* library/ttk/ttk.tcl: Should require Tk before pseudo-providing
3931	tile 0.8.0.
3932
39332007-06-09  Joe English  <jenglish@users.sourceforge.net>
3934
3935	* generic/ttk/ttkPanedwindow.c, doc/ttk_panedwindow.n,
3936	* tests/ttk/panedwindow.test: Added -width and -height options. Added
3937	'panes' method, return list of managed windows. 'sashpos' method is
3938	now documented as part of the public interface, and details clarified.
3939	Should be easier to set initial sash positions now. Alleviates [Bug
3940	1659067].
3941
39422007-06-09  Jeff Hobbs  <jeffh@ActiveState.com>
3943
3944	* win/tkWinWm.c (WmIconphotoCmd): fix wm iconphoto RGBA issues.
3945	[Bug 1467997] (janssen)
3946
3947	* win/tkWinMenu.c (TkWinHandleMenuEvent): Improve handling to allow
3948	for unicode char menu indices and not use CharUpper on Tcl utf
3949	strings. [Bug 1734223]
3950
39512007-06-09  Joe English  <jenglish@users.sourceforge.net>
3952
3953	* generic/ttk/ttkManager.h, generic/ttk/ttkManager.c,
3954	* generic/ttk/ttkNotebook.c, generic/ttk/ttkPanedwindow.c,
3955	* generic/ttk/ttkFrame.c: Ttk_Manager API overhaul:
3956	    + Ttk_Manager no longer responsible for managing slave records
3957	    + Ttk_Manager structure now opaque
3958	    + Ttk_Slave structure now private
3959	    + Pass Ttk_Manager* to Tk_GeomMgr hooks instead of Ttk_Slave*
3960
3961	* generic/ttk/ttkFrame.c: Simplified -labelwidget management.
3962
3963	* doc/ttk_panedwindow.n, library/ttk/panedwindow.tcl: Changed
3964	documentation of ttk::panedwindow 'identify' command to match
3965	implementation.
3966
3967	* generic/ttk/ttkNotebook.c, tests/ttk/notebook.test:
3968	BUGFIX: ttk::noteboook 'insert' command didn't correctly maintain
3969	current tab.
3970
39712007-06-09  Daniel Steffen  <das@users.sourceforge.net>
3972
3973	* macosx/tkMacOSXColor.c: Fix issues with TK_{IF,ELSE,ENDIF} macros;
3974	* macosx/tkMacOSXDraw.c:  implement Jaguar equivalent of unavailable
3975	* macosx/tkMacOSXEntry.c: kHIToolboxVersion global; panic at startup
3976	* macosx/tkMacOSXEvent.c: if MAC_OS_X_VERSION_MIN_REQUIRED constraint
3977	* macosx/tkMacOSXInit.c:  is not satisfied.
3978	* macosx/tkMacOSXInt.h:
3979	* macosx/tkMacOSXWm.c:
3980
3981	* macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage)
3982	(TkMacOSXSetupDrawingContext): Factor out common code and standardize
3983	setup/restore of port, context and clipping; formatting cleanup.
3984
3985	* macosx/tkMacOSXWindowEvent.c:	Add error checking.
3986	* macosx/tkMacOSXMenu.c:	Fix gcc3 warning.
3987	* macosx/tkMacOSXScrlbr.c:	Fix testsuite crash.
3988	* macosx/tkMacOSXSubwindows.c:	Formatting cleanup.
3989	* macosx/tkMacOSXRegion.c:	Fix typos.
3990	* macosx/tkMacOSXScale.c:
3991
3992	* macosx/tkMacOSXXStubs.c (Tk_GetUserInactiveTime): Remove superfluous
3993							    CFRetain/CFRelease.
3994
3995	* macosx/Wish-Release.xcconfig: Disable tktest release build stripping.
3996
3997	* macosx/Wish.xcodeproj/project.pbxproj: Add new Tclsh-Info.plist.in.
3998
39992007-06-06  Daniel Steffen  <das@users.sourceforge.net>
4000
4001	* macosx/tkMacOSXInt.h: Use native debug message API when available.
4002	* macosx/Wish-Debug.xcconfig:
4003
4004	* macosx/tkMacOSXMouseEvent.c (GenerateMouseWheelEvent): Enable
4005	processing of mousewheel events in background windows.
4006
4007	* macosx/tkMacOSXScrlbr.c: Modernize checks for active/front window.
4008	* macosx/tkMacOSXScale.c:
4009	* macosx/tkMacOSXWm.c:
4010
4011	* macosx/tkMacOSXColor.c: Factor out verbose #ifdef checks of
4012	* macosx/tkMacOSXDraw.c:  MAC_OS_X_VERSION_{MAX_ALLOWED,MIN_REQUIRED}
4013	* macosx/tkMacOSXEntry.c: and runtime checks of kHIToolboxVersion into
4014	* macosx/tkMacOSXEvent.c: new TK_{IF,ELSE,ENDIF}_MAC_OS_X macros.
4015	* macosx/tkMacOSXInit.c:
4016	* macosx/tkMacOSXInt.h:
4017	* macosx/tkMacOSXWm.c:
4018
4019	* macosx/tkMacOSXDraw.c:  Factor out clip clearing in QD ports;
4020	* macosx/tkMacOSXEntry.c: Formatting cleanup.
4021
4022	* macosx/Wish.xcodeproj/project.pbxproj: Add settings for Fix&Continue.
4023
4024	* unix/configure.in (Darwin): Link the Tk and Wish plists into their
4025	binaries in all cases; fix 64bit arch removal in fat 32&64bit builds.
4026
4027	* unix/tcl.m4 (Darwin): Fix CF checks in fat 32&64bit builds.
4028	* unix/configure: autoconf-2.59
4029
40302007-06-05  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
4031
4032	* doc/photo.n: Clarified the fact that base64 support for the -data
4033	option is not universal. [Bug 1731348] (matzek)
4034
40352007-06-03  Daniel Steffen  <das@users.sourceforge.net>
4036
4037	* unix/Makefile.in: Add datarootdir to silence autoconf-2.6x warning.
4038
4039	* macosx/Wish.xcodeproj/default.pbxuser: Add ttk tests.
4040
4041	* macosx/tkMacOSXMenu.c: Add error checking; whitespace cleanup.
4042
4043	* macosx/tkMacOSXDraw.c:	Comment formatting fixes for Xcode 3.0
4044	* macosx/tkMacOSXEmbed.c:
4045	* macosx/tkMacOSXEntry.c:
4046	* macosx/tkMacOSXFont.c:
4047	* macosx/tkMacOSXInit.c:
4048	* macosx/tkMacOSXKeyEvent.c:
4049	* macosx/tkMacOSXKeyboard.c:
4050	* macosx/tkMacOSXMenus.c:
4051	* macosx/tkMacOSXSend.c:
4052	* macosx/tkMacOSXSubwindows.c:
4053	* macosx/tkMacOSXWindowEvent.c:
4054	* macosx/tkMacOSXWm.c:
4055	* macosx/tkMacOSXXStubs.c:
4056
40572007-06-02  Daniel Steffen  <das@users.sourceforge.net>
4058
4059	* macosx/tkMacOSXMenu.c (TkpPostMenu): Ensure cascade menus display in
4060	posted menus that are not part of the menubar or attached to a
4061	menubutton (fixes bug reported on tcl-mac by Linus Nyberg).
4062
40632007-05-31  Daniel Steffen  <das@users.sourceforge.net>
4064
4065	* macosx/tkMacOSXWindowEvent.c (GenerateUpdateEvent): Complete all
4066	pending idle-time redraws before newly posted Expose events are
4067	processed; add bounds of redrawn windows to update region to ensure
4068	all child windows overdrawn by parents are redrawn.
4069
4070	* macosx/tkMacOSXWindowEvent.c:	Centralize clip and window invalidation
4071	* macosx/tkMacOSXSubwindows.c: 	after location/size changes in the
4072	* macosx/tkMacOSXWm.c:		BoundsChanged carbon event handler;
4073	correct/add window invalidation after window attribute changes.
4074
4075	* macosx/tkMacOSXSubwindows.c (XResizeWindow, XMoveResizeWindow)
4076	(XMoveWindow): Factor out common code dealing with embedded and
4077	non-toplevel windows; remove unnecessary clip and window invalidation.
4078
4079	* macosx/tkMacOSXButton.c (TkpDisplayButton): Move clip setup closer
4080	to native button drawing calls.
4081
4082	* macosx/tkMacOSXWm.c (TkMacOSXIsWindowZoomed, TkMacOSXZoomToplevel):
4083	Correct handling of gridded windows in max size calculations.
4084
4085	* macosx/tkMacOSXEvent.c (TkMacOSXFlushWindows): Use HIWindowFlush API
4086	when available.
4087
4088	* macosx/tkMacOSXColor.c:	Cleanup whitespace and formatting.
4089	* macosx/tkMacOSXDraw.c:
4090	* macosx/tkMacOSXSubwindows.c:
4091	* macosx/tkMacOSXWm.c:
4092
4093	* generic/tkFont.c:	#ifdef out debug msg printing to stderr.
4094	* generic/tkTextDisp.c:
4095
40962007-05-30  Don Porter  <dgp@users.sourceforge.net>
4097
4098	* generic/tk.h: Correct placement of #include <tcl.h>. [Bug 1723812]
4099
41002007-05-30  Daniel Steffen  <das@users.sourceforge.net>
4101
4102	* library/bgerror.tcl:	Standardize dialog option & button size
4103	* library/dialog.tcl:	modifications done when running on on Aqua.
4104	* library/msgbox.tcl:
4105
4106	* library/demos/button.tcl: Set button highlightbackground on Aqua.
4107
4108	* macosx/tkMacOSXMenu.c (DrawMenuSeparator): Use DrawingContext API.
4109
4110	* macosx/tkMacOSXWindowEvent.c (ClearPort): Clip to updateRgn.
4111
4112	* macosx/tkMacOSXDebug.c:	Factor out debug region flashing.
4113	* macosx/tkMacOSXDebug.h:
4114	* macosx/tkMacOSXDraw.c:
4115	* macosx/tkMacOSXSubwindows.c:
4116	* macosx/tkMacOSXWindowEvent.c:
4117
4118	* macosx/tkMacOSXEvent.c:	Cleanup whitespace and formatting.
4119	* macosx/tkMacOSXFont.c:
4120	* macosx/tkMacOSXRegion.c:
4121	* macosx/tkMacOSXSubwindows.c:
4122	* macosx/tkMacOSXWindowEvent.c:
4123	* macosx/tkMacOSXWm.c:
4124	* macosx/tkMacOSXXStubs.c:
4125	* xlib/xgc.c:
4126
4127	* macosx/Wish.xcodeproj/project.pbxproj: Delete references to removed
4128	* macosx/Wish.xcodeproj/default.pbxuser: ttk files.
4129
41302007-05-28  Benjamin Riefenstahl  <b.riefenstahl@turtle-trading.net>
4131
4132	* macosx/tkMacOSXFont.c (TkpMeasureCharsInContext): Fix short measures
4133	with flags=TK_WHOLE_WORDS|TK_AT_LEAST_ONE [Bug 1716141]. Make some
4134	casts unnecessary by changing variable types.
4135
41362007-05-25  Joe English  <jenglish@users.sourceforge.net>
4137
4138	* library/ttk/ttk.tcl: Omit ttk::dialog and dependencies.
4139	* library/ttk/dialog.tcl, library/ttk/icons.tcl,
4140	* library/ttk/keynav.tcl: Removed.
4141	* tests/ttk/misc.test: Removed.
4142	* doc/ttk_dialog.tcl: Removed.
4143
41442007-05-25  Donal K. Fellows  <dkf@users.sf.net>
4145
4146	* doc/canvas.n: Fixed documentation of default -joinstyle option
4147	values for line and polygon items. [Bug 1725782]
4148
41492007-05-22  Don Porter  <dgp@users.sourceforge.net>
4150
4151	[core-stabilizer-branch]
4152
4153	* unix/configure:       autoconf-2.59 (FC6 fork)
4154	* win/configure:
4155
4156	* README:               Bump version number to 8.5b1
4157	* generic/tk.h:
4158	* library/tk.tcl:
4159	* unix/configure.in:
4160	* unix/tk.spec:
4161	* win/configure.in:
4162
41632007-05-18  Joe English  <jenglish@users.sourceforge.net>
4164
4165	* generic/ttk/ttkEntry.c(EntrySetValue):  Ensure that widget is in a
4166	consistent state before setting the linked -textvariable. Previously,
4167	it was possible for [$e index insert] to point past the end of the
4168	string, leading to heap corruption. [Bug 1721532]
4169	* tests/ttk/entry.test(entry-9.1): Add test case for the above.
4170
41712007-05-18  Don Porter  <dgp@users.sourceforge.net>
4172
4173	* unix/configure:       autoconf-2.59 (FC6 fork)
4174	* win/configure:
4175
4176	* README:               Bump version number to 8.5a7
4177	* generic/tk.h:
4178	* library/tk.tcl:
4179	* unix/configure.in:
4180	* unix/tk.spec:
4181	* win/configure.in:
4182
4183	* tests/ttk/treetags.test:	Another bit of test suite
4184	SCIM-tolerance. [Bug 1609316]
4185
41862007-05-17  Daniel Steffen  <das@users.sourceforge.net>
4187
4188	* generic/tk.decls: Workaround 'make checkstubs' failures from
4189	tkStubLib.c MODULE_SCOPE revert. [Bug 1716117]
4190
4191	* macosx/Wish.xcodeproj/project.pbxproj: Add tkOldTest.c and remove
4192						 tkStubImg.c.
4193
41942007-05-16  Joe English  <jenglish@users.sourceforge.net>
4195
4196	* generic/tkStubLib.c:  Change Tk_InitStubs(), tkStubsPtr, and the
4197	auxilliary stubs table pointers back to public visibility. See [Bug
4198	1716117] for details.
4199
4200	Removed TCL_STORAGE_CLASS monkey business, as it had no effect.
4201
42022007-05-16  Don Porter  <dgp@users.sourceforge.net>
4203
4204	* library/choosedir.tcl:	Removed uses of obsolete {expand}
4205	* library/comdlg.tcl:		syntax; replaced with the now
4206	* library/tk.tcl:		approved {*}. [Bug 1710633]
4207	* tests/canvImg.test:
4208	* tests/imgPhoto.test:
4209
4210	* tests/bind.test:    Make test suite more SCIM-tolerant. [Bug 1609316]
4211
42122007-05-16  Pat Thoyts  <patthoyts@users.sourceforge.net>
4213
4214	* win/makefile.vc: Test ttk widgets.
4215
42162007-05-15  Joe English  <jenglish@users.sourceforge.net>
4217
4218	* unix/tkUnixRFont.c: Fix crash introduced by previous fix exposed
4219	under newer fontconfig libraries [Bug 1717830] again.
4220
42212007-05-15  Don Porter  <dgp@users.sourceforge.net>
4222
4223	* generic/tkGrid.c: Stop crash due to list intrep shimmer [Bug 1677608]
4224
42252007-05-15  Joe English  <jenglish@users.sourceforge.net>
4226
4227	* unix/tkUnixRFont.c: Fix various memory leaks. [Bug 1717830], [Bug
4228	800149]
4229
42302007-05-14  Don Porter  <dgp@users.sourceforge.net>
4231
4232	[Tk Bug 1712081]
4233
4234	* unix/Makefile.in:	Updates to account for new and deleted files
4235	* win/Makefile.in:	tkStubImg.c and tkOldTest.c.
4236	* win/makefile.bc:
4237	* win/makefile.vc:
4238
4239	* generic/tkOldTest.c (new):	New file used to create testing
4240	* generic/tkTest.c:		commands for testing various Tk
4241	* tests/constraints.tcl:	legacy interfaces where a separate
4242	* tests/image.test:		compilation unit is needed in order to
4243	#define suitable macros during compilation. Only the effect of
4244	USE_OLD_IMAGE on Tk_CreateImageType() is currently tested, but more
4245	similar testing commands can be added to this same file. New
4246	constraint defined to detect presence of the image type provided by
4247	the new testing code, and a few tests added to exercise it. Having
4248	USE_OLD_IMAGE support tested by the default test suite should reduce
4249	chance of a recurrence of this bug.
4250
4251	* doc/CrtImgType.3:	Revised docs to better indicate the legacy
4252	* doc/CrtPhImgFmt.3:	nature of the interfaces supported by
4253	USE_OLD_IMAGE.
4254
4255	* generic/tkDecls.h:	make genstubs
4256	* generic/tkStubInit.c:
4257
4258	* generic/tk.decls:		Reworked USE_OLD_IMAGE support to use
4259	* generic/tk.h:			the same support mechanisms both with
4260	* generic/tkStubImg.c (deleted):and without a stub-enabled build. In
4261	each case, route the legacy calls to Tk_CreateImageType and
4262	Tk_CreatePhotoImageFormat through the Tk_CreateOldImageType and
4263	Tk_CreateOldPhotoImageFormat routines. Add those routines to the
4264	public stub table so they're available to a stub-enabled extension.
4265	Remove the definition of Tk_InitImageArgs() and use a macro to convert
4266	any calls to it in source code into a comment.
4267
4268	* generic/tkImage.c:	Removed the MODULE_SCOPE declarations that
4269	* generic/tkImgPhoto.c:	broke USE_OLD_IMAGE support.
4270
42712007-05-11  Pat Thoyts  <patthoyts@users.sourceforge.net>
4272
4273	* tests/winButton.test: Avoid font dependencies in results.
4274
4275	* generic/tkFont.c: propagate error from TkDeleteNamedFont. [Bug
4276	1716613]
4277
42782007-05-09  Daniel Steffen  <das@users.sourceforge.net>
4279
4280	* generic/tkFileFilter.c (AddClause): OSType endianness fixes.
4281
4282	* library/palette.tcl (tk::RecolorTree): Handle color options with
4283	empty value, fixes error due to emtpy -selectforeground (reported on
4284	tcl-mac by Russel E. Owen).
4285
4286	* macosx/tkMacOSXWindowEvent.c:	Ensure window is brought to the front
4287	* macosx/tkMacOSXMouseEvent.c:	at the start of a window drag (except
4288	* macosx/tkMacOSXInt.h:		when cmd key is down); formatting and
4289					whitespace fixes.
4290
4291	* macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd): Add -filetypes option
4292	processing (fixes fileDialog-0.1, fileDialog-0.2 failures).
4293
4294	* macosx/tkMacOSXEmbed.c (TkpMakeWindow, TkpUseWindow): Fix sending of
4295	Visibility event for embedded windows (fixes frame-3.9 hang).
4296
4297	* macosx/tkMacOSXScrlbr.c (ScrollbarBindProc):		Fix testsuite
4298	* macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn):	crashes by
4299	adding sanity checks.
4300
4301	* macosx/Wish.xcodeproj/project.pbxproj: Add 'DebugUnthreaded' &
4302	* macosx/Wish.xcodeproj/default.pbxuser: 'DebugLeaks' targets and env
4303	var settings needed to run the 'leaks' tool.
4304
4305	* macosx/tkMacOSXButton.c: Fix debug msg typo.
4306
4307	* tests/constraints.tcl: Ensure 'nonUnixUserInteraction' constraint is
4308	set for aqua.
4309
4310	* tests/choosedir.test:	Add 'notAqua' constraints to X11-only tests;
4311	* tests/clrpick.test:	add 'nonUnixUserInteraction' to 'unix' tests
4312	* tests/menuDraw.test:	requiring interaction on aqua.
4313	* tests/unixMenu.test:
4314	* tests/unixWm.test:
4315	* tests/winMenu.test:
4316
43172007-05-07  Joe English  <jenglish@users.sourceforge.net>
4318
4319	* unix/tkUnixRFont.c: Properly cast sentinel arguments to variadic
4320	function (fixes "warning: missing sentinel in function call", [Bug
4321	1712001])
4322
43232007-05-04  Pat Thoyts  <patthoyts@users.sourceforge.net>
4324
4325	* generic/tkFont.c:     TIP #145 implementation -
4326	* generic/tkFont.h:     Enhanced font handling.
4327	* win/tkWinDefault.h:
4328	* win/tkWinFont.c:
4329	* win/tkWinInt.h:
4330	* win/tkWinWm.c:
4331	* library/demos/widget:
4332	* library/ttk/fonts.tcl:
4333
43342007-05-04  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
4335
4336	* doc/ttk_treeview.n, doc/ttk_panedwindow.n, doc/ttk_dialog.n:
4337	* doc/ttk_checkbutton.n, doc/tk.n, doc/menu.n, doc/font.n:
4338	* doc/canvas.n: Spelling fixes. [Bug 1686210]
4339
43402007-05-03  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
4341
4342	* generic/tkStubLib.c (Tk_InitStubs):
4343	* generic/ttk/ttkLabel.c (LabelSetup):
4344	* unix/tkUnixSelect.c (ConvertSelection):
4345	* unix/tkUnixEvent.c (TkUnixDoOneXEvent):
4346	* generic/tkConfig.c (Tk_RestoreSavedOptions):
4347	* generic/tkCanvPs.c (TkCanvPostscriptCmd):
4348	* generic/tkOption.c (GetDefaultOptions):
4349	* unix/tkUnixRFont.c (TkpGetFontAttrsForChar, InitFont)
4350	(TkpGetFontFamilies, TkpGetSubFonts):
4351	* unix/tkUnixSend.c (TkpTestsendCmd, RegOpen): Squelch warnings from
4352	GCC type aliasing. [Bug 1711985 and others]
4353
43542007-04-29  Daniel Steffen  <das@users.sourceforge.net>
4355
4356	* unix/configure.in: Fix for default case in tk debug build detection.
4357	* unix/configure: autoconf-2.59
4358
43592007-04-27  Joe English  <jenglish@users.sourceforge.net>
4360
4361	* generic/ttk/ttkTreeview.c(TagOptionSpecs): Use TK_OPTION_STRING
4362	instead of TK_OPTION_FONT to avoid resource leak in tag management.
4363
43642007-04-26  Joe English  <jenglish@users.sourceforge.net>
4365
4366	* macosx/ttkMacOSXTheme.c: Merged OFFSET_RECT processing into
4367	BoxToRect(); factored out PatternOrigin; resynchronized with Tile
4368	codebase.
4369
43702007-04-26  Jeff Hobbs  <jeffh@ActiveState.com>
4371
4372	*** 8.5a6 TAGGED FOR RELEASE ***
4373
4374	* unix/Makefile.in (dist): Correct tests/ttk glob inclusion
4375
43762007-04-25  Jeff Hobbs  <jeffh@ActiveState.com>
4377
4378	* unix/Makefile.in (dist): Add tests/ttk dir to src dist
4379
4380	* unix/tkUnixMenubu.c (TkpDisplayMenuButton): Init width/height to 0
4381
43822007-04-25  Daniel Steffen  <das@users.sourceforge.net>
4383
4384	* unix/Makefile.in (dist): Add macosx/*.xcconfig files to src dist;
4385	copy license.terms to dist macosx dir; fix autoheader bits.
4386
43872007-04-24  Jeff Hobbs  <jeffh@ActiveState.com>
4388
4389	* unix/Makefile.in (dist): Add ttk bits to src dist
4390
4391	* tests/font.test (font-46.[12]): Correct listification of result
4392
43932007-04-23  Daniel Steffen  <das@users.sourceforge.net>
4394
4395	* generic/tkCanvas.c:	Allow -selectforeground option to be None; add
4396	* generic/tkCanvText.c:	fallback to fgColor when selFgColor is None
4397	* generic/tkEntry.c:	(new default on aqua to match native L&F).
4398	* generic/tkListbox.c:
4399	* generic/tkText.c:
4400
4401	* generic/tkCanvas.c:	   Add support for bypassing all of Tk's double
4402	* generic/tkEntry.c:	   buffered drawing into intermediate pixmaps
4403	* generic/tkFrame.c:	   (via TK_NO_DOUBLE_BUFFERING #define), it is
4404	* generic/tkListbox.c:	   unnecessary & wasteful on aqua where all
4405	* generic/tkPanedWindow.c: drawing is already double-buffered by the
4406	* generic/tkTextDisp.c:	   window server. (Use of this on other
4407	* generic/ttk/ttkWidget.c: platforms would only require implementation
4408	* unix/tkUnixScale.c:	   of TkpClipDrawableToRect()).
4409	* macosx/tkMacOSXPort.h:
4410
4411	* library/bgerror.tcl:	On aqua, use moveable alert resp. modal dialog
4412	* library/dialog.tcl:	window class and corresponding system
4413				background pattern; fix button padding.
4414
4415	* library/tearoff.tcl:	Correct aqua menu bar height; vertically offset
4416	* library/tk.tcl:	aqua tearoff floating window to match menu.
4417
4418	* library/demos/goldberg.tcl: Fix overwriting of widget demo global.
4419
4420	* library/demos/menu.tcl:   On aqua, use custom MDEF and tearoffs;
4421	* library/demos/menubu.tcl: correct menubutton toplevel name.
4422
4423	* library/demos/puzzle.tcl: Fix button size & padding for aqua.
4424	* library/demos/radio.tcl:
4425
4426	* macosx/tkMacOSXCarbonEvents.c: Add window event target carbon event
4427	* macosx/tkMacOSXEvent.c:	 handler for all kEventClassWindow and
4428	* macosx/tkMacOSXEvent.h:	 kEventClassMouse events; move all
4429	* macosx/tkMacOSXNotify.c:	 remaining events except for
4430	* macosx/tkMacOSXWindowEvent.c:	 kEventClassKeyboard from dispatcher to
4431	application event handler; pass event handler callRef downstream; fix
4432	debug event tracing; process all tcl event types in carbon event timer;
4433	delay carbon event timer first fire; add TkMacOSXTrackingLoop() to mark
4434	enter/exit of event tracking loop during which all tcl events but only
4435	carbon update events should be processed by the timer (replaces various
4436	calls to Tcl_SetServiceMode()); rename TkMacOSXReceiveAndProcessEvent()
4437	to TkMacOSXReceiveAndDispatchEvent(), move it from tkMacOSXEvent.c to
4438	tkMacOSXCarbonEvents.c and modify it to dequeue only update events
4439	during a tracking loop; add TkMacOSXRunTclEventLoop() to standardize
4440	the various ways in use to run the tcl event loop; add handling of
4441	kEventClassAppearance events (for ScrollBarVariantChanged event).
4442
4443	* macosx/tkMacOSXDialog.c:	Use new TkMacOSXTrackingLoop() around
4444	* macosx/tkMacOSXEvent.c:	blocking API that puts up modal dialogs
4445	* macosx/tkMacOSXMenu.c:	or when entering/exiting menu/control
4446	* macosx/tkMacOSXMouseEvent.c:	tracking, window dragging and other
4447	* macosx/tkMacOSXScale.c:	mouse tracking loops.
4448	* macosx/tkMacOSXScrlbr.c:
4449	* macosx/tkMacOSXWindowEvent.c:
4450	* macosx/tkMacOSXWm.c:
4451
4452	* macosx/tkMacOSXDialog.c:	Use new TkMacOSXRunTclEventLoop()
4453	* macosx/tkMacOSXScale.c:	instead of Tcl_DoOneEvent(),
4454	* macosx/tkMacOSXScrlbr.c:	Tcl_ServiceAll(), TclServiceIdle()
4455	* macosx/tkMacOSXWindowEvent.c:	and Tcl_GlobalEval("update idletasks").
4456
4457	* macosx/tkMacOSXColor.c: Make available as Tk system colors all
4458	* macosx/tkMacOSXPort.h:  appearance manager brushes, text colors and
4459	backgrounds with new and legacy names, as well as the fully transparent
4460	color "systemTransparent"; add TkMacOSXSetColorIn{Port,Context}() to
4461	directly set an X pixel color value in the current QD port resp. the
4462	given CG context without requiring passage through rgb representation
4463	(lossy for most system colors); modernize/remove Classic-era code;
4464	replace crufty strcmp() elseifs by Tcl_GetIndexFromObjStruct().
4465
4466	* macosx/tkMacOSXButton.c:	Use new TkMacOSXSetColorInPort()
4467	* macosx/tkMacOSXDraw.c:	instead of setting rgb color directly
4468	* macosx/tkMacOSXMenubutton.c:	to allow for non-rgb system colors.
4469
4470	* macosx/tkMacOSXCursor.c: Implement "none" cursor as on other
4471	platforms [Patch 1615427]; add all missing appearance manager cursors.
4472
4473	* macosx/tkMacOSXDefault.h: Set SELECT_FG_COLORs to None to match aqua
4474	L&F; use standard system color names; use new 'menu' system font;
4475	correct default scrollbar width.
4476
4477	* macosx/tkMacOSXDraw.c: 	Standardize initialization, use and
4478	* macosx/tkMacOSXInt.h: 	emptying of various static temp rgns
4479	* macosx/tkMacOSXRegion.c:	onto two global RgnHandles; in debug
4480	* macosx/tkMacOSXSubwindows.c:	builds, verify emptiness of these temp
4481	* macosx/tkMacOSXWindowEvent.c:	rgns before use.
4482
4483	* macosx/tkMacOSXDraw.c: Add TkMacOSX{Setup,Restore}DrawingContext() to
4484	* macosx/tkMacOSXInt.h:  abstract common setup & teardown of drawing
4485	environment (for both CG and QD); save/restore QD theme drawing state;
4486	handle GC clip region; add TkpClipDrawableToRect() to allow clipped
4487	drawing into drawable regardless of GC used; use new system color
4488	"systemWindowHeaderBackground" to setup background in themed toplevels;
4489	correct implementation of TkMacOSXMakeStippleMap().
4490
4491	* macosx/tkMacOSXEntry.c:  Use new TkMacOSXSetupDrawingContext() and
4492	* macosx/tkMacOSXFont.c:   TkMacOSXRestoreDrawingContext() instead of
4493	* macosx/ttkMacOSXTheme.c: various setup/teardown procs like
4494	TkMacOSX{SetUp,Release}CGContext(), TkMacOSXQuarz{Start,End}Draw(),
4495	TkMacOSXSetUpGraphicsPort() etc.
4496
4497	* macosx/tkMacOSXEmbed.c: Add CG context and drawable clip rgn fields
4498	* macosx/tkMacOSXInt.h:   to MacDrawable struct.
4499	* macosx/tkMacOSXSubwindows.c:
4500
4501	* macosx/tkMacOSXDialog.c: Make -parent option of tk_getOpenFile et al.
4502	use the sheet version of NavServices dialogs; ensure native parent win
4503	exists before using StandardSheet API for tk_messageBox [Bug 1677611];
4504	force sheets to behave like app-modal dialogs via WindowModality() API;
4505	use more modern ColorPicker API.
4506
4507	* macosx/tkAboutDlg.r: Use themed movable modal dialog, fix (c) year.
4508
4509	* macosx/tkMacOSXEntry.c:  Take xOff/yOff of MacDrawable into account
4510	* macosx/ttkMacOSXTheme.c: when computing locations/bounds to ensure
4511	correct posititioning when not drawing into intermediate pixmap.
4512
4513	* macosx/tkMacOSXFont.c: Use appearance manager API to map system font
4514	* macosx/tkMacOSXFont.h: names to TkFonts; add "menu" system font for
4515	menu item text drawing from MDEF; always draw with CG; remove QD
4516	dependent stippling algorithm; move most header declarations into the
4517	source file (as they were not used anywhere else).
4518
4519	* macosx/tkMacOSXMenu.c:		 Large-scale rewrite of custom
4520	* macosx/tkMacOSXMenu.r (removed):	 MDEF and related code that
4521	* macosx/Wish.xcode/project.pbxproj:	 restores many longtime-MIA
4522	* macosx/Wish.xcodeproj/project.pbxproj: features to working order
4523	* unix/Makefile.in:			 (e.g. images, custom colors &
4524	fonts in menus etc); implement compound menu items; use Appearance Mgr
4525	and ThemeText APIs to mimic native MDEF as closely as possible when
4526	default "menu" system font is used; remove now obsolete SICN drawing
4527	code and resources.
4528
4529	* macosx/tkMacOSXCarbonEvents.c: Handle additional menu carbon events
4530	* macosx/tkMacOSXEvent.c:	 in order to support <<MenuSelect>> in
4531	* macosx/tkMacOSXMenu.c:	 the menubar and in menus that are not
4532	* macosx/tkMacOSXMenus.c:	 using the custom MDEF [Bug 1620826];
4533	fix early and missing clearing of current Tk active menu entry; fix
4534	extraneous sending of <<MenuSelect>> during active menu entry clearing.
4535
4536	* macosx/tkMacOSXMouseEvent.c: Add support for async window dragging by
4537	the window server; set the corresponding window attribute by default.
4538
4539	* macosx/tkMacOSXMouseEvent.c: Rationalized handling order of
4540	non-mousedown events; add TkMacOSXModifierState() to retrieve the
4541	current key modifiers in carbon format.
4542
4543	* macosx/tkMacOSXScrlbr.c: Use appearance manager API to retrieve
4544	scrollbar component metrics; add awareness of multiple possibilites for
4545	scrollbar arrow position in aqua and handle user changes to arrow
4546	position pref; handle difference in metrics of small & large scrollbar
4547	variants; handle aqua "jump to here" scrollbar behaviour; correct
4548	computation of scroll view size and position; enforce min scrollbar
4549	height to avoid scrollbar component overlap; erase scrollbar area
4550	outside of standard width; remove broken auto-adjust code; account for
4551	window class when leaving space for grow box; remove code to manually
4552	draw grow box; use modern API for thumb scroll proc; replace
4553	HiliteControl() by modern API; replace control mgr constants with
4554	appearance mgr equivalents.
4555
4556	* macosx/tkMacOSXSubwindows.c: Use SetWindowBounds() API instead of
4557	SizeWindow(); invalidate clip regions after X{Map,Unmap}Window as fix
4558	for [Bug 940117] made them dependent on mapping state; remove unneeded
4559	calls to TkMacOSXInvalClipRgns() and unnecessary setting of QD port;
4560	use native-endian pixmap on intel; remove obsolete pixmap pix locking.
4561
4562	* macosx/tkMacOSXWindowEvent.c: Handle only the first of a batch of
4563	kEventAppAvailableWindowBoundsChanged events sent per transaction;
4564	handle kEventWindowBoundsChanged event to support live window resizing
4565	and centralized sending of location/size changed ConfigureNotify
4566	events; ensure HIGrowBox is redrawn after bounds change; constrain
4567	window after dragging to ensure titlebar is not inacessible
4568	offscreen or under dock/menubar; handle kEventWindowGetRegion and
4569	kEventWindowDrawContent for transparent windows to mark resp. paint
4570	content region as transparent; handle kEventWindowConstrain for
4571	fullscreen windows to ensure bounds match new screen size; enter/exit
4572	fullscreen UIMode upon activation/deactivation of fullscreen window.
4573
4574	* macosx/tkMacOSXWm.c: Use live-resize and async-drag carbon window
4575	* macosx/tkMacOSXWm.h: attributes for toplevels by default; implement
4576	new [wm attributes] -topmost, -transparent and -fullscreen; refactor
4577	WmAttributesCmd() parallelling the tkUnixWm.c implementation, use thus
4578	factored proc to set proxy icon from [wm iconbitmap]; dynamically
4579	determine default values for toplevel min and max sizes (similar to
4580	tkWinWm.c impl): min sizes depend on window class & attributes to
4581	ensure visibility of all titlebar widgets and grow box, max sizes
4582	depend on maximal window bounds for all active displays; factor out
4583	code that puts into effect changes to master or override_redirect; use
4584	RepositionWindow() API to determine staggered initial window bounds;
4585	correct resize limit calculations, handle gridding and use modern
4586	resize API in TkMacOSXGrowToplevel(); remove sending of ConfigureNotify
4587	after resize or zoom (now handled by BoundsChanged handler); correct
4588	composite carbon window attribute handling, remove currently unusable
4589	attributes and add new attributes in [tk::unsupported::MacWindowStyle];
4590	ensure validity of window class and attributes before use; apply
4591	changes to window class when handling carbon window attribute changes
4592	(if HIWindowChangeClass() API available); add debug build warning
4593	message when deprecated window style is used instead of window class;
4594	use transparent HIGrowBox for resizable windows; avoid unnecessary
4595	calls to window structure width API; use tcl time API in TkpGetMS();
4596	add TkMacOSXEnterExitFullscreen() to enter/exit UIMode with dock and
4597	menubar hidden; restrict wmTracing output to debug builds; remove
4598	unneeded calls to TkMacOSXInvalClipRgns() and unnecessary setting of QD
4599	port; workaround GetWindowStructureWidths() Carbon bug (bogus results
4600	for never-mapped floating windows).
4601
4602	* macosx/tkMacOSXXStubs.c (TkMacOSXDisplayChanged): Add maximal window
4603	bounds field to Screen record (in ext_data), computed as the union of
4604	available window positioning bounds of all graphics devices (displays).
4605
4606	* macosx/tkMacOSXBitmap.c: Fix macRoman encoding leak.
4607	* macosx/tkMacOSXCursor.c:
4608
4609	* macosx/tkMacOSXDebug.c (TkMacOSXCarbonEventToAscii): Use static
4610	* macosx/tkMacOSXDebug.h: buffer to simplify callers; const fixes.
4611
4612	* macosx/tkMacOSXBitmap.c: Use more efficient QDSwapPort() instead of
4613	* macosx/tkMacOSXButton.c: GetPort()/SetPort()/GetGWorld()/SetGWorld().
4614	* macosx/tkMacOSXDraw.c:
4615	* macosx/tkMacOSXMenubutton.c:
4616	* macosx/tkMacOSXScale.c:
4617	* macosx/tkMacOSXScrlbr.c:
4618	* macosx/tkMacOSXXStubs.c:
4619
4620	* macosx/tkMacOSXColor.c: Use kHIToolboxVersionNumber for runtime OS
4621	* macosx/tkMacOSXEntry.c: version check rather than Gestalt() etc.
4622	* macosx/tkMacOSXInt.h:
4623	* macosx/tkMacOSXWm.c:
4624
4625	* macosx/tkMacOSXDraw.c: Remove obsolete and now incorrect
4626	* macosx/tkMacOSXInt.h:  tkMenuCascadeRgn clipping code.
4627	* macosx/tkMacOSXMenu.c:
4628
4629	* macosx/tkMacOSXHLEvents.c: Replace Tcl_GlobalEval() resp. Tcl_Eval()
4630	* macosx/tkMacOSXScrlbr.c:   by Tcl_EvalEx().
4631	* macosx/tkMacOSXInit.c:
4632
4633	* macosx/tkMacOSXInit.c (TkpInit): Reorder initialization steps.
4634
4635	* macosx/tkMacOSXKeyEvent.c: Remove pre-10.2 support.
4636
4637	* macosx/tkMacOSXMenus.c: Remove now useless call to
4638	TkMacOSXHandleTearoffMenu(); use \x.. quoting for non-latin1 macroman
4639	literar chars to allow file to be edited as utf-8.
4640
4641	* macosx/tkMacOSXScale.c: Replace TrackControl() by modern
4642	* macosx/tkMacOSXScrlbr.c: HandleControlClick() API (using new
4643	TkMacOSXModifierState()).
4644
4645	* macosx/tkMacOSXInt.h:		Move all constant #defines needed to
4646	* macosx/tkMacOSXColor.c:	support building on older OS X releases
4647	* macosx/tkMacOSXEvent.h:	to a central location in tkMacOSXInt.h.
4648	* macosx/tkMacOSXFont.c:
4649	* macosx/tkMacOSXMenu.c:
4650	* macosx/tkMacOSXMenubutton.c:
4651	* macosx/tkMacOSXMenus.c:
4652	* macosx/tkMacOSXMouseEvent.c:
4653	* macosx/tkMacOSXWm.c:
4654	* macosx/ttkMacOSXTheme.c:
4655
4656	* macosx/tkMacOSXInt.h:		 Add ChkErr() macro to factor out
4657	* macosx/tkMacOSXButton.c:	 Carbon OSStatus return value checking
4658	* macosx/tkMacOSXCarbonEvents.c: and TkMacOSXDbgMsg() macro to factour
4659	* macosx/tkMacOSXClipboard.c:	 out debug message output; use these
4660	* macosx/tkMacOSXColor.c:	 macros to replace #ifdef TK_MAC_DEBUG
4661	* macosx/tkMacOSXCursor.c:	 blocks & direct printing to stderr,
4662	* macosx/tkMacOSXDebug.c:	 and to do additional OSStatus return
4663	* macosx/tkMacOSXDialog.c:	 checking, and to standardize OSStatus
4664	* macosx/tkMacOSXDraw.c:	 usage.
4665	* macosx/tkMacOSXEntry.c:
4666	* macosx/tkMacOSXEvent.c:
4667	* macosx/tkMacOSXFont.c:
4668	* macosx/tkMacOSXHLEvents.c:
4669	* macosx/tkMacOSXInit.c:
4670	* macosx/tkMacOSXKeyEvent.c:
4671	* macosx/tkMacOSXMenu.c:
4672	* macosx/tkMacOSXMenubutton.c:
4673	* macosx/tkMacOSXMenus.c:
4674	* macosx/tkMacOSXMouseEvent.c:
4675	* macosx/tkMacOSXScrlbr.c:
4676	* macosx/tkMacOSXSubwindows.c:
4677	* macosx/tkMacOSXWindowEvent.c:
4678	* macosx/tkMacOSXWm.c:
4679	* macosx/tkMacOSXXStubs.c:
4680
4681	* macosx/tkMacOSXSend.c:	Remove duplicate/unused declarations.
4682	* macosx/tkMacOSXXStubs.c:
4683
4684	* macosx/tkMacOSXDebug.c:	Const fixes.
4685	* macosx/tkMacOSXInit.c:
4686	* macosx/tkMacOSXTest.c:
4687	* macosx/tkMacOSXWm.c:
4688	* macosx/tkMacOSXXStubs.c:
4689
4690	* macosx/Wish-Info.plist.in: Add tcl document extensions/mime types and
4691	LSMinimumSystemVersion, LSRequiresCarbon & NSAppleScriptEnabled keys.
4692
4693	* macosx/Wish-Common.xcconfig: Add Wish's Info.plist as __info_plist
4694	section to tktest; enable more warnings.
4695
4696	* macosx/Wish.xcodeproj/project.pbxproj: Add 'DebugMemCompile' build
4697	configuration that calls configure with --enable-symbols=all; disable
4698	configure check for __attribute__((__visibility__("hidden"))) in Debug
4699	configuration to restore availability of ZeroLink.
4700
4701	* macosx/Wish-Common.xcconfig:	Fix whitespace.
4702	* macosx/Wish-Debug.xcconfig:
4703	* macosx/Wish-Release.xcconfig:
4704	* macosx/tkMacOSXAETE.r:
4705	* macosx/tkMacOSXConfig.c:
4706	* macosx/tkMacOSXCursors.r:
4707	* macosx/tkMacOSXKeyboard.c:
4708	* macosx/tkMacOSXSend.c:
4709	* macosx/ttkMacOSXTheme.c:
4710	* macosx/tkMacOSXXCursors.r:
4711	* macosx/README:
4712
4713	* macosx/GNUmakefile:		Fix/add copyright and license refs.
4714	* macosx/Tk-Info.plist.in:
4715	* macosx/Wish-Info.plist.in:
4716	* macosx/Wish.xcode/project.pbxproj:
4717	* macosx/Wish.xcodeproj/project.pbxproj:
4718	* macosx/tkMacOSX.h:
4719
4720	* unix/configure.in: Install license.terms into Tk.framework; fix tk
4721	debug build detection.
4722	* unix/configure: autoconf-2.59
4723
4724	* doc/colors.n:		Document new Mac OS X system colors.
4725	* doc/cursors.n:	Document new Mac OS X native cursors.
4726	* doc/font.n:		Document new Mac OS X 'menu' system font.
4727	* doc/wm.n:		Document new Mac OS X [wm attributes].
4728	* doc/ttk_image.n:	Fix 'make html' warning.
4729	* doc/canvas.n:		Fix nroff typo.
4730
47312007-04-21  Jeff Hobbs  <jeffh@ActiveState.com>
4732
4733	* macosx/tkMacOSXBitmap.c, macosx/tkMacOSXButton.c:
4734	* macosx/tkMacOSXCarbonEvents.c, macosx/tkMacOSXClipboard.c:
4735	* macosx/tkMacOSXCursor.c, macosx/tkMacOSXDialog.c:
4736	* macosx/tkMacOSXDraw.c, macosx/tkMacOSXEvent.c:
4737	* macosx/tkMacOSXFont.c, macosx/tkMacOSXInit.c, macosx/tkMacOSXInt.h:
4738	* macosx/tkMacOSXKeyEvent.c, macosx/tkMacOSXMenu.c:
4739	* macosx/tkMacOSXMenubutton.c, macosx/tkMacOSXMouseEvent.c:
4740	* macosx/tkMacOSXScale.c, macosx/tkMacOSXWindowEvent.c:
4741	* macosx/tkMacOSXWm.c: Revert of commits from 2007-04-13 which broke
4742	the OS X build.
4743
47442007-04-17  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
4745
4746	* generic/tkFont.c, generic/tkListbox.c, unix/tkUnixSelect.c:
4747	* win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: Make
4748	the format of declarations much more standardized (removing K&R-isms
4749	and other things like that).
4750
47512007-04-13  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
4752
4753	* macosx/tkMacOSXInt.h (LOG_MSG, LOG_ON_ERROR): Added macros to make
4754	the OSX code much less #ifdef-full.
4755
47562007-04-12  Jeff Hobbs  <jeffh@ActiveState.com>
4757
4758	* library/ttk/panedwindow.tcl (ttk::panedwindow::Press): handle Press
4759	triggering outside sash element boundaries.
4760
47612007-04-10  Joe English  <jenglish@users.sourceforge.net>
4762
4763	* win/ttkWinMonitor.c, win/ttkWinXPTheme.c: Re-sync with Tile codebase
4764	so patches can flow back and forth.
4765
4766	* win/ttkWinXPTheme.c: Skip OS version test, should work on Vista/Aero
4767	now as well as XP. Fixes [Bug 1687299], thanks to George Petasis for
4768	tracking this down.
4769
47702007-03-21  Joe English  <jenglish@users.sourceforge.net>
4771
4772	* generic/ttk/ttkLayout.c(Ttk_BuildLayoutTemplate): BUGFIX: Nested
4773	TTK_GROUP nodes did not work unless they appeared at the end of the
4774	layout (and only by accident then).
4775
47762007-03-08  Joe English  <jenglish@users.sourceforge.net>
4777
4778	* tests/grid.test(grid-21.7): Reset wm geometry . and pack propagate .
4779	at end of test. 'pack propagate . 0' was causing cascading failures in
4780	subsequent tests. [Bug 1676770]
4781
47822007-03-07  Daniel Steffen  <das@users.sourceforge.net>
4783
4784	* generic/tkMain.c (Tk_MainEx): Replicate macosx-specific code from
4785	TkpInit() that ensures the console window appears when wish is started
4786	from the OS X Finder (i.e. with stdin == /dev/null), jeffh's 2006-11-24
4787	change rendered the corresponding code in TkpInit() ineffective in wish
4788	because Tk_MainEx() sets tcl_interactive before calling TkpInit().
4789
4790	* generic/ttk/ttkGenStubs.tcl (new): Add ttk-specific genstubs.tcl from
4791	* unix/Makefile.in (genstubs):       tile and run it from 'genstubs'
4792	target, restores ability to generate all of Tk's stub sources.
4793
4794	* generic/ttk/ttkTreeview.c: #ifdef out unused declaration.
4795
4796	* macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): Add fix for
4797	libraries loaded with a DYLD_IMAGE_SUFFIX.
4798
4799	* macosx/Wish.xcodeproj/project.pbxproj: Ensure gcc version used by
4800	* macosx/Wish.xcodeproj/default.pbxuser: Xcode and configure/make are
4801	* macosx/Wish-Common.xcconfig:		 consistent and independent of
4802	gcc_select default and CC env var; fixes for Xcode 3.0.
4803
4804	* unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check.
4805	* unix/configure: autoconf-2.59
4806
48072007-02-25  Peter Spjuth  <peter.spjuth@space.se>
4808
4809	* generic/tkUtil.c: Fixed grid anchor center problem in labelframes.
4810	* tests/grid.test:  [Bug 1545765]
4811
48122007-02-23  Jeff Hobbs  <jeffh@ActiveState.com>
4813
4814	* library/ttk/notebook.tcl (ttk::notebook::enableTraversal): OS X
4815	needs Option instead of Alt binding
4816
48172007-02-19  Jeff Hobbs  <jeffh@ActiveState.com>
4818
4819	* unix/tcl.m4: use SHLIB_SUFFIX=".so" on HP-UX ia64 arch.
4820	* unix/configure: autoconf-2.59
4821
4822	* library/tkfbox.tcl (::tk::IconList_Goto): avoid goto issues in empty
4823	dirs. [Bug 1662959]
4824
48252007-02-09  Joe Mistachkin  <joe@mistachkin.com>
4826
4827	* win/nmakehlp.c: Properly cleanup after nmakehlp, including the
4828	* win/makefile.vc: vcX0.pch file. Sync up fixed nmakehlp usage from
4829	Tcl.
4830
48312007-02-06  Joe English  <jenglish@users.sourceforge.net>
4832
4833	* library/ttk/ttk.tcl: Add no-op [package ifneeded] script for tile
4834	0.8.0, so that existing applications that use "package require tile"
4835	won't fail when run under Tk 8.5.
4836
48372007-02-04  Daniel Steffen  <das@users.sourceforge.net>
4838
4839	* unix/tcl.m4: Use gcc4's __attribute__((__visibility__("hidden"))) if
4840	available to define MODULE_SCOPE effective on all platforms.
4841	* unix/configure.in: add caching to -pipe check.
4842	* unix/configure: autoconf-2.59
4843	* unix/tkConfig.h.in: autoheader-2.59
4844
48452007-02-03  Joe Mistachkin  <joe@mistachkin.com>
4846
4847	* win/rules.vc: Fix platform specific file copy macros for downlevel
4848	Windows.
4849	* win/ttkWinMonitor.c: Windows portability support. Fix "noxp" build
4850	* win/ttkWinXPTheme.c: option handling and use GetWindowLongPtr and
4851	SetWindowLongPtr only when needed.
4852
48532007-02-02  Pat Thoyts  <patthoyts@users.sourceforge.net>
4854
4855	* win/ttkWinXPTheme.c: Support IsAppThemed() call. This is what is
4856	used when theming is turned off just for an individual application.
4857
48582007-01-28  Daniel Steffen  <das@users.sourceforge.net>
4859
4860	* macosx/Wish.xcodeproj/project.pbxproj:   Extract build settings that
4861	* macosx/Wish.xcodeproj/default.pbxuser:   were common to multiple
4862	* macosx/Wish-Common.xcconfig (new file):  configurations into external
4863	* macosx/Wish-Debug.xcconfig (new file):   xcconfig files; add extra
4864	* macosx/Wish-Release.xcconfig (new file): configurations for building
4865	with SDKs; convert legacy jam-based 'Tk' target to native target with
4866	single script phase; correct syntax of build setting references to use
4867	$() throughout; remove unused tcltest sources from 'tktest' target.
4868
4869	* macosx/README: Document new Wish.xcodeproj configurations; other
4870	minor updates/corrections.
4871
4872	* generic/tk.h: Update location of version numbers in macosx files.
4873
4874	* macosx/Wish.xcode/project.pbxproj: Restore 'tktest' target to working
4875	* macosx/Wish.xcode/default.pbxuser: order by replicating applicable
4876	changes to Wish.xcodeproj since 2006-07-20.
4877
48782007-01-25  Daniel Steffen  <das@users.sourceforge.net>
4879
4880	* unix/tcl.m4: Integrate CPPFLAGS into CFLAGS as late as possible and
4881	move (rather than duplicate) -isysroot flags from CFLAGS to CPPFLAGS to
4882	avoid errors about multiple -isysroot flags from some older gcc builds.
4883
4884	* unix/configure: autoconf-2.59
4885
48862007-01-19  Joe Mistachkin  <joe@mistachkin.com>
4887
4888	* win/makefile.vc: Properly build man2tcl.c for MSVC8.
4889
48902007-01-19  Daniel Steffen  <das@users.sourceforge.net>
4891
4892	* macosx/Wish.xcodeproj/project.pbxproj: Remove libtommath defines.
4893
4894	* unix/tcl.m4: Ensure CPPFLAGS env var is used when set. [Bug 1586861]
4895	(Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when
4896	present in CFLAGS to avoid discrepancies between what headers configure
4897	sees during preprocessing tests and compiling tests.
4898
4899	* unix/configure: autoconf-2.59
4900
49012007-01-11  Jeff Hobbs  <jeffh@activestate.com>
4902
4903	* unix/tkUnixEvent.c, library/msgs/es.msg: s/CRLF/LF/g
4904
49052007-01-11  Joe English  <jenglish@users.sourceforge.net>
4906
4907	* win/tcl.m4 (CFLAGS_WARNING): Remove "-Wconversion". This was removed
4908	from unix/tcl.m4 2004-07-16 but not from here.
4909	* win/configure: Regenerated.
4910
49112007-01-11  Joe English  <jenglish@users.sourceforge.net>
4912
4913	* generic/ttk/ttkManager.h, generic/ttk/ttk*.c: Revert addition of
4914	contravariant 'const' qualifiers, to keep in sync with Tile codebase
4915	(which must remain compatible with Tk 8.4).
4916
49172007-01-03  Jan Nijtmans  <nijtmans@users.sf.net>
4918
4919	* doc/ManageGeom.3,
4920	* generic/tk.decls,
4921	* generic/tk.h: Add const to 2nd parameter of Tk_ManageGeometry
4922	* generic/tkDecls.h: regenerated
4923	* generic/tkInt.h,
4924	* generic/tk*.c,
4925	* generic/ttk/ttk*.c: Added many "const" specifiers in implementation.
4926
49272007-01-02  Donal K. Fellows  <dkf@users.sf.net>
4928
4929	* xlib/*: Made the generic fake-X11 glue layer abide by the formatting
4930	rules of the core.
4931
49322006-12-31  Benjamin Riefenstahl  <b.riefenstahl@turtle-trading.net>
4933
4934	* macosx/tkMacOSXFont.c: Fill-in TkpGetFontAttrsForChar (TIP #300).
4935	* macosx/ttkMacOSXTheme.c: Define a constant to make it compile on Mac
4936	OS X 10.3.
4937
49382006-12-28  Mo DeJong  <mdejong@users.sourceforge.net>
4939
4940	* tests/wm.test: Update wm attributes output so that tests pass after
4941	addition of -transparentcolor for Win32.
4942
49432006-12-26  Joe English  <jenglish@users.sourceforge.net>
4944
4945	* generic/ttk/ttkLabel.c: ImageElement clientData no longer needed.
4946
49472006-12-22  Donal K. Fellows  <dkf@users.sf.net>
4948
4949	* unix/tkUnixEvent.c (TkUnixDoOneXEvent): Made correct on AMD64 and
4950	other similar 64-bit systems where fd_mask is not 'unsigned int' in
4951	effect. [Bug 1522467]
4952
4953	* library/msgs/es_ES.msg (removed):
4954	* library/msgs/es.msg: Fixed translation fault that was present in all
4955	Spanish-speaking locales. [Bug 1111213]
4956
49572006-12-19  Jeff Hobbs  <jeffh@ActiveState.com>
4958
4959	* win/tkWinButton.c (TkpDisplayButton): lint init. [Bug 1618604]
4960
49612006-12-19  Daniel Steffen  <das@users.sourceforge.net>
4962
4963	* unix/tcl.m4 (Darwin): --enable-64bit: verify linking with 64bit -arch
4964	flag succeeds before enabling 64bit build.
4965	* unix/configure: autoconf-2.59
4966
49672006-12-18  Joe English  <jenglish@users.sourceforge.net>
4968
4969	* generic/ttk/ttkTreeview.c, library/ttk/treeview.tcl, doc/treeview.n:
4970	Added column '-stretch' and '-minwidth' options. Improved column drag
4971	and resize behavior. Added horizontal scrolling [Bug 1518650]. Row
4972	height and child indent specifiable on Treeview style. Decreased
4973	default row height, no default -padding. Use correct heading height
4974	[Bug 1163349]. Apply tag settings to tree item as well as to data
4975	columns [NOTE: 'tag configure' still buggy]. Fix off-by-one condition
4976	when moving nodes forward [Bug 1618142]
4977	* generic/ttk/ttkScroll.c (TtkScrollTo): Prevent overscroll [Bug
4978	1173434]
4979	* library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl,
4980	* library/ttk/clamTheme.tcl, library/ttk/classicTheme.tcl,
4981	* library/ttk/defaults.tcl, library/ttk/winTheme.tcl,
4982	* library/ttk/xpTheme.tcl: Per-theme treeview settings.
4983	* macosx/ttkMacOSXTheme.c: Added disclosure triangle element.
4984
49852006-12-17  Joe English  <jenglish@users.sourceforge.net>
4986
4987	* library/ttk/combobox.tcl, generic/ttk/ttkEntry.c,
4988	* doc/ttk_combobox.n: Add combobox -height option; only show scrollbar
4989	if the listbox needs to scroll. [Bug 1032869]
4990
49912006-12-16  Mo DeJong  <mdejong@users.sourceforge.net>
4992
4993	* doc/cursors.n: Mention "none" in supported cursor list. Fix comment
4994	that incorrectly claims that the Win32 "no" cursor hides the cursor.
4995	* tests/cursor.test: Test "none" cursor.
4996	* unix/tkUnixCursor.c (CreateCursorFromTableOrFile)
4997	(TkGetCursorByName): Define a table of Tk cursors that is searched in
4998	addition to the X cursor table. A Tk cursor is loaded from a data
4999	string and works with the same options as the built in X cursors. This
5000	code makes it possible to use "none" as a cursor name under Unix.
5001	* win/rc/cursor9a.cur: Added none Win32 cursor.
5002	* win/rc/tk_base.rc: Define a built-in Win32 cursor named "none".
5003	[Patch 1615427]
5004
50052006-12-14  Joe English  <jenglish@users.sourceforge.net>
5006
5007	* generic/ttk/ttkButton.c, generic/ttk/ttkElements.c,
5008	* generic/ttk/ttkEntry.c, generic/ttk/ttkFrame.c,
5009	* generic/ttk/ttkImage.c, generic/ttk/ttkInit.c,
5010	* generic/ttk/ttkLabel.c, generic/ttk/ttkNotebook.c,
5011	* generic/ttk/ttkPanedwindow.c, generic/ttk/ttkProgress.c,
5012	* generic/ttk/ttkScale.c, generic/ttk/ttkScrollbar.c,
5013	* generic/ttk/ttkSeparator.c, generic/ttk/ttkTheme.h,
5014	* generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.h:
5015	Global reduction: use per-file *_Init() routines to reduce the number
5016	of globally-visible initialization records.
5017
50182006-12-13  Jeff Hobbs  <jeffh@ActiveState.com>
5019
5020	* unix/Makefile.in (install-doc): intentionally skip ttk_dialog.n
5021	installation (not for public consumption)
5022
5023	* doc/scrollbar.n, doc/button.n, doc/checkbutton.n:
5024	* doc/entry.n, doc/frame.n, doc/label.n, doc/labelframe.n:
5025	* doc/menu.n, doc/menubutton.n, doc/panedwindow.n:
5026	* doc/radiobutton.n, doc/scrollbar.n, doc/ttk_*: revamp ttk docs to
5027	use consist nroff format (not 100% consistent with classic widget
5028	docs). Add more man page cross-linking "SEE ALSO".
5029
5030	* generic/ttk/ttkInit.c:
5031	* generic/ttk/ttkTreeview.c: make treeview exist by default
5032	* generic/ttk/ttkPanedwindow.c: s/TtkPaned_Init/TtkPanedwindow_Init/
5033
5034	* win/Makefile.in, unix/Makefile.in (demo): add 'demo' target
5035
50362006-12-13  Joe English  <jenglish@users.sourceforge.net>
5037
5038	* library/ttk/ttk.tcl: Try to straighten out theme loading and
5039	selection logic.
5040	* generic/ttk/ttkElements.c, library/ttk/defaults.tcl,
5041	* generic/ttk/ttkClamTheme.c, library/ttk/clamTheme.tcl:
5042	Provide package in C part instead of Tcl part.
5043
50442006-12-12  Joe English  <jenglish@users.sourceforge.net>
5045
5046	* library/ttk/ttk.tcl, generic/ttkTheme.c: Remove nonfunctional code.
5047
50482006-12-12  Mo DeJong  <mdejong@users.sourceforge.net>
5049
5050	* win/tkWinButton.c (InitBoxes): Call Tcl_Panic() if loading of bitmap
5051	resources fails. This change generates an error if Tk is unable to
5052	find button widget resources instead of silently failing and then
5053	drawing widgets incorrectly.
5054	* win/rc/tk_base.rc: If the user defines BASE_NO_TK_ICON then compile
5055	the base resources file without a "tk" icon. This change makes it
5056	easier to replace the default tk icon with a custom icon. [Patch
5057	1614362]
5058
50592006-12-11  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
5060
5061	* unix/tkUnixWm.c (TkWmMapWindow, WmClientCmd): Added support for
5062	_NET_WM_PID property from the EWMH spec. This is only installed when
5063	the client machine is set.
5064	(WmProtocolCmd, UpdateWmProtocols, TkWmProtocolEventProc): Added
5065	support for the _NET_WM_PING protocol from the EWMH spec. Note that
5066	the support for this is not exposed to the script level as that would
5067	prevent correct handling.
5068
50692006-12-10  Joe English  <jenglish@users.sourceforge.net>
5070
5071	* generic/ttk/ttkTheme.h, generic/ttk/ttkThemeInt.h,
5072	* generic/ttk/ttk.decls, generic/ttk/ttkTheme.c,
5073	* generic/ttk/ttkLayout.c, generic/ttk/ttkDecls.h:
5074	Rename typedef Ttk_Element => Ttk_ElementImpl.
5075
50762006-12-09  Joe English  <jenglish@users.sourceforge.net>
5077
5078	* generic/ttk/ttkButton.c, generic/ttk/ttkImage.c,
5079	* generic/ttk/ttkLabel.c, generic/ttk/ttkWidget.h,
5080	* generic/ttk/ttkTheme.h, generic/ttk/ttkNotebook.c,
5081	* generic/ttk/ttkTreeview.c, doc/ttk_image.n:
5082	Merged duplicate functionality between image element factory, image
5083	element, and -image option processing. Image element factory now takes
5084	an imageSpec argument instead of a separate image name and -map option
5085	* tests/ttk/image.test(image-1.1): Can catch this error earlier now.
5086
50872006-12-06  Kevin Kenny  <kennykb@acm.org>
5088
5089	* unix/configure.in: Further changes to avoid attempting to link
5090	* unix/configure:    against Xft libraries in a non-Xft build
5091	                     [Bug 1609616] (dgp)
5092
50932006-12-04  Jeff Hobbs  <jeffh@ActiveState.com>
5094
5095	* generic/tkListbox.c (ConfigureListboxItem): ListboxWorldChanged not
5096	needed - just call EventuallyRedrawRange. [Bug 1608046] (rezic)
5097
50982006-12-04  Donal K. Fellows  <dkf@users.sf.net>
5099
5100	TIP #286 IMPLEMENTATION
5101
5102	* generic/tkMenu.c (MenuWidgetObjCmd, MenuDoXPosition):
5103	* doc/menu.n, tests/menu.test: Added an [$menu xposition] subcommand
5104	which is useful in menubars and when menus use multiple columns. Many
5105	thanks to Schelte Bron for the implementation.
5106
51072006-12-01  Kevin Kenny  <kennykb@acm.org>
5108
5109	TIP #300 IMPLEMENTATION
5110
5111	* doc/font.n:			Added a [font actual $font $char]
5112	* generic/tkFont.c:		variant that introspects the font that
5113	* generic/tkFont.h:		is chosen to render a given character
5114	* macosx/tkMacOSXFont.c:	in a given nominal font. Added
5115	* tests/font.test:		documentation and test cases for the
5116	* unix/tkUnixFont.c:		new command syntax.
5117	* unix/tkUnixRFont.c:
5118	* win/tkWinFont.c:
5119
51202006-12-01  Jeff Hobbs  <jeffh@ActiveState.com>
5121
5122	* doc/wm.n, tests/winWm.test:
5123	* win/tkWinWm.c: add -transparentcolor attribute for Windows.
5124
51252006-12-01  Joe English  <jenglish@users.sourceforge.net>
5126
5127	* generic/ttk/ttkTheme.h, generic/ttk/ttkLayout.c: Dead code removal.
5128
51292006-11-30  Daniel Steffen  <das@users.sourceforge.net>
5130
5131	* macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): fix inability to use
5132	buttons with standard Escape key binding as -default button (reported
5133	on tcl-mac by Hans-Christoph Steiner).
5134
5135	* macosx/tkMacOSXWm.c (WmAttributesCmd): fix getting [wm attr -alpha].
5136	[Bug 1581932]
5137
51382006-11-28  Joe English  <jenglish@users.sourceforge.net>
5139
5140	* library/ttk/fonts.tcl: Clean up temporary variables.
5141
51422006-11-27  Kevin Kenny  <kennykb@acm.org>
5143
5144	* unix/configure.in: Corrected Xft configuration so that Xft actually
5145	does get turned on when available.
5146	* unix/configure: autoconf
5147
51482006-11-26  Joe English  <jenglish@users.sourceforge.net>
5149
5150	* generic/ttk/ttkWidget.c, generic/ttk/ttkPaned.c: Fix [Bug 1603506]
5151	* library/ttk/button.tcl, library/ttk/combobox.tcl,
5152	* library/ttk/utils.tcl: Rename ttk::CopyBindings to ttk::copyBindings
5153	* generic/ttk/ttkTreeview.c, doc/ttk_treeview.n:
5154	-displaycolumns {} now means "no columns" instead of "all columns".
5155	Use -displaycolumns #all for "all columns". [Bug 1547622]
5156
51572006-11-26  Daniel Steffen  <das@users.sourceforge.net>
5158
5159	* unix/tcl.m4 (Linux): --enable-64bit support.	[Patch 1597389]
5160	* unix/configure: autoconf-2.59			[Bug 1230558]
5161
51622006-11-24  Jeff Hobbs  <jeffh@ActiveState.com>
5163
5164	* macosx/tkMacOSXInit.c (TkpInit): only set tcl_interactive 1 if it
5165	isn't already defined. Allows embedders to set it to 0 to prevent the
5166	console appearing on OS X. [Bug 1487701]
5167
5168	* unix/tkUnixMenu.c (DrawMenuUnderline): bound Tcl_UtfAtIndex usage
5169	* tests/menu.test (menu-36.1): [Bug 1599877]
5170
51712006-11-24  Joe English  <jenglish@users.sourceforge.net>
5172
5173	* library/ttk/altTheme.tcl, library/ttk/clamTheme.tcl,
5174	* library/ttk/defaults.tcl, library/ttk/winTheme.tcl,
5175	* library/ttk/xpTheme.tcl: explicitly specify -anchor w on TMenubutton
5176	* tests/ttk/entry.test: Fixed font dependency; test entry-3.2 should
5177	work on all platforms now.
5178	* library/classicTheme.tcl: Don't define or use TkClassicDefaultFont.
5179	* generic/ttk/ttkTreeview.c, generic/ttk/ttkPanedwindow.c: Handle
5180	missing layouts.
5181
51822006-11-23  Jeff Hobbs  <jeffh@ActiveState.com>
5183
5184	* win/tkWinMenu.c (TkWinHandleMenuEvent, DrawMenuUnderline): Handle
5185	unichar underlining correctly and safely. [Bug 1599877]
5186
51872006-11-20  Joe English  <jenglish@users.sourceforge.net>
5188
5189	* win/ttkWinXPTheme.c: Add support for alternate/indeterminate
5190	checkbutton state. Fix various spacing parameters [Bug 1596020, patch
5191	from Tim Baker]. Remove unused uxtheme hooks.
5192
51932006-11-16  Donal K. Fellows  <dkf@users.sf.net>
5194
5195	* doc/colors.n, doc/wm.n: Minor fixes, added See Also.
5196
5197	* doc/labelframe.n: Added an example.
5198
51992006-11-15  Donal K. Fellows  <dkf@users.sf.net>
5200
5201	* doc/label.n: Added an example and some See Also refs.
5202
5203	* doc/ConfigWidg.3, doc/bind.n, doc/grid.n, doc/panedwindow.n:
5204	* doc/text.n, doc/ttk_Geometry.3, doc/ttk_button.n:
5205	* doc/ttk_checkbutton.n, doc/ttk_combobox.n, doc/ttk_dialog.n:
5206	* doc/ttk_entry.n, doc/ttk_frame.n, doc/ttk_image.n, doc/ttk_intro.n:
5207	* doc/ttk_label.n, doc/ttk_labelframe.n, doc/ttk_menubutton.n:
5208	* doc/ttk_notebook.n, doc/ttk_panedwindow.n, doc/ttk_progressbar.n:
5209	* doc/ttk_radiobutton.n, doc/ttk_scrollbar.n, doc/ttk_separator.n:
5210	* doc/ttk_sizegrip.n, doc/ttk_style.n, doc/ttk_widget.n, doc/wm.n:
5211	Convert \fP to \fR so that man-page scrapers have an easier time.
5212
52132006-11-14  Joe English  <jenglish@users.sourceforge.net>
5214
5215	* generic/ttk/ttkDefaultTheme.c: Fix off-by-one bug in tree indicator
5216	size computation [Bug 1596021, patch from Tim Baker]. Increased
5217	default size from 7 to 9 pixels.
5218
52192006-11-12  Joe English  <jenglish@users.sourceforge.net>
5220
5221	* generic/ttkScroll.c: *correct* fix for [Bug 1588251].
5222
52232006-11-12  Joe English  <jenglish@users.sourceforge.net>
5224
5225	* tests/ttk/ttk.test(ttk-6.9): Workaround for [Bug 1583038]
5226
52272006-11-12  Joe English  <jenglish@users.sourceforge.net>
5228
5229	* generic/ttkScroll.c: Reworked cleanup procedure; "self-cancelling"
5230	idle call is not robust, call Tcl_CancelIdleCall() in
5231	TtkFreeScrollHandle instead. Fixes [Bug 1588251]
5232
52332006-11-10  Daniel Steffen  <das@users.sourceforge.net>
5234
5235	* macosx/Wish.xcodeproj/project.pbxproj: remove tclParseExpr.c and
5236	bwidget.test.
5237
5238	* unix/tcl.m4 (Darwin): suppress linker arch warnings when building
5239	universal for both 32 & 64 bit and no 64bit CoreFoundation is
5240	available; sync with tcl tcl.m4 change.
5241	* unix/configure: autoconf-2.59
5242	* unix/tkConfig.h.in: autoheader-2.59
5243
52442006-11-08  Kevin Kenny  <kennykb@acm.org>
5245
5246	* unix/configure.in: Silenced warnings about missing Xft configuration
5247	unless --enable-xft is requested explicitly. Also added a few basic
5248	checks that we can actually compile and link against Xft headers and
5249	libraries. [Bug 1592667]
5250	* unix/configure: Regen.
5251
52522006-11-07  Kevin Kenny  <kennykb@acm.org>
5253
5254	* unix/configure.in: Made --enable-xft the default.
5255	* unix/configure: Regen.
5256
52572006-11-06  Joe English  <jenglish@users.sourceforge.net>
5258
5259	* generic/ttk/ttkClassicTheme.c, generic/ttk/ttkPanedwindow.c,
5260	* generic/ttk/ttkTheme.c, generic/ttk/ttkTreeview.c,
5261	* win/ttkWinXPTheme.c, library/ttk/entry.tcl,
5262	* library/ttk/notebook.tcl, library/ttk/panedwindow.tcl,
5263	* library/ttk/utils.tcl, tests/ttk/entry.test, tests/ttk/bwidget.test:
5264	Miscellaneous minor changes to re-sync Ttk codebase with Tile CVS: fix
5265	comments damaged by overzealous search-and-destroy; removed obsolete
5266	[style default] synonym for [ttk::style configure]; removed other dead
5267	code.
5268
52692006-11-03  Pat Thoyts  <patthoyts@users.sourceforge.net>
5270
5271	* library/safetk.tcl (::safe::tkTopLevel): Theme it.
5272
5273	* generic/ttk/ttkLayout.c:     We do not want to require tkInt in all
5274	* generic/ttk/ttkMananager.h:  the ttk files so added the definition
5275	* generic/ttk/ttkTheme.h:      of MODULE_SCOPE to ttkTheme.h. Ensures
5276	* generic/ttk/ttkWinMonitor.c: everyone gets to see the definition
5277	from someplace.
5278
5279	* library/ttk/fonts.tcl: In a safe interp there is no osVersion field
5280	in tcl_platform so work around it.
5281
52822006-11-02  Daniel Steffen  <das@users.sourceforge.net>
5283
5284	* generic/ttk/ttkBlink.c, generic/ttk/ttkButton.c:
5285	* generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c:
5286	* generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c:
5287	* generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c:
5288	* generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c:
5289	* generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c:
5290	* generic/ttk/ttkLayout.c, generic/ttk/ttkManager.h:
5291	* generic/ttk/ttkNotebook.c, generic/ttk/ttkPanedwindow.c:
5292	* generic/ttk/ttkProgress.c, generic/ttk/ttkScale.c:
5293	* generic/ttk/ttkScroll.c, generic/ttk/ttkScrollbar.c:
5294	* generic/ttk/ttkSeparator.c, generic/ttk/ttkSquare.c:
5295	* generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c:
5296	* generic/ttk/ttkTheme.c, generic/ttk/ttkTheme.h:
5297	* generic/ttk/ttkThemeInt.h, generic/ttk/ttkTrack.c:
5298	* generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c:
5299	* generic/ttk/ttkWidget.h, macosx/ttkMacOSXTheme.c:
5300	* win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: ensure
5301	all global Ttk symbols have Ttk or ttk prefix; declare all externally
5302	visible Ttk symbols not contained in stubs table as MODULE_SCOPE (or as
5303	static when possible); so that 'make check{exports,stubs}' once again
5304	complete without errors.
5305
5306	* macosx/tkMacOSXColor.c (TkMacOSXCompareColors): ifdef out when unused
5307
5308	* macosx/Wish.xcodeproj/project.pbxproj: check autoconf/autoheader exit
5309	status and stop build if they fail.
5310
5311	* macosx/tkMacOSXWindowEvent.c (GenerateUpdateEvent): fix handling of
5312	Carbon Update events: the QuickDraw window update region was being
5313	ignored and all child TkWindows were sent an Expose XEvent even when
5314	they did not need to be redrawn. [Patch 1589226]
5315
53162006-11-01  Daniel Steffen  <das@users.sourceforge.net>
5317
5318	* macosx/tkMacOSXDebug.c: add TkMacOSX prefix to leftover
5319	* macosx/tkMacOSXDebug.h: macosx-private global symbols without Tk
5320	* macosx/tkMacOSXEmbed.c: prefix; ifdef out currently unused debug
5321	* macosx/tkMacOSXEvent.c: procs.
5322	* macosx/tkMacOSXInt.h:
5323	* macosx/tkMacOSXCarbonEvents.c:
5324	* macosx/tkMacOSXSubwindows.c:
5325	* macosx/tkMacOSXWm.c:
5326
53272006-10-31  Pat Thoyts  <patthoyts@users.sourceforge.net>
5328
5329	* win/makefile.vc: Added ttk files to msvc build and add manifest
5330	* win/rules.vc:    files to binaries with MSVC8.
5331
53322006-10-31  Daniel Steffen  <das@users.sourceforge.net>
5333
5334	* macosx/Wish.xcodeproj/project.pbxproj: add new Ttk files.
5335
5336	* macosx/ttkMacOSXTheme.c: standardize header #includes.
5337
5338	* unix/Makefile (checkstubs, checkexports): check ttk.decls, allow
5339	export of Ttk prefixed symbols.
5340
5341	* generic/ttk/tkDefaultTheme.c: fix warnings.
5342
53432006-10-30  Jeff Hobbs  <jeffh@ActiveState.com>
5344
5345	* doc/ttk_Geometry.3, doc/ttk_Theme.3, doc/ttk_button.n:
5346	* doc/ttk_checkbutton.n, doc/ttk_combobox.n, doc/ttk_dialog.n:
5347	* doc/ttk_entry.n, doc/ttk_frame.n, doc/ttk_image.n:
5348	* doc/ttk_intro.n, doc/ttk_label.n, doc/ttk_labelframe.n:
5349	* doc/ttk_menubutton.n, doc/ttk_notebook.n, doc/ttk_panedwindow.n:
5350	* doc/ttk_progressbar.n, doc/ttk_radiobutton.n, doc/ttk_scrollbar.n:
5351	* doc/ttk_separator.n, doc/ttk_sizegrip.n, doc/ttk_style.n:
5352	* doc/ttk_treeview.n, doc/ttk_widget.n,:
5353	* generic/ttk/ttk.decls, generic/ttk/ttkBlink.c:
5354	* generic/ttk/ttkButton.c, generic/ttk/ttkCache.c:
5355	* generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c:
5356	* generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c:
5357	* generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c:
5358	* generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c:
5359	* generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c:
5360	* generic/ttk/ttkLayout.c, generic/ttk/ttkManager.c:
5361	* generic/ttk/ttkManager.h, generic/ttk/ttkNotebook.c:
5362	* generic/ttk/ttkPanedwindow.c, generic/ttk/ttkProgress.c:
5363	* generic/ttk/ttkScale.c, generic/ttk/ttkScroll.c:
5364	* generic/ttk/ttkScrollbar.c, generic/ttk/ttkSeparator.c:
5365	* generic/ttk/ttkSquare.c, generic/ttk/ttkState.c:
5366	* generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c:
5367	* generic/ttk/ttkTagSet.c, generic/ttk/ttkTheme.c:
5368	* generic/ttk/ttkTheme.h, generic/ttk/ttkThemeInt.h:
5369	* generic/ttk/ttkTrace.c, generic/ttk/ttkTrack.c:
5370	* generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c:
5371	* generic/ttk/ttkWidget.h:
5372	* library/demos/ttk_demo.tcl, library/demos/ttk_iconlib.tcl:
5373	* library/demos/ttk_repeater.tcl:
5374	* library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl:
5375	* library/ttk/button.tcl, library/ttk/clamTheme.tcl:
5376	* library/ttk/classicTheme.tcl, library/ttk/combobox.tcl:
5377	* library/ttk/cursors.tcl, library/ttk/defaults.tcl:
5378	* library/ttk/dialog.tcl, library/ttk/entry.tcl:
5379	* library/ttk/fonts.tcl, library/ttk/icons.tcl:
5380	* library/ttk/keynav.tcl, library/ttk/menubutton.tcl:
5381	* library/ttk/notebook.tcl, library/ttk/panedwindow.tcl:
5382	* library/ttk/progress.tcl, library/ttk/scale.tcl:
5383	* library/ttk/scrollbar.tcl, library/ttk/sizegrip.tcl:
5384	* library/ttk/treeview.tcl, library/ttk/ttk.tcl:
5385	* library/ttk/utils.tcl, library/ttk/winTheme.tcl:
5386	* library/ttk/xpTheme.tcl:
5387	* macosx/ttkMacOSXTheme.c:
5388	* tests/ttk/all.tcl, tests/ttk/bwidget.test, tests/ttk/combobox.test:
5389	* tests/ttk/entry.test, tests/ttk/image.test:
5390	* tests/ttk/labelframe.test, tests/ttk/layout.test:
5391	* tests/ttk/misc.test, tests/ttk/notebook.test:
5392	* tests/ttk/panedwindow.test, tests/ttk/progressbar.test:
5393	* tests/ttk/scrollbar.test, tests/ttk/treetags.test:
5394	* tests/ttk/treeview.test, tests/ttk/ttk.test, tests/ttk/validate.test:
5395	* win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c:
5396	First import of Ttk themed Tk widgets as branched from tile 0.7.8
5397
5398	* generic/tkInt.h, generic/tkWindow.c: add Ttk_Init call, copy tk
5399	classic widgets to ::tk namespace.
5400	* library/tk.tcl: add source of ttk/ttk.tcl, define $::ttk::library.
5401	* unix/Makefile.in, win/Makefile.in: add Ttk build bits
5402	* win/configure, win/configure.in: check for uxtheme.h (XP theme).
5403
54042006-10-23  Don Porter  <dgp@users.sourceforge.net>
5405
5406	* README:		Bump version number to 8.5a6
5407	* generic/tk.h:
5408	* library/tk.tcl:
5409	* unix/configure.in:
5410	* unix/tk.spec:
5411	* win/configure.in:
5412
5413	* unix/configure:	autoconf-2.59
5414	* win/configure:
5415
54162006-10-19  Pat Thoyts  <patthoyts@users.sourceforge.net>
5417
5418	*** 8.5a5 TAGGED FOR RELEASE ***
5419
5420	* generic/tkImgBmap.c: Fixed line endings.
5421	* win/makefile.vc:  Patched up build system to manage
5422	* win/rules.vc:     AMD64 with MSVC8
5423	* win/nmakehlp.c:   Ensure operation without Platform SDK.
5424
54252006-10-18  Don Porter  <dgp@users.sourceforge.net>
5426
5427	* changes:		8.5a5 release date set.
5428
54292006-10-17  Jeff Hobbs  <jeffh@ActiveState.com>
5430
5431	* doc/text.n: fix docs to not correct -tabs usage case.
5432
5433	* generic/tkTextDisp.c (SizeOfTab): fix -tabstyle wordprocessor tab
5434	alignment to correct tab edge case. [Bug 1578858]
5435
54362006-10-17  Pat Thoyts  <patthoyts@users.sourceforge.net>
5437
5438	* generic/tkText.c: Applied suggested patch from [Bug 1536735]
5439	* tests/text.test:  Update test for above patch.
5440	* tests/textWind.test:  Corrected test to catch all messages
5441	* tests/safe.test: Silence spurious win32 failure awaiting TIP150
5442	* tests/winDialog.test: Updated test for file name length check.
5443	* test/winWm.test: Corrected test expectation for menu wrapping.
5444
54452006-10-16  Andreas Kupries  <andreask@activestate.com>
5446
5447	* doc/WindowId.3: Pat's commit on 2006-10-08 broke the .SH NAME
5448	information across several lines, breaking the cross-linking of
5449	manpages during installation for this one. Put everything back on a
5450	single line, unbreaking it.
5451
54522006-10-16  Daniel Steffen  <das@users.sourceforge.net>
5453
5454	* changes: updates for 8.5a5 release.
5455
5456	* macosx/tkMacOSXDraw.c: fix numerous issues in CG and QD drawing
5457	procs so that they now match X11 drawing much more closely [Bug
5458	1558051]; use Tiger ellipse drawing API when available; fix comments &
5459	whitespace.
5460
5461	* macosx/tkMacOSXInit.c: set default linewidth limit for CG
5462	antialiasing to 0 as thin horizontal/vertical lines look good now.
5463	* macosx/README: document CG antialiasing limit changes.
5464
5465	* generic/tkCanvLine.c (ConfigureLine):     on TkAqua, pass outline
5466	* generic/tkCanvPoly.c (ConfigurePolygon):  linewidth in gc even for
5467	* generic/tkRectOval.c (ConfigureRectOval): fills (as it controls AA).
5468
5469	* macosx/GNUmakefile: don't redo prebinding of non-prebound binaires.
5470
5471	* library/demos/pendulum.tcl: fix incorrect setting of toplevel title.
5472
54732006-10-10  Don Porter  <dgp@users.sourceforge.net>
5474
5475	* changes:	Updates for 8.5a5 release
5476
54772006-10-08  Pat Thoyts  <patthoyts@users.sourceforge.net>
5478
5479	* generic/tkWindow.c:  Implemented TIP #264 - Tk_Interp function.
5480	* doc/WindowId.3:      Documented Tk_Interp.
5481	* generic/tk.decls:    Added to the stubs interface and
5482	* generic/tkDecls.h:   regenerated.
5483	* generic/tkStubsInit.c:
5484
54852006-10-05  Jeff Hobbs  <jeffh@ActiveState.com>
5486
5487	* unix/tkUnixFont.c (Ucs2beToUtfProc, UtfToUcs2beProc):
5488	(TkpFontPkgInit, encodingAliases): Correct alignment issues in
5489	encoding conversion. Call ucs-2be "unicode" on big-endian systems.
5490	[Bug 1122671]
5491
54922006-09-27  Andreas Kupries  <andreask@activestate.com>
5493
5494	* unix/Makefile.in (install-binaries): Added a second guard to the
5495	* win/Makefile.in: package index file to prevent older versions of Tcl
5496	* win/makefile.vc: from seeing version numbers which may contain a/b
5497	information, and then balking on them. This could otherwise happen
5498	when Tcl/Tk 8.4 and 8.5 are installed in the same directory, seeing
5499	each other. [Bug 1566418]
5500
55012006-09-22  Andreas Kupries  <andreask@activestate.com>
5502
5503	* generic/tkConsole.c: TIP #268 update regarding registered package
5504	* generic/tkMain.c:    version, now using full patchlevel instead of
5505	* generic/tkWindow.c:  major.minor
5506	* library/tk.tcl:
5507	* unix/configure:
5508	* unix/Makefile.in:
5509	* unix/tcl.m4:
5510	* win/configure:
5511	* win/Makefile.in:
5512	* win/makefile.vc:
5513	* win/rules.vc:
5514	* win/tcl.m4:
5515
55162006-09-20  Jeff Hobbs  <jeffh@ActiveState.com>
5517
5518	* win/tkWinMenu.c (TkpPostMenu): disable menu animation in menus with
5519	images to avoid clipping bug. [Bug 1329198]
5520
55212006-09-21  Donal K. Fellows  <dkf@users.sf.net>
5522
5523	* generic/tkImgBmap.c (ImgBmapPostscript): Change 0 to NULL, since
5524	they are not interchangable on all platforms in all circumstances.
5525	[Tcl Bug 1562528]
5526
55272006-09-11  Daniel Steffen  <das@users.sourceforge.net>
5528
5529	* macosx/tkMacOSXWm.c (TkMacOSXMakeRealWindowExist): revert part of
5530	2006-05-16 change that had set overrideredirect windows to not become
5531	activated by the window manager, as this prevented interaction with
5532	native widgets in such windows [Bug 1472624]; apply changes to carbon
5533	window attributes even if native window has already been created.
5534
5535	* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): fix app
5536	* macosx/tkMacOSXMenu.c (DrawMenuBarWhenIdle): menu item key shortcuts
5537	* macosx/tkMacOSXInt.h: when custom ".apple" menu is installed.
5538
5539	* library/demos/widget: on TkAqua, don't install file menu with single
5540	quit menu item, as the application menu already has a quit item.
5541
5542	* macosx/tkMacOSXColor.c: fix building on Mac OS X 10.2.
5543
55442006-09-10  Daniel Steffen  <das@users.sourceforge.net>
5545
5546	* macosx/tkMacOSXColor.c (TkSetMacColor,TkpGetColor): use AppearanceMgr
5547	* macosx/tkMacOSXDefault.h: to retrieve platform std colors for text
5548	* macosx/tkMacOSXPort.h:    selections, add "systemHighlightSecondary"
5549	color name for standard color of inactive selections, use this color as
5550	default for text widget -inactiveselectbackground to implement platform
5551	standard look for inactive text selections.
5552
5553	* library/text.tcl (aqua): remove focus bindings to set selection color
5554
5555	* generic/tkTextBTree.c (TkTextIsElided): on TkAqua, don't show
5556	* generic/tkTextDisp.c (GetStyle):        inactive text selection when
5557						  text widget is disabled.
5558
5559	* generic/tkEntry.c (DisplayEntry): change default TkAqua selection
5560	* macosx/tkMacOSXDefault.h:         relief to "flat" (platform std).
5561
5562	* generic/tkText.c (CreateWidget): fix bug leading to default text
5563	selection relief string DEF_TEXT_SELECT_RELIEF being ignored.
5564
5565	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): allow mouse
5566	event delivery to background windows with kWindowNoActivatesAttribute
5567	(e.g. overrideredirect windows), as these never come to the foreground
5568	they would never receive any mouse events otherwise. [Bug 1472624]
5569
5570	* macosx/tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): do not
5571	send focus events to any windows with kWindowNoActivatesAttribute.
5572
5573	* macosx/tkMacOSXXStubs.c (XQueryColor, XQueryColors): implement basic
5574	XColor computation from pixel values, enough to make tkImg's window.c
5575	happy, fixes img::window failures reported on tcl-mac.
5576
5577	* macosx/tkMacOSXMenu.c (DrawMenuEntryLabel): fix leak. [Bug 1554672]
5578
5579	* macosx/GNUmakefile: workaround bug in 'cp -pRH' on Darwin 6 and
5580	earlier, fixes 'make embedded' failure reported on tcl-mac; fix error
5581	from 'make deploy' with same build tree as previous 'make embedded'.
5582
5583	* macosx/Wish.xcodeproj/project.pbxproj: add new tclUnixCompat.c file.
5584
5585	* macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): fix typo.
5586
5587	* unix/tcl.m4: sync with tcl/unix/tcl.m4.
5588	* unix/configure: autoconf-2.59
5589
55902006-09-06  Jeff Hobbs  <jeffh@ActiveState.com>
5591
5592	* generic/tkEntry.c:   move hard-coded ALWAYS_SHOW_SELECTION control
5593	* generic/tkInt.h:     of entry/text selection display based on focus
5594	* generic/tkText.c:    to the Tcl level, controlled by
5595	* generic/tkWindow.c:  ::tk::AlwaysShowSelection (boolean, private).
5596	* library/tk.tcl:      [Bug 1553691]
5597	* macosx/tkMacOSXDefault.h:
5598	* unix/tkUnixDefault.h:
5599	* unix/tkUnixPort.h:
5600	* win/tkWinDefault.h:
5601
56022006-08-30  Jeff Hobbs  <jeffh@ActiveState.com>
5603
5604	* win/tkWinKey.c: Add WM_UNICHAR window message support (used by
5605	* win/tkWinX.c:   virtual keyboard apps). [Bug 1518677] (petasis)
5606
56072006-08-24  Daniel Steffen  <das@users.sourceforge.net>
5608
5609	* macosx/tkMacOSXScrlbr.c (UpdateControlValues): set native scrollbar
5610	control bounds only once all size adjustments have been computed.
5611	Fixes issue with grow icon obscuring scrollbar reported on tcl-mac.
5612
56132006-08-21  Daniel Steffen  <das@users.sourceforge.net>
5614
5615	* macosx/tkMacOSXCarbonEvents.c (CarbonTimerProc): avoid starving main
5616	event loop: limit the number of tcl events processed per invocation.
5617	Fixes bug reported on tcl-mac by Kevan Hashemi.
5618
56192006-08-18  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
5620
5621	* tests/text.test (text-25.15): Added test suggested by Sam
5622	<baudinm@yahoo.com> on comp.lang.tcl
5623
5624	* generic/tk.h, generic/tkInt.h: Stylistic improvements. No API change.
5625
56262006-08-18  Daniel Steffen  <das@users.sourceforge.net>
5627
5628	* unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, for
5629	universal builds including x86_64, for 64-bit CoreFoundation on Leopard
5630	and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET
5631	* unix/configure.in (Darwin): remove 64-bit arch flags from CFLAGS for
5632	combined 32-bit and 64-bit universal builds, as neither TkAqua nor
5633	TkX11 can be built for 64-bit at present.
5634	* unix/configure: autoconf-2.59
5635	* unix/tkConfig.h.in: autoheader-2.59
5636
5637	* macosx/Wish.xcodeproj/project.pbxproj: switch native release targets
5638	to use DWARF with dSYM, Xcode 3.0 changes.
5639	* macosx/README: updates for x86_64 support in Tcl.
5640
5641	* macosx/tkMacOSXInit.c (TkpInit): when available, use public
5642	TransformProcessType() API instead of CPSEnableForegroundOperation()
5643	SPI to notify the window server that we are a GUI application.
5644
5645	* macosx/tkMacOSXWm.c (WmAttrGetTitlePath): use HIWindow API on >=Tiger
5646
5647	* macosx/tkMacOSXMouseEvent.c (GenerateToolbarButtonEvent):
5648	* macosx/tkMacOSXMenus.c (GenerateEditEvent):
5649	* macosx/tkMacOSXMenu.c (MenuSelectEvent): bzero() the XVirtualEvent
5650	structure before use to ensure all fields are initialized. [Bug
5651	1542205]
5652
56532006-08-16  Jeff Hobbs  <jeffh@ActiveState.com>
5654
5655	* macosx/tkMacOSXWm.c (WmAttributesCmd): correct OS X result for [wm
5656	attributes $top].
5657
56582006-07-25  Daniel Steffen  <das@users.sourceforge.net>
5659
5660	* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): handle key
5661	shortcut for kHICommandQuit in the same way as other application menu
5662	item key shortcuts. [Bug 1516950]
5663
56642006-07-24  Daniel Steffen  <das@users.sourceforge.net>
5665
5666	* macosx/tkMacOSXWm.c (TkWmMapWindow): fix incorrect values of wmInfo
5667	parentWidth/Height for toplevels by recalculating them once the window
5668	is mapped (i.e once the window&structure sizes are known). [Bug
5669	1358663]
5670	(ParseGeometry): sync with ParseGeometry in tkUnixWm.c/tkWinWm.c.
5671
56722006-07-21  Daniel Steffen  <das@users.sourceforge.net>
5673
5674	* generic/tkBind.c (TkBindInit): for REDO_KEYSYM_LOOKUP, change
5675	keysym-to-string mapping hash to use first name in ks_names.h instead
5676	of last (if there are multiple possibilities), e.g. "F11" instead of
5677	"L1".
5678
5679	* macosx/tkMacOSXKeyboard.c (TkpGetKeySym): correct keysyms for pure
5680	modifier key presses [Bugs 700311, 1525905]; correct keysym for Enter
5681	key; add keysyms for new NumLock and Fn modifiers (added 2005-08-09).
5682
56832006-07-20  Daniel Steffen  <das@users.sourceforge.net>
5684
5685	* macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): add support
5686	* unix/tkUnixSend.c (Tk_GetUserInactiveTime):             for weakly
5687	importing symbols not available on OSX 10.2 or 10.3, enables binaires
5688	built on later OSX versions to run on earlier ones.
5689	* macosx/Wish.xcodeproj/project.pbxproj: enable weak-linking; turn on
5690	                                         extra warnings.
5691	* macosx/README: document how to enable weak-linking; cleanup.
5692	* unix/configure.in: add check on Darwin-X11 for ld support of -weak-l
5693	* unix/tcl.m4:       flag and weak-link libXss if possible as it is not
5694	available before OSX 10.4; enforce requirement of OSX 10.2 for TkAqua;
5695	move Darwin specific checks & defines that are only relevant to the tcl
5696	build out of tcl.m4; restrict framework option to Darwin; clean up
5697	quoting and help messages.
5698	* unix/configure: autoconf-2.59
5699	* unix/tkConfig.h.in: autoheader-2.59
5700
5701	* macosx/GNUmakefile: enable xft for TkX11 build.
5702	* macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw):
5703	verify validity of context returned from QDBeginCGContext() before use.
5704	* macosx/tkMacOSXKeyEvent.c: ifdef out diagnostic messages to stderr.
5705
5706	* macosx/tkMacOSXEvent.h:      standardize MAC_OS_X_VERSION_MAX_ALLOWED
5707	* macosx/tkMacOSXMenu.c:       checks per QA1316, ensure define can be
5708	* macosx/tkMacOSXMenubutton.c: overridden on command line (from default
5709	* macosx/tkMacOSXMenus.c:      of current OS version).
5710	* macosx/tkMacOSXMouseEvent.c:
5711	* macosx/tkMacOSXWm.c:
5712
5713	* generic/tkImgGIF.c (ReadImage):
5714	* macosx/tkMacOSXCursor.c (TkMacOSXCursor):
5715	* macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol):
5716	* macosx/tkMacOSXFont.c (TkpMeasureCharsInContext):
5717	* macosx/tkMacOSXInit.c (Map):
5718	* xlib/xgc.c (XCreateGC): fix signed-with-unsigned comparison and other
5719	warnings from gcc4 -Wextra.
5720
57212006-07-14  Andreas Kupries  <andreask@activestate.com>
5722
5723	* generic/tkWindow.c (Initialize): Modify change of 2006-05-25 (jeffh).
5724	Release mutex a bit earlier, to prevent lock when OS X creates its
5725	console windows (recursively enters Tk_Init). Patch by JeffH.
5726
57272006-07-06  Jeff Hobbs  <jeffh@ActiveState.com>
5728
5729	* library/tkfbox.tcl: catch scrollbar use of highlightthickness
5730
57312006-06-21  Jeff Hobbs  <jeffh@ActiveState.com>
5732
5733	* library/bgerror.tcl (::tk::dialog::error::bgerror): remove a couple
5734	of unnecessary hardcoded options
5735
57362006-06-14  Don Porter  <dgp@users.sourceforge.net>
5737
5738	* generic/tkScale.c: Revised variable writing logic to account for
5739	[scale]'s design that it deals with its value as a formatted string,
5740	and not as a double. [Bug 891141]
5741
57422006-06-14  Daniel Steffen  <das@users.sourceforge.net>
5743
5744	* macosx/tkMacOSXSubwindows.c (TkMacOSXInvalidateWindow): ensure
5745	invalid clip regions are recreated via TkMacOSXUpdateClipRgn() before
5746	they are used; correct call order of TkMacOSXInvalidateWindow() and
5747	TkMacOSXInvalClipRgns() throughout. [Bug 1501922]
5748
5749	* macosx/tkMacOSXDraw.c (TkPutImage): implement drawing of very wide
5750	images in slices of less than 4096 pixels to workaround CopyBits
5751	limitation. [Bug 950121]
5752
57532006-06-09  Don Porter  <dgp@users.sourceforge.net>
5754
5755	* generic/tkMain.c:	Added Tcl_Preserve() call on the master interp
5756	as crash protection against any Tcl_DeleteInterp() call that might
5757	happen.
5758
57592006-06-01  Don Porter  <dgp@users.sourceforge.net>
5760
5761	* generic/tkConsole.c:	Added Tcl_RegisterChannel() calls to bump the
5762	refcount of channels passed to Tcl_SetStdChannel(). This prevents early
5763	free-ing of the channels that leads to crashes. [Bug 912571]
5764
57652006-05-29  Jeff Hobbs  <jeffh@ActiveState.com>
5766
5767	* win/tkWinEmbed.c (TkpGetOtherWindow):   Do not panic if no window is
5768	* unix/tkUnixEmbed.c (TkpGetOtherWindow): found; caller handles. [Bug
5769	* unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo): 1212056]
5770
5771	* tests/entry.test (entry-22.1):
5772	* tests/listbox.test (listbox-6.15):
5773	* generic/tkListbox.c (ListboxInsertSubCmd, ListboxDeleteSubCmd):
5774	Ignore Tcl_SetVar2Ex failure of listVarName, similar to entry widget
5775	handling. [Bug 1424513]
5776
57772006-05-26  Jeff Hobbs  <jeffh@ActiveState.com>
5778
5779	* macosx/tkMacOSXButton.c (TkMacOSXDrawControl): correct redraw for
5780	direct transition from disabled to active state. [Bug 706446]
5781
57822006-05-25  Jeff Hobbs  <jeffh@ActiveState.com>
5783
5784	* win/tkWinMenu.c (TkWinMenuKeyObjCmd): get eventPtr after we know the
5785	window is still alive. [AS bug 45987] [Bug 1236306]
5786
5787	* generic/tkMenu.c (DeleteMenuCloneEntries): Modify entry index
5788	changes to work around VC6 optimization bug. [Bug 1224330]
5789
5790	* generic/tkMessage.c (MessageWidgetObjCmd): Correct msgPtr
5791	preserve/release pairing. [Bug 1485750] (afredd)
5792
5793	* generic/tkWindow.c (Initialize): Correct mutex (un)lock pairing.
5794	[Bug 1479587] (loewis)
5795
5796	* generic/tkBind.c (Tk_BindEvent, TkCopyAndGlobalEval): use Tcl_EvalEx
5797	instead of Tcl_GlobalEval.
5798
57992006-05-16  Daniel Steffen  <das@users.sourceforge.net>
5800
5801	* macosx/tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): don't send
5802	focus events to windows of class help or to overrideredirect windows.
5803	[Bug 1472624]
5804
5805	* macosx/tkMacOSXWm.c: set overrideredirect windows to not become
5806	activated by the window manager and to not receive OS activate events
5807	(should make them behave more like on other platforms); use modern
5808	window class API for overrideredirect and transient windows; set the
5809	default class of overrideredirect windows to 'simple' rather than
5810	'plain' (i.e. no window frame); add missing Panther and Tiger window
5811	attributes to [::tk::unsupported::MacWindowStyle].
5812
58132006-05-12  Jeff Hobbs  <jeffh@ActiveState.com>
5814
5815	* generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): Fix
5816	opt added 2006-03 that caused slowdown for some common cases. [Bug
5817	1409140]
5818
58192006-05-13  Daniel Steffen  <das@users.sourceforge.net>
5820
5821	* generic/tkCanvWind.c (DisplayWinItem, WinItemRequestProc): ensure
5822	canvas window items are unmapped when canvas is unmapped. [Bug 940117]
5823
5824	* macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): empty clip
5825	region of unmapped windows to prevent any drawing into them or into
5826	their children from becoming visible. [Bug 940117]
5827
5828	* macosx/tkMacOSXInt.h:         revert Jim's attempt of 2005-03-14 to
5829	* macosx/tkMacOSXSubwindows.c:  fix Bug 940117 as it disables Map/Unmap
5830	event propagation to children. [Bug 1480105]
5831
5832	* macosx/tkMacOSXDraw.c (TkPutImage): handle tkPictureIsOpen flag,
5833	fixes incorrect positioning of images with complex alpha on native
5834	buttons; actual alpha blending is still broken in this situation. [Bug
5835	1155596]
5836
5837	* macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent):
5838	* macosx/tkMacOSXMenus.c (TkMacOSXInitMenus): workaround carbon bug
5839	with key shortcut for 'Preferences' app menu item. [Bug 1481503]
5840
5841	* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only check
5842	for HICommand menu item shortcuts in the application menu.
5843
5844	* macosx/tkMacOSXInt.h:       initialize keyboard layout setup in
5845	* macosx/tkMacOSXInit.c:      TkpInit() rather than during handling of
5846	* macosx/tkMacOSXKeyEvent.c:  first key down event.
5847
5848	* macosx/tkMacOSXDraw.c:        add optional debug code to flash clip
5849	* macosx/tkMacOSXSubwindows.c:  regions during update or draw.
5850
58512006-05-04  Don Porter  <dgp@users.sourceforge.net>
5852
5853	* README:		Bump version number to 8.5a5
5854	* generic/tk.h:
5855	* unix/configure.in:
5856	* unix/tk.spec:
5857	* win/configure.in:
5858
5859	* unix/configure:	autoconf-2.59
5860	* win/configure:
5861
58622006-04-28  Daniel Steffen  <das@users.sourceforge.net>
5863
5864	* macosx/tkMacOSXWm.c (TkWmMapWindow, InitialWindowBounds): fix use of
5865	potentially stale window position in initial configure event on first
5866	map of a window. [Bug 1476443]
5867	(TkMacOSXWindowOffset): use modern GetWindowStructureWidths API.
5868
5869	* macosx/tkMacOSXInt.h:
5870	* macosx/tkMacOSXMouseEvent.c (TkGenerateButtonEventForXPointer): new
5871	internal function to generate button events for current pointer
5872	directly, without requiring prior call to XQueryPointer().
5873
5874	* macosx/tkMacOSXMouseEvent.c (XQueryPointer): implement return of
5875	window-local pointer position.
5876
5877	* macosx/tkMacOSXInt.h:      use improvements above to avoid calls to
5878	* macosx/tkMacOSXKeyEvent.c: GlobalToLocal() when the current port
5879	* macosx/tkMacOSXMenu.c:     might not be set correctly. May fix [Bug
5880	* macosx/tkMacOSXMenus.c:    1243318]
5881	* macosx/tkMacOSXScale.c:
5882	* macosx/tkMacOSXScrlbr.c:
5883
5884	* tkAboutDlg.r: update copyright.
5885
5886	* macosx/tkMacOSXDebug.h: sync #includes with core-8-4-branch.
5887	* macosx/tkMacOSXEvent.h:
5888	* macosx/tkMacOSXFont.h:
5889
58902006-04-26  Don Porter  <dgp@users.sourceforge.net>
5891
5892	*** 8.5a4 TAGGED FOR RELEASE ***
5893
5894	* changes:	Updates for next RC
5895
58962006-04-25  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
5897
5898	* unix/tkUnixFont.c (TkpGetFontFamilies): Fix crash caused when the
5899	XServer returns invalid font names. [Bug 1475865]
5900
59012006-04-23  Vince Darley  <vincentdarley@users.sourceforge.net>
5902
5903	* tests/scrollbar.test: fix to tkAqua test failures
5904
59052006-04-18  Vince Darley  <vincentdarley@users.sourceforge.net>
5906
5907	* macosx/tkMacOSXEmbed.c: fix to [Bug 1088814] test failures in
5908	embed.test
5909
5910	* macosx/tkMacOSXWm.c:
5911	* tests/constraints.tcl:
5912	* tests/wm.test: fix to 'wm attributes' test for TkAqua
5913
59142006-04-11  Peter Spjuth  <peter.spjuth@space.se>
5915
5916	* generic/tkWindow.c (Tk_NameToWindow): Allow NULL interp to
5917	Tk_NameToWindow. This fixes TkGetWindowFromObj which promises to handle
5918	NULL but didn't.
5919
5920	* generic/tkGrid.c: Fixed handling of out of bounds row or column.
5921	* tests/grid.test:  [Bug 1432666]
5922
59232006-04-11  Don Porter  <dgp@users.sourceforge.net>
5924
5925	* unix/Makefile.in:	Updated `make dist` target to be sure the
5926	message catalogs for the widget demo get packaged into the source code
5927	distribution. [Bug 1466509]
5928
59292006-04-11  Daniel Steffen  <das@users.sourceforge.net>
5930
5931	* changes: added latest aqua bug fixes.
5932
5933	* macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): added standard Escape
5934	key binding for msgbox cancel buttons [Patch 1193614], whitespace.
5935
5936	* macosx/tkMacOSXCarbonEvents.c: handle kEventCommandUpdateStatus
5937	* macosx/tkMacOSXEvent.c:        carbon event to dynamically enable
5938	the 'Preferences' app menu item when proc [::tk::mac::ShowPreferences]
5939	is defined. [Bug 700316]
5940
5941	* macosx/tkMacOSXHLEvents.c:    call ::tk::mac::* procs for all
5942	* macosx/tkMacOSXWindowEvent.c: registered appleevents [FR 1105284],
5943	implement print applevent handling, style/whitespace cleanup.
5944
5945	* macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): prevent multiple init.
5946
5947	* macosx/tkMacOSXFont.c: remove #ifdef'd text measuring codepaths now
5948	* macosx/tkMacOSXInit.c: known to be incorrect, cleanup obsolete text
5949	* macosx/README:         antialiasing control code, document ATSUI text
5950				 antialiasing changes.
5951
5952	* macosx/tkMacOSXInt.h:         Implemented 'zoomed' window state
5953	* macosx/tkMacOSXWindowEvent.c: handling for TkAqua, via titlebar
5954	* macosx/tkMacOSXWm.c:          widget clicks as well as [wm state].
5955	* doc/wm.n:                     [Bug 1073456]
5956
59572006-04-10  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
5958
5959	* library/tkfbox.tcl (::tk::IconList_Goto): Fix prefix searching so
5960	that the start location is reasonable, and the prefix matching is using
5961	the correct Tcl command for this. [Bug 1467938]
5962
59632006-04-10  Benjamin Riefenstahl  <b.riefenstahl@turtle-trading.net>
5964
5965	* macosx/tkMacOSXFont.c (MeasureStringWidth): Use implementation based
5966	on ATSUGetGlyphBounds (TK_MAC_USE_GETGLYPHBOUNDS), so we can use
5967	kATSUseFractionalOrigins. This in turn corrects [Bug 1461650].
5968	(InitFont): Use "." and "W" instead of "i" and "w" to determine the
5969	"-fixed" attribute. This prevents "Apple Chancery" from being
5970	classified as fixed.
5971	(InitFontFamilies): Only get the font families once.
5972
59732006-04-09  Daniel Steffen  <das@users.sourceforge.net>
5974
5975	* macosx/tkMacOSXWm.c (WmResizableCmd): propagate window attribute
5976	changes to Carbon window manager. [FR 1467004]
5977	(TkSetWMName, TkMacOSXMakeRealWindowExist): allow empty name for
5978	toplevels, remove bogus initial window name. [Bug 1450800]
5979
59802006-04-07  Daniel Steffen  <das@users.sourceforge.net>
5981
5982	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): fix return
5983	values, implement window dragging & growing in background (with Command
5984	key down) and by fronting clicks [Bug 934524], use correct button &
5985	modifier state API when application is in background (also in
5986	TkMacOSXButtonKeyState).
5987
5988	* macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): ensure QD port is set
5989	correctly before using API relying on it.
5990
59912006-04-06  Vince Darley  <vincentdarley@users.sourceforge.net>
5992
5993	* macosx/tkMacOSXMouseEvent.c: Now that [wm attributes -titlepath]
5994	works correctly, add OS support for dragging proxy icons and using the
5995	titlepath menu.
5996
59972006-04-06  Daniel Steffen  <das@users.sourceforge.net>
5998
5999	* macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): fix errors in
6000	setting/removing window proxy icons via [wm attributes -titlepath] and
6001	[wm iconbitmap], use HIWindow API on Tiger or later. [Bug 1455241]
6002
6003	* unix/tcl.m4: remove TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING
6004	define on Darwin. [Tcl Bug 1457515]
6005	* unix/configure: autoconf-2.59
6006	* unix/tkConfig.h.in: autoheader-2.59
6007
60082006-04-05  Jeff Hobbs  <jeffh@ActiveState.com>
6009
6010	* generic/tkWindow.c (Initialize): remove impotent use of
6011	DeleteWindowsExitProc as a global exit handler.
6012
6013	* generic/tkMenu.c (TkSetWindowMenuBar): remove extra TkMenuInit call
6014	that caused finalization panic. [Bug 1456851]
6015	* win/tkWinMenu.c (FreeID, TkpNewMenu, MenuExitHandler)
6016	(MenuThreadExitHandler, TkpMenuInit, TkpMenuThreadInit): rework Windows
6017	menu init/finalization to better respect per-process and per-thread
6018	boundaries. [Bug 1456851]
6019	(TkWinMenuKeyObjCmd): Do not error when unknown window is passed in.
6020	[Bug 1236306]
6021
6022	* win/tkWinX.c (TkWinXInit): init default keyboard charset correctly.
6023	[Bug 1374119] (pajas)
6024
6025	* win/tkWinWm.c (WmProc): pass WM_QUERYENDSESSION message to Tk as
6026	WM_SAVE_YOURSELF wm protocol callback.
6027
6028	* tests/textWind.test (textWind-10.6.1): prevent infinite update loop
6029	in case of test failure.
6030
6031	* tests/wm.test (wm-attributes-1.2.4): correct expected result.
6032
6033	* tests/grid.test: fix segfault on empty or "all" index list
6034	* generic/tkGrid.c (GridRowColumnConfigureCommand): [Bug 1422430]
6035
60362006-04-05  Vince Darley  <vincentdarley@users.sourceforge.net>
6037
6038	* generic/tkText.c: fix to crash caused on some platforms by new tests
6039	introduced to check for [Bug 1414171], which destroy the text widget in
6040	the dump callback script.
6041
60422006-03-29  Jeff Hobbs  <jeffh@ActiveState.com>
6043
6044	* generic/tkOption.c (TkOptionDeadWindow): handle OptionThreadExitProc
6045	being called before DeleteWindowsExitProc.
6046
6047	* win/Makefile.in: convert _NATIVE paths to use / to avoid ".\"
6048	path-as-escape issue.
6049
60502006-03-29  Don Porter  <dgp@users.sourceforge.net>
6051
6052	* changes:	Updates for next RC
6053
6054	* unix/tkUnixDefault.h: Changed "Black" to "#000000" and "White" to
6055	"#ffffff" to work around the (broken?) X servers that do not accept
6056	those color names. [Bug 917433]
6057
60582006-03-28  Jeff Hobbs  <jeffh@ActiveState.com>
6059
6060	* unix/tcl.m4, win/tcl.m4: []-quote AC_DEFUN functions.
6061
60622006-03-26  Vince Darley  <vincentdarley@users.sourceforge.net>
6063
6064	* generic/tkText.c:
6065	* tests/text.test: Fix for elaborations of [Bug 1414171] for '$text
6066	dump -command <script>' where script deletes large portions of the
6067	text widget, or even destroys the widget.
6068
60692006-03-28  Daniel Steffen  <das@users.sourceforge.net>
6070
6071	* macosx/Wish.xcode/default.pbxuser:     add '-singleproc 1' cli arg to
6072	* macosx/Wish.xcodeproj/default.pbxuser: tktest to ease test debugging.
6073
6074	* macosx/Wish.xcode/project.pbxproj:     removed $prefix/share from
6075	* macosx/Wish.xcodeproj/project.pbxproj: TCL_PACKAGE_PATH as per change
6076	to tcl/unix/configure.in of 2006-03-13.
6077
6078	* macosx/tkMacOSXDraw.c:   sync whitespace & minor changes with
6079	* macosx/tkMacOSXEvent.h:  core-8-4-branch.
6080	* macosx/tkMacOSXFont.h:
6081	* macosx/tkMacOSXMenu.c:
6082	* macosx/tkMacOSXNotify.c:
6083
60842006-03-27  Don Porter  <dgp@users.sourceforge.net>
6085
6086	* changes:	Updates for next RC
6087
60882006-03-27  Benjamin Riefenstahl  <b.riefenstahl@turtle-trading.net>
6089
6090	* generic/tkTextDisp.c (MeasureChars): Fix calculations of start and
6091	end of string. [Bugs 1325998, 1456157]
6092
60932006-03-27  Donal K. Fellows  <dkf@users.sf.net>
6094
6095	* generic/tkImgGIF.c (FileReadGIF): Stop crashes when the first GIF
6096	frame does not define the overall size of the image. [Bug 1458234]
6097
60982006-03-26  Vince Darley  <vincentdarley@users.sourceforge.net>
6099
6100	* generic/tkText.c:
6101	* generic/tkText.h:
6102	* generic/tkTextBTree.c:
6103	* tests/text.test: Fix for [Bug 1414171] for '$text dump -command
6104	<script>' where 'script' actually modifies the widget during the
6105	process.
6106
61072006-03-25  Daniel Steffen  <das@users.sourceforge.net>
6108
6109	* macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext):
6110	* macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw):
6111	performance improvements, sync similar code, formatting & whitespace.
6112
61132006-03-24  Daniel Steffen  <das@users.sourceforge.net>
6114
6115	* generic/tkTextDisp.c:   Moved #ifdef MAC_OSX_TK code added by
6116	* macosx/tkMacOSXColor.c: [Patch 638966] into platform specific files.
6117	* macosx/tkMacOSXInt.h:
6118
6119	* macosx/tkMacOSX.h:             Cleaned up & rationalized order of
6120	* macosx/tkMacOSXBitmap.c:       #includes of tk and carbon headers.
6121	* macosx/tkMacOSXButton.c:
6122	* macosx/tkMacOSXCarbonEvents.c:
6123	* macosx/tkMacOSXClipboard.c:
6124	* macosx/tkMacOSXColor.c:
6125	* macosx/tkMacOSXConfig.c:
6126	* macosx/tkMacOSXCursor.c:
6127	* macosx/tkMacOSXDialog.c:
6128	* macosx/tkMacOSXDraw.c:
6129	* macosx/tkMacOSXEmbed.c:
6130	* macosx/tkMacOSXEntry.c:
6131	* macosx/tkMacOSXEvent.c:
6132	* macosx/tkMacOSXEvent.h:
6133	* macosx/tkMacOSXFont.h:
6134	* macosx/tkMacOSXHLEvents.c:
6135	* macosx/tkMacOSXInit.c:
6136	* macosx/tkMacOSXInt.h:
6137	* macosx/tkMacOSXKeyEvent.c:
6138	* macosx/tkMacOSXKeyboard.c:
6139	* macosx/tkMacOSXMenu.c:
6140	* macosx/tkMacOSXMenubutton.c:
6141	* macosx/tkMacOSXMenus.c:
6142	* macosx/tkMacOSXMouseEvent.c:
6143	* macosx/tkMacOSXRegion.c:
6144	* macosx/tkMacOSXScale.c:
6145	* macosx/tkMacOSXScrlbr.c:
6146	* macosx/tkMacOSXSend.c:
6147	* macosx/tkMacOSXSubwindows.c:
6148	* macosx/tkMacOSXWindowEvent.c:
6149	* macosx/tkMacOSXWm.c:
6150	* macosx/tkMacOSXWm.h:
6151	* macosx/tkMacOSXXStubs.c:
6152
61532006-03-23  Reinhard Max  <max@tclers.tk>
6154
6155	* unix/tkUnixRFont.c (TkpMeasureCharsInContext): Copied over from
6156	tkUnixFont.c to fix compiling with --enable-xft .
6157
6158	* unix/tk.spec: Cleaned up and completed. An RPM can now be built from
6159	the tk source distribution with "rpmbuild -tb <tarball>".
6160
61612006-03-23  Don Porter  <dgp@users.sourceforge.net>
6162
6163	* tests/textDisp.test: Updated expected error messages to match the
6164	standardized formats established on 2005-11-17. [Bug 1370296]
6165
61662006-03-22  Don Porter  <dgp@users.sourceforge.net>
6167
6168	* changes:	Updates for next RC
6169
61702006-03-21  Daniel Steffen  <das@users.sourceforge.net>
6171
6172	* generic/tkFont.c:             implementation of ATSUI text rendering
6173	* generic/tkInt.h:              in TkAqua provided by Benjamin
6174	* generic/tkTextDisp.c:         Riefenstahl. [Patch 638966]
6175	* library/demos/unicodeout.tcl:
6176	* macosx/tkMacOSXFont.h (new file):
6177	* macosx/tkMacOSXFont.c:
6178	* tests/font.test:
6179	* unix/tkUnixFont.c:
6180	* win/tkWinFont.c:
6181
6182	* generic/tkFont.c:             moved MODULE_SCOPE declarations of font
6183	* generic/tkFont.h:             helper procs into header files.
6184	* macosx/tkMacOSXButton.c:
6185	* macosx/tkMacOSXFont.h:
6186	* macosx/tkMacOSXMenubutton.c:
6187
6188	* macosx/Wish.xcode/project.pbxproj:     add new tkMacOSXFont.h file,
6189	* macosx/Wish.xcodeproj/project.pbxproj: turn off dead code stripping
6190	as it interferes with -sectcreate (rdar://4486223).
6191
6192	* macosx/Wish.xcode/default.pbxuser:     add TCLLIBPATH=/Library/Tcl
6193	* macosx/Wish.xcodeproj/default.pbxuser: env var setting to tktest.
6194
6195	* unix/configure.in: fix detection of symbols build when enabling
6196	TkAqua debug code; filter nm output of libtclstub better to avoid
6197	error on intel macs. [Bug 1415789]
6198	* unix/configure: autoconf-2.59
6199
62002006-03-20  Don Porter  <dgp@users.sourceforge.net>
6201
6202	* generic/tkConsole.c:	Added exit handler to clean up the interp where
6203	the console window lives. Also added code to handle multiple calls to
6204	Tk_CreateConsoleWindow so that the console channels connect to the last
6205	console window opened, in compatibility with the previous
6206	implementation.
6207
62082006-03-18  Vince Darley  <vincentdarley@users.sourceforge.net>
6209
6210	* generic/tkText.c: Fix for undo/modified status of text widgets when
6211	empty strings are inserted and undone.
6212
62132006-03-17  Pat Thoyts  <patthoyts@users.sourceforge.net>
6214
6215	* library/clrpick.tcl:   Avoid using abbreviated sub-commands in core
6216	* library/palette.tcl:   scripts as this can cause problems with
6217	* library/scale.tcl:     mega-widget libraries like snit.
6218	* library/scrlbar.tcl:	 [Bug 1451587]
6219	* library/tkfbox.tcl:
6220	* library/xmfbox.tcl:
6221
62222006-03-16  Don Porter  <dgp@users.sourceforge.net>
6223
6224	* generic/tkConsole.c:	Substantial rewrite of [console] support.
6225	* generic/tkInt.h:	Included Obj-ification of the [console] and
6226	[consoleinterp] commands, and reworking of all the supporting data
6227	structures for cleaner sharing and lifetime management especially in
6228	multi-threaded configurations.
6229
62302006-03-16  Donal K. Fellows  <dkf@users.sf.net>
6231
6232	* library/msgs/pt.msg: Messages for Portuguese (strictly just for
6233	Brazilian Portuguese, but they'll do until we get other Portuguese
6234	speakers localize) from Ricardo Jorge <ricardoj@users.sf.net> and Silas
6235	Justiano <silasj@users.sf.net>. Many thanks! [Bug 1405069]
6236
6237	* generic/tkImgPhoto.c (ImgPhotoCmd, Tk_PhotoPutBlock)
6238	(Tk_PhotoPutZoomedBlock): Added hack to detect copying of a photo with
6239	a simple alpha channel and skip calling ToggleComplexAlphaIfNeeded.
6240	This should speed up many photo-to-photo copies, keeping the cost of
6241	the alpha channel down.
6242
62432006-03-15  Donal K. Fellows  <dkf@users.sf.net>
6244
6245	* generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): Try
6246	to squelch performance issue with code that writes to large images by
6247	single pixels. Masses of thanks to George Staplin for helping to trace
6248	this down to the COMPLEX_ALPHA flag handling code. [Bug 1409140]
6249
62502006-03-13  Don Porter  <dgp@users.sourceforge.net>
6251
6252	* tests/scrollbar.test: Corrected several broken calls to [testmetrics]
6253	that were crashing the test suite.
6254
6255	* tests/constraints.tcl:        Added notAqua constraint to canvPs-3.1
6256	* tests/canvPs.test:            to stop test suite crash on Mac OSX.
6257					[Bug 1088807]
6258
6259	* generic/tkCmds.c:		Purged remaining references to errno,
6260	* macosx/tkMacOSXPort.h:	and errno.h. Standardized the logic
6261	* macosx/tkMacOSXWm.c:		for using header files from the compat
6262	* macosx/tkMacOSXWm.h:		directory. Thanks Joe English for the
6263	* unix/tkUnixPort.h:		patch. [Patch 1445404]
6264
62652006-03-08  Don Porter	<dgp@users.sourceforge.net>
6266
6267	* unix/Makefile.in: Update `make dist` to copy the image files needed
6268	by the test suite into the source distro. This was overlooked in the
6269	2005-10-12 commit.
6270
6271	* changes:	Update in prep. for 8.5a4 release.
6272
62732006-03-07  Joe English  <jenglish@users.sourceforge.net>
6274
6275	* unix/tcl.m4: Set SHLIB_LD_FLAGS='${LIBS}' on NetBSD, as per the other
6276	*BSD variants. [Bug 1334613]
6277	* unix/configure: Regenerated.
6278
62792006-03-07  Donal K. Fellows  <dkf@users.sf.net>
6280
6281	* doc/canvas.n: Added note that stipples are not well-supported on
6282	non-X11 platforms. [Bug 220787] It's not a great solution, but it does
6283	indicate the state of affairs that has existed for years anyway; not
6284	much modern software uses stipples anyway.
6285
62862006-03-02  Jeff Hobbs  <jeffh@ActiveState.com>
6287
6288	* macosx/tkMacOSXDraw.c (TkPutImage): Fix endian issue on OS X x86
6289	displaying images. Bitmap images still have a black/white reversal
6290	issue, appears to be a general OS X issue (as seen in frogger demo).
6291
62922006-02-27  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
6293
6294	* generic/tkBitmap.c (Tk_GetBitmapFromData): Improve thread-safety.
6295	[Bug 470322]
6296
6297	* generic/tkImgBmap.c (ImgBmapConfigureInstance): Force creation of new
6298	Pixmaps before deletion of old ones to prevent stupid caching problems.
6299	[Bug 480862]
6300
63012006-02-09  Daniel Steffen  <das@users.sourceforge.net>
6302
6303	* generic/tk.decls:             fix signature of TkMacOSXInvalClipRgns
6304	* generic/tkPlatDecls.h:        to use Tk_Window instead of internal
6305	* macosx/tkMacOSXSubwindows.c:  type TkWindow (which led to any include
6306	* macosx/tkMacOSXWindowEvent.c: of public header tkMacOSX.h requiring
6307	* macosx/tkMacOSXWm.c:          prior include of tkInt.h).
6308
6309	* generic/tk.h:          move TkAqua specific REDO_KEYSYM_LOOKUP define
6310	* macosx/tkMacOSXPort.h: out of tk.h into platform header.
6311
63122006-01-31  Donal K. Fellows  <dkf@users.sf.net>
6313
6314	* library/bgerror.tcl (::tk::dialog::error::bgerror): Finish the
6315	internationalization of the error dialog. [Bug 1409264]
6316
63172006-01-25  Don Porter	<dgp@users.sourceforge.net>
6318
6319	* library/bgerror.tcl: Updates to use Tcl 8.4 features. [Patch 1237759]
6320	* library/choosedir.tcl:
6321	* library/comdlg.tcl:
6322	* library/console.tcl:
6323	* library/dialog.tcl:
6324	* library/focus.tcl:
6325	* library/msgbox.tcl:
6326	* library/palette.tcl:
6327	* library/tk.tcl:
6328	* library/tkfbox.tcl:
6329	* library/xmfbox.tcl:
6330
63312006-01-23  Daniel Steffen  <das@users.sourceforge.net>
6332
6333	* unix/configure:    minor fix to Darwin specific code removing
6334	* unix/configure.in: 64bit flags from CFLAGS for Tk build.
6335
63362006-01-20  Joe English  <jenglish@users.sourceforge.net>
6337
6338	* generic/tkEvent.c, unix/tkUnixEvent.c: XIM fixes [See 905830, patch
6339	tk84-xim-fixes.patch], and revert 2005-12-05 patch disabling XIM when
6340	SCIM in use, and make sure all X events get passed to XFilterEvent,
6341	including those without a corresponding Tk window.
6342
63432006-01-13  Anton Kovalenko  <a_kovalenko@users.sourceforge.net>
6344
6345	* generic/tkUndo.c (TkUndoSetDepth): Don't free TkUndoSubAtoms for
6346	separator entries that are deleted: there is some unpredictable garbage
6347	instead of subatoms.
6348
6349	Free both 'apply' and 'revert' action chains for non-separator entries.
6350
63512006-01-12  Donal K. Fellows  <dkf@users.sf.net>
6352
6353	TIP #260 IMPLEMENTATION
6354
6355	* generic/tkCanvText.c (TextItem, CreateText, DisplayCanvText):
6356	* doc/canvas.n:		Code, docs and tests to implement an -underline
6357	* tests/canvText.test:	option for canvases' text items.
6358
63592006-01-11  Peter Spjuth  <peter.spjuth@space.se>
6360
6361	* generic/tkGrid.c: Removed a lingering error message from TIP#147
6362	implementation.
6363
63642006-01-10  Daniel Steffen  <das@users.sourceforge.net>
6365
6366	* macosx/tkMacOSXDebug.c: add TkMacOSXGetNamedDebugSymbol() function
6367	* macosx/tkMacOSXDebug.h: that finds unexported symbols in loaded
6368	libraries by manually walking their symbol table; only to be used for
6369	debugging purposes, may break unexpectedly in the future. Needed to get
6370	access to private_extern internal debugging functions in HIToolbox.
6371
6372	* macosx/tkMacOSXCarbonEvents.c: fix debug event tracing on Tiger.
6373	* macosx/tkMacOSXMenu.c: add debug menu printing during reconfigure.
6374	* macosx/tkMacOSXInit.c: conditionalize 64bit-unsafe dyld code.
6375	* macosx/GNUmakefile: add 'wish8.x' symlink to SYMROOT.
6376
6377	* macosx/Wish.xcode/project.pbxproj:     fix copy to tktest resource
6378	* macosx/Wish.xcodeproj/project.pbxproj: fork when zerolinked.
6379
6380	* macosx/Wish.xcode/default.pbxuser:     add widget demo as argument to
6381	* macosx/Wish.xcodeproj/default.pbxuser: executables (on by default).
6382
6383	* unix/configure:    add caching, use AC_CACHE_CHECK instead of
6384	* unix/configure.in: AC_CACHE_VAL where possible, consistent message
6385	* unix/tcl.m4:       quoting, sync relevant tclconfig/tcl.m4 changes
6386	and gratuitous formatting differences, fix SC_CONFIG_MANPAGES with
6387	default argument, Darwin improvements to SC_LOAD_*CONFIG.
6388
63892005-12-28  Donal K. Fellows  <dkf@users.sf.net>
6390
6391	* generic/tkUndo.c (TkUndoSetDepth): Apply [Patch 1391939] from Ludwig
6392	Callewaert to fix [Bug 1380427].
6393
63942005-12-14  Daniel Steffen  <das@users.sourceforge.net>
6395
6396	* macosx/Wish.xcode/project.pbxproj:
6397	* macosx/Wish.xcodeproj/project.pbxproj: add new tclTomMath* files.
6398
63992005-12-13  Daniel Steffen  <das@users.sourceforge.net>
6400
6401	* library/demos/cscroll.tcl: add MouseWheel bindings for aqua.
6402
6403	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
6404	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent)
6405	(GenerateMouseWheelEvent): add support for kEventMouseScroll events
6406	(smooth mouse wheel scrolling from mighty mouse or scrolling trackpad)
6407	by handling kEventMouseWheelMoved on application target as well as on
6408	dispatcher, in order to pick up synthesized MouseWheel events from
6409	HIObject handler (c.f. QA1453); add support for horizontal scrolling
6410	events by generating MouseWheel XEvent with Shift modifier.
6411
64122005-12-12  Jeff Hobbs  <jeffh@ActiveState.com>
6413
6414	* unix/tcl.m4, unix/configure: Fix sh quoting error reported in
6415	bash-3.1+ [Bug 1377619] (schafer)
6416
64172005-12-09  Mo DeJong  <mdejong@users.sourceforge.net>
6418
6419	* win/tkWinWm.c (WinSetIcon): Don't check result of SetClassLong() or
6420	SetClassLongPtr() since it was generating an incorrect error and the
6421	MSDN docs indicate that the result need not be checked.
6422
64232005-12-09  Mo DeJong  <mdejong@users.sourceforge.net>
6424
6425	* win/configure: Regen.
6426	* win/tcl.m4 (SC_CONFIG_CFLAGS): Define MACHINE for gcc builds. The
6427	lack of a definition of this variable in the manifest file was causing
6428	a runtime error in wish built with gcc.
6429
64302005-12-09  Daniel Steffen  <das@users.sourceforge.net>
6431
6432	* generic/tkInt.decls:  Move all platform test sources from tk lib into
6433	* generic/tkTest.c:     tktest directly, removes requirement to export
6434	* macosx/tkMacOSXTest.c:TkplatformtestInit from internal stubs table.
6435	* unix/Makefile.in:
6436	* win/Makefile.in:
6437	* win/makefile.vc:
6438	* win/tkWinTest.c:
6439
6440	* generic/tkIntPlatDecls.h:
6441	* generic/tkStubInit.c: regen.
6442
64432005-12-08  Jeff Hobbs  <jeffh@ActiveState.com>
6444
6445	* win/tcl.m4:       Add build support for Windows-x64 builds.
6446	* win/configure:    --enable-64bit now accepts =amd64|ia64 for
6447	* win/Makefile.in:  Windows 64-bit build variants (default: amd64)
6448	* win/makefile.vc:  [Bug 1369597]
6449	(TKOBJS): add tkWinTest.obj to regular Tk obj for TkplatformtestInit
6450
6451	* win/configure.in: Add CE build support (some C code fixes needed)
6452	* win/wish.exe.manifest.in (new):     manifest must map in MACHINE and
6453	* win/rc/wish.exe.manifest (removed): VERSION to be correct.
6454	* unix/Makefile.in: fix dist target for manifest dir change
6455
6456	* generic/tkTextTag.c (TkTextTagCmd): use correct arraySize for peered
6457	text widgets in [$text tag names]. [Bugs 1375069, 1374935]
6458
64592005-12-08  Daniel Steffen  <das@users.sourceforge.net>
6460
6461	* macosx/tkMacOSXDraw.c:  Remove inclusion of tclInt.h and use of tcl
6462	* macosx/tkMacOSXFont.c:  internals wherever possible in tk/macosx, the
6463	* macosx/tkMacOSXInit.c:  only remaining tcl internals in TkAqua are
6464	* macosx/tkMacOSXNotify.c:TclServiceIdle() in tkMacOSXScrlbr.c and
6465	* macosx/tkMacOSXScrlbr.c:Tcl_Get/SetStartupScript() in tkMacOSXInit.c
6466				  [RFE 1336531]
6467
6468	* macosx/tkMacOSXInt.h: sync comments with core-8-4-branch.
6469
64702005-12-07  Jeff Hobbs  <jeffh@ActiveState.com>
6471
6472	* unix/tkUnixEvent.c (OpenIM): remove extraneous const
6473
64742005-12-06  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
6475
6476	* doc/ConfigWidg.3 (TK_CONFIG_OPTION_SPECIFIED): Mentioned that the
6477	flag is deprecated because it is not thread-safe.
6478
64792005-12-05  Reinhard Max  <max@suse.de>
6480
6481	* unix/tkUnixEvent.c (OpenIM): Added a workaround to allow at least
6482	ASCII and the Compose key when typing into text and entry widgets on a
6483	system that uses SCIM. This has to be taken out again once the SCIM
6484	problems have been fixed.
6485
64862005-12-01  Daniel Steffen  <das@users.sourceforge.net>
6487
6488	* unix/tcl.m4 (Darwin): fixed error when MACOSX_DEPLOYMENT_TARGET unset
6489	* unix/configure: regen.
6490
64912005-11-30  Jeff Hobbs  <jeffh@ActiveState.com>
6492
6493	* win/tkWinWm.c (WmAttributesCmd): set (no)topmost window aspect before
6494	rewrapping. [Bug 1086049]
6495
6496	* macosx/tkMacOSXXStubs.c (TkpOpenDisplay, TkMacOSXDisplayChanged):
6497	* macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent):
6498	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
6499	* macosx/tkMacOSXEvent.h: Trap kEventAppAvailableWindowBoundsChanged
6500	* macosx/tkMacOSXInt.h:   event to watch for change in display size and
6501	adjust internal state appropriately.
6502
6503	* doc/checkbutton.n: fix -selectcolor docs. [Bug 1083838]
6504
6505	* generic/tkImgGIF.c: cast calls to blockOut
6506
6507	* win/Makefile.in: place TCL_BIN_DIR first in PATH for targets to get
6508	Tcl built dll first.
6509	Add tkWinTest.obj to tk84.dll to handle some needed test functions
6510	being defined in stubs (TkplatformtestInit).
6511
6512	* tests/scrollbar.test (6.22): fix rounding-error sensitive test
6513
65142005-11-29  Jeff Hobbs  <jeffh@ActiveState.com>
6515
6516	* library/console.tcl (::tk::ConsoleInit): improve work-around to avoid
6517	'% ' from tclMain.c. [Bug 1252259]
6518
65192005-11-27  Daniel Steffen  <das@users.sourceforge.net>
6520
6521	* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),
6522	add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to
6523	configure (flag can't be present twice, so can't be in both CFLAGS and
6524	LDFLAGS during configure), don't use -prebind when deploying on 10.4,
6525	define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542).
6526	(SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete
6527	autoconf macros. Sync with tcl/unix/tcl.m4.
6528
6529	* unix/configure.in: fix obsolete autoconf macros, sync gratuitous
6530	formatting/ordering differences with tcl/unix/configure.in.
6531
6532	* unix/Makefile.in: add CFLAGS to wish/tktest link to make executable
6533	linking the same as during configure (needed to avoid loosing any
6534	linker relevant flags in CFLAGS, in particular flags that can't be in
6535	LDFLAGS). Avoid concurrent linking of wish and compiling of
6536	tkTestInit.o during parallel make, fix dependencies and flags for
6537	building tkMacOSXInit.o
6538	(checkstubs, checkexports): dependency and Darwin fixes
6539	(dist): add new macosx files.
6540
6541	* macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent):
6542	* macosx/tkMacOSXEvent.h:
6543	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent):
6544	* macosx/tkMacOSXCarbonEvents.c: install standard application event
6545	handler, add & call functions to start and stop carbon even timer that
6546	runs the tcl event loop periodically during a nested carbon event loop
6547	in the toolbox (e.g. during menutracking) to ensure tcl timers etc.
6548	continue to fire, register app event handler for menu tracking and HI
6549	command carbon events, move menu event handling to new handlers for
6550	those carbon events, no longer register for/handle appleevent carbon
6551	event (now dealt with by standard application event handler), event
6552	debugging code dynamically acquires carbon event debugging functions to
6553	allow use on Tiger where they are no longer exported from HIToolbox.
6554
6555	* macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText):
6556	* macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout):
6557	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
6558	* macosx/tkMacOSXInit.c:
6559	* macosx/tkMacOSXInt.h: abstract common code to dynamically acquire
6560	address of a named symbol (from a loaded dynamic library) into new
6561	function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol.
6562
6563	* macosx/tkMacOSXMenu.c (TkpNewMenu):
6564	* macosx/tkMacOSXMenubutton.c (MenuButtonInitControl):
6565	* macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to modern
6566	utf-8 aware menu manager API, remove obsolete code, add error handling.
6567
6568	* macosx/tkMacOSXMenu.c:
6569	* macosx/tkMacOSXMenus.c:
6570	* macosx/tkMacOSXMenubutton.c:
6571	* macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants
6572	if necessary to allow compilation on OSX 10.2
6573
6574	* macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never
6575	executed.
6576
6577	* xlib/xgc.c (XCreateGC): sync with core-8-4-branch change.
6578
6579	* generic/tk.h: add/correct location of version numbers in macosx files
6580
6581	* generic/tkInt.h: clarify fat compile comment.
6582
6583	* macosx/Wish.pbproj/default.pbxuser (new):
6584	* macosx/Wish.pbproj/jingham.pbxuser:
6585	* macosx/Wish.pbproj/project.pbxproj:
6586	* macosx/Wish.xcode/default.pbxuser:
6587	* macosx/Wish.xcode/project.pbxproj:
6588	* macosx/Wish.xcodeproj/default.pbxuser (new):
6589	* macosx/Wish.xcodeproj/project.pbxproj (new): new/updated projects for
6590	Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with
6591	native tktest targets and support for universal (fat) compiles.
6592
6593	* macosx/Tk-Info.plist (removed):
6594	* macosx/Wish-Info.plist (removed):
6595	* macosx/buildTkConfig.tcl (removed): remove obsolete build files.
6596
6597	* macosx/README: clarification/cleanup, document new Xcode projects and
6598	universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time).
6599
6600	* unix/Makefile.in:
6601	* unix/aclocal.m4:
6602	* unix/configure.in:
6603	* macosx/configure.ac (new): add support for inclusion of
6604	unix/configure.in by macosx/configure.ac, allows generation of a
6605	config headers enabled configure script in macosx (required by Xcode
6606	projects).
6607
6608	* macosx/GNUmakefile: rename from Makefile to avoid overwriting by
6609	configure run in tk/macosx, add support for reusing configure cache,
6610	build target fixes.
6611
6612	* generic/tk3d.h:
6613	* generic/tkButton.h:
6614	* generic/tkCanvas.c:
6615	* generic/tkCanvas.h:
6616	* generic/tkColor.h:
6617	* generic/tkEntry.h:
6618	* generic/tkFileFilter.h:
6619	* generic/tkFont.c:
6620	* generic/tkFont.h:
6621	* generic/tkImage.c:
6622	* generic/tkImgPhoto.c:
6623	* generic/tkInt.h:
6624	* generic/tkMenu.c:
6625	* generic/tkMenu.h:
6626	* generic/tkMenubutton.h:
6627	* generic/tkScale.h:
6628	* generic/tkScrollbar.h:
6629	* generic/tkSelect.h:
6630	* generic/tkStubInit.c:
6631	* generic/tkStubLib.c:
6632	* generic/tkText.h:
6633	* generic/tkUndo.h:
6634	* macosx/tkMacOSXButton.c:
6635	* macosx/tkMacOSXDebug.c:
6636	* macosx/tkMacOSXDebug.h:
6637	* macosx/tkMacOSXDialog.c:
6638	* macosx/tkMacOSXDraw.c:
6639	* macosx/tkMacOSXEntry.c:
6640	* macosx/tkMacOSXFont.c:
6641	* macosx/tkMacOSXInt.h:
6642	* macosx/tkMacOSXMenu.c:
6643	* macosx/tkMacOSXMenubutton.c:
6644	* macosx/tkMacOSXMouseEvent.c:
6645	* macosx/tkMacOSXSend.c:
6646	* macosx/tkMacOSXSubwindows.c:
6647	* macosx/tkMacOSXWindowEvent.c:
6648	* macosx/tkMacOSXWm.c:
6649	* macosx/tkMacOSXXStubs.c:
6650	* unix/tkUnixButton.c:
6651	* unix/tkUnixMenu.c:
6652	* xlib/xgc.c: ensure externally visible symbols not contained in stubs
6653	table are declared as MODULE_SCOPE (or as static if not used outside of
6654	own source file), #ifdef out a few Xlib and aqua functions that are
6655	never called. These changes allow 'make checkstubs' to complete without
6656	error on Darwin with gcc 4.
6657
6658	* macosx/tkMacOSXTest.c:
6659	* macosx/tkMacOSXPort.h:
6660	* win/tkWinTest.c:
6661	* generic/tkInt.decls: add functions needed by tktest to internal stubs
6662	table, correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua
6663	Xlib stubs.
6664
6665	* unix/tkUnixSend.c:
6666	* generic/tkText.c:
6667	* generic/tkTest.c: #ifdef unix only declarations.
6668	(TestmetricsCmd): unify win and mac implementation.
6669	(TestsendCmd): move to tkUnixSend.c to avoid access to global var.
6670	(TesttextCmd): move to tkText.c to avoid having to put all the internal
6671	text functions it uses into the stubs table.
6672
6673	* generic/tkTextDisp.c:
6674	* macosx/tkMacOSXInit.c:
6675	* macosx/tkMacOSXKeyEvent.c:
6676	* macosx/tkMacOSXWindowEvent.c:
6677	* macosx/tkMacOSXXStubs.c: fix gcc 4 warnings.
6678
6679	* macosx/tkMacOSXNotify.c:
6680	* macosx/tkMacOSXScrlbr.c: sync with core-8-4-branch.
6681
6682	* generic/tkIntDecls.h:
6683	* generic/tkIntPlatDecls.h:
6684	* generic/tkIntXlibDecls.h:
6685	* generic/tkStubInit.c:
6686	* unix/configure:
6687	* unix/tkConfig.h.in: regen.
6688
66892005-11-22  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
6690
6691	* library/tkfbox.tcl: Remove all references to data(curItem), as it is
6692	no longer used. [Bug 600313]
6693	(::tk::IconList_CurSelection): Renamed for clarity.
6694
6695	* doc/GetFont.3: Revert previous fix; a NULL interp is now legal.
6696	* generic/tkFont.c (ParseFontNameObj, GetAttributeInfoObj): Allow these
6697	functions to work with a NULL interp by making them check when
6698	generating error messages. [Bug 1151523]
6699
6700	* library/tkfbox.tcl (::tk::dialog::file::): Correct the quoting of the
6701	script used in variable traces so that widget names with spaces in will
6702	work. [Bug 1335485]
6703
67042005-11-16  Vince Darley  <vincentdarley@users.sourceforge.net>
6705
6706	* doc/text.n: clarify left to right interpretation of index modifiers,
6707	including the fact that validation occurs after each step. [Bug
6708	1357575]
6709
67102005-11-15  Joe English  <jenglish@users.sourceforge.net>
6711
6712	* unix/tkUnixWm.c, tests/unixWm.test, doc/wm.n: Support for [wm
6713	attributes] on X11. [TIP#231, Patch 1062022]
6714
67152005-11-14  Joe English  <jenglish@users.sourceforge.net>
6716
6717	* library/bgerror.tcl: Truncate error messages at 45 characters
6718	instead of 30. [Bug 1224235]
6719
67202005-11-14  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
6721
6722	* generic/tkSelect.c (TkSelDefaultSelection): Test select-9.5
6723	highlighted further brokenness in this function.
6724
67252005-11-13  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
6726
6727	* unix/tkUnixSelect.c (SelCvtToX): Arrange for the parsing code to use
6728	Tcl's list parsing code, another simplification that enables testing
6729	of the [Bug 1353414] fix.
6730
6731	* unix/tkUnixSelect.c (SelCvtFromX): Generate string forms of the
6732	advanced selection types in a Tcl_DString. This makes fixing [Bug
6733	1353414] trivial, and simplifies the code at the same time.
6734	* tests/select.test (select-9.5): Added test for [Bug 1353414]
6735
67362005-11-10  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
6737
6738	* generic/tkBind.c (ChangeScreen):		More DString fixes from
6739	* generic/tkTextWind.c (EmbWinLayoutProc):	[Bug 1353022]
6740	* win/tkWinMenu.c (SetDefaults):
6741
6742	* win/tkWinDialog.c (ConvertExternalFilename): Factored out the
6743	encoding conversion and de-backslash-ing code that is used in many
6744	places in this file.
6745	(GetFileNameW, GetFileNameA, ChooseDirectoryValidateProc): Make sure
6746	that data is freed correctly and that certain (hopefully impossible)
6747	failure modes won't cause crashes. [Bug 1353022]
6748
67492005-11-06  Pat Thoyts  <pat@zsplat.freeserve.co.uk>
6750
6751	* unix/tcl.m4:    Fix SHLIB_LD_LIBS for building tclkit on OpenBSD.
6752	* unix/configure: regenerated
6753
67542005-10-31  Vince Darley  <vincentdarley@users.sourceforge.net>
6755
6756	* generic/tkText.c
6757	* tests/textDisp.test: fix and test for [Bug 1333951] in '.text count
6758	-displaylines'.
6759
67602005-10-18  Don Porter	<dgp@users.sourceforge.net>
6761
6762	* generic/tkMain.c: Rewrote code that sets the ::argv value to be sure
6763	conversion from the system encoding is complete before any processing
6764	sensitive to list-special characters is done. [Bug 1328926]
6765
67662005-10-17  Jeff Hobbs  <jeffh@ActiveState.com>
6767
6768	* macosx/tkMacOSXScrlbr.c (UpdateControlValues): check geomMgrPtr is
6769	valid before checking type
6770
67712005-10-15  Jeff Hobbs  <jeffh@ActiveState.com>
6772
6773	* library/menu.tcl (::tk::MenuUnpost): remove leftover ] from string
6774	equal mods of 2005-07-25. (sowadsky)
6775
67762005-10-14  Pat Thoyts  <patthoyts@users.sourceforge.net>
6777
6778	* win/tkWinSend.c:    Avoid using tcl internal headers and fix to
6779	* win/tkWinSendCom.h: correctly link on all types of build (was
6780	* win/tkWinSendCom.c: broken in static,msvcrt builds).
6781
67822005-10-12  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
6783
6784	* tests/canvPs.test, tests/canvPsBmap.tcl, tests/canvPsImg.tcl:
6785	* tests/imgPhoto.test, tests/menu.test: Arrange for the test suite to
6786	only ever refer to images in the same directory as the tests. This
6787	makes it possible to package the test suite itself as a starkit. Thanks
6788	to David Zolli for suggesting this.
6789
67902005-10-10  Jeff Hobbs  <jeffh@ActiveState.com>
6791
6792	* generic/tkConfig.c (Tk_DeleteOptionTable, Tk_CreateOptionTable):
6793	properly alloc/delete one more option. [Bug 1319720] (melbardis)
6794
6795	* macosx/tkMacOSXInt.h: Move MODULE_SCOPE defn to tkInt.h and add
6796	* generic/tkInt.h:      WORDS_BIGENDIAN checks that will work with OS X
6797	universal binary compiles. (steffen)
6798
6799	* generic/tkMenu.c (TkSetWindowMenuBar): do not call TkMenuInit if the
6800	winPtr indicates TK_ALREADY_DEAD. This prevents reinit that creates a
6801	Tk exit handler after all exit handlers should be called. [Bug 749908,
6802	1322294]
6803
68042005-10-10  Vince Darley  <vincentdarley@users.sourceforge.net>
6805
6806	TIP #256 IMPLEMENTATION
6807
6808	* doc/text.n
6809	* generic/tkText.c
6810	* generic/tkText.h
6811	* generic/tkTextBTree.c
6812	* generic/tkTextDisp.c
6813	* generic/tkTextImage.c
6814	* generic/tkTextIndex.c
6815	* generic/tkTextMark.c
6816	* generic/tkTextTag.c
6817	* generic/tkTextWind.c
6818	* macosx/tkMacOSXDefault.h
6819	* tests/text.test
6820	* tests/textDisp.test
6821	* unix/tkUnixDefault.h
6822	* win/tkWinDefault.h: Implementation of TIP#256, adding a new text
6823	widget configuration option '-tabstyle', with new tests and
6824	documentation.
6825
6826	Also a fix for [Bug 1281228] (documentation and full implementation of
6827	-strictlimits), and [Bug 1288677] (corrected elide behaviour), again
6828	with more tests.
6829
68302005-10-04  Jeff Hobbs  <jeffh@ActiveState.com>
6831
6832	* library/dialog.tcl (::tk_dialog): add tkwait visibility before grab.
6833	[Bug 1216775]
6834
6835	* win/tkWinDialog.c (ChooseDirectoryValidateProc): reset stored path to
6836	"" if it doesn't exist and -mustexist is true. [Bug 1309218] Remove
6837	old-style dir chooser (no longer used).
6838
6839	* macosx/tkMacOSXInt.h: add MODULE_SCOPE definition check for extension
6840	writers that access private headers on OS X and don't define it in
6841	configure.
6842
68432005-09-28  Don Porter	<dgp@users.sourceforge.net>
6844
6845	* unix/tkUnixPort.h:	Disabled inclusion of the private Tcl header
6846	* win/tkWinPort.h:	file tclInt.h. Tk ought to have a tiny and
6847	shrinking number of calls of private Tcl routines. Each Tk source file
6848	doing this should follow the convention in the macosx port and have its
6849	own #include "tclInt.h".
6850
6851	* generic/tkEvent.c:	Disabled calls to private Tcl routine
6852	TclInExit(). See comment in TkCreateExitHandler() for full rationale.
6853
68542005-09-21  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
6855
6856	* generic/tkEvent.c (TkCreateThreadExitHandler, TkFinalizeThread)
6857	(TkDeleteThreadExitHandler): New internal API (from Joe Mistachkin) to
6858	allow Tk to finalize itself correctly in a multi-threaded
6859	environment. [Bug 749908]
6860
68612005-09-14  Donal K. Fellows  <dkf@users.sf.net>
6862
6863	* generic/tkOldConfig.c (GetCachedSpecs): Split out the code to
6864	manipulate the cached writable specs so that it can be reused from all
6865	the public Tk_Configure* functions.
6866	(Tk_ConfigureInfo, Tk_ConfigureWidget, Tk_ConfigureValue): Use the
6867	factored out code everywhere, so we always manipulate the cache
6868	correctly. [Bug 1288128]
6869
68702005-09-13  Don Porter	<dgp@users.sourceforge.net>
6871
6872	* win/winMain.c (WishPanic): Replaced TCL_VARARGS* macros with direct
6873	use of stdarg.h conventions.
6874
68752005-09-11  Daniel Steffen  <das@users.sourceforge.net>
6876
6877	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): check if
6878	process is in front on MouseDown, otherwise request process activation
6879	from BringWindowForward() via new isFrontProcess param.
6880
6881	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): register
6882	our event handler on the dispatcher target for all carbon events of
6883	interest to TkAqua; this replaces event processing directly from the
6884	event queue and thus allows to capture events that are syntesized by
6885	Carbon and sent directly to the dispatcher and not to the event queue.
6886
6887	* macosx/tkMacOSXEvent.c: remove TkMacOSXCountAndProcessMacEvents(),
6888	rename ReceiveAndProcessEvent() to TkMacOSXReceiveAndProcessEvent().
6889	(TkMacOSXReceiveAndProcessEvent): remove tk event processing before
6890	sending events to the dispatcher, all events of interest are now
6891	processed in our dispatcher target event handler.
6892
6893	* macosx/tkMacOSXNotify.c (CarbonEventsCheckProc): dispatch events
6894	directly via TkMacOSXReceiveAndProcessEvent(), but dispatch no more
6895	than four carbon events at one time to avoid starving other event
6896	sources.
6897
6898	* macosx/tkMacOSXEvent.c: formatting cleanup, move XSync() to XStubs,
6899	* macosx/tkMacOSXEvent.h: removed obsolete kEventClassWish handling.
6900	* macosx/tkMacOSXXStubs.c
6901
6902	* macosx/tkMacOSXEvent.h: declare macosx internal procs as MODULE_SCOPE
6903	* macosx/tkMacOSXEvent.c:
6904	* macosx/tkMacOSXKeyEvent.c:
6905	* macosx/tkMacOSXMouseEvent.c:
6906	* macosx/tkMacOSXWindowEvent.c:
6907
6908	* macosx/tkMacOSXButton.c: conditionalize all debug message printing to
6909	* macosx/tkMacOSXCursor.c: stderr via TK_MAC_DEBUG define.
6910	* macosx/tkMacOSXDebug.c:
6911	* macosx/tkMacOSXDebug.h:
6912	* macosx/tkMacOSXDialog.c:
6913	* macosx/tkMacOSXEvent.c:
6914	* macosx/tkMacOSXInit.c:
6915	* macosx/tkMacOSXKeyEvent.c:
6916	* macosx/tkMacOSXMenu.c:
6917	* macosx/tkMacOSXMenubutton.c:
6918	* macosx/tkMacOSXScale.c:
6919	* macosx/tkMacOSXWindowEvent.c:
6920	* macosx/tkMacOSXWm.c:
6921
6922	* unix/configure.in: define TK_MAC_DEBUG on aqua when symbols enabled.
6923	* unix/configure: autoconf-2.59
6924	* unix/tkConfig.h.in: autoheader-2.59
6925
6926	* library/listbox.tcl: synced aqua MouseWheel bindings with
6927	* library/scrlbar.tcl: core-8-4-branch.
6928	* library/text.tcl:
6929
6930	* xlib/xcolors.c: fixed warning
6931
69322005-08-25  Daniel Steffen  <das@users.sourceforge.net>
6933
6934	* unix/Makefile.in (html): reverted/amended changes of 2005-08-23 that
6935	broke TkAqua 'make install'; added BUILD_HTML_FLAGS optional var like
6936	in tcl/unix/Makefile.in.
6937
69382005-08-24  Donal K. Fellows  <dkf@users.sf.net>
6939
6940	* tests/text.test (text-8.18): Fix punctuation of error message to
6941	match good practice (actual message already fixed). [Bug 1267484]
6942
69432005-08-23  Jeff Hobbs  <jeffh@ActiveState.com>
6944
6945	* macosx/tkMacOSXDialog.c: make dialogs ignore -initialfile "" and
6946	-initialdir "" instead of error.
6947
69482005-08-23  Mo DeJong  <mdejong@users.sourceforge.net>
6949
6950	* win/tkWin32Dll.c (DllMain): Replace old asm SEH approach with Kenny's
6951	new SEH implementation. [Tcl Bug 1235544]
6952
69532005-08-23  Mo DeJong  <mdejong@users.sourceforge.net>
6954
6955	* unix/Makefile.in: Subst BUILD_TCLSH and TCL_EXE.
6956	* unix/configure: Regen.
6957	* unix/configure.in: Update minimum autoconf version to 2.59. Invoke
6958	SC_PROG_TCLSH and SC_BUILD_TCLSH.
6959	* unix/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
6960	* win/Makefile.in: Subst BUILD_TCLSH and TCL_EXE.
6961	* win/configure: Regen.
6962	* win/configure.in: Update minimum autoconf version to 2.59. Invoke
6963	SC_BUILD_TCLSH.
6964	* win/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH): Split confused search
6965	for tclsh on PATH and build and install locations into two macros.
6966	SC_PROG_TCLSH searches just the PATH. SC_BUILD_TCLSH determines the
6967	name of the tclsh executable in the Tcl build directory. [Tcl Bug
6968	1160114] [Tcl Patch 1244153]
6969
69702005-08-22  Daniel Steffen  <das@users.sourceforge.net>
6971
6972	* macosx/tkMacOSXButton.c:
6973	* macosx/tkMacOSXDialog.c: fix warnings.
6974
69752005-08-20  Joe Mistachkin  <joe@mistachkin.com>
6976
6977	* win/tkWinX.c: Fixed bad cast. [Bug 1216006]
6978
69792005-08-18  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
6980
6981	* doc/GetFont.3: Reworded to reflect the truth. [Bug 1151523]
6982
69832005-08-16 George Peter Staplin  <GeorgePS@XMission.com>
6984
6985	* doc/CrtItemType.3 prototypes were lacking [] after objv. Thus the man
6986	page was wrong about the actual prototypes. This was verified by
6987	studying tkCanvBmap.c.
6988
69892005-08-13 Chengye Mao  <chengye.geo@yahoo.com>
6990
6991	* generic/tkOldConfig.c: Fixed [Bug 1258604]. This bug was introduced
6992	into the modfied Tk_ConfigureWidget. It failed to properly handle the
6993	specFlags' bit TK_CONFIG_OPTION_SPECIFIED.
6994
69952005-08-12  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
6996
6997	* generic/tkOldConfig.c (Tk_ConfigureWidget): Stop storing per-thread
6998	data in global data structures. Store it in per-interpreter data (i.e.
6999	per-thread data) instead. [Bug 749908]
7000
70012005-08-10  Donal K. Fellows  <dkf@users.sf.net>
7002
7003	* generic/tkFrame.c (CreateFrame) and others: Don't use size_t when
7004	working with Tcl_GetStringFromObj because it is not 64-bit clean. [Bug
7005	1252702]
7006
70072005-08-04  Vince Darley  <vincentdarley@users.sourceforge.net>
7008
7009	* doc/text.n: Clarify behaviour of tab stops (as per [Bug 1247835])
7010
70112005-08-09  Daniel Steffen  <das@users.sourceforge.net>
7012
7013	* macosx/tkMacOSXCarbonEvents.c (AppEventHandlerProc): handle carbon
7014	events sent directly to application event target via the general
7015	TkMacOSXProcessEvent() in the same way as events posted to the event
7016	loop. Moved existing app event handlers to tkMacOSXWindowEvent.c.
7017	(TkMacOSXInitCarbonEvents): register our application event handler for
7018	kEventWindowExpanded events to deal with uncollapsing from the dock.
7019
7020	* macosx/tkMacOSXEvent.h: made TkMacOSXProcessEvent() non-static, added
7021	* macosx/tkMacOSXEvent.c: new interp field to TkMacOSXEvent struct for
7022				  use by app event handler.
7023
7024	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): retrieve
7025	current window, partCode, modifiers and local cursor position from
7026	carbon mouse event if possible. Use new static GenerateButtonEvent()
7027	taking a MouseEventData struct instead of TkGenerateButtonEvent() to
7028	avoid recomputing already known values. Move process activation on
7029	MouseDown into BringWindowForward() to allow clicking on window
7030	titlebar widgets without activating process. Move code dealing with
7031	clicks in window titelbar into separate function
7032	HandleWindowTitlebarMouseDown() to avoid code duplication. Avoid
7033	repeated calls to TkMacOSXGetXWindow() by storing result in
7034	MouseEventData struct.
7035	(TkMacOSXButtonKeyState, XQueryPointer): try to get button and modifier
7036	state from currently processed carbon event (to avoid unnecessary IPC
7037	with the window server), otherwise use modern carbon API to get this
7038	info instead of Button() and GetKeys(); only retrieve info caller asks
7039	for (via non-NULL ptr passed to XQueryPointer).
7040	(ButtonModifiers2State): new static function converting carbon button
7041	and modifier state into tk state, allows detection of more than 3 mouse
7042	buttons (tk supports up to 5) and of NumLock and Fn modifier keys
7043	(NumLock is mapped to Mod3 and Fn to Mod4).
7044
7045	* macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent):
7046	handle kEventWindowExpanded event to deal with window uncollapsing from
7047	the dock by generating tk Map event, handle kEventAppHidden and
7048	kEventAppShown events (moved here from tkMacOSXCarbonEvents.c).
7049
7050	* macosx/tkMacOSXSubwindows.c (XUnmapWindow): only hide window when it
7051	is not iconified to avoid window flashing on collapse.
7052
7053	* macosx/tkMacOSXWm.c: replaced Tk_DoWhenIdle() by Tcl_DoWhenIdle().
7054	(TkMacOSXZoomToplevel): remove call to TrackBox(), now done in
7055	HandleWindowTitlebarMouseDown() in tkMacOSXMouseEvent.c.
7056	(TkpWmSetState): avoid window flashing on collapse by unmapping after
7057	calling CollapseWindow(); only uncollapse window if it is collapsed.
7058
7059	* generic/tkInt.decls: changed TkMacOSXZoomToplevel() signature.
7060	* generic/tkIntPlatDecls.h:
7061
7062	* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only call
7063	GetMenuItemCommandID() on KeyDown or KeyRepeat events.
7064
7065	* macosx/tkMacOSXMenu.c (ReconfigureMacintoshMenu): remove call to
7066	obsolete AppendResMenu() API.
7067
7068	* macosx/tkMacOSXKeyEvent.c: replaced all direct uses of expensive
7069	* macosx/tkMacOSXMenu.c:     GetMouse() and TkMacOSXButtonKeyState()
7070	* macosx/tkMacOSXMenus.c:    APIs by calls to XQueryPointer()
7071	* macosx/tkMacOSXMouseEvent.c:
7072	* macosx/tkMacOSXScale.c:
7073	* macosx/tkMacOSXScrlbr.c:
7074	* macosx/tkMacOSXWm.c:
7075
7076	* macosx/tkMacOSXDialog.c:   replaced use of FrontNonFloatingWindow()
7077	* macosx/tkMacOSXKeyEvent.c: by ActiveNonFloatingWindow() as
7078	* macosx/tkMacOSXMenu.c:     recommended by Carbon docs.
7079	* macosx/tkMacOSXMenus.c:
7080	* macosx/tkMacOSXSubwindows.c:
7081	* macosx/tkMacOSXWm.c:
7082
7083	* macosx/tkMacOSXDialog.c: fixed warnings
7084	* macosx/tkMacOSXTest.c:
7085
7086	* macosx/tkMacOSXCarbonEvents.c: added CVS Id line to file header.
7087	* macosx/tkMacOSXDebug.c:
7088	* macosx/tkMacOSXDebug.h:
7089	* macosx/tkMacOSXEntry.c:
7090	* macosx/tkMacOSXEvent.h:
7091	* macosx/tkMacOSXKeyEvent.c:
7092	* macosx/tkMacOSXMouseEvent.c:
7093	* macosx/tkMacOSXWindowEvent.c:
7094	* macosx/tkMacOSXWm.h:
7095
7096	* macosx/tkMacOSXInt.h: declare macosx internal procs as MODULE_SCOPE.
7097	* macosx/tkMacOSXCarbonEvents.c:
7098	* macosx/tkMacOSXDraw.c:
7099	* macosx/tkMacOSXFont.c:
7100	* macosx/tkMacOSXHLEvents.c:
7101	* macosx/tkMacOSXInit.c:
7102	* macosx/tkMacOSXWindowEvent.c
7103
7104	* library/bgerror.tcl: sync with core-8-4-branch changes of 2005-07-28.
7105	* macosx/tkMacOSXDraw.c:
7106	* macosx/tkMacOSXWm.c:
7107	* macosx/tkMacOSXMouseEvent.c:
7108
7109	* generic/tkFrame.c:   sync with core-8-4-branch changes of 2005-07-27.
7110	* generic/tkIntDecls.h:
7111	* generic/tkStubInit.c:
7112	* generic/tkFrame.c:
7113	* win/tkWinDraw.c:
7114	* unix/tkUnixDraw.c:
7115	* macosx/tkMacOSXDraw.c:
7116	* macosx/tkMacOSXInt.h:
7117	* macosx/tkMacOSXWm.c:
7118	* macosx/tkMacOSXSubwindows.c:
7119
7120	* macosx/tkMacOSXButton.c: sync with core-8-4-branch.
7121	* macosx/tkMacOSXEntry.c:
7122	* macosx/tkMacOSXScale.c:
7123
7124	* library/demos/menu.tcl: removed errant '}'.
7125
71262005-08-04  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
7127
7128	* doc/clipboard.n: Add example demonstrating custom types of clipboard
7129	data.
7130
71312005-07-25  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
7132
7133	* library/*.tcl: Updated to use more 8.4 and 8.5 features as part of
7134	resolving [Patch 1237759].
7135
71362005-07-22  Mo DeJong  <mdejong@users.sourceforge.net>
7137
7138	* win/tkWinX.c: Define _WIN32_WINNT with NT SP 3 data to fix compiler
7139	error because SendInput was not defined. The new msys_mingw7 release is
7140	now needed to compile the HEAD with mingw gcc. [Bug 1210712]
7141
71422005-07-21  Jeff Hobbs	<jeffh@ActiveState.com>
7143
7144	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): corrected if
7145	expression error (use of = instead of ==).
7146
71472005-07-18  Vince Darley  <vincentdarley@users.sourceforge.net>
7148
7149	* generic/tkTextMark.c: fix to segfault in "mark prev"
7150	* tests/textIndex.test: [Bug 1240221]
7151
7152	* tests/textWind.test: make test more robust to avoid infinite loop
7153
71542005-07-06  Jeff Hobbs	<jeffh@ActiveState.com>
7155
7156	* doc/getOpenFile.n: correct -multiple docs (takes boolean)
7157
71582005-07-05  Don Porter	<dgp@users.sourceforge.net>
7159
7160	* unix/Makefile.in:	Purged use of TCLTESTARGS. [RFE 1161550]
7161
71622005-06-23  Daniel Steffen  <das@users.sourceforge.net>
7163
7164	* generic/tkConsole.c (TkConsolePrint): prevent potential NULL deref.
7165
7166	* macosx/tkMacOSXDefault.h: change ENTRY_BORDER defaults to from 5 to 2
7167	to make default entry widgets in TkAqua look like in other aqua apps
7168	(and have same border dimensions as other platforms). [Bug 1176610]
7169
71702005-06-21  Donal K. Fellows  <dkf@users.sf.net>
7171
7172	* doc/GetBitmap.3: Fix silly error in SYNOPSIS. [Bug 1224983]
7173
71742005-06-19  Donal K. Fellows  <dkf@users.sf.net>
7175
7176	* generic/tkImgGIF.c: Cleanse all static (i.e. non-thread-safe) data
7177	at a miniscule performance hit.
7178
71792005-06-18  Daniel Steffen  <das@users.sourceforge.net>
7180
7181	* macosx/Makefile: for X11 build, add -X11 suffix to unversioned wish
7182	symbolic link.
7183
7184	* unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to
7185	ensure we can always relocate binaries with install_name_tool.
7186
7187	* unix/configure: autoconf-2.59
7188
71892005-06-07  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
7190
7191	Bump patchlevel to a4 to distinguish from a3 release.
7192
71932005-06-04  Jeff Hobbs	<jeffh@ActiveState.com>
7194
7195	*** 8.5a3 TAGGED FOR RELEASE ***
7196
71972005-06-02  Jim Ingham	<jingham@apple.com>
7198
7199	* generic/tkEvent.c (InvokeFocusHandlers): On Mac OS X the scrollwheel
7200	events are sent to the window under the mouse, not to the focus window
7201
7202	Another patch from M. Kirkham.
7203
7204	* macosx/tkMacOSXScrlbr.c (ThumbActionProc, ScrollBarBindProc): Record
7205	the first mouse down point, and compute differences from that, rather
7206	than getting the mouse down each time through the loop. The old method
7207	would get fooled if you moved the mouse less than a text line height in
7208	the text widget. [Bug 1083728]
7209
72102005-06-03  Daniel Steffen  <das@users.sourceforge.net>
7211
7212	* macosx/Makefile: fixed 'embedded' target.
7213
72142005-06-02  Reinhard Max  <max@suse.de>
7215
7216	* unix/tkUnix.c (Tk_GetUserInactiveTime): Improvements to get it
7217	working on Solaris, and panic if we run out of memory.
7218	* unix/configure.in: Rework the searching for Xss, to make it work on
7219	Solaris and provide more useful output. Use AC_HELP_STRING where
7220	appropriate.
7221	* unix/tcl.m4: synced from Tcl.
7222	* unix/configure: regenerated with autoconf 2.59.
7223
72242005-06-01  Jeff Hobbs	<jeffh@ActiveState.com>
7225
7226	* win/tkWinInt.h: added private decls of Tk_GetEmbeddedMenuHWND,
7227	Tk_GetMenuHWND, TkWinCleanupContainerList, and TkpWmGetState to that
7228	are used across source files.
7229
7230	* win/tkWinX.c (Tk_ResetUserInactiveTime): cast to squelch compiler
7231	warning.
7232
72332005-05-31  Reinhard Max  <max@suse.de>
7234
7235	* doc/Inactive.3 (new file): C level API documentationn for
7236	TIP#245 (Tk_GetUserInactiveTime, Tk_ResetUserInactiveTime).
7237	* tests/tk.test: Added tests for the TIP#245 implementation.
7238
72392005-05-30  Jeff Hobbs	<jeffh@ActiveState.com>
7240
7241	* generic/tkPanedWindow.c, tests/panedwindow.test: batch of fixes to
7242	panedwindow from Daniel South. Improved auto-size to fit internal
7243	windows, fixed sash placement at edge of pane, fixed calculation of
7244	stretch amount for internal windows. [Bug 1124198, 1161543, 1054117,
7245	1010941, 795869, 690169, 1192323]
7246
7247	* generic/tkMenu.c (MenuCmd): create event handler earlier to ensure
7248	proper destruction of menu through DestroyNotify. [Bug 1159367]
7249
7250	* library/console.tcl (::tk::ConsoleInit): print out first prompt and
7251	swallow the extra "% " that comes once from Tcl on Windows.
7252
72532005-05-29  Daniel Steffen  <das@users.sourceforge.net>
7254
7255	* macosx/tkMacOSXFont.c: use Tcl_Panic instead of panic.
7256
7257	* unix/configure.in: added description of HAVE_XSS for autoheader.
7258	* unix/configure: autoconf-2.59
7259	* unix/tkConfig.h.in: autoheader-2.59
7260
7261	* macosx/Wish.pbproj/project.pbxproj:
7262	* macosx/Wish.xcode/project.pbxproj: added missing FRAMEWORK defines
7263	introduced with configure/make based build.
7264
7265	* macosx/tkMacOSXInit.c:
7266	* macosx/tkMacOSXNotify.c: fixed warnings.
7267
7268	* generic/tkDecls.h:
7269	* generic/tkIntPlatDecls.h:
7270	* generic/tkPlatDecls.h:
7271	* generic/tkStubInit.c: ran missing 'make genstubs' for TIP245 changes
7272	to tk.decls
7273
7274	* macosx/tkMacOSXXStubs.c (Tk_ResetUserInactiveTime): use symbolic
7275	constant argument in call to UpdateSystemActivity();
7276
7277	* macosx/Wish.pbproj/project.pbxproj:
7278	* macosx/Wish.xcode/project.pbxproj:
7279	* unix/configure.in: added/corrected linking to IOKit.framework for
7280	TIP245.
7281
7282	* unix/configure.in: skip X11 configure checks when building tk_aqua.
7283	* unix/configure: autoconf-2.59
7284
72852005-05-28  Donal K. Fellows  <dkf@users.sf.net>
7286
7287	TIP #245 IMPLEMENTATION from Reinhard Max <max@suse.de>
7288
7289	* doc/tk.n: Documentation of [tk inactivity].
7290	* win/tkWinX.c (Tk_GetUserInactiveTime, Tk_ResetUserInactiveTime):
7291	* unix/tkUnix.c (Tk_GetUserInactiveTime, Tk_ResetUserInactiveTime):
7292	* macosx/tkMacOSXXStubs.c:	Implementations of the core API for
7293	(Tk_GetUserInactiveTime):	determining how long as user's left
7294	(Tk_ResetUserInactiveTime):	her machine alone.
7295	* unix/configure.in: Test for XScreenSaver support.
7296	* generic/tkCmds.c (Tk_TkObjCmd): Implementation of [tk inactivity].
7297
72982005-05-27  Todd Helfter  <tmh@users.sourceforge.net>
7299
7300	* library/menu.tcl: correct the sticky behavior of menus posted by
7301	tk_popup so that they "stick" after the initial <ButtonRelease>
7302	following the post, that is not over an active menu entry.
7303
73042005-05-26  Daniel Steffen  <das@users.sourceforge.net>
7305
7306	* macosx/tkMacOSXInit.c (TkpInit): fixed resource file extraction from
7307	__tk_rsrc section to work with non-prebound .dylib and .bundle.
7308
7309	* macosx/Makefile: corrected EMBEDDED_BUILD check, use separate Tcl and
7310	Tk version vars to properly support tk/x11 framework version
7311	overriding, rewrite tkConfig.sh when overriding tk version, corrected
7312	Wish.app symlink in tk build dir.
7313
7314	* unix/configure.in: corrected framework finalization to softlink stub
7315	library to Versions/8.x subdir instead of Versions/Current.
7316	* unix/configure: autoconf-2.59
7317
73182005-05-25  Jeff Hobbs	<jeffh@ActiveState.com>
7319
7320	* unix/Makefile.in (install-libraries): protect possible empty list in
7321	for with list= trick for older shells.
7322
73232005-05-23  Jeff Hobbs	<jeffh@ActiveState.com>
7324
7325	* generic/tkFileFilter.c (FreeGlobPatterns): s/null/NULL/
7326
73272005-05-24  Daniel Steffen  <das@users.sourceforge.net>
7328
7329	* generic/tkTest.c: disable commands not available on TkAqua.
7330
7331	* macosx/Makefile:
7332	* macosx/README:
7333	* macosx/Tk-Info.plist.in (new file):
7334	* macosx/Wish-Info.plist.in (new file):
7335	* unix/Makefile.in:
7336	* unix/configure.in:
7337	* unix/tcl.m4:
7338	* unix/tkUnixInit.c: moved all Darwin framework and TkAqua build
7339	support from macosx/Wish.pbproj and macosx/Makefile into the standard
7340	unix configure/make buildsystem, the project and macosx/Makefile are no
7341	longer required to build Tk.framework and/or TkAqua. TkAqua is now
7342	enabled by the --enable-aqua configure option, and static and
7343	non-framework builds of TkAqua are now available via the standard
7344	configure switches. Tk/X11 can also be built as a framework. The
7345	macosx/Makefile now wraps the unix buildsystem and no longer uses the
7346	projects, embedded builds are still only available via this Makefile,
7347	but for other builds it is not longer required (but its current
7348	functionality is still available for backwards compatibility). The
7349	projects currently do not call through to the Makefile to build (unlike
7350	Tcl.pbproj) so project builds may differ from makefile builds. Due to
7351	issues with spaces in pathnames, 'Wish Shell.app' has been renamed to
7352	'Wish.app', the macosx/Makefile installs backwards compatibility
7353	symlinks for the old name.
7354	* macosx/tkMacOSXInit.c (TkpInit): added support for Tk resource file
7355	in non-framework and static builds: the resource file is copied into a
7356	__tk_rsrc MachO section of the library or executable at link time and
7357	extracted into a temporary location at initialization.
7358	* unix/configure: autoconf-2.59
7359	* unix/tkConfig.h.in (new file): autoheader-2.59
7360
7361	* macosx/Wish.pbproj/project.pbxproj:
7362	* macosx/Tk-Info.plist:
7363	* macosx/Wish-Info.plist:
7364	* macosx/tkAboutDlg.r: updated copyright years to 2005.
7365
73662005-05-22  Donal K. Fellows  <dkf@users.sf.net>
7367
7368	* generic/tkFileFilter.c (TkGetFileFilters): Add all filters, not just
7369	the first one. [Bug 1206133]
7370
73712005-05-15  Jim Ingham	<jingham@apple.com>
7372
7373	Fixes from Michael Kirkham:
7374
7375	* macosx/tkMacOSXMenu.c (TkpConfigureMenuEntry): Thinko in clearing the
7376	ENTRY_ACCEL_MASK before re-parsing it. [Bug 1012852]
7377
7378	* macosx/tkMacOSXScrlbr.c (UpdateControlValues): Don't set the control
7379	value BEFORE setting the min and max or the control manager will reset
7380	it for you. [Bug 1202181]
7381
7382	* macosx/tkMacOSXXStubs.c (TkMacOSXXGetPixel, TkMacOSXXPutPixel):
7383	Restore the port to what it was before putting we were called. [Bug
7384	1202223]
7385
73862005-05-14  Jim Ingham  <jingham@apple.com>
7387
7388	* macosx/tkMacOSXScrlbr.c (ThumbActionProc): Missing Tcl_Release.
7389
73902005-05-14  Daniel Steffen  <das@users.sourceforge.net>
7391
7392	* macosx/tkMacOSXInit.c:
7393	* macosx/tkMacOSXNotify.c: introduction of new tcl notifier based on
7394	CFRunLoop allows replacement of the custom TkAqua notifier by a
7395	standard tcl event source. Removes requirement of threaded tcl core
7396	for TkAqua, allows to stub-link TkAqua against Tcl by removing use of
7397	the unstubbed TclInitNotifier & TclFinalizeNotifier. [Tcl Patch
7398	1202052]
7399
7400	* macosx/Wish.xcode/project.pbxproj:
7401	* macosx/Wish.pbproj/project.pbxproj: stub-link TkAqua: build with
7402	USE_TCL_STUBS and link against libtclstub instead of Tcl.framework,
7403	unexport libtclstub symbols from Tk to avoid duplicate symbol warnings
7404	when linking with both Tcl and Tk, fixes for gcc4.0 warnings.
7405
7406	* macosx/Wish.xcode/project.pbxproj: sync with Wish.pbproj changes
7407	since 2004-11-19.
7408	NOTE: to use this project, need to uncomment the tclConfig.h settings
7409	at the top of tcl/unix/configure.in, autoconf and rebuild tcl !
7410
7411	* macosx/tkMacOSXBitmap.c:
7412	* macosx/tkMacOSXButton.c:
7413	* macosx/tkMacOSXDialog.c:
7414	* macosx/tkMacOSXFont.c:
7415	* macosx/tkMacOSXHLEvents.c:
7416	* macosx/tkMacOSXInit.c:
7417	* macosx/tkMacOSXKeyboard.c:
7418	* macosx/tkMacOSXMenu.c:
7419	* macosx/tkMacOSXMenubutton.c:
7420	* macosx/tkMacOSXWm.c:
7421	* macosx/tkMacOSXXStubs.c: fixed gcc 4.0 warnings.
7422
7423	* unix/tcl.m4: sync with tcl
7424	* unix/configure: autoconf-2.59
7425
74262005-05-10  Vince Darley  <vincentdarley@users.sourceforge.net>
7427
7428	* library/text.tcl: test and fix to TextPrevPara to avoid infinite loop
7429	* tests/textIndex.test: at start of widget. [Bug 1191895]
7430
7431	* generic/tkTextDisp.c: better synchronisation between explicit and
7432	implicit pixel line-height calculations. [Bug 1186558]
7433
74342005-05-10  Don Porter	<dgp@users.sourceforge.net>
7435
7436	* generic/tkTextDisp.c (GetXView): Improved numerical precision of
7437	calculation of [.t xview] return values.
7438	* tests/textDisp.test: Match greater precisions of [.t xview] and
7439	[.t yview] values in tests.
7440
74412005-05-06  Jeff Hobbs	<jeffh@ActiveState.com>
7442
7443	* unix/configure: regen
7444	* unix/configure.in: Add AC_C_BIGENDIAN check and pkg-config xft checks
7445	to extend xft search.
7446	* unix/tcl.m4: Correct Solaris 10 (5.10) check and add support for
7447	x86_64 Solaris cc builds.
7448
74492005-04-28  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
7450
7451	* macosx/tkMacOSXNotify.c (TkMacOSXWaitForEvent): Fix for typo in
7452	waitTime computation. [Bug 1191097]
7453	(AlertNotifier): Factor out the core of the notifier alerting code.
7454
74552005-04-25  Daniel Steffen  <das@users.sourceforge.net>
7456
7457	* macosx/tkMacOSXNotify.c: sync with tclUnixNotfy.c changes since
7458	2004-06-22, added compile time check for threaded tcl core, removed
7459	unthreaded code paths as they are never used anyway, fixed
7460	TkMacOSXAlertNotifier() implementation.
7461
7462	* unix/Makefile.in: added TCL_STUB_LIB_FILE, needed for unexporting of
7463	symbols from libtclstub to avoid duplicate symbol warnings.
7464
7465	* unix/tcl.m4 (Darwin): added configure checks for recently added
7466	linker flags -single_module and -search_paths_first to allow building
7467	with older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD
7468	and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of
7469	symbols from libtclstub to avoid duplicate symbol warnings, added
7470	PLAT_SRCS definition for Mac OS X, defined MODULE_SCOPE to
7471	__private_extern__.
7472	(SC_MISSING_POSIX_HEADERS): added caching of dirent.h check.
7473
7474	* unix/configure: autoconf-2.59
7475
74762005-04-22  George Peter Staplin  <GeorgePS@XMission.com>
7477
7478	* doc/FontId.3: I fixed a typo. "linespace" was used instead of
7479	"ascent". I also added a .PP before the paragraph to make the
7480	formatting look better for the ascent paragraph.
7481
74822003-04-18  Joe English	 <jenglish@users.sourceforge.net>
7483
7484	* unix/tkUnixRFont.c(Tk_MeasureChars): Use Tcl_UtfToUnichar() for lax
7485	UTF-8 parsing instead of strict parsing with FcUtf8ToUcs4()
7486	[fix/workaround for Bug 1185640]
7487
74882003-04-18  Vince Darley  <vincentdarley@users.sourceforge.net>
7489
7490	* library/text.tcl
7491	* doc/text.n: corrected 'Home' and 'End' and Control-a/e handling to
7492	work with display lines. This was an ommission of the previous tip155
7493	patch. Clarified the documentation on this point.
7494
74952005-04-14  Jeff Hobbs	<jeffh@ActiveState.com>
7496
7497	* unix/tkUnixFont.c (FontMapLoadPage): reorder char[] decls to avoid
7498	possible segv. Minimal fix for [Bug 1122671]
7499
75002005-04-12  Jeff Hobbs	<jeffh@ActiveState.com>
7501
7502	* library/tkfbox.tcl (::tk::dialog::file::): fix typeMenuLab ref. Add
7503	undoc'd ::tk::dialog::file::showHiddenBtn var (default 0) that will add
7504	a "Show Hidden" checkbutton to tk_get*File and tk_chooseDirectory if
7505	set to true.
7506	* library/choosedir.tcl (::tk::dialog::file::chooseDir::): fix
7507	cancelBtn ref, add hiddenBtn ref for "Show Hidden" button.
7508
75092005-04-09  Daniel Steffen  <das@users.sourceforge.net>
7510
7511	* macosx/README: updated requirements for OS & developer tool versions
7512	+ other small fixes/cleanup.
7513
7514	* macosx/tkMacOSXEntry.c (ComputeIncDecParameters): manually define
7515	constants present only in 10.3 headers so that we can build on 10.2.
7516
7517	* macosx/Wish.pbproj/project.pbxproj: fixed absolute path to tkEntry.h
7518	that confused 10.2 PBX.
7519
7520	* unix/tcl.m4 (Darwin): added -single_module linker flag to
7521	TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS.
7522	* unix/configure: autoconf-2.59
7523
75242005-04-07  Mo DeJong  <mdejong@users.sourceforge.net>
7525
7526	* macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap,
7527	(TkWmStackorderToplevel):
7528	* unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap,
7529	(TkWmStackorderToplevel):
7530	* win/tkWinWm.c (TkWmStackorderToplevelWrapperMap,
7531	(TkWmStackorderToplevel):
7532	Fix panic in wm stackorder when a toplevel is created on another
7533	display. The code now ignores toplevels that have a display that does
7534	not match the display of the parent window. [Bug 1152809]
7535
75362005-04-06  Donal K. Fellows  <dkf@users.sf.net>
7537
7538	* doc/wm.n, doc/winfo.n, doc/tk.n, doc/send.n, doc/selection.n:
7539	* doc/radiobutton.n, doc/photo.n, doc/options.n, doc/menu.n:
7540	* doc/listbox.n, doc/getOpenFile.n, doc/font.n, doc/event.n:
7541	* doc/entry.n, doc/clipboard.n, doc/checkbutton.n, doc/canvas.n:
7542	* doc/button.n, doc/bind.n, doc/TextLayout.3, doc/MeasureChar.3:
7543	* doc/GetRelief.3, doc/GetPixels.3, doc/GetJustify.3, doc/GetFont.3:
7544	* doc/GetCursor.3, doc/GetColor.3, doc/GetBitmap.3, doc/GetAnchor.3:
7545	* doc/FontId.3, doc/CrtWindow.3, doc/CrtImgType.3, doc/ConfigWidg.3:
7546	* doc/3DBorder.3: Purge old .VS/.VE macro instances.
7547
75482005-04-04  Don Porter	<dgp@users.sourceforge.net>
7549
7550	* library/comdlg.tcl: Added Macintosh file type validation to
7551	[::tk::FDGetFileTypes]. [Bug 1083878] (Thanks, Vince Darley)
7552
75532005-04-04  Vince Darley  <vincentdarley@users.sourceforge.net>
7554
7555	* generic/tkText.c:
7556	* tests/text.test: fix to elide searching problems [Bug 1174269] and
7557	disappearing cursor with insertofftime 0. [Bug 1169429]
7558
75592005-04-03  Peter Spjuth  <peter.spjuth@space.se>
7560
7561	* tests/grid.test:
7562	* generic/tkGrid.c: Fixed bug in geometry calculations for widgets that
7563	span multiple columns/row. Bug was introduced in 8.5a1 when fixing
7564	792387. [Bug 1175092]
7565
75662005-03-29  Jeff Hobbs	<jeffh@ActiveState.com>
7567
7568	* win/tcl.m4, win/configure: do not require cygpath in macros to allow
7569	msys alone as an alternative.
7570
75712005-03-27  Vince Darley  <vincentdarley@users.sourceforge.net>
7572
7573	* tests/textDisp.test: added test for fix of 2005-03-15.
7574
75752005-03-24  Jim Ingham	<jingham@apple.com>
7576
7577	* macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): Dopey bug - do
7578	not reset the width for entry widgets - we didn't change it for them.
7579
75802005-03-23  Jim Ingham	<jingham@apple.com>
7581
7582	These changes allow us to draw the Entry and Spinbox widget with a
7583	native look and feel on Mac OS X.
7584
7585	* generic/tkEntry.h: New file, extracting the definitions of Entry and
7586	Spinbox.
7587	* generic/tkEntry.c (DisplayEntry): Call out to TkpDrawSpinboxButtons
7588	and TkpDrawEntryBorderAndFocus. Also provide default implementations
7589	for X11 & Win.
7590	* macosx/tkMacOSXEntry.c: New file, implements the entry & focus and
7591	spinbox button drawing.
7592	* tkMacOSXDefaults.h: Change the Mac OS X defaults so they fit the
7593	native widget shapes.
7594
7595	This is cleanup thanks to Neil Madden <nem@cs.nott.ac.uk>.
7596
7597	* macosx/tkMacOSXWm.c (TkMacOSXWinStyle) New function.
7598	(TkUnsupported1ObjCmd): New function, replaces the un-objectified
7599	version of the command.
7600	* generic/tkInt.h: Swap TkUnsupported1Cmd for TkUnsupported1ObjCmd.
7601	* generic/tkWindow.c (): Ditto.
7602
7603	This adds a "-notify" flag to "wm attributes" that will bounce the
7604	dock icon on Mac OS X.	This is from Revar Desmera <revarbat@gmail.com>
7605
7606	* macosx/tkMacOSXWm.c (WmAttrGetNotifyStatus, WmAttrSetNotifyStatus):
7607	New functions.
7608	(WmAttributesCmd): Add the -notify.
7609	* doc/wm.n: Document -notify.
7610
76112005-03-19  Donal K. Fellows  <dkf@users.sf.net>
7612
7613	* generic/tkConsole.c (Tk_CreateConsoleWindow,TkConsolePrint): Rewrite
7614	so that TkConsolePrint cannot become detached from the console when the
7615	[console] command is renamed. [Bug 1016385]
7616
76172005-03-15  Vince Darley  <vincentdarley@users.sourceforge.net>
7618
7619	* generic/tkTextDisp.c: fix for [Bug 1143776] in adjusting displayed
7620	lines when running into the bottom of the window.
7621
76222005-03-14  Jim Ingham	<jingham@apple.com>
7623
7624	* macosx/tkMacOSXScrlbr.c (ThumbActionProc): No need to use "update
7625	idletasks" here, TclServiceIdle will do as well and it is simpler.
7626
7627	These changes implement a change on the Mac OS X side. When we unmap a
7628	window we mark all its children as unmapped (not following toplevels.
7629	But we preserve whether they had been mapped before, and when the
7630	parent is remapped, we remap the children as well. [Bug 940117]
7631
7632	* macosx/tkMacOSXInt.h: Added TK_MAPPED_IN_PARENT
7633	* macosx/tkMacOSXSubwindows.c (FixMappingFlags): New function.
7634	(XMapWindow): Call FixMappingFlags.
7635	(XUnMapWindow): Ditto.
7636
7637	* macosx/tkMacOSXSubwindows.c (XMoveResizeWindow): Update the xOff &
7638	yOff data in the Macdrawable even if the native window hasn't been
7639	created yet. [Bug 700305]
7640	(XMoveWindow): Ditto.
7641	(XResizeWindow): Ditto.
7642
76432005-03-15  Pat Thoyts	<patthoyts@users.sourceforge.net>
7644
7645	* unix/tcl.m4:	  Updated the OpenBSD configuration and regenerated the
7646	* unix/configure: configure script.
7647
76482005-03-14  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
7649
7650	* generic/tkEvent.c (InvokeClientMessageHandlers): Ensure that client
7651	messages are handled correctly. Thanks to George Petasis for tracking
7652	this down. [Bug 1162356]
7653
76542005-03-11  Jim Ingham	<jingham@apple.com>
7655
7656	* macosx/tkMacOSXButton.c (TkpDisplayButton): Set the port to the
7657	Button window's port BEFORE you set the clip, otherwise you are setting
7658	the clip on the wrong window!
7659	Also, a little cleanup - move x & y into the branches where they are
7660	used, and don't compute the TextAnchor if we are using the native
7661	button text, since we aren't going to use it.
7662	(TkMacOSXDrawControl): Call ShowControl & SetControlVisibility in a
7663	more logical order.
7664
7665	* tkMacOSXInt.h: Add TkMacOSXGenerateFocusEvent.
7666	* tkMacOSXSubwindows.c (XDestroyWindow): We don't get Activate events
7667	for the remaining windows when a Floating window is destroyed. This can
7668	cause the focus to disappear. So catch this case when the window is
7669	being destroyed and move the focus here.
7670
7671	* tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): Make this public
7672	(used to be GenerateFocusEvent) since we need it here and in
7673	tkMacOSXSubwindows.c. Then change the name everywhere it is used. [Bug
7674	1124237]
7675
76762005-03-10  Jim Ingham	<jingham@apple.com>
7677
7678	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): In the
7679	inDrag section, set the GrafPort to the drag window's GrafPort before
7680	doing LocalToGlobal. [Bug 1160025]
7681
76822005-03-09  Jim Ingham	<jingham@apple.com>
7683
7684	* macosx/tkMacOSXInit.c (TkpInit): Check to see if the environment
7685	variable XCNOSTDIN is set, and if so, close stdin & stdout. This is
7686	necessary to make remote debugging under Xcode work properly.
7687
76882005-03-08  Jeff Hobbs	<jeffh@ActiveState.com>
7689
7690	* win/tkWinWm.c (WinSetIcon): fix GCLP_ICONSM -> GCLP_HICONSM.
7691
7692	* win/makefile.vc: clarify necessary defined vars that can come from
7693	MSVC or the Platform SDK.
7694
76952005-02-28  Jeff Hobbs	<jeffh@ActiveState.com>
7696
7697	* win/tkWinX.c (GenerateXEvent): correct %A translation on MouseWheel.
7698	[Bug 1118340]
7699
77002005-02-24  Daniel Steffen  <das@users.sourceforge.net>
7701
7702	* macosx/tkMacOSX.h: fixed incorrect inclusion of internal header.
7703	* macosx/tkMacOSXNotify.c: corrected included headers.
7704
77052005-02-22  Daniel Steffen  <das@users.sourceforge.net>
7706
7707	* macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd, NavServicesGetFile):
7708	fixed encoding problems with -initialfile & -filetypes and corrected
7709	potential buffer overrun with -initialdir/-initialfile. [Bug 1146057]
7710
77112005-02-16  Mo DeJong  <mdejong@users.sourceforge.net>
7712
7713	TIP#223 IMPLEMENTATION
7714
7715	* doc/wm.n: Add documentation for -fullscreen attribute.
7716	* tests/winWm.test: Add -fullscreen to wm attribute usage message.
7717	* tests/wm.test: Add -fullscreen to wm attribute usage message. Add
7718	-fullscreen attribute test cases for Windows.
7719	* win/tkWinWm.c (WmInfo, UpdateWrapper, TkpWmSetFullScreen)
7720	(WmAttributesCmd, UpdateGeometryInfo):
7721	Implement TIP 223 [wm attributes -fullscreen].
7722
77232005-02-14  Vince Darley  <vincentdarley@users.sourceforge.net>
7724
7725	* generic/tkText.c:
7726	* generic/tkText.h:
7727	* generic/tkTextDisp.c:
7728	* generic/tkTextIndex.c:
7729	* generic/tkTextBTree.c:
7730	* doc/text.n:
7731	* tests/textDisp.test:
7732	* tests/textIndex.test: fix of longstanding elide problem when eliding
7733	a newline without eliding the entire logical line. [Bug 443848]
7734
77352005-02-14  Jeff Hobbs	<jeffh@ActiveState.com>
7736
7737	* doc/options.n: note -cursor {} behavior. [Bug 965618]
7738
77392005-02-14  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
7740
7741	* tests/all.tcl: Add a [package require Tk] so that a missing display
7742	causes an early failure and keeps the error trace short. Issue observed
7743	in [FRQ 11122147], even though that's unrelated.
7744
77452005-02-11  Jeff Hobbs	<jeffh@ActiveState.com>
7746
7747	* library/panedwindow.tcl (::tk::panedwindow::Cursor): check window
7748	existence on delayed call. [Bug 949792]
7749
7750	* doc/text.n: note 'image' key in 'dump' command. [Bug 1115907]
7751
7752	* win/tkWinWm.c (TkWinGetIcon): fix toplevel retrieval for determining
7753	icon ref (potential crash). [Bug 1105738]
7754
7755	* generic/tkCanvBmap.c (ConfigureBitmap, ComputeBitmapBbox): Fixed
7756	possible crash with disabled bmap and bbox handling [Bug 1119460]
7757	(BitmapToPostscript): made aware of various bitmap types
7758
7759	* unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlined into
7760	* unix/tcl.m4:	    SHLIB_LD). Combine AIX-* and AIX-5 branches in
7761	* unix/configure:   SC_CONFIG_CFLAGS. Correct gcc builds for AIX-4+ and
7762	HP-UX-11. autoconf-2.59 gen'd.
7763
77642005-02-09  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
7765
7766	* tests/wm.test: Convert to use more tcltest2 features.
7767
77682005-02-07  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
7769
7770	* generic/tkCanvas.c (CanvasWidgetCmd): Fix stupid mistake in variable
7771	names, reported by Andreas Leitgeb.
7772
77732005-02-03  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
7774
7775	* generic/tkCanvas.c (GetStaticUids): New function to manage the
7776	thread-specific data detailing the list of all uids in a thread.
7777	(typeList): Protect this (the other piece of global data) with a mutex.
7778	[Bug 1114977]
7779
77802005-01-31  Jeff Hobbs	<jeffh@ActiveState.com>
7781
7782	* unix/tcl.m4, unix/configure: add solaris-64 gcc build support. [Bug
7783	1021871]
7784
77852005-01-31  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
7786
7787	* generic/tkImgPhoto.c (PhotoFormatThreadExitProc): Made the comments
7788	in the code more relevant to the function they were documenting! [Bug
7789	1110553]
7790
7791	* library/msgs/es_ES.msg: Added more localization for Spanish Spanish.
7792	[Bug 1111213]
7793
77942005-01-25  Daniel Steffen  <das@users.sourceforge.net>
7795
7796	* macosx/tkMacOSXInit.c (TkpInit): set tcl_interactive to 1 to show
7797	console at startup instead of directly calling [console show].
7798
7799	* unix/tcl.m4 (Darwin): fixed bug with static build linking to dynamic
7800	library in /usr/lib etc instead of linking to static library earlier in
7801	search path. [Tcl Bug 956908]
7802	Removed obsolete references to Rhapsody.
7803	* unix/configure: autoconf-2.57
7804
78052005-01-18  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
7806
7807	* library/demos/menu.tcl: Reworked to make dialogs children of the
7808	demo widget so that they are properly visible. Issue reported by Keith
7809	Nash <k.j.nash@usa.net>
7810
78112005-01-13  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
7812
7813	* library/tkfbox.tcl (IconList_Selection, IconList_Create):
7814	(IconList_Arrange): Assorted tk_getOpenFile fixes. [part of Bug 600313]
7815	(IconList_ShiftMotion1): Also fix shift-drag.
7816
78172005-01-12  Don Porter	<dgp@users.sourceforge.net>
7818
7819	* unix/tcl.m4:		Sync'ed to Tcl's copy.
7820	* unix/configure:	autoconf-2.57
7821
78222005-01-12  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
7823
7824	* doc/event.n: Added section on predefined virtual events. [Bug 608115]
7825
78262005-01-11  Vince Darley  <vincentdarley@users.sourceforge.net>
7827
7828	* generic/tkTextDisp.c: fix to scrollbar height calculations of text
7829	widgets containing a single very long (wrapped) line. This fixes at
7830	least part of [Bug 1093631].
7831
78322005-01-11  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
7833
7834	* generic/tkObj.c (TkParsePadAmount):
7835	* generic/tkPack.c: Moved function to tkObj.c and rewrote so that it
7836	takes advantage of Tcl_Objs properly and cannot leave objects in an
7837	inconsistent state. [Bug 1098779]
7838
78392005-01-10  Joe English	 <jenglish@users.sourceforge.net>
7840
7841	* unix/Makefile.in, unix/configure.in, unix/tkConfig.sh.in:
7842	Remove ${DBGX}, ${TK_DBGX} from Tk build system. [Patch 1081595]
7843	* unix/tcl.m4: re-synced with tcl/unix/tcl.m4
7844	* unix/configure: Regenerated.
7845
78462005-01-07  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
7847
7848	* generic/tkWindow.c (GetScreen): Make sure the result is reset on all
7849	error paths to stop strange errors. [Bug 697915]
7850
78512005-01-05  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
7852
7853	* doc/loadTk.n, doc/toplevel.n: Convert to other form of emacs mode
7854	control comment to prevent problems with old versions of man. [Bug
7855	1085127]
7856
78572005-01-03  Jeff Hobbs	<jeffh@ActiveState.com>
7858
7859	* win/tkWinWm.c (TkWinWmCleanup): clean up layered window class. This
7860	caused crash in reinit of Tk (as seen in plugin).
7861
7862	******************************************************************
7863	*** CHANGELOG ENTRIES FOR 2004 AND 2003 IN "ChangeLog.2004"    ***
7864	*** CHANGELOG ENTRIES FOR 2002 AND EARLIER IN "ChangeLog.2002" ***
7865	******************************************************************
7866