12007-12-30  Donal K. Fellows  <dkf@users.sf.net>
2
3	* doc/canvas.n: Documented exact behaviour of items with respect to
4	when they are the current item. [Bug 1774593] Also documented the
5	clipping behaviour of window items.
6
7	* library/demos/nl.msg: Corrected following testing "in the field" by
8	Arjen Markus. [Bug 1860802]
9
102007-12-17  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
11
12	*** 8.5.0 TAGGED FOR RELEASE ***
13
14	* doc/canvas.n: Documented -outlineoffset item option. [Bug 1836621]
15
162007-12-14  Don Porter  <dgp@users.sourceforge.net>
17
18	* changes:	More updates for 8.5.0 release.
19
202007-12-14  Joe English  <jenglish@users.sourceforge.net>
21
22	* doc/ttk_treeview.n: Fix typo. [Bug 1850713]
23
242007-12-14  Pat Thoyts  <patthoyts@users.sourceforge.net>
25
26	* win/tkWinInt.h:    Add in missing function definitions
27	* win/tkWinButton.c:  to support plain MSVC6 and use INT_PTR
28	* win/tkWinScrlBar.c: rather than LONG_PTR which isn'tr defined
29	* win/tkWinWm.c:     in the msvc6 headers.
30
312007-12-14  Pat Thoyts <patthoyts@users.sourceforge.net>
32
33	* win/nmakehlp.c:  Support compilation with MSVC9 for AMD64.
34	* win/makefile.vc:
35
362007-12-13  Jeff Hobbs  <jeffh@ActiveState.com>
37
38	* generic/tkMenubutton.c (ConfigureMenuButton): trace the
39	-textvariable even if an image exists as it may use -compound.
40
412007-12-12  Jeff Hobbs  <jeffh@ActiveState.com>
42
43	* generic/tkText.c (DeleteIndexRange, TextEditCmd, UpdateDirtyFlag):
44	* tests/text.test (text-25.10.1,25.11.[12]):
45	Don't require [update idle] to trigger Modified event [Bug 1809538]
46	Modified virtual event should only fire on state change [Bug 1799782]
47	Make sure we delete chars before triggering <<Modified>> [Bug 1737288]
48
492007-12-12  Daniel Steffen  <das@users.sourceforge.net>
50
51	* macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): Revert 2007-10-26
52	change to window class of transient toplevels that are not also
53	overrideredirect. [Bug 1845899]
54
55	* macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): Implement more
56	* macosx/tkMacOSXMouseEvent.c (BringWindowForward): X11-like transient
57	* macosx/tkMacOSXSubwindows.c (XDestroyWindow):  behaviour by
58	adding transient windows to a window group owned by the master window,
59	this ensures transients always remain in front of and are collapsed
60	with the master; bring master to front when selecting transient
61	windows; restore default window group of transients if master
62	destroyed. [Bug 1845899]
63
642007-12-12  Joe English  <jenglish@users.sourceforge.net>
65
66	* doc/ttk_intro.n, doc/ttk_style.n, doc/ttk_widget.n:
67	Various minor updates.
68
692007-12-12  Don Porter  <dgp@users.sourceforge.net>
70
71	* changes:		Updated for 8.5.0 release.
72
732007-12-11  Joe English  <jenglish@users.sourceforge.net>
74
75	* generic/ttk/ttkTheme.c (StyleElementOptionsCmd): Use
76	Ttk_GetElement() to find element instead of direct hash table access.
77
782007-12-11  Donal K. Fellows  <dkf@users.sf.net>
79
80	* generic/tkText.c (TextReplaceCmd): Added code to rebuild the from
81	index after the deletion phase so that the linePtr field is valid for
82	the insertion phase. [Bug 1602537]
83
842007-12-10  Donal K. Fellows  <dkf@users.sf.net>
85
86	* doc/event.n: Clarify the fact that [event info] only returns the
87	names of virtual events that are bound to physical event sequences.
88	This follows on from comments on comp.lang.tcl.
89	http://groups.google.com/group/comp.lang.tcl/msg/935d2d226ae8a770
90
912007-12-10  Joe English  <jenglish@users.sourceforge.net>
92
93	* doc/AddOption.3, doc/CrtImgType.3, doc/CrtPhImgFmt.3,
94	* doc/InternAtom.3, doc/TextLayout.3, doc/chooseColor.n,
95	* doc/chooseDirectory.n, doc/loadTk.n, doc/palette.n,
96	* doc/ttk_combobox.n: Various markup fixes (mostly: missing quotes on
97	.SH arguments, extraneous .PPs)
98
99	* doc/ttk_entry.n, doc/ttk_scrollbar.n, doc/ttk_treeview.n: Remove
100	extra .BEs that got added by mistake somewhere.
101
1022007-12-10  Daniel Steffen  <das@users.sourceforge.net>
103
104	* generic/tk.decls:		use new genstubs 'export' command to
105	* generic/tkInt.decls:		mark exported symbols not in stubs
106					table [FR 1716117]; cleanup formatting
107
108	* generic/tkIntDecls.h:		regen with new genStubs.tcl.
109	* generic/tkIntPlatDecls.h:	[Tcl Bug 1834288]
110	* generic/tkIntXlibDecls.h:
111	* generic/tkPlatDecls.h:
112	* generic/tkStubInit.c:
113
1142007-12-10  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
115
116	* tests/safe.test: Ensure list of hidden commands is correct. [Bug
117	1847925]
118
1192007-12-10  Pat Thoyts  <patthoyts@users.sourceforge.net>
120
121	* win/tkWin.h: We must specify the lowest Windows version we intend to
122	support. In particular the SystemParametersInfo API doesn't like to
123	receive structures that are larger than it expects which affects the
124	font assignements. Set to Win98 support.
125
126	* win/tkWinFont.c: Handle failure to read the system parameters. This
127	causes ttk/fonts.tcl to set any missing named fonts.
128
129	* win/ttkWinMonitor.c:  Only tkWin.h should include windows.h unless
130	* win/ttkWinTheme.c:    we have an explicit override of the WINVER
131	* tin/ttkWinXPTheme.c:  macro.
132
133	* win/rules.vc: Handle MSVC 9 (aka: Visual Studio 2008)
134
135	* tests/safe.test: Update for 'unload' as a safe command (tcl 8.5b3+)
136
1372007-12-09  Donal K. Fellows  <dkf@users.sf.net>
138
139	* win/configure.in: Adjusted code so that running configure does not
140	generate an error message when the full current directory name
141	contains a space.
142
143	* win/tkWinWm.c: Added set of #defs to make this file build with my
144	version of the SDK (i.e. with the msys suite we distribute).
145
1462007-12-07  Joe English  <jenglish@users.sourceforge.net>
147
148	* library/ttk/altTheme.tcl, library/ttk/classicTheme.tcl:
149	s/style/ttk::style/.
150
1512007-12-07  Don Porter  <dgp@users.sourceforge.net>
152
153	* unix/README:  Mention the stub library created by `make` and warn
154	about the effect of embedded paths in the installed binaries. Thanks
155	to Larry Virden. [Tcl Bug 1794084]
156
1572007-12-05  Joe English  <jenglish@users.sourceforge.net>
158
159	* macosx/ttkMacOSXTheme.c: Fix TCombobox layout so as not to truncate
160	long text when combobox is wider than requested. [Bug 1845164]
161
1622007-12-05  Jeff Hobbs  <jeffh@ActiveState.com>
163
164	* library/demos/widget: reduce start size to 70% of screenheight from
165	sh-200 for a more reasonable size.
166
167	* win/tkWinButton.c, win/tkWinDialog.c: use SetWindowLongPtr and
168	* win/tkWinScrlbr.c, win/tkWinWm.c:  GetWindowLongPtr only.
169	* win/ttkWinMonitor.c:
170
171	* win/tkWinInt.h: remove CS_CLASSDC (not recommended for any apps now)
172	* win/tkWinX.c:   and simplify WNDCLASS to one style.
173	* win/tkWinWm.c:  Reduce wrapper update for exStyle to toolwindow
174	change only and set WS_EX_LAYERED as sticky (once set on a window, do
175	not remove it) to reduce alpha transition flicker.
176
177	* win/configure, win/tcl.m4 (LIBS_GUI): mingw needs -lole32 -loleaut32
178	but not msvc for Tk's [send]. [Bug 1844749]
179
1802007-12-04  Joe English  <jenglish@users.sourceforge.net>
181
182	* doc/ttk_style.n: Remove nonsense about "this manpage has not yet
183	been written"; everything supported is documented.
184
1852007-12-04  Donal K. Fellows  <dkf@users.sf.net>
186
187	* library/msgs/en.msg: Added missing messages. [Patch 1800744]
188
189	* library/msgs/da.msg: Added Danish messages. [Patch 1844143]. Many
190	thanks to Torsten Berg <treincke@users.sf.net>.
191
1922007-12-03  Jeff Hobbs  <jeffh@ActiveState.com>
193
194	* win/configure, win/tcl.m4 (LIBS_GUI): remove ole32.lib oleaut32.lib
195	(LIBS): add ws2_32.lib for static builds with Tcl.
196
1972007-12-01  Joe English  <jenglish@users.sourceforge.net>
198
199	* generic/ttk/ttkTheme.h, generic/ttk/ttkThemeInt.h,
200	* generic/ttk/ttkTheme.c, generic/ttk/ttkLayout.c,
201	* generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c,
202	* generic/ttk/ttkTreeview.c, macosx/ttkMacOSXTheme.c,
203	* win/ttkWinTheme.c, win/ttkWinXPTheme.c: Improved macrology for
204	statically-initialized layout template tables.
205
2062007-11-28  Don Porter  <dgp@users.sourceforge.net>
207
208	* unix/tkUnixPort.h:	When unix/configure determines whether the
209	intptr_t type is available, it has the <inttypes.h> header present.
210	It's only fair that we let Tk have it too.
211
2122007-11-26  Kevin Kenny  <kennykb@acm.org>
213
214	* generic/tkImgPPM.c (StringReadPPM): Corrected a comparison whose
215	sense was reversed that resulted in reading beyond the end of the
216	input buffer on malformed PPM data. [Bug 1822391]
217	* library/tkfbox.tcl (VerifyFileName): Corrected a couple of typos in
218	handling of bad file names. [Bug 1822076] Thanks to Christoph Bauer
219	(fridolin@users.sf.net) for the patch.
220	* tests/filebox.test (filebox-7.1, filebox-7.2): Added test cases that
221	exercise. [Bug 1822076]
222	* tests/imgPPM.test (imgPPM-4.1): Added test case that exercises. [Bug
223	1822391]
224
2252007-11-25  Joe English  <jenglish@users.sourceforge.net>
226
227	* generic/ttk/ttkManager.h, generic/ttk/ttkManager.c,
228	* generic/ttk/ttkFrame.c, generic/ttk/ttkNotebook.c,
229	* generic/ttk/ttkPanedwindow.c:  Internal Ttk_Manager API updates;
230	Fixed [Bug 1343984]; Added [$nb hide] method; [$nb add] on
231	already-managed windows no longer throws an error, can be used to
232	re-add a hidden tab.
233
234	* doc/ttk_notebook.n, tests/ttk/notebook.test,
235	* tests/ttk/panedwindow.test:  Updated docs and test suite.
236
2372007-11-23  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
238
239	* unix/README: General improvements.
240
2412007-11-21  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
242
243	* library/tkfbox.tcl: Better theming in the file list area.
244
2452007-11-19  Don Porter  <dgp@users.sourceforge.net>
246
247	*** 8.5b3 TAGGED FOR RELEASE ***
248
249	* README:		Bump version number to 8.5b3.
250	* generic/tk.h:
251	* library/tk.tcl:
252	* unix/configure.in:
253	* unix/tk.spec:
254	* win/configure.in:
255
256	* unix/configure:	autoconf-2.59
257	* win/configure:
258
259	* changes:		Update changes for 8.5b3 release.
260
2612007-11-19  Pat Thoyts  <patthoyts@users.sourceforge.net>
262
263	* generic/ttk/ttkTheme.c:	Fix crash when 'style element create'
264	* tests/ttk/ttk.test:		called w/ insufficient args; add tests.
265
2662007-11-18  Joe English  <jenglish@users.sourceforge.net>
267
268	* generic/ttk/ttkElements.c, macosx/ttkMacOSXTheme.c: Add "fill"
269	element: like "background" but only erases parcel.
270
271	* generic/ttk/ttkFrame.c: Use fill element in Labelframe Label
272	sublayout. Also improved default labelmargins for -labelanchor w*, e*.
273
274	* generic/ttk/ttkLabel.c: no longer need Labelframe hack.
275
276	* library/ttk/aquaTheme.tcl: ImageTextElement no longer needed.
277	TextElement no longer needs '-background' option.
278
279	* generic/ttk/ttkFrame.c: Use sublayout for ttk::labelframe labels
280	instead of single element.
281
282	* generic/ttk/ttkLabel.c: Default -anchor for text and label elements
283	is now "w" instead of "center". [Bug 1614540]
284
285	* library/ttk/defaults.tcl, library/ttk/*Theme.tcl: Button styles now
286	need explicit "-anchor center".
287
288	* generic/ttk/ttkLayout.c (TTKInitPadding): BUGFIX:
289	Ttk_GetPaddingFromObj() and Ttk_GetBorderFromObj() returned garbage
290	when passed an empty list.
291
292	* macosx/ttkMacOSXTheme.c: Resynchronize with Tile codebase so that
293	patches can flow back and forth.
294
295	* library/ttk/aquaTheme.tcl: Extra TButton -padding no longer needed.
296
2972007-11-18  Pat Thoyts  <patthoyts@users.sourceforge.net>
298
299	* win/ttkWinXPTheme.c: Add support for size information flags for
300	scrollbar and combobox buttons. This handles Tile [Patches 1596647 and
301	1596657] but a bit more generically.
302
3032007-11-17  Pat Thoyts  <patthoyts@users.sourceforge.net>
304
305	* generic/(tkArgv.c, tkBind.c, tkCipboard.c, tkEntry.c, tkOption.c,
306	tkScale.c, tkScrollbar.c, tkTextImage.c, tkVisual.c, tkWindow.c): Tidy
307	up some variable types.
308
309	* generic/tkFont.c:	Only check for -displayof if there are
310	* test/font.test:	sufficient arguments. This permits checking
311				strings like -d.
312
3132007-11-17  Joe English  <jenglish@users.sourceforge.net>
314
315	* library/ttk/scrollbar.tcl: Swap in core scrollbars for
316	[ttk::scrollbar]s on OSX.
317
3182007-11-16  Benjamin Riefenstahl  <b.riefenstahl@turtle-trading.net>
319
320	* macosx/tkMacOSXFont.c (TkpMeasureCharsInContext): Correct an
321	oversight in the bug fix from 2007-11-11. [Bug 1824638]
322
3232007-11-15  Daniel Steffen  <das@users.sourceforge.net>
324
325	* macosx/Wish.xcodeproj/project.pbxproj: add new chanio.test.
326	* macosx/Wish.xcode/project.pbxproj:
327
3282007-11-14  Donal K. Fellows  <dkf@users.sf.net>
329
330	* library/msgs/sv.msg: Get the locale declared within the message
331	catalog correct! [Bug 1831803]
332
3332007-11-11  Benjamin Riefenstahl  <b.riefenstahl@turtle-trading.net>
334
335	* macosx/tkMacOSXFont.c (TkpMeasureCharsInContext): Fix the case when
336	TK_WHOLE_WORDS and TK_AT_LEAST_ONE are both set and maxLength is small.
337	[Bug 1824638]
338
3392007-11-09  Daniel Steffen  <das@users.sourceforge.net>
340
341	* macosx/tkMacOSXCarbonEvents.c
342	(InstallStandardApplicationEventHandler): on Mac OS X Leopard, replace
343	the 2005-11-27 approach of installing the standard application handler
344	by calling RAEL and immediately longjmping out of it from an event
345	handler, as that now leads to crashes in -[NSView unlockFocus] whenever
346	HIToolbox uses Cocoa in Leopard (Help menu, Nav Services, Color
347	Picker). Instead call InstallStandardEventHandler() on the application
348	and menubar event targets, as Leopard ISEH finally handles these
349	correctly. Unfortunately need a HIToolbox-internal SPI to retrieve the
350	menubar event target, no public API appears have that functionality.
351
352	* macosx/tkMacOSXDebug.c:	make TkMacOSXInitNamedDebugSymbol()
353	* macosx/tkMacOSXDebug.h:	available outside of debug builds as
354					the new Leopard ISAEH needs it.
355
356	* macosx/tkMacOSXButton.c:	replace HiliteControl() by modern API
357	* macosx/tkMacOSXMenubutton.c:	for activation and enabling;
358					distinguish inactive and disabled
359					look&feel; correct activation handling
360					to match that of container toplevel.
361
362	* macosx/tkMacOSXMenubutton.c:	correct size computation of bevelbutton
363					variant to match that of buttons;
364					fix crash with bitmap due to NULL GC;
365					delay picParams setup until needed;
366					formatting cleanup. [Bug 1824521]
367
368	* library/menu.tcl:		correct handling of menubutton "active"
369					state on Aqua to match that of buttons.
370
371	* macosx/tkMacOSXDefault.h:	correct button & menubutton active
372					foreground and background colors and
373					menubutton border width.
374
375	* macosx/tkMacOSXWindowEvent.c:	handle kEventWindowExpanding carbon
376	* macosx/tkMacOSXCarbonEvents.c: event instead of kEventWindowExpanded
377					to ensure activate event arrives after
378					window is remapped, also need to
379					process all Tk events generated by
380					remapping in the event handler to
381					ensure children are remapped before
382					activate event is processed.
383
384	* macosx/tkMacOSXSubwindows.c:	add pixmap size field to MacDrawable
385	* macosx/tkMacOSXInt.h:		struct; add flag for B&W pixmaps.
386	* macosx/tkMacOSXDraw.c:
387	* macosx/tkMacOSXEmbed.c:
388	* macosx/tkMacOSXMenu.c:
389
390	* macosx/tkMacOSXPrivate.h:	correct Leopard HIToolboxVersionNumber.
391
392	* macosx/ttkMacOSXTheme.c:	add error checking; cleanup formatting.
393
394	* macosx/tkMacOSXFont.c (TkpGetFontAttrsForChar): panic on false return
395					from TkMacOSXSetupDrawingContext().
396
397	* macosx/tkMacOSXButton.c:	sync formatting, whitespace, copyright
398	* macosx/tkMacOSXDialog.c:	with core-8-4-branch.
399	* macosx/tkMacOSXMenus.c:
400	* macosx/tkMacOSXWm.c:
401	* xlib/xgc.c
402	* library/bgerror.tcl:
403	* library/console.tcl:
404	* library/menu.tcl:
405
4062007-11-07  Joe English  <jenglish@users.sourceforge.net>
407
408	* generic/ttk/ttkTheme.c (Ttk_ElementSize): Fixed longstanding, subtle
409	bug that caused element padding to sometimes be counted twice in size
410	computations.
411
412	* generic/ttk/ttkElements.c, generic/ttk/ttkClamTheme.c,
413	* generic/ttk/ttkDefaultTheme.c, generic/ttk/ttkTreeview.c,
414	* generic/ttk/ttkImage.c, macosx/ttkMacOSXTheme.c,
415	* win/ttkWinTheme.c, win/ttkWinXPTheme.c:
416	Fix ElementSizeProcs affected by previous change.
417
4182007-11-06  Andreas Kupries  <andreask@activestate.com>
419
420	* doc/CrtConsoleChan.3: Fixed markup typo and extended see also
421	section per suggestions by Donal.
422
4232007-11-05  Joe English  <jenglish@users.sourceforge.net>
424
425	* library/ttk/combobox.tcl: Set focus to listbox in <Map> binding
426	instead of in Post command (see [Bug 1349811] for info).
427
4282007-11-05  Andreas Kupries  <andreask@activestate.com>
429
430	* doc/CrtConsoleChan.3: New file providing minimal documentation of
431	'Tk_InitConsoleChannels()'. [Bug 432435]
432
4332007-11-05  Joe English  <jenglish@users.sourceforge.net>
434
435	* macosx/ttkMacOSXTheme.c (TreeitemLayout): Remove focus ring
436	from treeview items on OSX (problem reported by Kevin Walzer).
437
4382007-11-04  Joe English  <jenglish@users.sourceforge.net>
439
440	* generic/ttk/ttkTreeview.c: Use null "treearea" element for treeview
441	owner-draw area instead of "client", to avoid nameclash with
442	Notebook.client element (this was causing sizing anomalies in XP
443	theme, and introduced extraneous padding).
444	* generic/ttk/ttkDefaultTheme.c: Treeitem.indicator element needs left
445	margin now.
446
4472007-11-04  Daniel Steffen  <das@users.sourceforge.net>
448
449	* macosx/tkMacOSXMenus.c: add "Run Widget Demo" menu item to the
450	default Edit menu along with associated carbon event handler enabling
451	the item only if demo files are installed; cleanup handling of "About"
452	and "Source" menu items.
453
454	* library/bgerror.tcl:		fix background of detail text on Aqua.
455
456	* library/console.tcl:		add accelerators and fix Aqua bindings
457					of the new font size menu items.
458
459	* library/demos/mclist.tcl:	Aqua GOOBE.
460	* library/demos/tree.tcl:
461	* library/demos/ttknote.tcl:
462	* library/demos/widget:
463
464	* doc/chooseDirectory.n:	remove/correct obsolete Mac OS 9-era
465	* doc/getOpenFile.n:		information.
466	* doc/menu.n:
467
468	* macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent): fix boolean
469	arg
470
471	* macosx/Wish.xcodeproj/project.pbxproj: add new demo file.
472	* macosx/Wish.xcode/project.pbxproj:
473
4742007-11-03  Pat Thoyts  <patthoyts@users.sourceforge.net>
475
476	* library/console.tcl: Add menu item and key binding to adjust font.
477
4782007-11-02  Donal K. Fellows  <dkf@users.sf.net>
479
480	* library/demos/mclist.tcl: Added a demo of how to do a multi-column
481	sortable listbox.
482
483	* library/msgbox.tcl: Made message dialog use Ttk widgets for better
484	L&F.
485
486	* library/tkfbox.tcl (::tk::dialog::file::CompleteEnt): Added <Tab>
487	completion. [FR 805091]
488	* library/tkfbox.tcl: Made file dialog use Ttk widgets for better L&F.
489
490	* library/demos/sayings.tcl: Better resizing. [Bug 1822410]
491
4922007-11-01  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
493
494	* library/demos/textpeer.tcl: Better resizing. [Bug 1822601]
495
496	* doc/colors.n: Added list of Windows system colors. [Bug 945409]
497
4982007-11-01  Daniel Steffen  <das@users.sourceforge.net>
499
500	* macosx/tkMacOSXColor.c (GetThemeColor): improve translation of RGB
501				pixel values into RGBColor.
502
503	* library/demos/widget:	increase height of main window text widget to
504				use more of the available vertical space.
505
506	* doc/bind.n:		document the Option modifier, clarify meaning
507				and availability of Command & Option.
508
509	* doc/console.n:	clarify availability of [console] in TkAqua.
510
5112007-11-01  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
512
513	* unix/installManPage, doc/*.n: Make documentation use the name that
514	scripts use as much as possible. [Bug 1640073]
515
516	* doc/text.n: Fixed mistake in [$t tag remove] docs. [Bug 1792191]
517
518	* doc/bind.n: Documented the Command modifier. [Bug 1232908]
519
520	* doc/console.n, doc/wish.1: Made it clearer when and why the console
521	command is present. [Bug 1386955]
522
5232007-10-31  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
524
525	* library/demos/entry3.tcl: Improved description/comments so that
526	people better understand what is being validated, following suggestion
527	from Don Porter.
528
529	* library/demos/image2.tcl (loadImage): Mark non-loadable images as
530	such instead of throwing a nasty dialog, following suggestion from Don
531	Porter.
532
533	* generic/tkImgPhoto.c (Tk_PhotoPutBlock): More optimization, derived
534	from [Patch 224066].
535
5362007-10-30  Joe English  <jenglish@users.sourceforge.net>
537
538	* library/ttk/combobox.tcl (Unpost): BUGFIX: Unpost can be called with
539	no preceding Post.
540
5412007-10-31  Pat Thoyts  <patthoyts@users.sourceforge.net>
542
543	* win/rules.vc:  Use -fp:strict with msvc8 as -fp:precise fails on
544	* generic/tkObj.c:  amd64 builds. Fix the two places in Tk that
545	* generic/tkTrig.c: generate errors with msvc8 when using this flag.
546
5472007-10-30  Jeff Hobbs  <jeffh@ActiveState.com>
548
549	* library/choosedir.tcl: only enable OK button when valid in
550	conjunction with -mustexist. [Bug 1550528]
551
552	* library/listbox.tcl (::tk::ListboxBeginSelect): ignore -takefocus
553	when considering focus on <1>, it is for tab focus.
554
5552007-10-30  Don Porter  <dgp@users.sourceforge.net>
556
557	* generic/tk.h:		Bump version number to 8.5b2.1 to distinguish
558	* library/tk.tcl:	CVS development snapshots from the 8.5b2
559	* unix/configure.in:	release.
560	* unix/tk.spec:
561	* win/configure.in:
562
563	* unix/configure:	autoconf (2.59)
564	* win/configure:
565
5662007-10-30  Jeff Hobbs  <jeffh@ActiveState.com>
567
568	* doc/text.n: fix spelling of -inactiveselectbackground [Bug 1626415]
569
570	* library/entry.tcl: don't error with Clear event. [Bug 1509288]
571
572	* library/ttk/fonts.tcl: use size -12 TkFixedFont (was -10) on X11
573
5742007-10-30  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
575
576	* library/demos/unicodeout.tcl: Fixed Arabic and Hebrew rendering on
577	Windows. [Bug 1803723]
578
579	* generic/tkImgPhoto.c (ImgPhotoCmd): Rename enumeration for somewhat
580	simpler-to-read code. [Bug 1677613]
581
5822007-10-30  Joe English  <jenglish@users.sourceforge.net>
583
584	* generic/ttk/ttkWidget.c: Split up RedisplayWidget() to factor out
585	double-buffering related code.
586
587	* macosx/ttkMacOSXAquaTheme.c: Use SetThemeBackGround/
588	kThemeBrushModelessDialogBackground{Active|Inactive} instead of
589	ApplyThemeBackground/kThemeBackgroundWindowHeader (advice from DAS).
590
591	* library/ttk/aquaTheme.tcl: Use darker shade for inactive and
592	disabled text, to match typical values of most
593	kThemeXXXTextColorInactive values.
594
5952007-10-30  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
596
597	* doc/selection.n: Clarify UTF8_STRING handling. [Bug 1778563]
598
599	* doc/text.n: Clarify search subccommand docs. [Bug 1622919]
600
6012007-10-29  Jeff Hobbs  <jeffh@ActiveState.com>
602
603	* macosx/tkMacOSXFont.c (InitSystemFonts):
604	* library/ttk/fonts.tcl: use Monaco 11 (was 9) as Aqua TkFixedFont
605
606	* tests/listbox.test, tests/panedwindow.test, tests/scrollbar.test:
607	* library/bgerror.tcl, library/dialog.tcl, library/listbox.tcl:
608	* library/msgbox.tcl, library/optMenu.tcl, library/tclIndex:
609	* library/tkfbox.tcl, library/demos/floor.tcl, library/demos/rmt:
610	* library/demos/tcolor, library/demos/text.tcl:
611	* library/demos/twind.tcl, library/demos/widget: Buh-bye Motif look
612	* library/ttk/fonts.tcl:    Update of Tk default look in 8.5
613	* macosx/tkMacOSXDefault.h: Trims border sizes, cleaner X11 look
614	* unix/tkUnixDefault.h:  with minor modifications for Win32/Aqua.
615	* win/tkWinDefault.h:    Uses Tk*Font definitions throughout for
616	* win/tkWinFont.c:     classic widgets. [Bug 1820344]
617	* library/obsolete.tcl (::tk::classic::restore): This restores
618	changes made to defaults in 8.5 using the 'option' command,
619	segmented into logical groups.
620
621	* tests/winfo.test: winfo-4.5 raise .t to above . for Windows
622
623	* tests/unixWm.test: note TIP#142 results and remove unnecessary
624	catches.
625
6262007-10-29  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
627
628	* doc/*.1, doc/*.n, doc/*.3: Lots more GOOBE work.
629
6302007-10-28  Joe English  <jenglish@users.sourceforge.net>
631
632	* library/ttk/combobox.tcl: Make popdown window [wm resizable 0 0] on
633	OSX, to prevent TkAqua from shrinking the scrollbar to make room for a
634	grow box that isn't there.
635	* macosx/ttkMacOSXTheme.c, library/ttk/aquaTheme.tcl: Reworked
636	combobox layout.
637
6382007-10-26  Don Porter  <dgp@users.sourceforge.net>
639
640	*** 8.5b2 TAGGED FOR RELEASE ***
641
642	* changes:		Update changes for 8.5b2 release.
643
644	* doc/*.1:      Revert doc changes that broke
645	* doc/*.3:      `make html` so we can get the release
646	* doc/*.n:      out the door.
647
648	* README:		Bump version number to 8.5b2.
649	* generic/tk.h:
650	* library/tk.tcl:
651	* unix/configure.in:
652	* unix/tk.spec:
653	* win/configure.in:
654
655	* unix/configure:	autoconf-2.59
656	* win/configure:
657
6582007-10-26  Daniel Steffen  <das@users.sourceforge.net>
659
660	* macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): fix window class
661	of transient toplevels that are not also overrideredirect. [Bug
662	1816252]
663
664	* macosx/tkMacOSXDialog.c:	TIP#242 cleanup.
665	* library/demos/filebox.tcl: 	demo TIP#242 -typevariable.
666
6672007-10-25  Joe English  <jenglish@users.sourceforge.net>
668
669	* generic/ttk/ttkNotebook.c: [Bug 1817596]
670
6712007-10-25  Jeff Hobbs  <jeffh@ActiveState.com>
672
673	* doc/getOpenFile.n:	TIP#242 implementation of -typevariable to
674	* library/tkfbox.tcl:	return type of selected file in file dialogs.
675	* library/xmfbox.tcl:	[Bug 1156388]
676	* macosx/tkMacOSXDialog.c:
677	* tests/filebox.test:
678	* tests/winDialog.test:
679	* win/tkWinDialog.c:
680
6812007-10-25  Don Porter  <dgp@users.sourceforge.net>
682
683	* generic/tkPlace.c:	Prevent segfault in place geometry manager.
684	Thanks to Colin McDonald. [Bug 1818491]
685
6862007-10-24  Joe English  <jenglish@users.sourceforge.net>
687
688	* generic/ttk/*.c, win/{ttkWinMonitor,ttkWinTheme,ttkWinXPTheme}.c,
689	* macosx/ttkMacOSXTheme.c: Move widget layout registration from
690	TtkElements_Init() to widget *_Init() routines. Renaming/consistency:
691	s/...ElementGeometry()/...ElementSize()/
692
6932007-10-24  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
694
695	* doc/*.n, doc/*.3, doc/*.1: Lots of changes to take advantage of the
696	new macros.
697
6982007-10-24  Pat Thoyts  <patthoyts@users.sourceforge.net>
699
700	* win/tkWinDraw.c: Applied [Patch 1723362] for transparent bitmaps.
701
702	* generic/tkWindow.c: permit wm manage of any widget (esp: ttk::frame)
703
7042007-10-23  Jeff Hobbs  <jeffh@ActiveState.com>
705
706	* library/ttk/combobox.tcl (ttk::combobox::PopdownWindow): redo wm
707	transient on each drop to handle reparent-able frames. [Bug 1818441]
708
7092007-10-23  Joe English  <jenglish@users.sourceforge.net>
710
711	* library/ttk/combobox.tcl: [namespace import ::ttk::scrollbar]
712	doesn't work, since ttk::scrollbar isn't [namespace export]ed.
713
7142007-10-23  Don Porter  <dgp@users.sourceforge.net>
715
716	* tests/cursor.test:	Make tests robust against changes in Tcl's
717	rules for accepting integers in octal format.
718
7192007-10-23  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
720
721	* doc/font.n: Added section on the TIP#145 fonts.
722
7232007-10-23  Pat Thoyts  <patthoyts@users.sourceforge.net>
724
725	* win/tkWinFont.c: Fixed leak in CreateNamedFont spotted by das.
726
7272007-10-23  Daniel Steffen  <das@users.sourceforge.net>
728
729	* library/demos/combo.tcl:	Aqua GOOBE.
730	* library/demos/toolbar.tcl:
731	* library/demos/tree.tcl:
732	* library/demos/ttknote.tcl:
733	* library/demos/ttkprogress.tcl:
734	* library/demos/widget:
735
736	* macosx/Wish.xcodeproj/project.pbxproj: add new demo files.
737	* macosx/Wish.xcode/project.pbxproj:
738
7392007-10-22  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
740
741	* library/demos/widget: Added more demos, reorganized to make Tk and
742	Ttk demos seem to be more coherent whole. Made localization a bit
743	easier by reducing the amount of duplication.
744	* library/demos/{combo,toolbar,tree,ttknote,ttkprogress}.tcl: New
745	demos of new (mostly) Ttk widgets.
746	* library/demos/ttkbut.tcl: Improvements.
747
7482007-10-22  Joe English  <jenglish@users.sourceforge.net>
749
750	* library/ttk/combobox.tcl:	ttk::combobox overhaul; fixes [Bugs
751					1814778, 1780286, 1609168, 1349586]
752	* library/ttk/aquaTheme.tcl:	Factored out aqua-specific combobox
753					-postposition adjustments.
754	* generic/ttk/ttkTrack.c:	Detect [grab]s and unpress pressed
755					element; combobox workaround no longer
756					needed.
757
7582007-10-22  Daniel Steffen  <das@users.sourceforge.net>
759
760	* macosx/tkMacOSXFont.c: 	register named fonts for TIP #145 fonts
761					and all theme font IDs.
762
763	* generic/tkFont.c (Tk{Create,Delete}NamedFont): allow NULL interp.
764
765	* library/ttk/fonts.tcl:	check for TIP #145 fonts on all
766					platforms; correct aqua font sizes.
767
768	* library/demos/ttkmenu.tcl:	Aqua GOOBE.
769	* library/demos/ttkpane.tcl:
770	* library/demos/widget:
771
772	* macosx/Wish.xcodeproj/project.pbxproj: add new demo files.
773	* macosx/Wish.xcode/project.pbxproj:
774
7752007-10-18  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
776
777	* library/demos/ttkmenu.tcl: Added more demos of Ttk widgets. These
778	* library/demos/ttkpane.tcl: ones are of menubuttons, panedwindows and
779	a progress bar (indirectly).
780
7812007-10-18  Pat Thoyts  <patthoyts@users.sourceforge.net>
782
783	* library/ttk/fonts.tcl: Create all the TIP #145 font names on all
784	platforms (mac and unix get handled in script, windows in C)
785
7862007-10-17  David Gravereaux <davygrvy@pobox.com>
787
788	* bitmaps/*.xbm: Changed CVS storage mode from -kb to -kkv as these
789	are really text files, not binaries.
790	* win/makefile.vc: Added $(BITMAPDIR) to the search path for the
791	depend target.
792
7932007-10-18  Daniel Steffen  <das@users.sourceforge.net>
794
795	* library/demos/widget:		Aqua GOOBE, cleanup icons.
796	* library/demos/ttkbut.tcl:
797	* library/demos/entry3.tcl:
798	* library/demos/msgbox.tcl:
799
800	* library/demos/button.tcl:	restore setting of button
801					highlightbackground on Aqua.
802
803	* macosx/ttkMacOSXTheme.c: 	adjust button and separator geometry.
804
805	* macosx/tkMacOSXWm.c:		fix warnings.
806
807	* macosx/Wish.xcodeproj/project.pbxproj: add new demo files.
808	* macosx/Wish.xcode/project.pbxproj:
809
8102007-10-17  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
811
812	* library/demos/ttkbut.tcl: Added demo of the basic Ttk widgets.
813
8142007-10-16  David Gravereaux <davygrvy@pobox.com>
815
816	* win/makefile.vc: depend target now works and builds a generated
817	dependency list with $(TCLTOOLSDIR)/mkdepend.tcl
818
8192007-10-16  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
820
821	* library/demos/widget: Made the code for generating the contents of
822	the main widget more informative. Added 'new' flagging for wholly new
823	demos.
824
825	* doc/text.n: Made it clearer what things are text widget invokations
826	and what are not. Also some other clarity improvements.
827
8282007-10-15  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
829
830	* library/demos/widget: Use Ttk widgets for the widget demo core, for
831	vastly improved look-and-feel on at least one platform (Windows).
832	* library/demos/{button,check,style,twind}.tcl: Various tweaks for
833	GOOBE...
834	* library/demos/textpeer.tcl: New demo script to show off peering as a
835	specific feature.
836
8372007-10-15  Jeff Hobbs  <jeffh@ActiveState.com>
838
839	* generic/tkFocus.c, generic/tkFrame.c, generic/tkInt.h:
840	* macosx/tkMacOSXButton.c, macosx/tkMacOSXMenubutton.c:
841	* macosx/tkMacOSXWm.c, unix/tkUnixWm.c, win/tkWinWm.c:
842	* doc/wm.n, tests/wm.test: TIP #125 implementation. [Bug 998125]
843	Adds [wm manage|forget] for dockable frames.
844	Finished X11 and Windows code, needs OS X completion.
845
8462007-10-15  Joe English  <jenglish@users.sourceforge.net>
847
848	* generic/ttk/ttkTreeview.c: Store pointer to column table entry
849	instead of column index in columnNames hash table. This avoids the
850	need for the evil PTR2INT and INT2PTR macros, and simplifies things a
851	bit.
852
8532007-10-15  Daniel Steffen  <das@users.sourceforge.net>
854
855	* generic/tkArgv.c:		Fix gcc warnings about 'cast to/from
856	* generic/tkCanvUtil.c:		pointer from/to integer of different
857	* generic/tkCanvas.c:		size' on 64-bit platforms by casting
858	* generic/tkCursor.c:		to intermediate types
859	* generic/tkInt.h:		intptr_t/uintptr_t via new PTR2INT(),
860	* generic/tkListbox.c:		INT2PTR(), PTR2UINT() and UINT2PTR()
861	* generic/tkObj.c:		macros.
862	* generic/tkStyle.c:
863	* generic/tkTextIndex.c:
864	* generic/tkUtil.c:
865	* generic/ttk/ttkTheme.h:
866	* generic/ttk/ttkTreeview.c:
867	* unix/tkUnixMenu.c:
868	* unix/configure.in:
869
870	* unix/configure:		autoconf-2.59
871	* unix/tkConfig.h.in:		autoheader-2.59
872
873	* macosx/Wish-Common.xcconfig:		add 'tktest-X11' target.
874	* macosx/Wish.xcode/project.pbxproj:
875	* macosx/Wish.xcode/default.pbxuser:
876	* macosx/Wish.xcodeproj/default.pbxuser:
877	* macosx/Wish.xcodeproj/project.pbxproj:
878
879	* unix/configure.in (Darwin):	add support for 64-bit X11.
880	* unix/configure:		autoconf-2.59
881
8822007-10-14  Jeff Hobbs  <jeffh@ActiveState.com>
883
884	* win/configure, win/configure.in (TK_WIN_VERSION): Make sure the
885	patchlevel doesn't contain extra dotted pairs (eg. interim release)
886
8872007-10-12  Pat Thoyts  <patthoyts@users.sourceforge.net>
888
889	* win/makefile.vc:  Mine all version information from headers.
890	* win/rules.vc:  Sync tcl and tk and bring extension versions
891	* win/nmakehlp.c:   closer together. Try and avoid using tclsh
892	        to do substitutions as we may cross compile.
893
894	* library/console.tcl:     Use TkFixedFont and ttk widgets
895
8962007-10-12  Daniel Steffen  <das@users.sourceforge.net>
897
898	* macosx/tkMacOSXDraw.c:	replace all (internal) use of QD region
899	* macosx/tkMacOSXSubwindows.c:	API by HIShape API, with conversion to
900	* macosx/tkMacOSXWindowEvent.c:	QD regions only when required by legacy
901	* macosx/tkMacOSXPrivate.h:	Carbon or Tk API.
902	* macosx/tkMacOSXRegion.c:
903	* macosx/tkMacOSXDebug.c:
904	* macosx/tkMacOSXDebug.h:
905
906	* macosx/tkMacOSXInt.h:		replace MacDrawable's QD RgnHandles
907	* macosx/tkMacOSXEmbed.c:	clipRgn, aboveClipRgn & drawRgn by
908	* macosx/tkMacOSXMenu.c:	HIShapeRefs visRgn & aboveVisRgn and
909	* macosx/tkMacOSXSubwindows.c:	CGRect drawRect.
910
911	* macosx/tkMacOSXWindowEvent.c:	remove use of QD port vis rgn in
912	* macosx/tkMacOSXSubwindows.c:	window update rgn calculation,
913	* macosx/tkMacOSXWm.c:		manually excise growbox from toplevel
914					clip rgn instead.
915
916	* macosx/tkMacOSXDraw.c:	replace use of QD port clip rgn by new
917	* macosx/tkMacOSXPrivate.h:	clipRgn fld in TkMacOSXDrawingContext;
918					handle QD/CG drawing mismatches in
919					XCopyArea, XCopyPlane and TkPutImage;
920					cleanup/speedup CGContext setup in
921					TkMacOSXSetupDrawingContext().
922
923	* macosx/tkMacOSXDraw.c:	change TkMacOSXSetupDrawingContext()
924	* macosx/tkMacOSXEntry.c:	to return boolean indicating whether
925	* macosx/tkMacOSXFont.c:	drawing is allowed (and was setup) or
926	* macosx/tkMacOSXMenu.c:	not (e.g. when clipRgn is empty).
927	* macosx/ttkMacOSXTheme.c:
928
929	* macosx/tkMacOSXSubwindows.c:	signal that drawable is a pixmap via
930	* macosx/tkMacOSXInt.h:		new explicit TK_IS_PIXMAP flag instead
931					of a NULL cligRgn field.
932
933	* macosx/tkMacOSXRegion.c:	add wrappers for missing/buggy HIShape
934	* macosx/tkMacOSXPrivate.h:	API, and private helpers to operate on
935					HIShapeRefs & convert to/from TkRegion
936
937	* macosx/tkMacOSXRegion.c:	add Tkp{Retain,Release}Region() API
938	* macosx/tkMacOSXInt.h:		for TkRegion.
939
940	* xlib/xgc.c:			factor out alloc/free of GC clip_mask;
941	* macosx/tkMacOSXXStubs.c:	manage clip rgn lifetime with new
942					Tkp{Retain,Release}Region().
943
944	* macosx/tkMacOSXButton.c:	delay picParams setup until needed.
945
946	* generic/tkTextDisp.c (CharUndisplayProc): fix textDisp.test crash.
947
9482007-10-11  David Gravereaux <davygrvy@pobox.com>
949
950	* win/winMain.c: Replaced incorrect comments in main() to descibe why
951	the console widget does not need to be created for this application
952	entry point (if used). Must have been a bad copy/paste of WinMain()
953	from 10 years back.
954
9552007-10-11  Daniel Steffen  <das@users.sourceforge.net>
956
957	* macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): manually constrain resize
958	limitBounds to maxBounds, works around SectRect() mis-feature (return
959	zero rect if input rect has zero height/width). [Bug 1810818]
960
9612007-10-09  Pat Thoyts  <patthoyts@users.sourceforge.net>
962
963	* generic/tkImage.c:    Make Ttk_GetImage safe if called with NULL
964	* tests/ttk/image.test: interp. Added some tests that crash on Windows
965				without this fix.
966
9672007-10-02  Don Porter  <dgp@users.sourceforge.net>
968
969	[core-stabilizer-branch]
970
971	* README:        Bump version number to 8.5.0
972	* generic/tk.h:
973	* library/tk.tcl:
974	* unix/configure.in:	Updated LOCALES.
975	* unix/tk.spec:
976	* win/configure.in:
977
978	* unix/configure:	autoconf (2.59)
979	* win/configure:
980
9812007-09-30  Joe English  <jenglish@users.sourceforge.net>
982
983	* library/ttk/entry.tcl (WordBack, WordForward):
984	Fix private routines accidentally defined in global namespace
985	[Bug 1803836]
986
9872007-09-26  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
988
989	* library/msgs/hu.msg: Added Hungarian message set, from Pader Reszo.
990	[Patch 1800742]
991
9922007-09-20  Donal K. Fellows  <dkf@users.sf.net>
993
994	*** 8.5b1 TAGGED FOR RELEASE ***
995
996	* generic/tkTextDisp.c (LayoutDLine):  Only call callbacks that are
997	* tests/textDisp.test (textDisp-32.3): not NULL. [Bug 1791052]
998
9992007-09-20  Don Porter  <dgp@users.sourceforge.net>
1000
1001	* changes: updates for 8.5b1 release.
1002
10032007-09-19  Don Porter  <dgp@users.sourceforge.net>
1004
1005	* README:		Bump version number to 8.5b1.
1006	* generic/tk.h:		Merge from core-stabilizer-branch.
1007	* library/tk.tcl:	Stabilizing toward 8.5b1 release now done
1008	* unix/configure.in:	on the HEAD. core-stabilizer-branch is
1009	* unix/tk.spec:		now suspended.
1010	* win/configure.in:
1011
10122007-09-19  Pat Thoyts  <patthoyts@users.sourceforge.net>
1013
1014	* generic/tkStubLib.: Replaced isdigit with internal implementation.
1015
10162007-09-18  Don Porter  <dgp@users.sourceforge.net>
1017
1018	* generic/tkStubLib.c:	Remove C library calls from Tk_InitStubs()
1019	* win/makefile.vc:	so that we don't need the C library linked
1020	in to libtkStub.
1021
10222007-09-18  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
1023
1024	* generic/tkImgGIF.c (FileReadGIF, StringReadGIF): Rewrite for greater
1025	clarity (more comments, saner code arrangement, etc.)
1026
10272007-09-18  Pat Thoyts  <patthoyts@users.sourceforge.net>
1028
1029	* tests/all.tcl:    Made ttk/all.tcl be the same as tk's all.tcl and
1030	* tests/ttk/all.tcl: make use of file normalize (bugs noted by
1031	mjanssen and GPS with msys)
1032
10332007-09-17  Pat Thoyts  <patthoyts@users.sourceforge.net>
1034
1035	* win/makefile.vc: Add crt flags for tkStubLib now it uses C-library
1036	functions.
1037
10382007-09-17  Joe English  <jenglish@users.sourceforge.net>
1039
1040	* unix/tcl.m4: use '${CC} -shared' instead of 'ld -Bshareable' to
1041	build shared libraries on current NetBSDs. [Bug 1749251]
1042	* unix/configure: regenerated (autoconf-2.59).
1043
10442007-09-17  Don Porter  <dgp@users.sourceforge.net>
1045
1046	* generic/tkConsole.c:	Revised callers of Tcl_InitStubs() to account
1047	* generic/tkMain.c:	for restored compatible support for the call
1048	* generic/tkWindow.c:	Tcl_InitStubs(interp, TCL_VERSION, 1). Also
1049	revised Tcl_PkgRequire() call for Tcl so that, for example, a Tk
1050	library built against Tcl 8.5.1 headers will not refuse to [load] into
1051	a Tcl 8.5.0 interpreter. [Tcl Bug 1578344]
1052
1053	* generic/tk.h:		Revised Tk_InitStubs() to restore Tk 8.4
1054	* generic/tkStubLib.c:	source compatibility with callers of
1055	* generic/tkWindow.c:	Tk_InitStubs(interp, TK_VERSION, 1).
1056
10572007-09-17  Joe English  <jenglish@users.sourceforge.net>
1058
1059	* library/ttk/combobox.tcl:  Try to improve combobox appearance on
1060	OSX + Tk 8.5. [Bug 1780286]
1061
10622007-09-15  Daniel Steffen  <das@users.sourceforge.net>
1063
1064	* unix/tcl.m4: 	replace all direct references to compiler by ${CC} to
1065			enable CC overriding at configure & make time; run
1066			check for visibility "hidden" with all compilers;
1067			quoting fixes from TEA tcl.m4.
1068	(SunOS-5.1x):	replace direct use of '/usr/ccs/bin/ld' in SHLIB_LD by
1069			'cc' compiler driver.
1070	* unix/configure: autoconf-2.59
1071
10722007-09-14  Daniel Steffen  <das@users.sourceforge.net>
1073
1074	* macosx/Wish-Common.xcconfig:		  enable Tcl DTrace support.
1075	* macosx/Wish.xcodeproj/project.pbxproj:
1076
10772007-09-12  Andreas Kupries  <andreask@activestate.com>
1078
1079	* win/Makefile.in (install-binaries): Fixed missing brace in the
1080	* win/makefile.vc (install-binaries): generated package index file.
1081	Note: unix/Makefile.in is good.
1082
10832007-09-11  Reinhard Max  <max@suse.de>
1084
1085	* generic/tkImgGIF.c: Fixed a buffer overrun that got triggered by
1086	multi-frame interlaced GIFs that contain subsequent frames that are
1087	smaller than the first one.
1088
1089	* tests/imgPhoto.test: Added a test for the above.
1090
10912007-09-11  Don Porter  <dgp@users.sourceforge.net>
1092
1093	* generic/tkConsole.c:	Revised calls to Tcl_InitStubs() and
1094	* generic/tkMain.c:	[package require Tcl] so that Tk Says What It
1095	* generic/tkWindow.c:	Means using the new facilties of [package] in
1096	* library/tk.tcl:	Tcl 8.5 about what version(s) of Tcl it is
1097	* unix/Makefile.in:	willing to work with. [Bug 1578344]
1098	* win/Makefile.in:
1099	* win/makefile.vc:
1100
11012007-09-10  Jeff Hobbs  <jeffh@ActiveState.com>
1102
1103	* unix/README: typo corrections [Bug 1788682]
1104
11052007-09-10  Don Porter  <dgp@users.sourceforge.net>
1106
1107	* generic/tkConsole.c:	Revise all Tcl_InitStubs() calls to restore
1108	* generic/tkMain.c:	the traditional practice that a Tk shared
1109	* generic/tkWindow.c:	library may [load] into a Tcl 8.5 interp at
1110	any patchlevel.	 This practice also matches the compile time checks of
1111	TCL_MAJOR_VERSION and TCL_MINOR_VERSION in tk.h. [Bug 1723622]
1112
11132007-09-06  Don Porter  <dgp@users.sourceforge.net>
1114
1115	* generic/tkWindow.c (Initialize):	Moved common Tk initialization
1116	* generic/tkInitScript.h (removed):	script out of tkInitScript.h
1117	* macosx/tkMacOSXInit.c:	and multiple TkpInit() routines and
1118	* unix/Makefile.in:	into the common Initialize() routine in
1119	* unix/tkUnixInit.c:	generic code. Also removed constraint on
1120	* win/tkWinInit.c:	ability to define a custom [tkInit] before
1121	calling Tk_Init(). Until now the custom [tkInit] had to be a proc. Now
1122	it can be any command. Removal of tkInitScript.h also fixes [Bug
1123	1656283].
1124
11252007-09-06  Daniel Steffen  <das@users.sourceforge.net>
1126
1127	* macosx/Wish.xcode/project.pbxproj: discontinue unmaintained support
1128	* macosx/Wish.xcode/default.pbxuser: for Xcode 1.5; replace by Xcode2
1129	project for use on Tiger (with Wish.xcodeproj to be used on Leopard).
1130
1131	* macosx/Wish.xcodeproj/project.pbxproj: updates for Xcode 2.5 and 3.0.
1132	* macosx/Wish.xcodeproj/default.pbxuser:
1133	* macosx/Wish.xcode/project.pbxproj:
1134	* macosx/Wish.xcode/default.pbxuser:
1135	* macosx/Wish-Common.xcconfig:
1136
1137	* macosx/README: document project changes.
1138
11392007-09-04  Joe English  <jenglish@users.sourceforge.net>
1140
1141	* generic/tkTest.c: Fix for [Bug 1788019] "tkTest.c compiler warning".
1142
11432007-09-04  Don Porter  <dgp@users.sourceforge.net>
1144
1145	* unix/Makefile.in:  It's unreliable to count on the release
1146	manager to remember to `make genstubs` before `make dist`. Let the
1147	Makefile remember the dependency for us.
1148
1149	* unix/Makefile.in:  Corrections to `make dist` dependencies to be
1150	sure that macosx/configure gets generated whenever it does not exist.
1151
11522007-09-03  Daniel Steffen  <das@users.sourceforge.net>
1153
1154	* generic/ttk/ttkInit.c  (Ttk_Init): register ttk in package database
1155	to enable extension access to the ttkStubs table.
1156
1157	* generic/ttk/ttkDecls.h: correct capitalization of ttk package name.
1158
11592007-08-28  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
1160
1161	Assorted documentation improvements.
1162	* doc/button.n: Added examples.
1163	* doc/checkbutton.n: Added example.
1164	* doc/console.n: Standardized section ordering.
1165	* doc/tk.n: Added "See also".
1166	* doc/ttk_combobox.n: Added keywords.
1167
11682007-08-27  Daniel Steffen  <das@users.sourceforge.net>
1169
1170	* macosx/tkMacOSXDialog.c (Tk_ChooseColorObjCmd): correct setting of
1171	interp result [Bug 1782105]; fix -initialcolor overwriting last color
1172	selection; style cleanup.
1173
11742007-08-21  Pat Thoyts  <patthoyts@users.sourceforge.net>
1175
1176	* win/rules.vc: Synchronize with tcl rules.vc
1177	* tests/all.tcl: Fix the line-endings.
1178
11792007-08-07  Daniel Steffen  <das@users.sourceforge.net>
1180
1181	* unix/Makefile.in:	Add support for compile flags specific to
1182				object files linked directly into executables.
1183
1184	* unix/configure.in (Darwin): Only use -seg1addr flag when prebinding;
1185	use -mdynamic-no-pic flag for object files linked directly into exes.
1186
1187	* unix/configure: autoconf-2.59
1188
11892007-08-01  Pat Thoyts  <patthoyts@users.sourceforge.net>
1190
1191	* win/tkWinDialog.c:    Fix [Bug 1692927] (buffer length problems)
1192	* win/tkWinTest.c:    Added 'testfindwindow' and 'testgetwindowinfo'
1193	and extended 'testwinevent' for WM_COMMAND support to enable testing
1194	native messagebox dialogs.
1195	* tests/winMsgbox.test: New Windows native messagebox tests.
1196
11972007-07-25  Daniel Steffen  <das@users.sourceforge.net>
1198
1199	* macosx/tkMacOSXDialog.c (NavServicesGetFile): Reset interp result on
1200	nav dialog cancel. [Bug 1743786]
1201
12022007-07-09  Jeff Hobbs  <jeffh@ActiveState.com>
1203
1204	* unix/Makefile.in: clarify what the headers installed are, and
1205	add ttkTheme.h and ttkDecls.h to private headers (later public).
1206
12072007-07-09  Daniel Steffen  <das@users.sourceforge.net>
1208
1209	* macosx/tkMacOSXWindowEvent.c (Tk_MacOSXIsAppInFront):	Use process mgr
1210	* macosx/tkMacOSXMouseEvent.c:				to determine if
1211	app is in front instead of relying on activate/deactivate events (which
1212	may arrive after this info is needed, e.g. during window drag/click
1213	activation); replace other process mgr use to get this info with calls
1214	to Tk_MacOSXIsAppInFront().
1215
1216	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): Correct
1217	window click activation, titlebar click handling and background window
1218	dragging/growing in the presence of grabs or window-/app-modal windows;
1219	fix window click activation bringing all other app windows to front.
1220
1221	* macosx/tkMacOSXDraw.c (TkPutImage): Handle non-native XImage byte and
1222	bit orders; reverse bits via xBitReverseTable instead of InvertByte().
1223
12242007-07-06  Joe English  <jenglish@users.sourceforge.net>
1225
1226	* library/ttk/aquaTheme.tcl:	Set -anchor w for TMenubuttons.
1227					[Bug 1614540]
1228
12292007-07-04  Andreas Kupries  <andreask@activestate.com>
1230
1231	* macosx/tkMacOSXXStubs.c (DestroyImage): Fixed seg.fault in release
1232	of image data for images coming from XGetImage. Change committed by me
1233	for Daniel Steffen. See 2007-06-23 for the change which introduced the
1234	problem.
1235
12362007-07-02  Daniel Steffen  <das@users.sourceforge.net>
1237
1238	* xlib/xgc.c (XCreateGC): Correct black and white pixel values used to
1239	initialize GC foregrund and background fields.
1240
1241	* macosx/tkMacOSXColor.c: Add debug messages for unknown pixel values.
1242
1243	* macosx/tkMacOSXDraw.c (TkMacOSXRestoreDrawingContext): Don't restore
1244	port state if it wasn't altered by TkMacOSXSetupDrawingContext().
1245
12462007-06-29  Daniel Steffen  <das@users.sourceforge.net>
1247
1248	* xlib/ximage.c:		Bitmaps created from the static .xbm
1249					arrays always have LSBFirst bit order.
1250
1251	* unix/configure.in:		Fix flag used to weak-link libXss.
1252	* unix/configure:		autoconf-2.59
1253
1254	* macosx/tkMacOSXScrlbr.c: Correct int <-> dobule conversion issues
1255	that could lead to Carbon getting confused about scrollbar thumb size.
1256
1257	* macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage): Use
1258	TkMacOSX{Setup,Restore}DrawingContext() to setup/restore clip & colors.
1259	(TkMacOSXSetupDrawingContext, TkMacOSXRestoreDrawingContext): Add save
1260	and restore of QD port clip region; factor out clip region code common
1261	to CG and QD branches; check for port and context validity; handle
1262	tkPictureIsOpen flag during QD port setup.
1263	(TkScrollWindow): Remove unnecessary scroll region manipulation
1264
1265	* macosx/tkMacOSXDraw.c:	Remove second global QD temp region
1266	* macosx/tkMacOSXInt.h:		(no longer necessary) and rename
1267	* macosx/tkMacOSXRegion.c:	remaining global QD temp region.
1268	* macosx/tkMacOSXSubwindows.c:
1269	* macosx/tkMacOSXWindowEvent.c:
1270
1271	* macosx/tkMacOSXDraw.c: 	Make useCGDrawing variable MODULE_SCOPE
1272	* macosx/tkMacOSXFont.c: 	and respect it for ATSUI font drawing.
1273
1274	* macosx/tkMacOSXButton.c:	Reduce reliance on current QD port
1275	* macosx/tkMacOSXColor.c:	setting and remove unnecessary
1276	* macosx/tkMacOSXDebug.c:	references to a drawable's QD port,
1277	* macosx/tkMacOSXDebug.h:	notably replace GetWindowFromPort(
1278	* macosx/tkMacOSXDialog.c:	TkMacOSXGetDrawablePort()) idiom by new
1279	* macosx/tkMacOSXDraw.c:	TkMacOSXDrawableWindow() and change
1280	* macosx/tkMacOSXKeyEvent.c:	TkMacOSXSetColorInPort() to take a port
1281	* macosx/tkMacOSXMenu.c:	argument.
1282	* macosx/tkMacOSXMenubutton.c:
1283	* macosx/tkMacOSXMouseEvent.c:
1284	* macosx/tkMacOSXScale.c:
1285	* macosx/tkMacOSXScrlbr.c:
1286	* macosx/tkMacOSXSubwindows.c:
1287	* macosx/tkMacOSXWindowEvent.c:
1288	* macosx/tkMacOSXWm.c:
1289
1290	* macosx/tkMacOSXInt.h:		  	Factor out macros, declarations
1291	* macosx/tkMacOSXPrivate.h (new): 	and prototypes that are purely
1292	internal and private to the 'macosx' sources into a new internal header
1293	file that does _not_ get installed into Tk.framework/PrivateHeaders.
1294
1295	* macosx/tkMacOSXButton.c: 		#include new tkMacOSXPrivate.h
1296	* macosx/tkMacOSXCarbonEvents.c:	instead of tkMacOSXInt.h.
1297	* macosx/tkMacOSXClipboard.c:
1298	* macosx/tkMacOSXColor.c:
1299	* macosx/tkMacOSXCursor.c:
1300	* macosx/tkMacOSXDebug.c:
1301	* macosx/tkMacOSXDialog.c:
1302	* macosx/tkMacOSXDraw.c:
1303	* macosx/tkMacOSXEntry.c:
1304	* macosx/tkMacOSXEvent.c:
1305	* macosx/tkMacOSXFont.c:
1306	* macosx/tkMacOSXHLEvents.c:
1307	* macosx/tkMacOSXInit.c:
1308	* macosx/tkMacOSXKeyEvent.c:
1309	* macosx/tkMacOSXMenu.c:
1310	* macosx/tkMacOSXMenubutton.c:
1311	* macosx/tkMacOSXMenus.c:
1312	* macosx/tkMacOSXMouseEvent.c:
1313	* macosx/tkMacOSXNotify.c:
1314	* macosx/tkMacOSXRegion.c:
1315	* macosx/tkMacOSXScale.c:
1316	* macosx/tkMacOSXScrlbr.c:
1317	* macosx/tkMacOSXSubwindows.c:
1318	* macosx/tkMacOSXWindowEvent.c:
1319	* macosx/tkMacOSXWm.c:
1320	* macosx/tkMacOSXXStubs.c:
1321	* macosx/ttkMacOSXTheme.c:
1322
1323	* macosx/Wish.xcodeproj/project.pbxproj: Improve support for renamed
1324	* macosx/Wish.xcodeproj/default.pbxuser: tcl and tk source dirs; add
1325	* macosx/Wish-Common.xcconfig:		 10.5 SDK build config; remove
1326						 tclMathOp.c.
1327
1328	* macosx/README: Document Wish.xcodeproj changes.
1329
13302007-06-23  Daniel Steffen  <das@users.sourceforge.net>
1331
1332	* generic/tkImgPhoto.c (ImgPhotoConfigureInstance, DisposeInstance):
1333	Use XDestroyImage instead of XFree to destroy XImage; replace runtime
1334	endianness determination by compile-time check for WORDS_BIGENDIAN.
1335
1336	* xlib/ximage.c (XCreateBitmapFromData): Use XCreateImage and
1337	XDestroyImage instead of creating XImage structure manually.
1338
1339	* macosx/tkMacOSXXStubs.c (XCreateImage, DestroyImage): Correct XImage
1340	bytes_per_line/bitmap_pad calculations and endianness setting; free
1341	image data and XImage structure at destruction; formatting cleanup.
1342
1343	* macosx/tkMacOSXDialog.c (NavServicesGetFile): Disable app-modal
1344	sheet variant of nav dialog on OS versions where it causes problems.
1345
13462007-06-20  Jeff Hobbs  <jeffh@ActiveState.com>
1347
1348	* library/ttk/ttk.tcl: Should require Tk before pseudo-providing
1349	tile 0.8.0.
1350
13512007-06-09  Joe English  <jenglish@users.sourceforge.net>
1352
1353	* generic/ttk/ttkPanedwindow.c, doc/ttk_panedwindow.n,
1354	* tests/ttk/panedwindow.test: Added -width and -height options. Added
1355	'panes' method, return list of managed windows. 'sashpos' method is
1356	now documented as part of the public interface, and details clarified.
1357	Should be easier to set initial sash positions now. Alleviates [Bug
1358	1659067].
1359
13602007-06-09  Jeff Hobbs  <jeffh@ActiveState.com>
1361
1362	* win/tkWinWm.c (WmIconphotoCmd): fix wm iconphoto RGBA issues.
1363	[Bug 1467997] (janssen)
1364
1365	* win/tkWinMenu.c (TkWinHandleMenuEvent): Improve handling to allow
1366	for unicode char menu indices and not use CharUpper on Tcl utf
1367	strings. [Bug 1734223]
1368
13692007-06-09  Joe English  <jenglish@users.sourceforge.net>
1370
1371	* generic/ttk/ttkManager.h, generic/ttk/ttkManager.c,
1372	* generic/ttk/ttkNotebook.c, generic/ttk/ttkPanedwindow.c,
1373	* generic/ttk/ttkFrame.c: Ttk_Manager API overhaul:
1374	    + Ttk_Manager no longer responsible for managing slave records
1375	    + Ttk_Manager structure now opaque
1376	    + Ttk_Slave structure now private
1377	    + Pass Ttk_Manager* to Tk_GeomMgr hooks instead of Ttk_Slave*
1378
1379	* generic/ttk/ttkFrame.c: Simplified -labelwidget management.
1380
1381	* doc/ttk_panedwindow.n, library/ttk/panedwindow.tcl: Changed
1382	documentation of ttk::panedwindow 'identify' command to match
1383	implementation.
1384
1385	* generic/ttk/ttkNotebook.c, tests/ttk/notebook.test:
1386	BUGFIX: ttk::noteboook 'insert' command didn't correctly maintain
1387	current tab.
1388
13892007-06-09  Daniel Steffen  <das@users.sourceforge.net>
1390
1391	* macosx/tkMacOSXColor.c: Fix issues with TK_{IF,ELSE,ENDIF} macros;
1392	* macosx/tkMacOSXDraw.c:  implement Jaguar equivalent of unavailable
1393	* macosx/tkMacOSXEntry.c: kHIToolboxVersion global; panic at startup
1394	* macosx/tkMacOSXEvent.c: if MAC_OS_X_VERSION_MIN_REQUIRED constraint
1395	* macosx/tkMacOSXInit.c:  is not satisfied.
1396	* macosx/tkMacOSXInt.h:
1397	* macosx/tkMacOSXWm.c:
1398
1399	* macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage)
1400	(TkMacOSXSetupDrawingContext): Factor out common code and standardize
1401	setup/restore of port, context and clipping; formatting cleanup.
1402
1403	* macosx/tkMacOSXWindowEvent.c:	Add error checking.
1404	* macosx/tkMacOSXMenu.c:	Fix gcc3 warning.
1405	* macosx/tkMacOSXScrlbr.c:	Fix testsuite crash.
1406	* macosx/tkMacOSXSubwindows.c:	Formatting cleanup.
1407	* macosx/tkMacOSXRegion.c:	Fix typos.
1408	* macosx/tkMacOSXScale.c:
1409
1410	* macosx/tkMacOSXXStubs.c (Tk_GetUserInactiveTime): Remove superfluous
1411							    CFRetain/CFRelease.
1412
1413	* macosx/Wish-Release.xcconfig: Disable tktest release build stripping.
1414
1415	* macosx/Wish.xcodeproj/project.pbxproj: Add new Tclsh-Info.plist.in.
1416
14172007-06-06  Daniel Steffen  <das@users.sourceforge.net>
1418
1419	* macosx/tkMacOSXInt.h: Use native debug message API when available.
1420	* macosx/Wish-Debug.xcconfig:
1421
1422	* macosx/tkMacOSXMouseEvent.c (GenerateMouseWheelEvent): Enable
1423	processing of mousewheel events in background windows.
1424
1425	* macosx/tkMacOSXScrlbr.c: Modernize checks for active/front window.
1426	* macosx/tkMacOSXScale.c:
1427	* macosx/tkMacOSXWm.c:
1428
1429	* macosx/tkMacOSXColor.c: Factor out verbose #ifdef checks of
1430	* macosx/tkMacOSXDraw.c:  MAC_OS_X_VERSION_{MAX_ALLOWED,MIN_REQUIRED}
1431	* macosx/tkMacOSXEntry.c: and runtime checks of kHIToolboxVersion into
1432	* macosx/tkMacOSXEvent.c: new TK_{IF,ELSE,ENDIF}_MAC_OS_X macros.
1433	* macosx/tkMacOSXInit.c:
1434	* macosx/tkMacOSXInt.h:
1435	* macosx/tkMacOSXWm.c:
1436
1437	* macosx/tkMacOSXDraw.c:  Factor out clip clearing in QD ports;
1438	* macosx/tkMacOSXEntry.c: Formatting cleanup.
1439
1440	* macosx/Wish.xcodeproj/project.pbxproj: Add settings for Fix&Continue.
1441
1442	* unix/configure.in (Darwin): Link the Tk and Wish plists into their
1443	binaries in all cases; fix 64bit arch removal in fat 32&64bit builds.
1444
1445	* unix/tcl.m4 (Darwin): Fix CF checks in fat 32&64bit builds.
1446	* unix/configure: autoconf-2.59
1447
14482007-06-05  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
1449
1450	* doc/photo.n: Clarified the fact that base64 support for the -data
1451	option is not universal. [Bug 1731348] (matzek)
1452
14532007-06-03  Daniel Steffen  <das@users.sourceforge.net>
1454
1455	* unix/Makefile.in: Add datarootdir to silence autoconf-2.6x warning.
1456
1457	* macosx/Wish.xcodeproj/default.pbxuser: Add ttk tests.
1458
1459	* macosx/tkMacOSXMenu.c: Add error checking; whitespace cleanup.
1460
1461	* macosx/tkMacOSXDraw.c:	Comment formatting fixes for Xcode 3.0
1462	* macosx/tkMacOSXEmbed.c:
1463	* macosx/tkMacOSXEntry.c:
1464	* macosx/tkMacOSXFont.c:
1465	* macosx/tkMacOSXInit.c:
1466	* macosx/tkMacOSXKeyEvent.c:
1467	* macosx/tkMacOSXKeyboard.c:
1468	* macosx/tkMacOSXMenus.c:
1469	* macosx/tkMacOSXSend.c:
1470	* macosx/tkMacOSXSubwindows.c:
1471	* macosx/tkMacOSXWindowEvent.c:
1472	* macosx/tkMacOSXWm.c:
1473	* macosx/tkMacOSXXStubs.c:
1474
14752007-06-02  Daniel Steffen  <das@users.sourceforge.net>
1476
1477	* macosx/tkMacOSXMenu.c (TkpPostMenu): Ensure cascade menus display in
1478	posted menus that are not part of the menubar or attached to a
1479	menubutton (fixes bug reported on tcl-mac by Linus Nyberg).
1480
14812007-05-31  Daniel Steffen  <das@users.sourceforge.net>
1482
1483	* macosx/tkMacOSXWindowEvent.c (GenerateUpdateEvent): Complete all
1484	pending idle-time redraws before newly posted Expose events are
1485	processed; add bounds of redrawn windows to update region to ensure
1486	all child windows overdrawn by parents are redrawn.
1487
1488	* macosx/tkMacOSXWindowEvent.c:	Centralize clip and window invalidation
1489	* macosx/tkMacOSXSubwindows.c: 	after location/size changes in the
1490	* macosx/tkMacOSXWm.c:		BoundsChanged carbon event handler;
1491	correct/add window invalidation after window attribute changes.
1492
1493	* macosx/tkMacOSXSubwindows.c (XResizeWindow, XMoveResizeWindow)
1494	(XMoveWindow): Factor out common code dealing with embedded and
1495	non-toplevel windows; remove unnecessary clip and window invalidation.
1496
1497	* macosx/tkMacOSXButton.c (TkpDisplayButton): Move clip setup closer
1498	to native button drawing calls.
1499
1500	* macosx/tkMacOSXWm.c (TkMacOSXIsWindowZoomed, TkMacOSXZoomToplevel):
1501	Correct handling of gridded windows in max size calculations.
1502
1503	* macosx/tkMacOSXEvent.c (TkMacOSXFlushWindows): Use HIWindowFlush API
1504	when available.
1505
1506	* macosx/tkMacOSXColor.c:	Cleanup whitespace and formatting.
1507	* macosx/tkMacOSXDraw.c:
1508	* macosx/tkMacOSXSubwindows.c:
1509	* macosx/tkMacOSXWm.c:
1510
1511	* generic/tkFont.c:	#ifdef out debug msg printing to stderr.
1512	* generic/tkTextDisp.c:
1513
15142007-05-30  Don Porter  <dgp@users.sourceforge.net>
1515
1516	* generic/tk.h: Correct placement of #include <tcl.h>. [Bug 1723812]
1517
15182007-05-30  Daniel Steffen  <das@users.sourceforge.net>
1519
1520	* library/bgerror.tcl:	Standardize dialog option & button size
1521	* library/dialog.tcl:	modifications done when running on on Aqua.
1522	* library/msgbox.tcl:
1523
1524	* library/demos/button.tcl: Set button highlightbackground on Aqua.
1525
1526	* macosx/tkMacOSXMenu.c (DrawMenuSeparator): Use DrawingContext API.
1527
1528	* macosx/tkMacOSXWindowEvent.c (ClearPort): Clip to updateRgn.
1529
1530	* macosx/tkMacOSXDebug.c:	Factor out debug region flashing.
1531	* macosx/tkMacOSXDebug.h:
1532	* macosx/tkMacOSXDraw.c:
1533	* macosx/tkMacOSXSubwindows.c:
1534	* macosx/tkMacOSXWindowEvent.c:
1535
1536	* macosx/tkMacOSXEvent.c:	Cleanup whitespace and formatting.
1537	* macosx/tkMacOSXFont.c:
1538	* macosx/tkMacOSXRegion.c:
1539	* macosx/tkMacOSXSubwindows.c:
1540	* macosx/tkMacOSXWindowEvent.c:
1541	* macosx/tkMacOSXWm.c:
1542	* macosx/tkMacOSXXStubs.c:
1543	* xlib/xgc.c:
1544
1545	* macosx/Wish.xcodeproj/project.pbxproj: Delete references to removed
1546	* macosx/Wish.xcodeproj/default.pbxuser: ttk files.
1547
15482007-05-28  Benjamin Riefenstahl  <b.riefenstahl@turtle-trading.net>
1549
1550	* macosx/tkMacOSXFont.c (TkpMeasureCharsInContext): Fix short measures
1551	with flags=TK_WHOLE_WORDS|TK_AT_LEAST_ONE [Bug 1716141]. Make some
1552	casts unnecessary by changing variable types.
1553
15542007-05-25  Joe English  <jenglish@users.sourceforge.net>
1555
1556	* library/ttk/ttk.tcl: Omit ttk::dialog and dependencies.
1557	* library/ttk/dialog.tcl, library/ttk/icons.tcl,
1558	* library/ttk/keynav.tcl: Removed.
1559	* tests/ttk/misc.test: Removed.
1560	* doc/ttk_dialog.tcl: Removed.
1561
15622007-05-25  Donal K. Fellows  <dkf@users.sf.net>
1563
1564	* doc/canvas.n: Fixed documentation of default -joinstyle option
1565	values for line and polygon items. [Bug 1725782]
1566
15672007-05-22  Don Porter  <dgp@users.sourceforge.net>
1568
1569	[core-stabilizer-branch]
1570
1571	* unix/configure:    autoconf-2.59 (FC6 fork)
1572	* win/configure:
1573
1574	* README:        Bump version number to 8.5b1
1575	* generic/tk.h:
1576	* library/tk.tcl:
1577	* unix/configure.in:
1578	* unix/tk.spec:
1579	* win/configure.in:
1580
15812007-05-18  Joe English  <jenglish@users.sourceforge.net>
1582
1583	* generic/ttk/ttkEntry.c(EntrySetValue):  Ensure that widget is in a
1584	consistent state before setting the linked -textvariable. Previously,
1585	it was possible for [$e index insert] to point past the end of the
1586	string, leading to heap corruption. [Bug 1721532]
1587	* tests/ttk/entry.test(entry-9.1): Add test case for the above.
1588
15892007-05-18  Don Porter  <dgp@users.sourceforge.net>
1590
1591	* unix/configure:    autoconf-2.59 (FC6 fork)
1592	* win/configure:
1593
1594	* README:        Bump version number to 8.5a7
1595	* generic/tk.h:
1596	* library/tk.tcl:
1597	* unix/configure.in:
1598	* unix/tk.spec:
1599	* win/configure.in:
1600
1601	* tests/ttk/treetags.test:	Another bit of test suite
1602	SCIM-tolerance. [Bug 1609316]
1603
16042007-05-17  Daniel Steffen  <das@users.sourceforge.net>
1605
1606	* generic/tk.decls: Workaround 'make checkstubs' failures from
1607	tkStubLib.c MODULE_SCOPE revert. [Bug 1716117]
1608
1609	* macosx/Wish.xcodeproj/project.pbxproj: Add tkOldTest.c and remove
1610						 tkStubImg.c.
1611
16122007-05-16  Joe English  <jenglish@users.sourceforge.net>
1613
1614	* generic/tkStubLib.c:  Change Tk_InitStubs(), tkStubsPtr, and the
1615	auxilliary stubs table pointers back to public visibility. See [Bug
1616	1716117] for details.
1617
1618	Removed TCL_STORAGE_CLASS monkey business, as it had no effect.
1619
16202007-05-16  Don Porter  <dgp@users.sourceforge.net>
1621
1622	* library/choosedir.tcl:	Removed uses of obsolete {expand}
1623	* library/comdlg.tcl:		syntax; replaced with the now
1624	* library/tk.tcl:		approved {*}. [Bug 1710633]
1625	* tests/canvImg.test:
1626	* tests/imgPhoto.test:
1627
1628	* tests/bind.test:  Make test suite more SCIM-tolerant. [Bug 1609316]
1629
16302007-05-16  Pat Thoyts  <patthoyts@users.sourceforge.net>
1631
1632	* win/makefile.vc: Test ttk widgets.
1633
16342007-05-15  Joe English  <jenglish@users.sourceforge.net>
1635
1636	* unix/tkUnixRFont.c: Fix crash introduced by previous fix exposed
1637	under newer fontconfig libraries [Bug 1717830] again.
1638
16392007-05-15  Don Porter  <dgp@users.sourceforge.net>
1640
1641	* generic/tkGrid.c: Stop crash due to list intrep shimmer [Bug 1677608]
1642
16432007-05-15  Joe English  <jenglish@users.sourceforge.net>
1644
1645	* unix/tkUnixRFont.c: Fix various memory leaks. [Bug 1717830], [Bug
1646	800149]
1647
16482007-05-14  Don Porter  <dgp@users.sourceforge.net>
1649
1650	[Tk Bug 1712081]
1651
1652	* unix/Makefile.in:	Updates to account for new and deleted files
1653	* win/Makefile.in:	tkStubImg.c and tkOldTest.c.
1654	* win/makefile.bc:
1655	* win/makefile.vc:
1656
1657	* generic/tkOldTest.c (new):	New file used to create testing
1658	* generic/tkTest.c:		commands for testing various Tk
1659	* tests/constraints.tcl:	legacy interfaces where a separate
1660	* tests/image.test:		compilation unit is needed in order to
1661	#define suitable macros during compilation. Only the effect of
1662	USE_OLD_IMAGE on Tk_CreateImageType() is currently tested, but more
1663	similar testing commands can be added to this same file. New
1664	constraint defined to detect presence of the image type provided by
1665	the new testing code, and a few tests added to exercise it. Having
1666	USE_OLD_IMAGE support tested by the default test suite should reduce
1667	chance of a recurrence of this bug.
1668
1669	* doc/CrtImgType.3:	Revised docs to better indicate the legacy
1670	* doc/CrtPhImgFmt.3:	nature of the interfaces supported by
1671	USE_OLD_IMAGE.
1672
1673	* generic/tkDecls.h:	make genstubs
1674	* generic/tkStubInit.c:
1675
1676	* generic/tk.decls:		Reworked USE_OLD_IMAGE support to use
1677	* generic/tk.h:			the same support mechanisms both with
1678	* generic/tkStubImg.c (deleted):and without a stub-enabled build. In
1679	each case, route the legacy calls to Tk_CreateImageType and
1680	Tk_CreatePhotoImageFormat through the Tk_CreateOldImageType and
1681	Tk_CreateOldPhotoImageFormat routines. Add those routines to the
1682	public stub table so they're available to a stub-enabled extension.
1683	Remove the definition of Tk_InitImageArgs() and use a macro to convert
1684	any calls to it in source code into a comment.
1685
1686	* generic/tkImage.c:	Removed the MODULE_SCOPE declarations that
1687	* generic/tkImgPhoto.c:	broke USE_OLD_IMAGE support.
1688
16892007-05-11  Pat Thoyts  <patthoyts@users.sourceforge.net>
1690
1691	* tests/winButton.test: Avoid font dependencies in results.
1692
1693	* generic/tkFont.c: propagate error from TkDeleteNamedFont. [Bug
1694	1716613]
1695
16962007-05-09  Daniel Steffen  <das@users.sourceforge.net>
1697
1698	* generic/tkFileFilter.c (AddClause): OSType endianness fixes.
1699
1700	* library/palette.tcl (tk::RecolorTree): Handle color options with
1701	empty value, fixes error due to emtpy -selectforeground (reported on
1702	tcl-mac by Russel E. Owen).
1703
1704	* macosx/tkMacOSXWindowEvent.c:	Ensure window is brought to the front
1705	* macosx/tkMacOSXMouseEvent.c:	at the start of a window drag (except
1706	* macosx/tkMacOSXInt.h:		when cmd key is down); formatting and
1707					whitespace fixes.
1708
1709	* macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd): Add -filetypes option
1710	processing (fixes fileDialog-0.1, fileDialog-0.2 failures).
1711
1712	* macosx/tkMacOSXEmbed.c (TkpMakeWindow, TkpUseWindow): Fix sending of
1713	Visibility event for embedded windows (fixes frame-3.9 hang).
1714
1715	* macosx/tkMacOSXScrlbr.c (ScrollbarBindProc):		Fix testsuite
1716	* macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn):	crashes by
1717	adding sanity checks.
1718
1719	* macosx/Wish.xcodeproj/project.pbxproj: Add 'DebugUnthreaded' &
1720	* macosx/Wish.xcodeproj/default.pbxuser: 'DebugLeaks' targets and env
1721	var settings needed to run the 'leaks' tool.
1722
1723	* macosx/tkMacOSXButton.c: Fix debug msg typo.
1724
1725	* tests/constraints.tcl: Ensure 'nonUnixUserInteraction' constraint is
1726	set for aqua.
1727
1728	* tests/choosedir.test:	Add 'notAqua' constraints to X11-only tests;
1729	* tests/clrpick.test:	add 'nonUnixUserInteraction' to 'unix' tests
1730	* tests/menuDraw.test:	requiring interaction on aqua.
1731	* tests/unixMenu.test:
1732	* tests/unixWm.test:
1733	* tests/winMenu.test:
1734
17352007-05-07  Joe English  <jenglish@users.sourceforge.net>
1736
1737	* unix/tkUnixRFont.c: Properly cast sentinel arguments to variadic
1738	function (fixes "warning: missing sentinel in function call", [Bug
1739	1712001])
1740
17412007-05-04  Pat Thoyts  <patthoyts@users.sourceforge.net>
1742
1743	* generic/tkFont.c:  TIP #145 implementation -
1744	* generic/tkFont.h:  Enhanced font handling.
1745	* win/tkWinDefault.h:
1746	* win/tkWinFont.c:
1747	* win/tkWinInt.h:
1748	* win/tkWinWm.c:
1749	* library/demos/widget:
1750	* library/ttk/fonts.tcl:
1751
17522007-05-04  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
1753
1754	* doc/ttk_treeview.n, doc/ttk_panedwindow.n, doc/ttk_dialog.n:
1755	* doc/ttk_checkbutton.n, doc/tk.n, doc/menu.n, doc/font.n:
1756	* doc/canvas.n: Spelling fixes. [Bug 1686210]
1757
17582007-05-03  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
1759
1760	* generic/tkStubLib.c (Tk_InitStubs):
1761	* generic/ttk/ttkLabel.c (LabelSetup):
1762	* unix/tkUnixSelect.c (ConvertSelection):
1763	* unix/tkUnixEvent.c (TkUnixDoOneXEvent):
1764	* generic/tkConfig.c (Tk_RestoreSavedOptions):
1765	* generic/tkCanvPs.c (TkCanvPostscriptCmd):
1766	* generic/tkOption.c (GetDefaultOptions):
1767	* unix/tkUnixRFont.c (TkpGetFontAttrsForChar, InitFont)
1768	(TkpGetFontFamilies, TkpGetSubFonts):
1769	* unix/tkUnixSend.c (TkpTestsendCmd, RegOpen): Squelch warnings from
1770	GCC type aliasing. [Bug 1711985 and others]
1771
17722007-04-29  Daniel Steffen  <das@users.sourceforge.net>
1773
1774	* unix/configure.in: Fix for default case in tk debug build detection.
1775	* unix/configure: autoconf-2.59
1776
17772007-04-27  Joe English  <jenglish@users.sourceforge.net>
1778
1779	* generic/ttk/ttkTreeview.c(TagOptionSpecs): Use TK_OPTION_STRING
1780	instead of TK_OPTION_FONT to avoid resource leak in tag management.
1781
17822007-04-26  Joe English  <jenglish@users.sourceforge.net>
1783
1784	* macosx/ttkMacOSXTheme.c: Merged OFFSET_RECT processing into
1785	BoxToRect(); factored out PatternOrigin; resynchronized with Tile
1786	codebase.
1787
17882007-04-26  Jeff Hobbs  <jeffh@ActiveState.com>
1789
1790	*** 8.5a6 TAGGED FOR RELEASE ***
1791
1792	* unix/Makefile.in (dist): Correct tests/ttk glob inclusion
1793
17942007-04-25  Jeff Hobbs  <jeffh@ActiveState.com>
1795
1796	* unix/Makefile.in (dist): Add tests/ttk dir to src dist
1797
1798	* unix/tkUnixMenubu.c (TkpDisplayMenuButton): Init width/height to 0
1799
18002007-04-25  Daniel Steffen  <das@users.sourceforge.net>
1801
1802	* unix/Makefile.in (dist): Add macosx/*.xcconfig files to src dist;
1803	copy license.terms to dist macosx dir; fix autoheader bits.
1804
18052007-04-24  Jeff Hobbs  <jeffh@ActiveState.com>
1806
1807	* unix/Makefile.in (dist): Add ttk bits to src dist
1808
1809	* tests/font.test (font-46.[12]): Correct listification of result
1810
18112007-04-23  Daniel Steffen  <das@users.sourceforge.net>
1812
1813	* generic/tkCanvas.c:	Allow -selectforeground option to be None; add
1814	* generic/tkCanvText.c:	fallback to fgColor when selFgColor is None
1815	* generic/tkEntry.c:	(new default on aqua to match native L&F).
1816	* generic/tkListbox.c:
1817	* generic/tkText.c:
1818
1819	* generic/tkCanvas.c:	   Add support for bypassing all of Tk's double
1820	* generic/tkEntry.c:	   buffered drawing into intermediate pixmaps
1821	* generic/tkFrame.c:	   (via TK_NO_DOUBLE_BUFFERING #define), it is
1822	* generic/tkListbox.c:	   unnecessary & wasteful on aqua where all
1823	* generic/tkPanedWindow.c: drawing is already double-buffered by the
1824	* generic/tkTextDisp.c:	   window server. (Use of this on other
1825	* generic/ttk/ttkWidget.c: platforms would only require implementation
1826	* unix/tkUnixScale.c:	   of TkpClipDrawableToRect()).
1827	* macosx/tkMacOSXPort.h:
1828
1829	* library/bgerror.tcl:	On aqua, use moveable alert resp. modal dialog
1830	* library/dialog.tcl:	window class and corresponding system
1831				background pattern; fix button padding.
1832
1833	* library/tearoff.tcl:	Correct aqua menu bar height; vertically offset
1834	* library/tk.tcl:	aqua tearoff floating window to match menu.
1835
1836	* library/demos/goldberg.tcl: Fix overwriting of widget demo global.
1837
1838	* library/demos/menu.tcl:   On aqua, use custom MDEF and tearoffs;
1839	* library/demos/menubu.tcl: correct menubutton toplevel name.
1840
1841	* library/demos/puzzle.tcl: Fix button size & padding for aqua.
1842	* library/demos/radio.tcl:
1843
1844	* macosx/tkMacOSXCarbonEvents.c: Add window event target carbon event
1845	* macosx/tkMacOSXEvent.c:	 handler for all kEventClassWindow and
1846	* macosx/tkMacOSXEvent.h:	 kEventClassMouse events; move all
1847	* macosx/tkMacOSXNotify.c:	 remaining events except for
1848	* macosx/tkMacOSXWindowEvent.c:	 kEventClassKeyboard from dispatcher to
1849	application event handler; pass event handler callRef downstream; fix
1850	debug event tracing; process all tcl event types in carbon event timer;
1851	delay carbon event timer first fire; add TkMacOSXTrackingLoop() to mark
1852	enter/exit of event tracking loop during which all tcl events but only
1853	carbon update events should be processed by the timer (replaces various
1854	calls to Tcl_SetServiceMode()); rename TkMacOSXReceiveAndProcessEvent()
1855	to TkMacOSXReceiveAndDispatchEvent(), move it from tkMacOSXEvent.c to
1856	tkMacOSXCarbonEvents.c and modify it to dequeue only update events
1857	during a tracking loop; add TkMacOSXRunTclEventLoop() to standardize
1858	the various ways in use to run the tcl event loop; add handling of
1859	kEventClassAppearance events (for ScrollBarVariantChanged event).
1860
1861	* macosx/tkMacOSXDialog.c:	Use new TkMacOSXTrackingLoop() around
1862	* macosx/tkMacOSXEvent.c:	blocking API that puts up modal dialogs
1863	* macosx/tkMacOSXMenu.c:	or when entering/exiting menu/control
1864	* macosx/tkMacOSXMouseEvent.c:	tracking, window dragging and other
1865	* macosx/tkMacOSXScale.c:	mouse tracking loops.
1866	* macosx/tkMacOSXScrlbr.c:
1867	* macosx/tkMacOSXWindowEvent.c:
1868	* macosx/tkMacOSXWm.c:
1869
1870	* macosx/tkMacOSXDialog.c:	Use new TkMacOSXRunTclEventLoop()
1871	* macosx/tkMacOSXScale.c:	instead of Tcl_DoOneEvent(),
1872	* macosx/tkMacOSXScrlbr.c:	Tcl_ServiceAll(), TclServiceIdle()
1873	* macosx/tkMacOSXWindowEvent.c:	and Tcl_GlobalEval("update idletasks").
1874
1875	* macosx/tkMacOSXColor.c: Make available as Tk system colors all
1876	* macosx/tkMacOSXPort.h:  appearance manager brushes, text colors and
1877	backgrounds with new and legacy names, as well as the fully transparent
1878	color "systemTransparent"; add TkMacOSXSetColorIn{Port,Context}() to
1879	directly set an X pixel color value in the current QD port resp. the
1880	given CG context without requiring passage through rgb representation
1881	(lossy for most system colors); modernize/remove Classic-era code;
1882	replace crufty strcmp() elseifs by Tcl_GetIndexFromObjStruct().
1883
1884	* macosx/tkMacOSXButton.c:	Use new TkMacOSXSetColorInPort()
1885	* macosx/tkMacOSXDraw.c:	instead of setting rgb color directly
1886	* macosx/tkMacOSXMenubutton.c:	to allow for non-rgb system colors.
1887
1888	* macosx/tkMacOSXCursor.c: Implement "none" cursor as on other
1889	platforms [Patch 1615427]; add all missing appearance manager cursors.
1890
1891	* macosx/tkMacOSXDefault.h: Set SELECT_FG_COLORs to None to match aqua
1892	L&F; use standard system color names; use new 'menu' system font;
1893	correct default scrollbar width.
1894
1895	* macosx/tkMacOSXDraw.c: 	Standardize initialization, use and
1896	* macosx/tkMacOSXInt.h: 	emptying of various static temp rgns
1897	* macosx/tkMacOSXRegion.c:	onto two global RgnHandles; in debug
1898	* macosx/tkMacOSXSubwindows.c:	builds, verify emptiness of these temp
1899	* macosx/tkMacOSXWindowEvent.c:	rgns before use.
1900
1901	* macosx/tkMacOSXDraw.c: Add TkMacOSX{Setup,Restore}DrawingContext() to
1902	* macosx/tkMacOSXInt.h:  abstract common setup & teardown of drawing
1903	environment (for both CG and QD); save/restore QD theme drawing state;
1904	handle GC clip region; add TkpClipDrawableToRect() to allow clipped
1905	drawing into drawable regardless of GC used; use new system color
1906	"systemWindowHeaderBackground" to setup background in themed toplevels;
1907	correct implementation of TkMacOSXMakeStippleMap().
1908
1909	* macosx/tkMacOSXEntry.c:  Use new TkMacOSXSetupDrawingContext() and
1910	* macosx/tkMacOSXFont.c:   TkMacOSXRestoreDrawingContext() instead of
1911	* macosx/ttkMacOSXTheme.c: various setup/teardown procs like
1912	TkMacOSX{SetUp,Release}CGContext(), TkMacOSXQuarz{Start,End}Draw(),
1913	TkMacOSXSetUpGraphicsPort() etc.
1914
1915	* macosx/tkMacOSXEmbed.c: Add CG context and drawable clip rgn fields
1916	* macosx/tkMacOSXInt.h:   to MacDrawable struct.
1917	* macosx/tkMacOSXSubwindows.c:
1918
1919	* macosx/tkMacOSXDialog.c: Make -parent option of tk_getOpenFile et al.
1920	use the sheet version of NavServices dialogs; ensure native parent win
1921	exists before using StandardSheet API for tk_messageBox [Bug 1677611];
1922	force sheets to behave like app-modal dialogs via WindowModality() API;
1923	use more modern ColorPicker API.
1924
1925	* macosx/tkAboutDlg.r: Use themed movable modal dialog, fix (c) year.
1926
1927	* macosx/tkMacOSXEntry.c:  Take xOff/yOff of MacDrawable into account
1928	* macosx/ttkMacOSXTheme.c: when computing locations/bounds to ensure
1929	correct posititioning when not drawing into intermediate pixmap.
1930
1931	* macosx/tkMacOSXFont.c: Use appearance manager API to map system font
1932	* macosx/tkMacOSXFont.h: names to TkFonts; add "menu" system font for
1933	menu item text drawing from MDEF; always draw with CG; remove QD
1934	dependent stippling algorithm; move most header declarations into the
1935	source file (as they were not used anywhere else).
1936
1937	* macosx/tkMacOSXMenu.c:		 Large-scale rewrite of custom
1938	* macosx/tkMacOSXMenu.r (removed):	 MDEF and related code that
1939	* macosx/Wish.xcode/project.pbxproj:	 restores many longtime-MIA
1940	* macosx/Wish.xcodeproj/project.pbxproj: features to working order
1941	* unix/Makefile.in:			 (e.g. images, custom colors &
1942	fonts in menus etc); implement compound menu items; use Appearance Mgr
1943	and ThemeText APIs to mimic native MDEF as closely as possible when
1944	default "menu" system font is used; remove now obsolete SICN drawing
1945	code and resources.
1946
1947	* macosx/tkMacOSXCarbonEvents.c: Handle additional menu carbon events
1948	* macosx/tkMacOSXEvent.c:	 in order to support <<MenuSelect>> in
1949	* macosx/tkMacOSXMenu.c:	 the menubar and in menus that are not
1950	* macosx/tkMacOSXMenus.c:	 using the custom MDEF [Bug 1620826];
1951	fix early and missing clearing of current Tk active menu entry; fix
1952	extraneous sending of <<MenuSelect>> during active menu entry clearing.
1953
1954	* macosx/tkMacOSXMouseEvent.c: Add support for async window dragging by
1955	the window server; set the corresponding window attribute by default.
1956
1957	* macosx/tkMacOSXMouseEvent.c: Rationalized handling order of
1958	non-mousedown events; add TkMacOSXModifierState() to retrieve the
1959	current key modifiers in carbon format.
1960
1961	* macosx/tkMacOSXScrlbr.c: Use appearance manager API to retrieve
1962	scrollbar component metrics; add awareness of multiple possibilites for
1963	scrollbar arrow position in aqua and handle user changes to arrow
1964	position pref; handle difference in metrics of small & large scrollbar
1965	variants; handle aqua "jump to here" scrollbar behaviour; correct
1966	computation of scroll view size and position; enforce min scrollbar
1967	height to avoid scrollbar component overlap; erase scrollbar area
1968	outside of standard width; remove broken auto-adjust code; account for
1969	window class when leaving space for grow box; remove code to manually
1970	draw grow box; use modern API for thumb scroll proc; replace
1971	HiliteControl() by modern API; replace control mgr constants with
1972	appearance mgr equivalents.
1973
1974	* macosx/tkMacOSXSubwindows.c: Use SetWindowBounds() API instead of
1975	SizeWindow(); invalidate clip regions after X{Map,Unmap}Window as fix
1976	for [Bug 940117] made them dependent on mapping state; remove unneeded
1977	calls to TkMacOSXInvalClipRgns() and unnecessary setting of QD port;
1978	use native-endian pixmap on intel; remove obsolete pixmap pix locking.
1979
1980	* macosx/tkMacOSXWindowEvent.c: Handle only the first of a batch of
1981	kEventAppAvailableWindowBoundsChanged events sent per transaction;
1982	handle kEventWindowBoundsChanged event to support live window resizing
1983	and centralized sending of location/size changed ConfigureNotify
1984	events; ensure HIGrowBox is redrawn after bounds change; constrain
1985	window after dragging to ensure titlebar is not inacessible
1986	offscreen or under dock/menubar; handle kEventWindowGetRegion and
1987	kEventWindowDrawContent for transparent windows to mark resp. paint
1988	content region as transparent; handle kEventWindowConstrain for
1989	fullscreen windows to ensure bounds match new screen size; enter/exit
1990	fullscreen UIMode upon activation/deactivation of fullscreen window.
1991
1992	* macosx/tkMacOSXWm.c: Use live-resize and async-drag carbon window
1993	* macosx/tkMacOSXWm.h: attributes for toplevels by default; implement
1994	new [wm attributes] -topmost, -transparent and -fullscreen; refactor
1995	WmAttributesCmd() parallelling the tkUnixWm.c implementation, use thus
1996	factored proc to set proxy icon from [wm iconbitmap]; dynamically
1997	determine default values for toplevel min and max sizes (similar to
1998	tkWinWm.c impl): min sizes depend on window class & attributes to
1999	ensure visibility of all titlebar widgets and grow box, max sizes
2000	depend on maximal window bounds for all active displays; factor out
2001	code that puts into effect changes to master or override_redirect; use
2002	RepositionWindow() API to determine staggered initial window bounds;
2003	correct resize limit calculations, handle gridding and use modern
2004	resize API in TkMacOSXGrowToplevel(); remove sending of ConfigureNotify
2005	after resize or zoom (now handled by BoundsChanged handler); correct
2006	composite carbon window attribute handling, remove currently unusable
2007	attributes and add new attributes in [tk::unsupported::MacWindowStyle];
2008	ensure validity of window class and attributes before use; apply
2009	changes to window class when handling carbon window attribute changes
2010	(if HIWindowChangeClass() API available); add debug build warning
2011	message when deprecated window style is used instead of window class;
2012	use transparent HIGrowBox for resizable windows; avoid unnecessary
2013	calls to window structure width API; use tcl time API in TkpGetMS();
2014	add TkMacOSXEnterExitFullscreen() to enter/exit UIMode with dock and
2015	menubar hidden; restrict wmTracing output to debug builds; remove
2016	unneeded calls to TkMacOSXInvalClipRgns() and unnecessary setting of QD
2017	port; workaround GetWindowStructureWidths() Carbon bug (bogus results
2018	for never-mapped floating windows).
2019
2020	* macosx/tkMacOSXXStubs.c (TkMacOSXDisplayChanged): Add maximal window
2021	bounds field to Screen record (in ext_data), computed as the union of
2022	available window positioning bounds of all graphics devices (displays).
2023
2024	* macosx/tkMacOSXBitmap.c: Fix macRoman encoding leak.
2025	* macosx/tkMacOSXCursor.c:
2026
2027	* macosx/tkMacOSXDebug.c (TkMacOSXCarbonEventToAscii): Use static
2028	* macosx/tkMacOSXDebug.h: buffer to simplify callers; const fixes.
2029
2030	* macosx/tkMacOSXBitmap.c: Use more efficient QDSwapPort() instead of
2031	* macosx/tkMacOSXButton.c: GetPort()/SetPort()/GetGWorld()/SetGWorld().
2032	* macosx/tkMacOSXDraw.c:
2033	* macosx/tkMacOSXMenubutton.c:
2034	* macosx/tkMacOSXScale.c:
2035	* macosx/tkMacOSXScrlbr.c:
2036	* macosx/tkMacOSXXStubs.c:
2037
2038	* macosx/tkMacOSXColor.c: Use kHIToolboxVersionNumber for runtime OS
2039	* macosx/tkMacOSXEntry.c: version check rather than Gestalt() etc.
2040	* macosx/tkMacOSXInt.h:
2041	* macosx/tkMacOSXWm.c:
2042
2043	* macosx/tkMacOSXDraw.c: Remove obsolete and now incorrect
2044	* macosx/tkMacOSXInt.h:  tkMenuCascadeRgn clipping code.
2045	* macosx/tkMacOSXMenu.c:
2046
2047	* macosx/tkMacOSXHLEvents.c: Replace Tcl_GlobalEval() resp. Tcl_Eval()
2048	* macosx/tkMacOSXScrlbr.c:   by Tcl_EvalEx().
2049	* macosx/tkMacOSXInit.c:
2050
2051	* macosx/tkMacOSXInit.c (TkpInit): Reorder initialization steps.
2052
2053	* macosx/tkMacOSXKeyEvent.c: Remove pre-10.2 support.
2054
2055	* macosx/tkMacOSXMenus.c: Remove now useless call to
2056	TkMacOSXHandleTearoffMenu(); use \x.. quoting for non-latin1 macroman
2057	literar chars to allow file to be edited as utf-8.
2058
2059	* macosx/tkMacOSXScale.c: Replace TrackControl() by modern
2060	* macosx/tkMacOSXScrlbr.c: HandleControlClick() API (using new
2061	TkMacOSXModifierState()).
2062
2063	* macosx/tkMacOSXInt.h:		Move all constant #defines needed to
2064	* macosx/tkMacOSXColor.c:	support building on older OS X releases
2065	* macosx/tkMacOSXEvent.h:	to a central location in tkMacOSXInt.h.
2066	* macosx/tkMacOSXFont.c:
2067	* macosx/tkMacOSXMenu.c:
2068	* macosx/tkMacOSXMenubutton.c:
2069	* macosx/tkMacOSXMenus.c:
2070	* macosx/tkMacOSXMouseEvent.c:
2071	* macosx/tkMacOSXWm.c:
2072	* macosx/ttkMacOSXTheme.c:
2073
2074	* macosx/tkMacOSXInt.h:		 Add ChkErr() macro to factor out
2075	* macosx/tkMacOSXButton.c:	 Carbon OSStatus return value checking
2076	* macosx/tkMacOSXCarbonEvents.c: and TkMacOSXDbgMsg() macro to factour
2077	* macosx/tkMacOSXClipboard.c:	 out debug message output; use these
2078	* macosx/tkMacOSXColor.c:	 macros to replace #ifdef TK_MAC_DEBUG
2079	* macosx/tkMacOSXCursor.c:	 blocks & direct printing to stderr,
2080	* macosx/tkMacOSXDebug.c:	 and to do additional OSStatus return
2081	* macosx/tkMacOSXDialog.c:	 checking, and to standardize OSStatus
2082	* macosx/tkMacOSXDraw.c:	 usage.
2083	* macosx/tkMacOSXEntry.c:
2084	* macosx/tkMacOSXEvent.c:
2085	* macosx/tkMacOSXFont.c:
2086	* macosx/tkMacOSXHLEvents.c:
2087	* macosx/tkMacOSXInit.c:
2088	* macosx/tkMacOSXKeyEvent.c:
2089	* macosx/tkMacOSXMenu.c:
2090	* macosx/tkMacOSXMenubutton.c:
2091	* macosx/tkMacOSXMenus.c:
2092	* macosx/tkMacOSXMouseEvent.c:
2093	* macosx/tkMacOSXScrlbr.c:
2094	* macosx/tkMacOSXSubwindows.c:
2095	* macosx/tkMacOSXWindowEvent.c:
2096	* macosx/tkMacOSXWm.c:
2097	* macosx/tkMacOSXXStubs.c:
2098
2099	* macosx/tkMacOSXSend.c:	Remove duplicate/unused declarations.
2100	* macosx/tkMacOSXXStubs.c:
2101
2102	* macosx/tkMacOSXDebug.c:	Const fixes.
2103	* macosx/tkMacOSXInit.c:
2104	* macosx/tkMacOSXTest.c:
2105	* macosx/tkMacOSXWm.c:
2106	* macosx/tkMacOSXXStubs.c:
2107
2108	* macosx/Wish-Info.plist.in: Add tcl document extensions/mime types and
2109	LSMinimumSystemVersion, LSRequiresCarbon & NSAppleScriptEnabled keys.
2110
2111	* macosx/Wish-Common.xcconfig: Add Wish's Info.plist as __info_plist
2112	section to tktest; enable more warnings.
2113
2114	* macosx/Wish.xcodeproj/project.pbxproj: Add 'DebugMemCompile' build
2115	configuration that calls configure with --enable-symbols=all; disable
2116	configure check for __attribute__((__visibility__("hidden"))) in Debug
2117	configuration to restore availability of ZeroLink.
2118
2119	* macosx/Wish-Common.xcconfig:	Fix whitespace.
2120	* macosx/Wish-Debug.xcconfig:
2121	* macosx/Wish-Release.xcconfig:
2122	* macosx/tkMacOSXAETE.r:
2123	* macosx/tkMacOSXConfig.c:
2124	* macosx/tkMacOSXCursors.r:
2125	* macosx/tkMacOSXKeyboard.c:
2126	* macosx/tkMacOSXSend.c:
2127	* macosx/ttkMacOSXTheme.c:
2128	* macosx/tkMacOSXXCursors.r:
2129	* macosx/README:
2130
2131	* macosx/GNUmakefile:		Fix/add copyright and license refs.
2132	* macosx/Tk-Info.plist.in:
2133	* macosx/Wish-Info.plist.in:
2134	* macosx/Wish.xcode/project.pbxproj:
2135	* macosx/Wish.xcodeproj/project.pbxproj:
2136	* macosx/tkMacOSX.h:
2137
2138	* unix/configure.in: Install license.terms into Tk.framework; fix tk
2139	debug build detection.
2140	* unix/configure: autoconf-2.59
2141
2142	* doc/colors.n:		Document new Mac OS X system colors.
2143	* doc/cursors.n:	Document new Mac OS X native cursors.
2144	* doc/font.n:		Document new Mac OS X 'menu' system font.
2145	* doc/wm.n:		Document new Mac OS X [wm attributes].
2146	* doc/ttk_image.n:	Fix 'make html' warning.
2147	* doc/canvas.n:		Fix nroff typo.
2148
21492007-04-21  Jeff Hobbs  <jeffh@ActiveState.com>
2150
2151	* macosx/tkMacOSXBitmap.c, macosx/tkMacOSXButton.c:
2152	* macosx/tkMacOSXCarbonEvents.c, macosx/tkMacOSXClipboard.c:
2153	* macosx/tkMacOSXCursor.c, macosx/tkMacOSXDialog.c:
2154	* macosx/tkMacOSXDraw.c, macosx/tkMacOSXEvent.c:
2155	* macosx/tkMacOSXFont.c, macosx/tkMacOSXInit.c, macosx/tkMacOSXInt.h:
2156	* macosx/tkMacOSXKeyEvent.c, macosx/tkMacOSXMenu.c:
2157	* macosx/tkMacOSXMenubutton.c, macosx/tkMacOSXMouseEvent.c:
2158	* macosx/tkMacOSXScale.c, macosx/tkMacOSXWindowEvent.c:
2159	* macosx/tkMacOSXWm.c: Revert of commits from 2007-04-13 which broke
2160	the OS X build.
2161
21622007-04-17  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
2163
2164	* generic/tkFont.c, generic/tkListbox.c, unix/tkUnixSelect.c:
2165	* win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: Make
2166	the format of declarations much more standardized (removing K&R-isms
2167	and other things like that).
2168
21692007-04-13  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
2170
2171	* macosx/tkMacOSXInt.h (LOG_MSG, LOG_ON_ERROR): Added macros to make
2172	the OSX code much less #ifdef-full.
2173
21742007-04-12  Jeff Hobbs  <jeffh@ActiveState.com>
2175
2176	* library/ttk/panedwindow.tcl (ttk::panedwindow::Press): handle Press
2177	triggering outside sash element boundaries.
2178
21792007-04-10  Joe English  <jenglish@users.sourceforge.net>
2180
2181	* win/ttkWinMonitor.c, win/ttkWinXPTheme.c: Re-sync with Tile codebase
2182	so patches can flow back and forth.
2183
2184	* win/ttkWinXPTheme.c: Skip OS version test, should work on Vista/Aero
2185	now as well as XP. Fixes [Bug 1687299], thanks to George Petasis for
2186	tracking this down.
2187
21882007-03-21  Joe English  <jenglish@users.sourceforge.net>
2189
2190	* generic/ttk/ttkLayout.c(Ttk_BuildLayoutTemplate): BUGFIX: Nested
2191	TTK_GROUP nodes did not work unless they appeared at the end of the
2192	layout (and only by accident then).
2193
21942007-03-08  Joe English  <jenglish@users.sourceforge.net>
2195
2196	* tests/grid.test(grid-21.7): Reset wm geometry . and pack propagate .
2197	at end of test. 'pack propagate . 0' was causing cascading failures in
2198	subsequent tests. [Bug 1676770]
2199
22002007-03-07  Daniel Steffen  <das@users.sourceforge.net>
2201
2202	* generic/tkMain.c (Tk_MainEx): Replicate macosx-specific code from
2203	TkpInit() that ensures the console window appears when wish is started
2204	from the OS X Finder (i.e. with stdin == /dev/null), jeffh's 2006-11-24
2205	change rendered the corresponding code in TkpInit() ineffective in wish
2206	because Tk_MainEx() sets tcl_interactive before calling TkpInit().
2207
2208	* generic/ttk/ttkGenStubs.tcl (new): Add ttk-specific genstubs.tcl from
2209	* unix/Makefile.in (genstubs):  tile and run it from 'genstubs'
2210	target, restores ability to generate all of Tk's stub sources.
2211
2212	* generic/ttk/ttkTreeview.c: #ifdef out unused declaration.
2213
2214	* macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): Add fix for
2215	libraries loaded with a DYLD_IMAGE_SUFFIX.
2216
2217	* macosx/Wish.xcodeproj/project.pbxproj: Ensure gcc version used by
2218	* macosx/Wish.xcodeproj/default.pbxuser: Xcode and configure/make are
2219	* macosx/Wish-Common.xcconfig:		 consistent and independent of
2220	gcc_select default and CC env var; fixes for Xcode 3.0.
2221
2222	* unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check.
2223	* unix/configure: autoconf-2.59
2224
22252007-02-25  Peter Spjuth  <peter.spjuth@space.se>
2226
2227	* generic/tkUtil.c: Fixed grid anchor center problem in labelframes.
2228	* tests/grid.test:  [Bug 1545765]
2229
22302007-02-23  Jeff Hobbs  <jeffh@ActiveState.com>
2231
2232	* library/ttk/notebook.tcl (ttk::notebook::enableTraversal): OS X
2233	needs Option instead of Alt binding
2234
22352007-02-19  Jeff Hobbs  <jeffh@ActiveState.com>
2236
2237	* unix/tcl.m4: use SHLIB_SUFFIX=".so" on HP-UX ia64 arch.
2238	* unix/configure: autoconf-2.59
2239
2240	* library/tkfbox.tcl (::tk::IconList_Goto): avoid goto issues in empty
2241	dirs. [Bug 1662959]
2242
22432007-02-09  Joe Mistachkin  <joe@mistachkin.com>
2244
2245	* win/nmakehlp.c: Properly cleanup after nmakehlp, including the
2246	* win/makefile.vc: vcX0.pch file. Sync up fixed nmakehlp usage from
2247	Tcl.
2248
22492007-02-06  Joe English  <jenglish@users.sourceforge.net>
2250
2251	* library/ttk/ttk.tcl: Add no-op [package ifneeded] script for tile
2252	0.8.0, so that existing applications that use "package require tile"
2253	won't fail when run under Tk 8.5.
2254
22552007-02-04  Daniel Steffen  <das@users.sourceforge.net>
2256
2257	* unix/tcl.m4: Use gcc4's __attribute__((__visibility__("hidden"))) if
2258	available to define MODULE_SCOPE effective on all platforms.
2259	* unix/configure.in: add caching to -pipe check.
2260	* unix/configure: autoconf-2.59
2261	* unix/tkConfig.h.in: autoheader-2.59
2262
22632007-02-03  Joe Mistachkin  <joe@mistachkin.com>
2264
2265	* win/rules.vc: Fix platform specific file copy macros for downlevel
2266	Windows.
2267	* win/ttkWinMonitor.c: Windows portability support. Fix "noxp" build
2268	* win/ttkWinXPTheme.c: option handling and use GetWindowLongPtr and
2269	SetWindowLongPtr only when needed.
2270
22712007-02-02  Pat Thoyts  <patthoyts@users.sourceforge.net>
2272
2273	* win/ttkWinXPTheme.c: Support IsAppThemed() call. This is what is
2274	used when theming is turned off just for an individual application.
2275
22762007-01-28  Daniel Steffen  <das@users.sourceforge.net>
2277
2278	* macosx/Wish.xcodeproj/project.pbxproj:   Extract build settings that
2279	* macosx/Wish.xcodeproj/default.pbxuser:   were common to multiple
2280	* macosx/Wish-Common.xcconfig (new file):  configurations into external
2281	* macosx/Wish-Debug.xcconfig (new file):   xcconfig files; add extra
2282	* macosx/Wish-Release.xcconfig (new file): configurations for building
2283	with SDKs; convert legacy jam-based 'Tk' target to native target with
2284	single script phase; correct syntax of build setting references to use
2285	$() throughout; remove unused tcltest sources from 'tktest' target.
2286
2287	* macosx/README: Document new Wish.xcodeproj configurations; other
2288	minor updates/corrections.
2289
2290	* generic/tk.h: Update location of version numbers in macosx files.
2291
2292	* macosx/Wish.xcode/project.pbxproj: Restore 'tktest' target to working
2293	* macosx/Wish.xcode/default.pbxuser: order by replicating applicable
2294	changes to Wish.xcodeproj since 2006-07-20.
2295
22962007-01-25  Daniel Steffen  <das@users.sourceforge.net>
2297
2298	* unix/tcl.m4: Integrate CPPFLAGS into CFLAGS as late as possible and
2299	move (rather than duplicate) -isysroot flags from CFLAGS to CPPFLAGS to
2300	avoid errors about multiple -isysroot flags from some older gcc builds.
2301
2302	* unix/configure: autoconf-2.59
2303
23042007-01-19  Joe Mistachkin  <joe@mistachkin.com>
2305
2306	* win/makefile.vc: Properly build man2tcl.c for MSVC8.
2307
23082007-01-19  Daniel Steffen  <das@users.sourceforge.net>
2309
2310	* macosx/Wish.xcodeproj/project.pbxproj: Remove libtommath defines.
2311
2312	* unix/tcl.m4: Ensure CPPFLAGS env var is used when set. [Bug 1586861]
2313	(Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when
2314	present in CFLAGS to avoid discrepancies between what headers configure
2315	sees during preprocessing tests and compiling tests.
2316
2317	* unix/configure: autoconf-2.59
2318
23192007-01-11  Jeff Hobbs  <jeffh@activestate.com>
2320
2321	* unix/tkUnixEvent.c, library/msgs/es.msg: s/CRLF/LF/g
2322
23232007-01-11  Joe English  <jenglish@users.sourceforge.net>
2324
2325	* win/tcl.m4 (CFLAGS_WARNING): Remove "-Wconversion". This was removed
2326	from unix/tcl.m4 2004-07-16 but not from here.
2327	* win/configure: Regenerated.
2328
23292007-01-11  Joe English  <jenglish@users.sourceforge.net>
2330
2331	* generic/ttk/ttkManager.h, generic/ttk/ttk*.c: Revert addition of
2332	contravariant 'const' qualifiers, to keep in sync with Tile codebase
2333	(which must remain compatible with Tk 8.4).
2334
23352007-01-03  Jan Nijtmans  <nijtmans@users.sf.net>
2336
2337	* doc/ManageGeom.3,
2338	* generic/tk.decls,
2339	* generic/tk.h: Add const to 2nd parameter of Tk_ManageGeometry
2340	* generic/tkDecls.h: regenerated
2341	* generic/tkInt.h,
2342	* generic/tk*.c,
2343	* generic/ttk/ttk*.c: Added many "const" specifiers in implementation.
2344
23452007-01-02  Donal K. Fellows  <dkf@users.sf.net>
2346
2347	* xlib/*: Made the generic fake-X11 glue layer abide by the formatting
2348	rules of the core.
2349
23502006-12-31  Benjamin Riefenstahl  <b.riefenstahl@turtle-trading.net>
2351
2352	* macosx/tkMacOSXFont.c: Fill-in TkpGetFontAttrsForChar (TIP #300).
2353	* macosx/ttkMacOSXTheme.c: Define a constant to make it compile on Mac
2354	OS X 10.3.
2355
23562006-12-28  Mo DeJong  <mdejong@users.sourceforge.net>
2357
2358	* tests/wm.test: Update wm attributes output so that tests pass after
2359	addition of -transparentcolor for Win32.
2360
23612006-12-26  Joe English  <jenglish@users.sourceforge.net>
2362
2363	* generic/ttk/ttkLabel.c: ImageElement clientData no longer needed.
2364
23652006-12-22  Donal K. Fellows  <dkf@users.sf.net>
2366
2367	* unix/tkUnixEvent.c (TkUnixDoOneXEvent): Made correct on AMD64 and
2368	other similar 64-bit systems where fd_mask is not 'unsigned int' in
2369	effect. [Bug 1522467]
2370
2371	* library/msgs/es_ES.msg (removed):
2372	* library/msgs/es.msg: Fixed translation fault that was present in all
2373	Spanish-speaking locales. [Bug 1111213]
2374
23752006-12-19  Jeff Hobbs  <jeffh@ActiveState.com>
2376
2377	* win/tkWinButton.c (TkpDisplayButton): lint init. [Bug 1618604]
2378
23792006-12-19  Daniel Steffen  <das@users.sourceforge.net>
2380
2381	* unix/tcl.m4 (Darwin): --enable-64bit: verify linking with 64bit -arch
2382	flag succeeds before enabling 64bit build.
2383	* unix/configure: autoconf-2.59
2384
23852006-12-18  Joe English  <jenglish@users.sourceforge.net>
2386
2387	* generic/ttk/ttkTreeview.c, library/ttk/treeview.tcl, doc/treeview.n:
2388	Added column '-stretch' and '-minwidth' options. Improved column drag
2389	and resize behavior. Added horizontal scrolling [Bug 1518650]. Row
2390	height and child indent specifiable on Treeview style. Decreased
2391	default row height, no default -padding. Use correct heading height
2392	[Bug 1163349]. Apply tag settings to tree item as well as to data
2393	columns [NOTE: 'tag configure' still buggy]. Fix off-by-one condition
2394	when moving nodes forward [Bug 1618142]
2395	* generic/ttk/ttkScroll.c (TtkScrollTo): Prevent overscroll [Bug
2396	1173434]
2397	* library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl,
2398	* library/ttk/clamTheme.tcl, library/ttk/classicTheme.tcl,
2399	* library/ttk/defaults.tcl, library/ttk/winTheme.tcl,
2400	* library/ttk/xpTheme.tcl: Per-theme treeview settings.
2401	* macosx/ttkMacOSXTheme.c: Added disclosure triangle element.
2402
24032006-12-17  Joe English  <jenglish@users.sourceforge.net>
2404
2405	* library/ttk/combobox.tcl, generic/ttk/ttkEntry.c,
2406	* doc/ttk_combobox.n: Add combobox -height option; only show scrollbar
2407	if the listbox needs to scroll. [Bug 1032869]
2408
24092006-12-16  Mo DeJong  <mdejong@users.sourceforge.net>
2410
2411	* doc/cursors.n: Mention "none" in supported cursor list. Fix comment
2412	that incorrectly claims that the Win32 "no" cursor hides the cursor.
2413	* tests/cursor.test: Test "none" cursor.
2414	* unix/tkUnixCursor.c (CreateCursorFromTableOrFile)
2415	(TkGetCursorByName): Define a table of Tk cursors that is searched in
2416	addition to the X cursor table. A Tk cursor is loaded from a data
2417	string and works with the same options as the built in X cursors. This
2418	code makes it possible to use "none" as a cursor name under Unix.
2419	* win/rc/cursor9a.cur: Added none Win32 cursor.
2420	* win/rc/tk_base.rc: Define a built-in Win32 cursor named "none".
2421	[Patch 1615427]
2422
24232006-12-14  Joe English  <jenglish@users.sourceforge.net>
2424
2425	* generic/ttk/ttkButton.c, generic/ttk/ttkElements.c,
2426	* generic/ttk/ttkEntry.c, generic/ttk/ttkFrame.c,
2427	* generic/ttk/ttkImage.c, generic/ttk/ttkInit.c,
2428	* generic/ttk/ttkLabel.c, generic/ttk/ttkNotebook.c,
2429	* generic/ttk/ttkPanedwindow.c, generic/ttk/ttkProgress.c,
2430	* generic/ttk/ttkScale.c, generic/ttk/ttkScrollbar.c,
2431	* generic/ttk/ttkSeparator.c, generic/ttk/ttkTheme.h,
2432	* generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.h:
2433	Global reduction: use per-file *_Init() routines to reduce the number
2434	of globally-visible initialization records.
2435
24362006-12-13  Jeff Hobbs  <jeffh@ActiveState.com>
2437
2438	* unix/Makefile.in (install-doc): intentionally skip ttk_dialog.n
2439	installation (not for public consumption)
2440
2441	* doc/scrollbar.n, doc/button.n, doc/checkbutton.n:
2442	* doc/entry.n, doc/frame.n, doc/label.n, doc/labelframe.n:
2443	* doc/menu.n, doc/menubutton.n, doc/panedwindow.n:
2444	* doc/radiobutton.n, doc/scrollbar.n, doc/ttk_*: revamp ttk docs to
2445	use consist nroff format (not 100% consistent with classic widget
2446	docs). Add more man page cross-linking "SEE ALSO".
2447
2448	* generic/ttk/ttkInit.c:
2449	* generic/ttk/ttkTreeview.c: make treeview exist by default
2450	* generic/ttk/ttkPanedwindow.c: s/TtkPaned_Init/TtkPanedwindow_Init/
2451
2452	* win/Makefile.in, unix/Makefile.in (demo): add 'demo' target
2453
24542006-12-13  Joe English  <jenglish@users.sourceforge.net>
2455
2456	* library/ttk/ttk.tcl: Try to straighten out theme loading and
2457	selection logic.
2458	* generic/ttk/ttkElements.c, library/ttk/defaults.tcl,
2459	* generic/ttk/ttkClamTheme.c, library/ttk/clamTheme.tcl:
2460	Provide package in C part instead of Tcl part.
2461
24622006-12-12  Joe English  <jenglish@users.sourceforge.net>
2463
2464	* library/ttk/ttk.tcl, generic/ttkTheme.c: Remove nonfunctional code.
2465
24662006-12-12  Mo DeJong  <mdejong@users.sourceforge.net>
2467
2468	* win/tkWinButton.c (InitBoxes): Call Tcl_Panic() if loading of bitmap
2469	resources fails. This change generates an error if Tk is unable to
2470	find button widget resources instead of silently failing and then
2471	drawing widgets incorrectly.
2472	* win/rc/tk_base.rc: If the user defines BASE_NO_TK_ICON then compile
2473	the base resources file without a "tk" icon. This change makes it
2474	easier to replace the default tk icon with a custom icon. [Patch
2475	1614362]
2476
24772006-12-11  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
2478
2479	* unix/tkUnixWm.c (TkWmMapWindow, WmClientCmd): Added support for
2480	_NET_WM_PID property from the EWMH spec. This is only installed when
2481	the client machine is set.
2482	(WmProtocolCmd, UpdateWmProtocols, TkWmProtocolEventProc): Added
2483	support for the _NET_WM_PING protocol from the EWMH spec. Note that
2484	the support for this is not exposed to the script level as that would
2485	prevent correct handling.
2486
24872006-12-10  Joe English  <jenglish@users.sourceforge.net>
2488
2489	* generic/ttk/ttkTheme.h, generic/ttk/ttkThemeInt.h,
2490	* generic/ttk/ttk.decls, generic/ttk/ttkTheme.c,
2491	* generic/ttk/ttkLayout.c, generic/ttk/ttkDecls.h:
2492	Rename typedef Ttk_Element => Ttk_ElementImpl.
2493
24942006-12-09  Joe English  <jenglish@users.sourceforge.net>
2495
2496	* generic/ttk/ttkButton.c, generic/ttk/ttkImage.c,
2497	* generic/ttk/ttkLabel.c, generic/ttk/ttkWidget.h,
2498	* generic/ttk/ttkTheme.h, generic/ttk/ttkNotebook.c,
2499	* generic/ttk/ttkTreeview.c, doc/ttk_image.n:
2500	Merged duplicate functionality between image element factory, image
2501	element, and -image option processing. Image element factory now takes
2502	an imageSpec argument instead of a separate image name and -map option
2503	* tests/ttk/image.test(image-1.1): Can catch this error earlier now.
2504
25052006-12-06  Kevin Kenny  <kennykb@acm.org>
2506
2507	* unix/configure.in: Further changes to avoid attempting to link
2508	* unix/configure:   against Xft libraries in a non-Xft build
2509	         [Bug 1609616] (dgp)
2510
25112006-12-04  Jeff Hobbs  <jeffh@ActiveState.com>
2512
2513	* generic/tkListbox.c (ConfigureListboxItem): ListboxWorldChanged not
2514	needed - just call EventuallyRedrawRange. [Bug 1608046] (rezic)
2515
25162006-12-04  Donal K. Fellows  <dkf@users.sf.net>
2517
2518	TIP #286 IMPLEMENTATION
2519
2520	* generic/tkMenu.c (MenuWidgetObjCmd, MenuDoXPosition):
2521	* doc/menu.n, tests/menu.test: Added an [$menu xposition] subcommand
2522	which is useful in menubars and when menus use multiple columns. Many
2523	thanks to Schelte Bron for the implementation.
2524
25252006-12-01  Kevin Kenny  <kennykb@acm.org>
2526
2527	TIP #300 IMPLEMENTATION
2528
2529	* doc/font.n:			Added a [font actual $font $char]
2530	* generic/tkFont.c:		variant that introspects the font that
2531	* generic/tkFont.h:		is chosen to render a given character
2532	* macosx/tkMacOSXFont.c:	in a given nominal font. Added
2533	* tests/font.test:		documentation and test cases for the
2534	* unix/tkUnixFont.c:		new command syntax.
2535	* unix/tkUnixRFont.c:
2536	* win/tkWinFont.c:
2537
25382006-12-01  Jeff Hobbs  <jeffh@ActiveState.com>
2539
2540	* doc/wm.n, tests/winWm.test:
2541	* win/tkWinWm.c: add -transparentcolor attribute for Windows.
2542
25432006-12-01  Joe English  <jenglish@users.sourceforge.net>
2544
2545	* generic/ttk/ttkTheme.h, generic/ttk/ttkLayout.c: Dead code removal.
2546
25472006-11-30  Daniel Steffen  <das@users.sourceforge.net>
2548
2549	* macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): fix inability to use
2550	buttons with standard Escape key binding as -default button (reported
2551	on tcl-mac by Hans-Christoph Steiner).
2552
2553	* macosx/tkMacOSXWm.c (WmAttributesCmd): fix getting [wm attr -alpha].
2554	[Bug 1581932]
2555
25562006-11-28  Joe English  <jenglish@users.sourceforge.net>
2557
2558	* library/ttk/fonts.tcl: Clean up temporary variables.
2559
25602006-11-27  Kevin Kenny  <kennykb@acm.org>
2561
2562	* unix/configure.in: Corrected Xft configuration so that Xft actually
2563	does get turned on when available.
2564	* unix/configure: autoconf
2565
25662006-11-26  Joe English  <jenglish@users.sourceforge.net>
2567
2568	* generic/ttk/ttkWidget.c, generic/ttk/ttkPaned.c: Fix [Bug 1603506]
2569	* library/ttk/button.tcl, library/ttk/combobox.tcl,
2570	* library/ttk/utils.tcl: Rename ttk::CopyBindings to ttk::copyBindings
2571	* generic/ttk/ttkTreeview.c, doc/ttk_treeview.n:
2572	-displaycolumns {} now means "no columns" instead of "all columns".
2573	Use -displaycolumns #all for "all columns". [Bug 1547622]
2574
25752006-11-26  Daniel Steffen  <das@users.sourceforge.net>
2576
2577	* unix/tcl.m4 (Linux): --enable-64bit support.	[Patch 1597389]
2578	* unix/configure: autoconf-2.59			[Bug 1230558]
2579
25802006-11-24  Jeff Hobbs  <jeffh@ActiveState.com>
2581
2582	* macosx/tkMacOSXInit.c (TkpInit): only set tcl_interactive 1 if it
2583	isn't already defined. Allows embedders to set it to 0 to prevent the
2584	console appearing on OS X. [Bug 1487701]
2585
2586	* unix/tkUnixMenu.c (DrawMenuUnderline): bound Tcl_UtfAtIndex usage
2587	* tests/menu.test (menu-36.1): [Bug 1599877]
2588
25892006-11-24  Joe English  <jenglish@users.sourceforge.net>
2590
2591	* library/ttk/altTheme.tcl, library/ttk/clamTheme.tcl,
2592	* library/ttk/defaults.tcl, library/ttk/winTheme.tcl,
2593	* library/ttk/xpTheme.tcl: explicitly specify -anchor w on TMenubutton
2594	* tests/ttk/entry.test: Fixed font dependency; test entry-3.2 should
2595	work on all platforms now.
2596	* library/classicTheme.tcl: Don't define or use TkClassicDefaultFont.
2597	* generic/ttk/ttkTreeview.c, generic/ttk/ttkPanedwindow.c: Handle
2598	missing layouts.
2599
26002006-11-23  Jeff Hobbs  <jeffh@ActiveState.com>
2601
2602	* win/tkWinMenu.c (TkWinHandleMenuEvent, DrawMenuUnderline): Handle
2603	unichar underlining correctly and safely. [Bug 1599877]
2604
26052006-11-20  Joe English  <jenglish@users.sourceforge.net>
2606
2607	* win/ttkWinXPTheme.c: Add support for alternate/indeterminate
2608	checkbutton state. Fix various spacing parameters [Bug 1596020, patch
2609	from Tim Baker]. Remove unused uxtheme hooks.
2610
26112006-11-16  Donal K. Fellows  <dkf@users.sf.net>
2612
2613	* doc/colors.n, doc/wm.n: Minor fixes, added See Also.
2614
2615	* doc/labelframe.n: Added an example.
2616
26172006-11-15  Donal K. Fellows  <dkf@users.sf.net>
2618
2619	* doc/label.n: Added an example and some See Also refs.
2620
2621	* doc/ConfigWidg.3, doc/bind.n, doc/grid.n, doc/panedwindow.n:
2622	* doc/text.n, doc/ttk_Geometry.3, doc/ttk_button.n:
2623	* doc/ttk_checkbutton.n, doc/ttk_combobox.n, doc/ttk_dialog.n:
2624	* doc/ttk_entry.n, doc/ttk_frame.n, doc/ttk_image.n, doc/ttk_intro.n:
2625	* doc/ttk_label.n, doc/ttk_labelframe.n, doc/ttk_menubutton.n:
2626	* doc/ttk_notebook.n, doc/ttk_panedwindow.n, doc/ttk_progressbar.n:
2627	* doc/ttk_radiobutton.n, doc/ttk_scrollbar.n, doc/ttk_separator.n:
2628	* doc/ttk_sizegrip.n, doc/ttk_style.n, doc/ttk_widget.n, doc/wm.n:
2629	Convert \fP to \fR so that man-page scrapers have an easier time.
2630
26312006-11-14  Joe English  <jenglish@users.sourceforge.net>
2632
2633	* generic/ttk/ttkDefaultTheme.c: Fix off-by-one bug in tree indicator
2634	size computation [Bug 1596021, patch from Tim Baker]. Increased
2635	default size from 7 to 9 pixels.
2636
26372006-11-12  Joe English  <jenglish@users.sourceforge.net>
2638
2639	* generic/ttkScroll.c: *correct* fix for [Bug 1588251].
2640
26412006-11-12  Joe English  <jenglish@users.sourceforge.net>
2642
2643	* tests/ttk/ttk.test(ttk-6.9): Workaround for [Bug 1583038]
2644
26452006-11-12  Joe English  <jenglish@users.sourceforge.net>
2646
2647	* generic/ttkScroll.c: Reworked cleanup procedure; "self-cancelling"
2648	idle call is not robust, call Tcl_CancelIdleCall() in
2649	TtkFreeScrollHandle instead. Fixes [Bug 1588251]
2650
26512006-11-10  Daniel Steffen  <das@users.sourceforge.net>
2652
2653	* macosx/Wish.xcodeproj/project.pbxproj: remove tclParseExpr.c and
2654	bwidget.test.
2655
2656	* unix/tcl.m4 (Darwin): suppress linker arch warnings when building
2657	universal for both 32 & 64 bit and no 64bit CoreFoundation is
2658	available; sync with tcl tcl.m4 change.
2659	* unix/configure: autoconf-2.59
2660	* unix/tkConfig.h.in: autoheader-2.59
2661
26622006-11-08  Kevin Kenny  <kennykb@acm.org>
2663
2664	* unix/configure.in: Silenced warnings about missing Xft configuration
2665	unless --enable-xft is requested explicitly. Also added a few basic
2666	checks that we can actually compile and link against Xft headers and
2667	libraries. [Bug 1592667]
2668	* unix/configure: Regen.
2669
26702006-11-07  Kevin Kenny  <kennykb@acm.org>
2671
2672	* unix/configure.in: Made --enable-xft the default.
2673	* unix/configure: Regen.
2674
26752006-11-06  Joe English  <jenglish@users.sourceforge.net>
2676
2677	* generic/ttk/ttkClassicTheme.c, generic/ttk/ttkPanedwindow.c,
2678	* generic/ttk/ttkTheme.c, generic/ttk/ttkTreeview.c,
2679	* win/ttkWinXPTheme.c, library/ttk/entry.tcl,
2680	* library/ttk/notebook.tcl, library/ttk/panedwindow.tcl,
2681	* library/ttk/utils.tcl, tests/ttk/entry.test, tests/ttk/bwidget.test:
2682	Miscellaneous minor changes to re-sync Ttk codebase with Tile CVS: fix
2683	comments damaged by overzealous search-and-destroy; removed obsolete
2684	[style default] synonym for [ttk::style configure]; removed other dead
2685	code.
2686
26872006-11-03  Pat Thoyts  <patthoyts@users.sourceforge.net>
2688
2689	* library/safetk.tcl (::safe::tkTopLevel): Theme it.
2690
2691	* generic/ttk/ttkLayout.c:   We do not want to require tkInt in all
2692	* generic/ttk/ttkMananager.h:  the ttk files so added the definition
2693	* generic/ttk/ttkTheme.h:   of MODULE_SCOPE to ttkTheme.h. Ensures
2694	* generic/ttk/ttkWinMonitor.c: everyone gets to see the definition
2695	from someplace.
2696
2697	* library/ttk/fonts.tcl: In a safe interp there is no osVersion field
2698	in tcl_platform so work around it.
2699
27002006-11-02  Daniel Steffen  <das@users.sourceforge.net>
2701
2702	* generic/ttk/ttkBlink.c, generic/ttk/ttkButton.c:
2703	* generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c:
2704	* generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c:
2705	* generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c:
2706	* generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c:
2707	* generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c:
2708	* generic/ttk/ttkLayout.c, generic/ttk/ttkManager.h:
2709	* generic/ttk/ttkNotebook.c, generic/ttk/ttkPanedwindow.c:
2710	* generic/ttk/ttkProgress.c, generic/ttk/ttkScale.c:
2711	* generic/ttk/ttkScroll.c, generic/ttk/ttkScrollbar.c:
2712	* generic/ttk/ttkSeparator.c, generic/ttk/ttkSquare.c:
2713	* generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c:
2714	* generic/ttk/ttkTheme.c, generic/ttk/ttkTheme.h:
2715	* generic/ttk/ttkThemeInt.h, generic/ttk/ttkTrack.c:
2716	* generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c:
2717	* generic/ttk/ttkWidget.h, macosx/ttkMacOSXTheme.c:
2718	* win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: ensure
2719	all global Ttk symbols have Ttk or ttk prefix; declare all externally
2720	visible Ttk symbols not contained in stubs table as MODULE_SCOPE (or as
2721	static when possible); so that 'make check{exports,stubs}' once again
2722	complete without errors.
2723
2724	* macosx/tkMacOSXColor.c (TkMacOSXCompareColors): ifdef out when unused
2725
2726	* macosx/Wish.xcodeproj/project.pbxproj: check autoconf/autoheader exit
2727	status and stop build if they fail.
2728
2729	* macosx/tkMacOSXWindowEvent.c (GenerateUpdateEvent): fix handling of
2730	Carbon Update events: the QuickDraw window update region was being
2731	ignored and all child TkWindows were sent an Expose XEvent even when
2732	they did not need to be redrawn. [Patch 1589226]
2733
27342006-11-01  Daniel Steffen  <das@users.sourceforge.net>
2735
2736	* macosx/tkMacOSXDebug.c: add TkMacOSX prefix to leftover
2737	* macosx/tkMacOSXDebug.h: macosx-private global symbols without Tk
2738	* macosx/tkMacOSXEmbed.c: prefix; ifdef out currently unused debug
2739	* macosx/tkMacOSXEvent.c: procs.
2740	* macosx/tkMacOSXInt.h:
2741	* macosx/tkMacOSXCarbonEvents.c:
2742	* macosx/tkMacOSXSubwindows.c:
2743	* macosx/tkMacOSXWm.c:
2744
27452006-10-31  Pat Thoyts  <patthoyts@users.sourceforge.net>
2746
2747	* win/makefile.vc: Added ttk files to msvc build and add manifest
2748	* win/rules.vc: files to binaries with MSVC8.
2749
27502006-10-31  Daniel Steffen  <das@users.sourceforge.net>
2751
2752	* macosx/Wish.xcodeproj/project.pbxproj: add new Ttk files.
2753
2754	* macosx/ttkMacOSXTheme.c: standardize header #includes.
2755
2756	* unix/Makefile (checkstubs, checkexports): check ttk.decls, allow
2757	export of Ttk prefixed symbols.
2758
2759	* generic/ttk/tkDefaultTheme.c: fix warnings.
2760
27612006-10-30  Jeff Hobbs  <jeffh@ActiveState.com>
2762
2763	* doc/ttk_Geometry.3, doc/ttk_Theme.3, doc/ttk_button.n:
2764	* doc/ttk_checkbutton.n, doc/ttk_combobox.n, doc/ttk_dialog.n:
2765	* doc/ttk_entry.n, doc/ttk_frame.n, doc/ttk_image.n:
2766	* doc/ttk_intro.n, doc/ttk_label.n, doc/ttk_labelframe.n:
2767	* doc/ttk_menubutton.n, doc/ttk_notebook.n, doc/ttk_panedwindow.n:
2768	* doc/ttk_progressbar.n, doc/ttk_radiobutton.n, doc/ttk_scrollbar.n:
2769	* doc/ttk_separator.n, doc/ttk_sizegrip.n, doc/ttk_style.n:
2770	* doc/ttk_treeview.n, doc/ttk_widget.n,:
2771	* generic/ttk/ttk.decls, generic/ttk/ttkBlink.c:
2772	* generic/ttk/ttkButton.c, generic/ttk/ttkCache.c:
2773	* generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c:
2774	* generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c:
2775	* generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c:
2776	* generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c:
2777	* generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c:
2778	* generic/ttk/ttkLayout.c, generic/ttk/ttkManager.c:
2779	* generic/ttk/ttkManager.h, generic/ttk/ttkNotebook.c:
2780	* generic/ttk/ttkPanedwindow.c, generic/ttk/ttkProgress.c:
2781	* generic/ttk/ttkScale.c, generic/ttk/ttkScroll.c:
2782	* generic/ttk/ttkScrollbar.c, generic/ttk/ttkSeparator.c:
2783	* generic/ttk/ttkSquare.c, generic/ttk/ttkState.c:
2784	* generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c:
2785	* generic/ttk/ttkTagSet.c, generic/ttk/ttkTheme.c:
2786	* generic/ttk/ttkTheme.h, generic/ttk/ttkThemeInt.h:
2787	* generic/ttk/ttkTrace.c, generic/ttk/ttkTrack.c:
2788	* generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c:
2789	* generic/ttk/ttkWidget.h:
2790	* library/demos/ttk_demo.tcl, library/demos/ttk_iconlib.tcl:
2791	* library/demos/ttk_repeater.tcl:
2792	* library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl:
2793	* library/ttk/button.tcl, library/ttk/clamTheme.tcl:
2794	* library/ttk/classicTheme.tcl, library/ttk/combobox.tcl:
2795	* library/ttk/cursors.tcl, library/ttk/defaults.tcl:
2796	* library/ttk/dialog.tcl, library/ttk/entry.tcl:
2797	* library/ttk/fonts.tcl, library/ttk/icons.tcl:
2798	* library/ttk/keynav.tcl, library/ttk/menubutton.tcl:
2799	* library/ttk/notebook.tcl, library/ttk/panedwindow.tcl:
2800	* library/ttk/progress.tcl, library/ttk/scale.tcl:
2801	* library/ttk/scrollbar.tcl, library/ttk/sizegrip.tcl:
2802	* library/ttk/treeview.tcl, library/ttk/ttk.tcl:
2803	* library/ttk/utils.tcl, library/ttk/winTheme.tcl:
2804	* library/ttk/xpTheme.tcl:
2805	* macosx/ttkMacOSXTheme.c:
2806	* tests/ttk/all.tcl, tests/ttk/bwidget.test, tests/ttk/combobox.test:
2807	* tests/ttk/entry.test, tests/ttk/image.test:
2808	* tests/ttk/labelframe.test, tests/ttk/layout.test:
2809	* tests/ttk/misc.test, tests/ttk/notebook.test:
2810	* tests/ttk/panedwindow.test, tests/ttk/progressbar.test:
2811	* tests/ttk/scrollbar.test, tests/ttk/treetags.test:
2812	* tests/ttk/treeview.test, tests/ttk/ttk.test, tests/ttk/validate.test:
2813	* win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c:
2814	First import of Ttk themed Tk widgets as branched from tile 0.7.8
2815
2816	* generic/tkInt.h, generic/tkWindow.c: add Ttk_Init call, copy tk
2817	classic widgets to ::tk namespace.
2818	* library/tk.tcl: add source of ttk/ttk.tcl, define $::ttk::library.
2819	* unix/Makefile.in, win/Makefile.in: add Ttk build bits
2820	* win/configure, win/configure.in: check for uxtheme.h (XP theme).
2821
28222006-10-23  Don Porter  <dgp@users.sourceforge.net>
2823
2824	* README:		Bump version number to 8.5a6
2825	* generic/tk.h:
2826	* library/tk.tcl:
2827	* unix/configure.in:
2828	* unix/tk.spec:
2829	* win/configure.in:
2830
2831	* unix/configure:	autoconf-2.59
2832	* win/configure:
2833
28342006-10-19  Pat Thoyts  <patthoyts@users.sourceforge.net>
2835
2836	*** 8.5a5 TAGGED FOR RELEASE ***
2837
2838	* generic/tkImgBmap.c: Fixed line endings.
2839	* win/makefile.vc:  Patched up build system to manage
2840	* win/rules.vc:  AMD64 with MSVC8
2841	* win/nmakehlp.c:   Ensure operation without Platform SDK.
2842
28432006-10-18  Don Porter  <dgp@users.sourceforge.net>
2844
2845	* changes:		8.5a5 release date set.
2846
28472006-10-17  Jeff Hobbs  <jeffh@ActiveState.com>
2848
2849	* doc/text.n: fix docs to not correct -tabs usage case.
2850
2851	* generic/tkTextDisp.c (SizeOfTab): fix -tabstyle wordprocessor tab
2852	alignment to correct tab edge case. [Bug 1578858]
2853
28542006-10-17  Pat Thoyts  <patthoyts@users.sourceforge.net>
2855
2856	* generic/tkText.c: Applied suggested patch from [Bug 1536735]
2857	* tests/text.test:  Update test for above patch.
2858	* tests/textWind.test:  Corrected test to catch all messages
2859	* tests/safe.test: Silence spurious win32 failure awaiting TIP150
2860	* tests/winDialog.test: Updated test for file name length check.
2861	* test/winWm.test: Corrected test expectation for menu wrapping.
2862
28632006-10-16  Andreas Kupries  <andreask@activestate.com>
2864
2865	* doc/WindowId.3: Pat's commit on 2006-10-08 broke the .SH NAME
2866	information across several lines, breaking the cross-linking of
2867	manpages during installation for this one. Put everything back on a
2868	single line, unbreaking it.
2869
28702006-10-16  Daniel Steffen  <das@users.sourceforge.net>
2871
2872	* changes: updates for 8.5a5 release.
2873
2874	* macosx/tkMacOSXDraw.c: fix numerous issues in CG and QD drawing
2875	procs so that they now match X11 drawing much more closely [Bug
2876	1558051]; use Tiger ellipse drawing API when available; fix comments &
2877	whitespace.
2878
2879	* macosx/tkMacOSXInit.c: set default linewidth limit for CG
2880	antialiasing to 0 as thin horizontal/vertical lines look good now.
2881	* macosx/README: document CG antialiasing limit changes.
2882
2883	* generic/tkCanvLine.c (ConfigureLine):  on TkAqua, pass outline
2884	* generic/tkCanvPoly.c (ConfigurePolygon):  linewidth in gc even for
2885	* generic/tkRectOval.c (ConfigureRectOval): fills (as it controls AA).
2886
2887	* macosx/GNUmakefile: don't redo prebinding of non-prebound binaires.
2888
2889	* library/demos/pendulum.tcl: fix incorrect setting of toplevel title.
2890
28912006-10-10  Don Porter  <dgp@users.sourceforge.net>
2892
2893	* changes:	Updates for 8.5a5 release
2894
28952006-10-08  Pat Thoyts  <patthoyts@users.sourceforge.net>
2896
2897	* generic/tkWindow.c:  Implemented TIP #264 - Tk_Interp function.
2898	* doc/WindowId.3:   Documented Tk_Interp.
2899	* generic/tk.decls: Added to the stubs interface and
2900	* generic/tkDecls.h:   regenerated.
2901	* generic/tkStubsInit.c:
2902
29032006-10-05  Jeff Hobbs  <jeffh@ActiveState.com>
2904
2905	* unix/tkUnixFont.c (Ucs2beToUtfProc, UtfToUcs2beProc):
2906	(TkpFontPkgInit, encodingAliases): Correct alignment issues in
2907	encoding conversion. Call ucs-2be "unicode" on big-endian systems.
2908	[Bug 1122671]
2909
29102006-09-27  Andreas Kupries  <andreask@activestate.com>
2911
2912	* unix/Makefile.in (install-binaries): Added a second guard to the
2913	* win/Makefile.in: package index file to prevent older versions of Tcl
2914	* win/makefile.vc: from seeing version numbers which may contain a/b
2915	information, and then balking on them. This could otherwise happen
2916	when Tcl/Tk 8.4 and 8.5 are installed in the same directory, seeing
2917	each other. [Bug 1566418]
2918
29192006-09-22  Andreas Kupries  <andreask@activestate.com>
2920
2921	* generic/tkConsole.c: TIP #268 update regarding registered package
2922	* generic/tkMain.c: version, now using full patchlevel instead of
2923	* generic/tkWindow.c:  major.minor
2924	* library/tk.tcl:
2925	* unix/configure:
2926	* unix/Makefile.in:
2927	* unix/tcl.m4:
2928	* win/configure:
2929	* win/Makefile.in:
2930	* win/makefile.vc:
2931	* win/rules.vc:
2932	* win/tcl.m4:
2933
29342006-09-20  Jeff Hobbs  <jeffh@ActiveState.com>
2935
2936	* win/tkWinMenu.c (TkpPostMenu): disable menu animation in menus with
2937	images to avoid clipping bug. [Bug 1329198]
2938
29392006-09-21  Donal K. Fellows  <dkf@users.sf.net>
2940
2941	* generic/tkImgBmap.c (ImgBmapPostscript): Change 0 to NULL, since
2942	they are not interchangable on all platforms in all circumstances.
2943	[Tcl Bug 1562528]
2944
29452006-09-11  Daniel Steffen  <das@users.sourceforge.net>
2946
2947	* macosx/tkMacOSXWm.c (TkMacOSXMakeRealWindowExist): revert part of
2948	2006-05-16 change that had set overrideredirect windows to not become
2949	activated by the window manager, as this prevented interaction with
2950	native widgets in such windows [Bug 1472624]; apply changes to carbon
2951	window attributes even if native window has already been created.
2952
2953	* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): fix app
2954	* macosx/tkMacOSXMenu.c (DrawMenuBarWhenIdle): menu item key shortcuts
2955	* macosx/tkMacOSXInt.h: when custom ".apple" menu is installed.
2956
2957	* library/demos/widget: on TkAqua, don't install file menu with single
2958	quit menu item, as the application menu already has a quit item.
2959
2960	* macosx/tkMacOSXColor.c: fix building on Mac OS X 10.2.
2961
29622006-09-10  Daniel Steffen  <das@users.sourceforge.net>
2963
2964	* macosx/tkMacOSXColor.c (TkSetMacColor,TkpGetColor): use AppearanceMgr
2965	* macosx/tkMacOSXDefault.h: to retrieve platform std colors for text
2966	* macosx/tkMacOSXPort.h:    selections, add "systemHighlightSecondary"
2967	color name for standard color of inactive selections, use this color as
2968	default for text widget -inactiveselectbackground to implement platform
2969	standard look for inactive text selections.
2970
2971	* library/text.tcl (aqua): remove focus bindings to set selection color
2972
2973	* generic/tkTextBTree.c (TkTextIsElided): on TkAqua, don't show
2974	* generic/tkTextDisp.c (GetStyle):   inactive text selection when
2975						  text widget is disabled.
2976
2977	* generic/tkEntry.c (DisplayEntry): change default TkAqua selection
2978	* macosx/tkMacOSXDefault.h:     relief to "flat" (platform std).
2979
2980	* generic/tkText.c (CreateWidget): fix bug leading to default text
2981	selection relief string DEF_TEXT_SELECT_RELIEF being ignored.
2982
2983	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): allow mouse
2984	event delivery to background windows with kWindowNoActivatesAttribute
2985	(e.g. overrideredirect windows), as these never come to the foreground
2986	they would never receive any mouse events otherwise. [Bug 1472624]
2987
2988	* macosx/tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): do not
2989	send focus events to any windows with kWindowNoActivatesAttribute.
2990
2991	* macosx/tkMacOSXXStubs.c (XQueryColor, XQueryColors): implement basic
2992	XColor computation from pixel values, enough to make tkImg's window.c
2993	happy, fixes img::window failures reported on tcl-mac.
2994
2995	* macosx/tkMacOSXMenu.c (DrawMenuEntryLabel): fix leak. [Bug 1554672]
2996
2997	* macosx/GNUmakefile: workaround bug in 'cp -pRH' on Darwin 6 and
2998	earlier, fixes 'make embedded' failure reported on tcl-mac; fix error
2999	from 'make deploy' with same build tree as previous 'make embedded'.
3000
3001	* macosx/Wish.xcodeproj/project.pbxproj: add new tclUnixCompat.c file.
3002
3003	* macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): fix typo.
3004
3005	* unix/tcl.m4: sync with tcl/unix/tcl.m4.
3006	* unix/configure: autoconf-2.59
3007
30082006-09-06  Jeff Hobbs  <jeffh@ActiveState.com>
3009
3010	* generic/tkEntry.c:   move hard-coded ALWAYS_SHOW_SELECTION control
3011	* generic/tkInt.h:   of entry/text selection display based on focus
3012	* generic/tkText.c: to the Tcl level, controlled by
3013	* generic/tkWindow.c:  ::tk::AlwaysShowSelection (boolean, private).
3014	* library/tk.tcl:   [Bug 1553691]
3015	* macosx/tkMacOSXDefault.h:
3016	* unix/tkUnixDefault.h:
3017	* unix/tkUnixPort.h:
3018	* win/tkWinDefault.h:
3019
30202006-08-30  Jeff Hobbs  <jeffh@ActiveState.com>
3021
3022	* win/tkWinKey.c: Add WM_UNICHAR window message support (used by
3023	* win/tkWinX.c:   virtual keyboard apps). [Bug 1518677] (petasis)
3024
30252006-08-24  Daniel Steffen  <das@users.sourceforge.net>
3026
3027	* macosx/tkMacOSXScrlbr.c (UpdateControlValues): set native scrollbar
3028	control bounds only once all size adjustments have been computed.
3029	Fixes issue with grow icon obscuring scrollbar reported on tcl-mac.
3030
30312006-08-21  Daniel Steffen  <das@users.sourceforge.net>
3032
3033	* macosx/tkMacOSXCarbonEvents.c (CarbonTimerProc): avoid starving main
3034	event loop: limit the number of tcl events processed per invocation.
3035	Fixes bug reported on tcl-mac by Kevan Hashemi.
3036
30372006-08-18  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3038
3039	* tests/text.test (text-25.15): Added test suggested by Sam
3040	<baudinm@yahoo.com> on comp.lang.tcl
3041
3042	* generic/tk.h, generic/tkInt.h: Stylistic improvements. No API change.
3043
30442006-08-18  Daniel Steffen  <das@users.sourceforge.net>
3045
3046	* unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, for
3047	universal builds including x86_64, for 64-bit CoreFoundation on Leopard
3048	and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET
3049	* unix/configure.in (Darwin): remove 64-bit arch flags from CFLAGS for
3050	combined 32-bit and 64-bit universal builds, as neither TkAqua nor
3051	TkX11 can be built for 64-bit at present.
3052	* unix/configure: autoconf-2.59
3053	* unix/tkConfig.h.in: autoheader-2.59
3054
3055	* macosx/Wish.xcodeproj/project.pbxproj: switch native release targets
3056	to use DWARF with dSYM, Xcode 3.0 changes.
3057	* macosx/README: updates for x86_64 support in Tcl.
3058
3059	* macosx/tkMacOSXInit.c (TkpInit): when available, use public
3060	TransformProcessType() API instead of CPSEnableForegroundOperation()
3061	SPI to notify the window server that we are a GUI application.
3062
3063	* macosx/tkMacOSXWm.c (WmAttrGetTitlePath): use HIWindow API on >=Tiger
3064
3065	* macosx/tkMacOSXMouseEvent.c (GenerateToolbarButtonEvent):
3066	* macosx/tkMacOSXMenus.c (GenerateEditEvent):
3067	* macosx/tkMacOSXMenu.c (MenuSelectEvent): bzero() the XVirtualEvent
3068	structure before use to ensure all fields are initialized. [Bug
3069	1542205]
3070
30712006-08-16  Jeff Hobbs  <jeffh@ActiveState.com>
3072
3073	* macosx/tkMacOSXWm.c (WmAttributesCmd): correct OS X result for [wm
3074	attributes $top].
3075
30762006-07-25  Daniel Steffen  <das@users.sourceforge.net>
3077
3078	* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): handle key
3079	shortcut for kHICommandQuit in the same way as other application menu
3080	item key shortcuts. [Bug 1516950]
3081
30822006-07-24  Daniel Steffen  <das@users.sourceforge.net>
3083
3084	* macosx/tkMacOSXWm.c (TkWmMapWindow): fix incorrect values of wmInfo
3085	parentWidth/Height for toplevels by recalculating them once the window
3086	is mapped (i.e once the window&structure sizes are known). [Bug
3087	1358663]
3088	(ParseGeometry): sync with ParseGeometry in tkUnixWm.c/tkWinWm.c.
3089
30902006-07-21  Daniel Steffen  <das@users.sourceforge.net>
3091
3092	* generic/tkBind.c (TkBindInit): for REDO_KEYSYM_LOOKUP, change
3093	keysym-to-string mapping hash to use first name in ks_names.h instead
3094	of last (if there are multiple possibilities), e.g. "F11" instead of
3095	"L1".
3096
3097	* macosx/tkMacOSXKeyboard.c (TkpGetKeySym): correct keysyms for pure
3098	modifier key presses [Bugs 700311, 1525905]; correct keysym for Enter
3099	key; add keysyms for new NumLock and Fn modifiers (added 2005-08-09).
3100
31012006-07-20  Daniel Steffen  <das@users.sourceforge.net>
3102
3103	* macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): add support
3104	* unix/tkUnixSend.c (Tk_GetUserInactiveTime):       for weakly
3105	importing symbols not available on OSX 10.2 or 10.3, enables binaires
3106	built on later OSX versions to run on earlier ones.
3107	* macosx/Wish.xcodeproj/project.pbxproj: enable weak-linking; turn on
3108	                 extra warnings.
3109	* macosx/README: document how to enable weak-linking; cleanup.
3110	* unix/configure.in: add check on Darwin-X11 for ld support of -weak-l
3111	* unix/tcl.m4:  flag and weak-link libXss if possible as it is not
3112	available before OSX 10.4; enforce requirement of OSX 10.2 for TkAqua;
3113	move Darwin specific checks & defines that are only relevant to the tcl
3114	build out of tcl.m4; restrict framework option to Darwin; clean up
3115	quoting and help messages.
3116	* unix/configure: autoconf-2.59
3117	* unix/tkConfig.h.in: autoheader-2.59
3118
3119	* macosx/GNUmakefile: enable xft for TkX11 build.
3120	* macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw):
3121	verify validity of context returned from QDBeginCGContext() before use.
3122	* macosx/tkMacOSXKeyEvent.c: ifdef out diagnostic messages to stderr.
3123
3124	* macosx/tkMacOSXEvent.h:   standardize MAC_OS_X_VERSION_MAX_ALLOWED
3125	* macosx/tkMacOSXMenu.c:    checks per QA1316, ensure define can be
3126	* macosx/tkMacOSXMenubutton.c: overridden on command line (from default
3127	* macosx/tkMacOSXMenus.c:   of current OS version).
3128	* macosx/tkMacOSXMouseEvent.c:
3129	* macosx/tkMacOSXWm.c:
3130
3131	* generic/tkImgGIF.c (ReadImage):
3132	* macosx/tkMacOSXCursor.c (TkMacOSXCursor):
3133	* macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol):
3134	* macosx/tkMacOSXFont.c (TkpMeasureCharsInContext):
3135	* macosx/tkMacOSXInit.c (Map):
3136	* xlib/xgc.c (XCreateGC): fix signed-with-unsigned comparison and other
3137	warnings from gcc4 -Wextra.
3138
31392006-07-14  Andreas Kupries  <andreask@activestate.com>
3140
3141	* generic/tkWindow.c (Initialize): Modify change of 2006-05-25 (jeffh).
3142	Release mutex a bit earlier, to prevent lock when OS X creates its
3143	console windows (recursively enters Tk_Init). Patch by JeffH.
3144
31452006-07-06  Jeff Hobbs  <jeffh@ActiveState.com>
3146
3147	* library/tkfbox.tcl: catch scrollbar use of highlightthickness
3148
31492006-06-21  Jeff Hobbs  <jeffh@ActiveState.com>
3150
3151	* library/bgerror.tcl (::tk::dialog::error::bgerror): remove a couple
3152	of unnecessary hardcoded options
3153
31542006-06-14  Don Porter  <dgp@users.sourceforge.net>
3155
3156	* generic/tkScale.c: Revised variable writing logic to account for
3157	[scale]'s design that it deals with its value as a formatted string,
3158	and not as a double. [Bug 891141]
3159
31602006-06-14  Daniel Steffen  <das@users.sourceforge.net>
3161
3162	* macosx/tkMacOSXSubwindows.c (TkMacOSXInvalidateWindow): ensure
3163	invalid clip regions are recreated via TkMacOSXUpdateClipRgn() before
3164	they are used; correct call order of TkMacOSXInvalidateWindow() and
3165	TkMacOSXInvalClipRgns() throughout. [Bug 1501922]
3166
3167	* macosx/tkMacOSXDraw.c (TkPutImage): implement drawing of very wide
3168	images in slices of less than 4096 pixels to workaround CopyBits
3169	limitation. [Bug 950121]
3170
31712006-06-09  Don Porter  <dgp@users.sourceforge.net>
3172
3173	* generic/tkMain.c:	Added Tcl_Preserve() call on the master interp
3174	as crash protection against any Tcl_DeleteInterp() call that might
3175	happen.
3176
31772006-06-01  Don Porter  <dgp@users.sourceforge.net>
3178
3179	* generic/tkConsole.c:	Added Tcl_RegisterChannel() calls to bump the
3180	refcount of channels passed to Tcl_SetStdChannel(). This prevents early
3181	free-ing of the channels that leads to crashes. [Bug 912571]
3182
31832006-05-29  Jeff Hobbs  <jeffh@ActiveState.com>
3184
3185	* win/tkWinEmbed.c (TkpGetOtherWindow):   Do not panic if no window is
3186	* unix/tkUnixEmbed.c (TkpGetOtherWindow): found; caller handles. [Bug
3187	* unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo): 1212056]
3188
3189	* tests/entry.test (entry-22.1):
3190	* tests/listbox.test (listbox-6.15):
3191	* generic/tkListbox.c (ListboxInsertSubCmd, ListboxDeleteSubCmd):
3192	Ignore Tcl_SetVar2Ex failure of listVarName, similar to entry widget
3193	handling. [Bug 1424513]
3194
31952006-05-26  Jeff Hobbs  <jeffh@ActiveState.com>
3196
3197	* macosx/tkMacOSXButton.c (TkMacOSXDrawControl): correct redraw for
3198	direct transition from disabled to active state. [Bug 706446]
3199
32002006-05-25  Jeff Hobbs  <jeffh@ActiveState.com>
3201
3202	* win/tkWinMenu.c (TkWinMenuKeyObjCmd): get eventPtr after we know the
3203	window is still alive. [AS bug 45987] [Bug 1236306]
3204
3205	* generic/tkMenu.c (DeleteMenuCloneEntries): Modify entry index
3206	changes to work around VC6 optimization bug. [Bug 1224330]
3207
3208	* generic/tkMessage.c (MessageWidgetObjCmd): Correct msgPtr
3209	preserve/release pairing. [Bug 1485750] (afredd)
3210
3211	* generic/tkWindow.c (Initialize): Correct mutex (un)lock pairing.
3212	[Bug 1479587] (loewis)
3213
3214	* generic/tkBind.c (Tk_BindEvent, TkCopyAndGlobalEval): use Tcl_EvalEx
3215	instead of Tcl_GlobalEval.
3216
32172006-05-16  Daniel Steffen  <das@users.sourceforge.net>
3218
3219	* macosx/tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): don't send
3220	focus events to windows of class help or to overrideredirect windows.
3221	[Bug 1472624]
3222
3223	* macosx/tkMacOSXWm.c: set overrideredirect windows to not become
3224	activated by the window manager and to not receive OS activate events
3225	(should make them behave more like on other platforms); use modern
3226	window class API for overrideredirect and transient windows; set the
3227	default class of overrideredirect windows to 'simple' rather than
3228	'plain' (i.e. no window frame); add missing Panther and Tiger window
3229	attributes to [::tk::unsupported::MacWindowStyle].
3230
32312006-05-12  Jeff Hobbs  <jeffh@ActiveState.com>
3232
3233	* generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): Fix
3234	opt added 2006-03 that caused slowdown for some common cases. [Bug
3235	1409140]
3236
32372006-05-13  Daniel Steffen  <das@users.sourceforge.net>
3238
3239	* generic/tkCanvWind.c (DisplayWinItem, WinItemRequestProc): ensure
3240	canvas window items are unmapped when canvas is unmapped. [Bug 940117]
3241
3242	* macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): empty clip
3243	region of unmapped windows to prevent any drawing into them or into
3244	their children from becoming visible. [Bug 940117]
3245
3246	* macosx/tkMacOSXInt.h:     revert Jim's attempt of 2005-03-14 to
3247	* macosx/tkMacOSXSubwindows.c:  fix Bug 940117 as it disables Map/Unmap
3248	event propagation to children. [Bug 1480105]
3249
3250	* macosx/tkMacOSXDraw.c (TkPutImage): handle tkPictureIsOpen flag,
3251	fixes incorrect positioning of images with complex alpha on native
3252	buttons; actual alpha blending is still broken in this situation. [Bug
3253	1155596]
3254
3255	* macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent):
3256	* macosx/tkMacOSXMenus.c (TkMacOSXInitMenus): workaround carbon bug
3257	with key shortcut for 'Preferences' app menu item. [Bug 1481503]
3258
3259	* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only check
3260	for HICommand menu item shortcuts in the application menu.
3261
3262	* macosx/tkMacOSXInt.h:    initialize keyboard layout setup in
3263	* macosx/tkMacOSXInit.c:     TkpInit() rather than during handling of
3264	* macosx/tkMacOSXKeyEvent.c:  first key down event.
3265
3266	* macosx/tkMacOSXDraw.c:     add optional debug code to flash clip
3267	* macosx/tkMacOSXSubwindows.c:  regions during update or draw.
3268
32692006-05-04  Don Porter  <dgp@users.sourceforge.net>
3270
3271	* README:		Bump version number to 8.5a5
3272	* generic/tk.h:
3273	* unix/configure.in:
3274	* unix/tk.spec:
3275	* win/configure.in:
3276
3277	* unix/configure:	autoconf-2.59
3278	* win/configure:
3279
32802006-04-28  Daniel Steffen  <das@users.sourceforge.net>
3281
3282	* macosx/tkMacOSXWm.c (TkWmMapWindow, InitialWindowBounds): fix use of
3283	potentially stale window position in initial configure event on first
3284	map of a window. [Bug 1476443]
3285	(TkMacOSXWindowOffset): use modern GetWindowStructureWidths API.
3286
3287	* macosx/tkMacOSXInt.h:
3288	* macosx/tkMacOSXMouseEvent.c (TkGenerateButtonEventForXPointer): new
3289	internal function to generate button events for current pointer
3290	directly, without requiring prior call to XQueryPointer().
3291
3292	* macosx/tkMacOSXMouseEvent.c (XQueryPointer): implement return of
3293	window-local pointer position.
3294
3295	* macosx/tkMacOSXInt.h:   use improvements above to avoid calls to
3296	* macosx/tkMacOSXKeyEvent.c: GlobalToLocal() when the current port
3297	* macosx/tkMacOSXMenu.c:    might not be set correctly. May fix [Bug
3298	* macosx/tkMacOSXMenus.c:   1243318]
3299	* macosx/tkMacOSXScale.c:
3300	* macosx/tkMacOSXScrlbr.c:
3301
3302	* tkAboutDlg.r: update copyright.
3303
3304	* macosx/tkMacOSXDebug.h: sync #includes with core-8-4-branch.
3305	* macosx/tkMacOSXEvent.h:
3306	* macosx/tkMacOSXFont.h:
3307
33082006-04-26  Don Porter  <dgp@users.sourceforge.net>
3309
3310	*** 8.5a4 TAGGED FOR RELEASE ***
3311
3312	* changes:	Updates for next RC
3313
33142006-04-25  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3315
3316	* unix/tkUnixFont.c (TkpGetFontFamilies): Fix crash caused when the
3317	XServer returns invalid font names. [Bug 1475865]
3318
33192006-04-23  Vince Darley  <vincentdarley@users.sourceforge.net>
3320
3321	* tests/scrollbar.test: fix to tkAqua test failures
3322
33232006-04-18  Vince Darley  <vincentdarley@users.sourceforge.net>
3324
3325	* macosx/tkMacOSXEmbed.c: fix to [Bug 1088814] test failures in
3326	embed.test
3327
3328	* macosx/tkMacOSXWm.c:
3329	* tests/constraints.tcl:
3330	* tests/wm.test: fix to 'wm attributes' test for TkAqua
3331
33322006-04-11  Peter Spjuth  <peter.spjuth@space.se>
3333
3334	* generic/tkWindow.c (Tk_NameToWindow): Allow NULL interp to
3335	Tk_NameToWindow. This fixes TkGetWindowFromObj which promises to handle
3336	NULL but didn't.
3337
3338	* generic/tkGrid.c: Fixed handling of out of bounds row or column.
3339	* tests/grid.test:  [Bug 1432666]
3340
33412006-04-11  Don Porter  <dgp@users.sourceforge.net>
3342
3343	* unix/Makefile.in:	Updated `make dist` target to be sure the
3344	message catalogs for the widget demo get packaged into the source code
3345	distribution. [Bug 1466509]
3346
33472006-04-11  Daniel Steffen  <das@users.sourceforge.net>
3348
3349	* changes: added latest aqua bug fixes.
3350
3351	* macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): added standard Escape
3352	key binding for msgbox cancel buttons [Patch 1193614], whitespace.
3353
3354	* macosx/tkMacOSXCarbonEvents.c: handle kEventCommandUpdateStatus
3355	* macosx/tkMacOSXEvent.c:     carbon event to dynamically enable
3356	the 'Preferences' app menu item when proc [::tk::mac::ShowPreferences]
3357	is defined. [Bug 700316]
3358
3359	* macosx/tkMacOSXHLEvents.c:    call ::tk::mac::* procs for all
3360	* macosx/tkMacOSXWindowEvent.c: registered appleevents [FR 1105284],
3361	implement print applevent handling, style/whitespace cleanup.
3362
3363	* macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): prevent multiple init
3364
3365	* macosx/tkMacOSXFont.c: remove #ifdef'd text measuring codepaths now
3366	* macosx/tkMacOSXInit.c: known to be incorrect, cleanup obsolete text
3367	* macosx/README:	 antialiasing control code, document ATSUI
3368				 text antialiasing changes.
3369
3370	* macosx/tkMacOSXInt.h:     Implemented 'zoomed' window state
3371	* macosx/tkMacOSXWindowEvent.c: handling for TkAqua, via titlebar
3372	* macosx/tkMacOSXWm.c:     widget clicks as well as [wm state].
3373	* doc/wm.n:         [Bug 1073456]
3374
33752006-04-10  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3376
3377	* library/tkfbox.tcl (::tk::IconList_Goto): Fix prefix searching so
3378	that the start location is reasonable, and the prefix matching is
3379	using the correct Tcl command for this. [Bug 1467938]
3380
33812006-04-10  Benjamin Riefenstahl  <b.riefenstahl@turtle-trading.net>
3382
3383	* macosx/tkMacOSXFont.c (MeasureStringWidth): Use implementation based
3384	on ATSUGetGlyphBounds (TK_MAC_USE_GETGLYPHBOUNDS), so we can use
3385	kATSUseFractionalOrigins. This in turn corrects [Bug 1461650].
3386	(InitFont): Use "." and "W" instead of "i" and "w" to determine the
3387	"-fixed" attribute. This prevents "Apple Chancery" from being
3388	classified as fixed.
3389	(InitFontFamilies): Only get the font families once.
3390
33912006-04-09  Daniel Steffen  <das@users.sourceforge.net>
3392
3393	* macosx/tkMacOSXWm.c (WmResizableCmd): propagate window attribute
3394	changes to Carbon window manager. [FR 1467004]
3395	(TkSetWMName, TkMacOSXMakeRealWindowExist): allow empty name for
3396	toplevels, remove bogus initial window name. [Bug 1450800]
3397
33982006-04-07  Daniel Steffen  <das@users.sourceforge.net>
3399
3400	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): fix return
3401	values, implement window dragging & growing in background (with Command
3402	key down) and by fronting clicks [Bug 934524], use correct button &
3403	modifier state API when application is in background (also in
3404	TkMacOSXButtonKeyState).
3405
3406	* macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): ensure QD port is set
3407	correctly before using API relying on it.
3408
34092006-04-06  Vince Darley  <vincentdarley@users.sourceforge.net>
3410
3411	* macosx/tkMacOSXMouseEvent.c: Now that [wm attributes -titlepath]
3412	works correctly, add OS support for dragging proxy icons and using the
3413	titlepath menu.
3414
34152006-04-06  Daniel Steffen  <das@users.sourceforge.net>
3416
3417	* macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): fix errors in
3418	setting/removing window proxy icons via [wm attributes -titlepath] and
3419	[wm iconbitmap], use HIWindow API on Tiger or later. [Bug 1455241]
3420
3421	* unix/tcl.m4: remove TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING
3422	define on Darwin. [Tcl Bug 1457515]
3423	* unix/configure: autoconf-2.59
3424	* unix/tkConfig.h.in: autoheader-2.59
3425
34262006-04-05  Jeff Hobbs  <jeffh@ActiveState.com>
3427
3428	* generic/tkWindow.c (Initialize): remove impotent use of
3429	DeleteWindowsExitProc as a global exit handler.
3430
3431	* generic/tkMenu.c (TkSetWindowMenuBar): remove extra TkMenuInit call
3432	that caused finalization panic. [Bug 1456851]
3433	* win/tkWinMenu.c (FreeID, TkpNewMenu, MenuExitHandler)
3434	(MenuThreadExitHandler, TkpMenuInit, TkpMenuThreadInit): rework Windows
3435	menu init/finalization to better respect per-process and per-thread
3436	boundaries. [Bug 1456851]
3437	(TkWinMenuKeyObjCmd): Do not error when unknown window is passed in.
3438	[Bug 1236306]
3439
3440	* win/tkWinX.c (TkWinXInit): init default keyboard charset correctly.
3441	[Bug 1374119] (pajas)
3442
3443	* win/tkWinWm.c (WmProc): pass WM_QUERYENDSESSION message to Tk as
3444	WM_SAVE_YOURSELF wm protocol callback.
3445
3446	* tests/textWind.test (textWind-10.6.1): prevent infinite update loop
3447	in case of test failure.
3448
3449	* tests/wm.test (wm-attributes-1.2.4): correct expected result.
3450
3451	* tests/grid.test: fix segfault on empty or "all" index list
3452	* generic/tkGrid.c (GridRowColumnConfigureCommand): [Bug 1422430]
3453
34542006-04-05  Vince Darley  <vincentdarley@users.sourceforge.net>
3455
3456	* generic/tkText.c: fix to crash caused on some platforms by new tests
3457	introduced to check for [Bug 1414171], which destroy the text widget in
3458	the dump callback script.
3459
34602006-03-29  Jeff Hobbs  <jeffh@ActiveState.com>
3461
3462	* generic/tkOption.c (TkOptionDeadWindow): handle OptionThreadExitProc
3463	being called before DeleteWindowsExitProc.
3464
3465	* win/Makefile.in: convert _NATIVE paths to use / to avoid ".\"
3466	path-as-escape issue.
3467
34682006-03-29  Don Porter  <dgp@users.sourceforge.net>
3469
3470	* changes:	Updates for next RC
3471
3472	* unix/tkUnixDefault.h: Changed "Black" to "#000000" and "White" to
3473	"#ffffff" to work around the (broken?) X servers that do not accept
3474	those color names. [Bug 917433]
3475
34762006-03-28  Jeff Hobbs  <jeffh@ActiveState.com>
3477
3478	* unix/tcl.m4, win/tcl.m4: []-quote AC_DEFUN functions.
3479
34802006-03-26  Vince Darley  <vincentdarley@users.sourceforge.net>
3481
3482	* generic/tkText.c:
3483	* tests/text.test: Fix for elaborations of [Bug 1414171] for '$text
3484	dump -command <script>' where script deletes large portions of the
3485	text widget, or even destroys the widget.
3486
34872006-03-28  Daniel Steffen  <das@users.sourceforge.net>
3488
3489	* macosx/Wish.xcode/default.pbxuser:    add '-singleproc 1' cli arg to
3490	* macosx/Wish.xcodeproj/default.pbxuser: tktest to ease test debugging.
3491
3492	* macosx/Wish.xcode/project.pbxproj:    removed $prefix/share from
3493	* macosx/Wish.xcodeproj/project.pbxproj: TCL_PACKAGE_PATH as per change
3494	to tcl/unix/configure.in of 2006-03-13.
3495
3496	* macosx/tkMacOSXDraw.c:   sync whitespace & minor changes with
3497	* macosx/tkMacOSXEvent.h:  core-8-4-branch.
3498	* macosx/tkMacOSXFont.h:
3499	* macosx/tkMacOSXMenu.c:
3500	* macosx/tkMacOSXNotify.c:
3501
35022006-03-27  Don Porter  <dgp@users.sourceforge.net>
3503
3504	* changes:	Updates for next RC
3505
35062006-03-27  Benjamin Riefenstahl  <b.riefenstahl@turtle-trading.net>
3507
3508	* generic/tkTextDisp.c (MeasureChars): Fix calculations of start and
3509	end of string. [Bugs 1325998, 1456157]
3510
35112006-03-27  Donal K. Fellows  <dkf@users.sf.net>
3512
3513	* generic/tkImgGIF.c (FileReadGIF): Stop crashes when the first GIF
3514	frame does not define the overall size of the image. [Bug 1458234]
3515
35162006-03-26  Vince Darley  <vincentdarley@users.sourceforge.net>
3517
3518	* generic/tkText.c:
3519	* generic/tkText.h:
3520	* generic/tkTextBTree.c:
3521	* tests/text.test: Fix for [Bug 1414171] for '$text dump -command
3522	<script>' where 'script' actually modifies the widget during the
3523	process.
3524
35252006-03-25  Daniel Steffen  <das@users.sourceforge.net>
3526
3527	* macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext):
3528	* macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw):
3529	performance improvements, sync similar code, formatting & whitespace.
3530
35312006-03-24  Daniel Steffen  <das@users.sourceforge.net>
3532
3533	* generic/tkTextDisp.c:   Moved #ifdef MAC_OSX_TK code added by
3534	* macosx/tkMacOSXColor.c: [Patch 638966] into platform specific files.
3535	* macosx/tkMacOSXInt.h:
3536
3537	* macosx/tkMacOSX.h:       Cleaned up & rationalized order of
3538	* macosx/tkMacOSXBitmap.c:  #includes of tk and carbon headers.
3539	* macosx/tkMacOSXButton.c:
3540	* macosx/tkMacOSXCarbonEvents.c:
3541	* macosx/tkMacOSXClipboard.c:
3542	* macosx/tkMacOSXColor.c:
3543	* macosx/tkMacOSXConfig.c:
3544	* macosx/tkMacOSXCursor.c:
3545	* macosx/tkMacOSXDialog.c:
3546	* macosx/tkMacOSXDraw.c:
3547	* macosx/tkMacOSXEmbed.c:
3548	* macosx/tkMacOSXEntry.c:
3549	* macosx/tkMacOSXEvent.c:
3550	* macosx/tkMacOSXEvent.h:
3551	* macosx/tkMacOSXFont.h:
3552	* macosx/tkMacOSXHLEvents.c:
3553	* macosx/tkMacOSXInit.c:
3554	* macosx/tkMacOSXInt.h:
3555	* macosx/tkMacOSXKeyEvent.c:
3556	* macosx/tkMacOSXKeyboard.c:
3557	* macosx/tkMacOSXMenu.c:
3558	* macosx/tkMacOSXMenubutton.c:
3559	* macosx/tkMacOSXMenus.c:
3560	* macosx/tkMacOSXMouseEvent.c:
3561	* macosx/tkMacOSXRegion.c:
3562	* macosx/tkMacOSXScale.c:
3563	* macosx/tkMacOSXScrlbr.c:
3564	* macosx/tkMacOSXSend.c:
3565	* macosx/tkMacOSXSubwindows.c:
3566	* macosx/tkMacOSXWindowEvent.c:
3567	* macosx/tkMacOSXWm.c:
3568	* macosx/tkMacOSXWm.h:
3569	* macosx/tkMacOSXXStubs.c:
3570
35712006-03-23  Reinhard Max  <max@tclers.tk>
3572
3573	* unix/tkUnixRFont.c (TkpMeasureCharsInContext): Copied over from
3574	tkUnixFont.c to fix compiling with --enable-xft .
3575
3576	* unix/tk.spec: Cleaned up and completed. An RPM can now be built from
3577	the tk source distribution with "rpmbuild -tb <tarball>".
3578
35792006-03-23  Don Porter  <dgp@users.sourceforge.net>
3580
3581	* tests/textDisp.test: Updated expected error messages to match the
3582	standardized formats established on 2005-11-17. [Bug 1370296]
3583
35842006-03-22  Don Porter  <dgp@users.sourceforge.net>
3585
3586	* changes:	Updates for next RC
3587
35882006-03-21  Daniel Steffen  <das@users.sourceforge.net>
3589
3590	* generic/tkFont.c:       implementation of ATSUI text rendering
3591	* generic/tkInt.h:      in TkAqua provided by Benjamin
3592	* generic/tkTextDisp.c:     Riefenstahl. [Patch 638966]
3593	* library/demos/unicodeout.tcl:
3594	* macosx/tkMacOSXFont.h (new file):
3595	* macosx/tkMacOSXFont.c:
3596	* tests/font.test:
3597	* unix/tkUnixFont.c:
3598	* win/tkWinFont.c:
3599
3600	* generic/tkFont.c:       moved MODULE_SCOPE declarations of font
3601	* generic/tkFont.h:       helper procs into header files.
3602	* macosx/tkMacOSXButton.c:
3603	* macosx/tkMacOSXFont.h:
3604	* macosx/tkMacOSXMenubutton.c:
3605
3606	* macosx/Wish.xcode/project.pbxproj:    add new tkMacOSXFont.h file,
3607	* macosx/Wish.xcodeproj/project.pbxproj: turn off dead code stripping
3608	as it interferes with -sectcreate (rdar://4486223).
3609
3610	* macosx/Wish.xcode/default.pbxuser:    add TCLLIBPATH=/Library/Tcl
3611	* macosx/Wish.xcodeproj/default.pbxuser: env var setting to tktest.
3612
3613	* unix/configure.in: fix detection of symbols build when enabling
3614	TkAqua debug code; filter nm output of libtclstub better to avoid
3615	error on intel macs. [Bug 1415789]
3616	* unix/configure: autoconf-2.59
3617
36182006-03-20  Don Porter  <dgp@users.sourceforge.net>
3619
3620	* generic/tkConsole.c:	Added exit handler to clean up the interp where
3621	the console window lives. Also added code to handle multiple calls to
3622	Tk_CreateConsoleWindow so that the console channels connect to the last
3623	console window opened, in compatibility with the previous
3624	implementation.
3625
36262006-03-18  Vince Darley  <vincentdarley@users.sourceforge.net>
3627
3628	* generic/tkText.c: Fix for undo/modified status of text widgets when
3629	empty strings are inserted and undone.
3630
36312006-03-17  Pat Thoyts  <patthoyts@users.sourceforge.net>
3632
3633	* library/clrpick.tcl:   Avoid using abbreviated sub-commands in core
3634	* library/palette.tcl:   scripts as this can cause problems with
3635	* library/scale.tcl:    mega-widget libraries like snit.
3636	* library/scrlbar.tcl:	 [Bug 1451587]
3637	* library/tkfbox.tcl:
3638	* library/xmfbox.tcl:
3639
36402006-03-16  Don Porter  <dgp@users.sourceforge.net>
3641
3642	* generic/tkConsole.c:	Substantial rewrite of [console] support.
3643	* generic/tkInt.h:	Included Obj-ification of the [console] and
3644	[consoleinterp] commands, and reworking of all the supporting data
3645	structures for cleaner sharing and lifetime management especially in
3646	multi-threaded configurations.
3647
36482006-03-16  Donal K. Fellows  <dkf@users.sf.net>
3649
3650	* library/msgs/pt.msg: Messages for Portuguese (strictly just for
3651	Brazilian Portuguese, but they'll do until we get other Portuguese
3652	speakers localize) from Ricardo Jorge <ricardoj@users.sf.net> and Silas
3653	Justiano <silasj@users.sf.net>. Many thanks! [Bug 1405069]
3654
3655	* generic/tkImgPhoto.c (ImgPhotoCmd, Tk_PhotoPutBlock)
3656	(Tk_PhotoPutZoomedBlock): Added hack to detect copying of a photo with
3657	a simple alpha channel and skip calling ToggleComplexAlphaIfNeeded.
3658	This should speed up many photo-to-photo copies, keeping the cost of
3659	the alpha channel down.
3660
36612006-03-15  Donal K. Fellows  <dkf@users.sf.net>
3662
3663	* generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): Try
3664	to squelch performance issue with code that writes to large images by
3665	single pixels. Masses of thanks to George Staplin for helping to trace
3666	this down to the COMPLEX_ALPHA flag handling code. [Bug 1409140]
3667
36682006-03-13  Don Porter  <dgp@users.sourceforge.net>
3669
3670	* tests/scrollbar.test: Corrected several broken calls to [testmetrics]
3671	that were crashing the test suite.
3672
3673	* tests/constraints.tcl:     Added notAqua constraint to canvPs-3.1
3674	* tests/canvPs.test:      to stop test suite crash on Mac OSX.
3675					[Bug 1088807]
3676
3677	* generic/tkCmds.c:		Purged remaining references to errno,
3678	* macosx/tkMacOSXPort.h:	and errno.h. Standardized the logic
3679	* macosx/tkMacOSXWm.c:		for using header files from the compat
3680	* macosx/tkMacOSXWm.h:		directory. Thanks Joe English for the
3681	* unix/tkUnixPort.h:		patch. [Patch 1445404]
3682
36832006-03-08  Don Porter	<dgp@users.sourceforge.net>
3684
3685	* unix/Makefile.in: Update `make dist` to copy the image files needed
3686	by the test suite into the source distro. This was overlooked in the
3687	2005-10-12 commit.
3688
3689	* changes:	Update in prep. for 8.5a4 release.
3690
36912006-03-07  Joe English  <jenglish@users.sourceforge.net>
3692
3693	* unix/tcl.m4: Set SHLIB_LD_FLAGS='${LIBS}' on NetBSD, as per the other
3694	*BSD variants. [Bug 1334613]
3695	* unix/configure: Regenerated.
3696
36972006-03-07  Donal K. Fellows  <dkf@users.sf.net>
3698
3699	* doc/canvas.n: Added note that stipples are not well-supported on
3700	non-X11 platforms. [Bug 220787] It's not a great solution, but it does
3701	indicate the state of affairs that has existed for years anyway; not
3702	much modern software uses stipples anyway.
3703
37042006-03-02  Jeff Hobbs  <jeffh@ActiveState.com>
3705
3706	* macosx/tkMacOSXDraw.c (TkPutImage): Fix endian issue on OS X x86
3707	displaying images. Bitmap images still have a black/white reversal
3708	issue, appears to be a general OS X issue (as seen in frogger demo).
3709
37102006-02-27  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3711
3712	* generic/tkBitmap.c (Tk_GetBitmapFromData): Improve thread-safety.
3713	[Bug 470322]
3714
3715	* generic/tkImgBmap.c (ImgBmapConfigureInstance): Force creation of new
3716	Pixmaps before deletion of old ones to prevent stupid caching problems.
3717	[Bug 480862]
3718
37192006-02-09  Daniel Steffen  <das@users.sourceforge.net>
3720
3721	* generic/tk.decls:       fix signature of TkMacOSXInvalClipRgns
3722	* generic/tkPlatDecls.h:     to use Tk_Window instead of internal
3723	* macosx/tkMacOSXSubwindows.c:  type TkWindow (which led to any include
3724	* macosx/tkMacOSXWindowEvent.c: of public header tkMacOSX.h requiring
3725	* macosx/tkMacOSXWm.c:     prior include of tkInt.h).
3726
3727	* generic/tk.h:      move TkAqua specific REDO_KEYSYM_LOOKUP define
3728	* macosx/tkMacOSXPort.h: out of tk.h into platform header.
3729
37302006-01-31  Donal K. Fellows  <dkf@users.sf.net>
3731
3732	* library/bgerror.tcl (::tk::dialog::error::bgerror): Finish the
3733	internationalization of the error dialog. [Bug 1409264]
3734
37352006-01-25  Don Porter	<dgp@users.sourceforge.net>
3736
3737	* library/bgerror.tcl: Updates to use Tcl 8.4 features. [Patch 1237759]
3738	* library/choosedir.tcl:
3739	* library/comdlg.tcl:
3740	* library/console.tcl:
3741	* library/dialog.tcl:
3742	* library/focus.tcl:
3743	* library/msgbox.tcl:
3744	* library/palette.tcl:
3745	* library/tk.tcl:
3746	* library/tkfbox.tcl:
3747	* library/xmfbox.tcl:
3748
37492006-01-23  Daniel Steffen  <das@users.sourceforge.net>
3750
3751	* unix/configure:   minor fix to Darwin specific code removing
3752	* unix/configure.in: 64bit flags from CFLAGS for Tk build.
3753
37542006-01-20  Joe English  <jenglish@users.sourceforge.net>
3755
3756	* generic/tkEvent.c, unix/tkUnixEvent.c: XIM fixes [See 905830, patch
3757	tk84-xim-fixes.patch], and revert 2005-12-05 patch disabling XIM when
3758	SCIM in use, and make sure all X events get passed to XFilterEvent,
3759	including those without a corresponding Tk window.
3760
37612006-01-13  Anton Kovalenko  <a_kovalenko@users.sourceforge.net>
3762
3763	* generic/tkUndo.c (TkUndoSetDepth): Don't free TkUndoSubAtoms for
3764	separator entries that are deleted: there is some unpredictable garbage
3765	instead of subatoms.
3766
3767	Free both 'apply' and 'revert' action chains for non-separator entries.
3768
37692006-01-12  Donal K. Fellows  <dkf@users.sf.net>
3770
3771	TIP #260 IMPLEMENTATION
3772
3773	* generic/tkCanvText.c (TextItem, CreateText, DisplayCanvText):
3774	* doc/canvas.n:		Code, docs and tests to implement an -underline
3775	* tests/canvText.test:	option for canvases' text items.
3776
37772006-01-11  Peter Spjuth  <peter.spjuth@space.se>
3778
3779	* generic/tkGrid.c: Removed a lingering error message from TIP#147
3780	implementation.
3781
37822006-01-10  Daniel Steffen  <das@users.sourceforge.net>
3783
3784	* macosx/tkMacOSXDebug.c: add TkMacOSXGetNamedDebugSymbol() function
3785	* macosx/tkMacOSXDebug.h: that finds unexported symbols in loaded
3786	libraries by manually walking their symbol table; only to be used for
3787	debugging purposes, may break unexpectedly in the future. Needed to get
3788	access to private_extern internal debugging functions in HIToolbox.
3789
3790	* macosx/tkMacOSXCarbonEvents.c: fix debug event tracing on Tiger.
3791	* macosx/tkMacOSXMenu.c: add debug menu printing during reconfigure.
3792	* macosx/tkMacOSXInit.c: conditionalize 64bit-unsafe dyld code.
3793	* macosx/GNUmakefile: add 'wish8.x' symlink to SYMROOT.
3794
3795	* macosx/Wish.xcode/project.pbxproj:    fix copy to tktest resource
3796	* macosx/Wish.xcodeproj/project.pbxproj: fork when zerolinked.
3797
3798	* macosx/Wish.xcode/default.pbxuser:    add widget demo as argument to
3799	* macosx/Wish.xcodeproj/default.pbxuser: executables (on by default).
3800
3801	* unix/configure:   add caching, use AC_CACHE_CHECK instead of
3802	* unix/configure.in: AC_CACHE_VAL where possible, consistent message
3803	* unix/tcl.m4:  quoting, sync relevant tclconfig/tcl.m4 changes
3804	and gratuitous formatting differences, fix SC_CONFIG_MANPAGES with
3805	default argument, Darwin improvements to SC_LOAD_*CONFIG.
3806
38072005-12-28  Donal K. Fellows  <dkf@users.sf.net>
3808
3809	* generic/tkUndo.c (TkUndoSetDepth): Apply [Patch 1391939] from Ludwig
3810	Callewaert to fix [Bug 1380427].
3811
38122005-12-14  Daniel Steffen  <das@users.sourceforge.net>
3813
3814	* macosx/Wish.xcode/project.pbxproj:
3815	* macosx/Wish.xcodeproj/project.pbxproj: add new tclTomMath* files.
3816
38172005-12-13  Daniel Steffen  <das@users.sourceforge.net>
3818
3819	* library/demos/cscroll.tcl: add MouseWheel bindings for aqua.
3820
3821	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
3822	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent)
3823	(GenerateMouseWheelEvent): add support for kEventMouseScroll events
3824	(smooth mouse wheel scrolling from mighty mouse or scrolling trackpad)
3825	by handling kEventMouseWheelMoved on application target as well as on
3826	dispatcher, in order to pick up synthesized MouseWheel events from
3827	HIObject handler (c.f. QA1453); add support for horizontal scrolling
3828	events by generating MouseWheel XEvent with Shift modifier.
3829
38302005-12-12  Jeff Hobbs  <jeffh@ActiveState.com>
3831
3832	* unix/tcl.m4, unix/configure: Fix sh quoting error reported in
3833	bash-3.1+ [Bug 1377619] (schafer)
3834
38352005-12-09  Mo DeJong  <mdejong@users.sourceforge.net>
3836
3837	* win/tkWinWm.c (WinSetIcon): Don't check result of SetClassLong() or
3838	SetClassLongPtr() since it was generating an incorrect error and the
3839	MSDN docs indicate that the result need not be checked.
3840
38412005-12-09  Mo DeJong  <mdejong@users.sourceforge.net>
3842
3843	* win/configure: Regen.
3844	* win/tcl.m4 (SC_CONFIG_CFLAGS): Define MACHINE for gcc builds. The
3845	lack of a definition of this variable in the manifest file was causing
3846	a runtime error in wish built with gcc.
3847
38482005-12-09  Daniel Steffen  <das@users.sourceforge.net>
3849
3850	* generic/tkInt.decls:  Move all platform test sources from tk lib into
3851	* generic/tkTest.c:  tktest directly, removes requirement to export
3852	* macosx/tkMacOSXTest.c:TkplatformtestInit from internal stubs table.
3853	* unix/Makefile.in:
3854	* win/Makefile.in:
3855	* win/makefile.vc:
3856	* win/tkWinTest.c:
3857
3858	* generic/tkIntPlatDecls.h:
3859	* generic/tkStubInit.c: regen.
3860
38612005-12-08  Jeff Hobbs  <jeffh@ActiveState.com>
3862
3863	* win/tcl.m4:    Add build support for Windows-x64 builds.
3864	* win/configure:    --enable-64bit now accepts =amd64|ia64 for
3865	* win/Makefile.in:  Windows 64-bit build variants (default: amd64)
3866	* win/makefile.vc:  [Bug 1369597]
3867	(TKOBJS): add tkWinTest.obj to regular Tk obj for TkplatformtestInit
3868
3869	* win/configure.in: Add CE build support (some C code fixes needed)
3870	* win/wish.exe.manifest.in (new):    manifest must map in MACHINE and
3871	* win/rc/wish.exe.manifest (removed): VERSION to be correct.
3872	* unix/Makefile.in: fix dist target for manifest dir change
3873
3874	* generic/tkTextTag.c (TkTextTagCmd): use correct arraySize for peered
3875	text widgets in [$text tag names]. [Bugs 1375069, 1374935]
3876
38772005-12-08  Daniel Steffen  <das@users.sourceforge.net>
3878
3879	* macosx/tkMacOSXDraw.c:  Remove inclusion of tclInt.h and use of tcl
3880	* macosx/tkMacOSXFont.c:  internals wherever possible in tk/macosx, the
3881	* macosx/tkMacOSXInit.c:  only remaining tcl internals in TkAqua are
3882	* macosx/tkMacOSXNotify.c:TclServiceIdle() in tkMacOSXScrlbr.c and
3883	* macosx/tkMacOSXScrlbr.c:Tcl_Get/SetStartupScript() in tkMacOSXInit.c
3884				  [RFE 1336531]
3885
3886	* macosx/tkMacOSXInt.h: sync comments with core-8-4-branch.
3887
38882005-12-07  Jeff Hobbs  <jeffh@ActiveState.com>
3889
3890	* unix/tkUnixEvent.c (OpenIM): remove extraneous const
3891
38922005-12-06  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
3893
3894	* doc/ConfigWidg.3 (TK_CONFIG_OPTION_SPECIFIED): Mentioned that the
3895	flag is deprecated because it is not thread-safe.
3896
38972005-12-05  Reinhard Max  <max@suse.de>
3898
3899	* unix/tkUnixEvent.c (OpenIM): Added a workaround to allow at least
3900	ASCII and the Compose key when typing into text and entry widgets on a
3901	system that uses SCIM. This has to be taken out again once the SCIM
3902	problems have been fixed.
3903
39042005-12-01  Daniel Steffen  <das@users.sourceforge.net>
3905
3906	* unix/tcl.m4 (Darwin): fixed error when MACOSX_DEPLOYMENT_TARGET unset
3907	* unix/configure: regen.
3908
39092005-11-30  Jeff Hobbs  <jeffh@ActiveState.com>
3910
3911	* win/tkWinWm.c (WmAttributesCmd): set (no)topmost window aspect before
3912	rewrapping. [Bug 1086049]
3913
3914	* macosx/tkMacOSXXStubs.c (TkpOpenDisplay, TkMacOSXDisplayChanged):
3915	* macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent):
3916	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
3917	* macosx/tkMacOSXEvent.h: Trap kEventAppAvailableWindowBoundsChanged
3918	* macosx/tkMacOSXInt.h:   event to watch for change in display size and
3919	adjust internal state appropriately.
3920
3921	* doc/checkbutton.n: fix -selectcolor docs. [Bug 1083838]
3922
3923	* generic/tkImgGIF.c: cast calls to blockOut
3924
3925	* win/Makefile.in: place TCL_BIN_DIR first in PATH for targets to get
3926	Tcl built dll first.
3927	Add tkWinTest.obj to tk84.dll to handle some needed test functions
3928	being defined in stubs (TkplatformtestInit).
3929
3930	* tests/scrollbar.test (6.22): fix rounding-error sensitive test
3931
39322005-11-29  Jeff Hobbs  <jeffh@ActiveState.com>
3933
3934	* library/console.tcl (::tk::ConsoleInit): improve work-around to avoid
3935	'% ' from tclMain.c. [Bug 1252259]
3936
39372005-11-27  Daniel Steffen  <das@users.sourceforge.net>
3938
3939	* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),
3940	add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to
3941	configure (flag can't be present twice, so can't be in both CFLAGS and
3942	LDFLAGS during configure), don't use -prebind when deploying on 10.4,
3943	define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542).
3944	(SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete
3945	autoconf macros. Sync with tcl/unix/tcl.m4.
3946
3947	* unix/configure.in: fix obsolete autoconf macros, sync gratuitous
3948	formatting/ordering differences with tcl/unix/configure.in.
3949
3950	* unix/Makefile.in: add CFLAGS to wish/tktest link to make executable
3951	linking the same as during configure (needed to avoid loosing any
3952	linker relevant flags in CFLAGS, in particular flags that can't be in
3953	LDFLAGS). Avoid concurrent linking of wish and compiling of
3954	tkTestInit.o during parallel make, fix dependencies and flags for
3955	building tkMacOSXInit.o
3956	(checkstubs, checkexports): dependency and Darwin fixes
3957	(dist): add new macosx files.
3958
3959	* macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent):
3960	* macosx/tkMacOSXEvent.h:
3961	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent):
3962	* macosx/tkMacOSXCarbonEvents.c: install standard application event
3963	handler, add & call functions to start and stop carbon even timer that
3964	runs the tcl event loop periodically during a nested carbon event loop
3965	in the toolbox (e.g. during menutracking) to ensure tcl timers etc.
3966	continue to fire, register app event handler for menu tracking and HI
3967	command carbon events, move menu event handling to new handlers for
3968	those carbon events, no longer register for/handle appleevent carbon
3969	event (now dealt with by standard application event handler), event
3970	debugging code dynamically acquires carbon event debugging functions to
3971	allow use on Tiger where they are no longer exported from HIToolbox.
3972
3973	* macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText):
3974	* macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout):
3975	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
3976	* macosx/tkMacOSXInit.c:
3977	* macosx/tkMacOSXInt.h: abstract common code to dynamically acquire
3978	address of a named symbol (from a loaded dynamic library) into new
3979	function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol.
3980
3981	* macosx/tkMacOSXMenu.c (TkpNewMenu):
3982	* macosx/tkMacOSXMenubutton.c (MenuButtonInitControl):
3983	* macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to modern
3984	utf-8 aware menu manager API, remove obsolete code, add error handling.
3985
3986	* macosx/tkMacOSXMenu.c:
3987	* macosx/tkMacOSXMenus.c:
3988	* macosx/tkMacOSXMenubutton.c:
3989	* macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants
3990	if necessary to allow compilation on OSX 10.2
3991
3992	* macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never
3993	executed.
3994
3995	* xlib/xgc.c (XCreateGC): sync with core-8-4-branch change.
3996
3997	* generic/tk.h: add/correct location of version numbers in macosx files
3998
3999	* generic/tkInt.h: clarify fat compile comment.
4000
4001	* macosx/Wish.pbproj/default.pbxuser (new):
4002	* macosx/Wish.pbproj/jingham.pbxuser:
4003	* macosx/Wish.pbproj/project.pbxproj:
4004	* macosx/Wish.xcode/default.pbxuser:
4005	* macosx/Wish.xcode/project.pbxproj:
4006	* macosx/Wish.xcodeproj/default.pbxuser (new):
4007	* macosx/Wish.xcodeproj/project.pbxproj (new): new/updated projects for
4008	Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with
4009	native tktest targets and support for universal (fat) compiles.
4010
4011	* macosx/Tk-Info.plist (removed):
4012	* macosx/Wish-Info.plist (removed):
4013	* macosx/buildTkConfig.tcl (removed): remove obsolete build files.
4014
4015	* macosx/README: clarification/cleanup, document new Xcode projects and
4016	universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time).
4017
4018	* unix/Makefile.in:
4019	* unix/aclocal.m4:
4020	* unix/configure.in:
4021	* macosx/configure.ac (new): add support for inclusion of
4022	unix/configure.in by macosx/configure.ac, allows generation of a
4023	config headers enabled configure script in macosx (required by Xcode
4024	projects).
4025
4026	* macosx/GNUmakefile: rename from Makefile to avoid overwriting by
4027	configure run in tk/macosx, add support for reusing configure cache,
4028	build target fixes.
4029
4030	* generic/tk3d.h:
4031	* generic/tkButton.h:
4032	* generic/tkCanvas.c:
4033	* generic/tkCanvas.h:
4034	* generic/tkColor.h:
4035	* generic/tkEntry.h:
4036	* generic/tkFileFilter.h:
4037	* generic/tkFont.c:
4038	* generic/tkFont.h:
4039	* generic/tkImage.c:
4040	* generic/tkImgPhoto.c:
4041	* generic/tkInt.h:
4042	* generic/tkMenu.c:
4043	* generic/tkMenu.h:
4044	* generic/tkMenubutton.h:
4045	* generic/tkScale.h:
4046	* generic/tkScrollbar.h:
4047	* generic/tkSelect.h:
4048	* generic/tkStubInit.c:
4049	* generic/tkStubLib.c:
4050	* generic/tkText.h:
4051	* generic/tkUndo.h:
4052	* macosx/tkMacOSXButton.c:
4053	* macosx/tkMacOSXDebug.c:
4054	* macosx/tkMacOSXDebug.h:
4055	* macosx/tkMacOSXDialog.c:
4056	* macosx/tkMacOSXDraw.c:
4057	* macosx/tkMacOSXEntry.c:
4058	* macosx/tkMacOSXFont.c:
4059	* macosx/tkMacOSXInt.h:
4060	* macosx/tkMacOSXMenu.c:
4061	* macosx/tkMacOSXMenubutton.c:
4062	* macosx/tkMacOSXMouseEvent.c:
4063	* macosx/tkMacOSXSend.c:
4064	* macosx/tkMacOSXSubwindows.c:
4065	* macosx/tkMacOSXWindowEvent.c:
4066	* macosx/tkMacOSXWm.c:
4067	* macosx/tkMacOSXXStubs.c:
4068	* unix/tkUnixButton.c:
4069	* unix/tkUnixMenu.c:
4070	* xlib/xgc.c: ensure externally visible symbols not contained in stubs
4071	table are declared as MODULE_SCOPE (or as static if not used outside of
4072	own source file), #ifdef out a few Xlib and aqua functions that are
4073	never called. These changes allow 'make checkstubs' to complete without
4074	error on Darwin with gcc 4.
4075
4076	* macosx/tkMacOSXTest.c:
4077	* macosx/tkMacOSXPort.h:
4078	* win/tkWinTest.c:
4079	* generic/tkInt.decls: add functions needed by tktest to internal stubs
4080	table, correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua
4081	Xlib stubs.
4082
4083	* unix/tkUnixSend.c:
4084	* generic/tkText.c:
4085	* generic/tkTest.c: #ifdef unix only declarations.
4086	(TestmetricsCmd): unify win and mac implementation.
4087	(TestsendCmd): move to tkUnixSend.c to avoid access to global var.
4088	(TesttextCmd): move to tkText.c to avoid having to put all the internal
4089	text functions it uses into the stubs table.
4090
4091	* generic/tkTextDisp.c:
4092	* macosx/tkMacOSXInit.c:
4093	* macosx/tkMacOSXKeyEvent.c:
4094	* macosx/tkMacOSXWindowEvent.c:
4095	* macosx/tkMacOSXXStubs.c: fix gcc 4 warnings.
4096
4097	* macosx/tkMacOSXNotify.c:
4098	* macosx/tkMacOSXScrlbr.c: sync with core-8-4-branch.
4099
4100	* generic/tkIntDecls.h:
4101	* generic/tkIntPlatDecls.h:
4102	* generic/tkIntXlibDecls.h:
4103	* generic/tkStubInit.c:
4104	* unix/configure:
4105	* unix/tkConfig.h.in: regen.
4106
41072005-11-22  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
4108
4109	* library/tkfbox.tcl: Remove all references to data(curItem), as it is
4110	no longer used. [Bug 600313]
4111	(::tk::IconList_CurSelection): Renamed for clarity.
4112
4113	* doc/GetFont.3: Revert previous fix; a NULL interp is now legal.
4114	* generic/tkFont.c (ParseFontNameObj, GetAttributeInfoObj): Allow these
4115	functions to work with a NULL interp by making them check when
4116	generating error messages. [Bug 1151523]
4117
4118	* library/tkfbox.tcl (::tk::dialog::file::): Correct the quoting of the
4119	script used in variable traces so that widget names with spaces in will
4120	work. [Bug 1335485]
4121
41222005-11-16  Vince Darley  <vincentdarley@users.sourceforge.net>
4123
4124	* doc/text.n: clarify left to right interpretation of index modifiers,
4125	including the fact that validation occurs after each step. [Bug
4126	1357575]
4127
41282005-11-15  Joe English  <jenglish@users.sourceforge.net>
4129
4130	* unix/tkUnixWm.c, tests/unixWm.test, doc/wm.n: Support for [wm
4131	attributes] on X11. [TIP#231, Patch 1062022]
4132
41332005-11-14  Joe English  <jenglish@users.sourceforge.net>
4134
4135	* library/bgerror.tcl: Truncate error messages at 45 characters
4136	instead of 30. [Bug 1224235]
4137
41382005-11-14  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
4139
4140	* generic/tkSelect.c (TkSelDefaultSelection): Test select-9.5
4141	highlighted further brokenness in this function.
4142
41432005-11-13  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
4144
4145	* unix/tkUnixSelect.c (SelCvtToX): Arrange for the parsing code to use
4146	Tcl's list parsing code, another simplification that enables testing
4147	of the [Bug 1353414] fix.
4148
4149	* unix/tkUnixSelect.c (SelCvtFromX): Generate string forms of the
4150	advanced selection types in a Tcl_DString. This makes fixing [Bug
4151	1353414] trivial, and simplifies the code at the same time.
4152	* tests/select.test (select-9.5): Added test for [Bug 1353414]
4153
41542005-11-10  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
4155
4156	* generic/tkBind.c (ChangeScreen):		More DString fixes from
4157	* generic/tkTextWind.c (EmbWinLayoutProc):	[Bug 1353022]
4158	* win/tkWinMenu.c (SetDefaults):
4159
4160	* win/tkWinDialog.c (ConvertExternalFilename): Factored out the
4161	encoding conversion and de-backslash-ing code that is used in many
4162	places in this file.
4163	(GetFileNameW, GetFileNameA, ChooseDirectoryValidateProc): Make sure
4164	that data is freed correctly and that certain (hopefully impossible)
4165	failure modes won't cause crashes. [Bug 1353022]
4166
41672005-11-06  Pat Thoyts  <pat@zsplat.freeserve.co.uk>
4168
4169	* unix/tcl.m4:  Fix SHLIB_LD_LIBS for building tclkit on OpenBSD.
4170	* unix/configure: regenerated
4171
41722005-10-31  Vince Darley  <vincentdarley@users.sourceforge.net>
4173
4174	* generic/tkText.c
4175	* tests/textDisp.test: fix and test for [Bug 1333951] in '.text count
4176	-displaylines'.
4177
41782005-10-18  Don Porter	<dgp@users.sourceforge.net>
4179
4180	* generic/tkMain.c: Rewrote code that sets the ::argv value to be sure
4181	conversion from the system encoding is complete before any processing
4182	sensitive to list-special characters is done. [Bug 1328926]
4183
41842005-10-17  Jeff Hobbs  <jeffh@ActiveState.com>
4185
4186	* macosx/tkMacOSXScrlbr.c (UpdateControlValues): check geomMgrPtr is
4187	valid before checking type
4188
41892005-10-15  Jeff Hobbs  <jeffh@ActiveState.com>
4190
4191	* library/menu.tcl (::tk::MenuUnpost): remove leftover ] from string
4192	equal mods of 2005-07-25. (sowadsky)
4193
41942005-10-14  Pat Thoyts  <patthoyts@users.sourceforge.net>
4195
4196	* win/tkWinSend.c:  Avoid using tcl internal headers and fix to
4197	* win/tkWinSendCom.h: correctly link on all types of build (was
4198	* win/tkWinSendCom.c: broken in static,msvcrt builds).
4199
42002005-10-12  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
4201
4202	* tests/canvPs.test, tests/canvPsBmap.tcl, tests/canvPsImg.tcl:
4203	* tests/imgPhoto.test, tests/menu.test: Arrange for the test suite to
4204	only ever refer to images in the same directory as the tests. This
4205	makes it possible to package the test suite itself as a starkit. Thanks
4206	to David Zolli for suggesting this.
4207
42082005-10-10  Jeff Hobbs  <jeffh@ActiveState.com>
4209
4210	* generic/tkConfig.c (Tk_DeleteOptionTable, Tk_CreateOptionTable):
4211	properly alloc/delete one more option. [Bug 1319720] (melbardis)
4212
4213	* macosx/tkMacOSXInt.h: Move MODULE_SCOPE defn to tkInt.h and add
4214	* generic/tkInt.h:    WORDS_BIGENDIAN checks that will work with OS X
4215	universal binary compiles. (steffen)
4216
4217	* generic/tkMenu.c (TkSetWindowMenuBar): do not call TkMenuInit if the
4218	winPtr indicates TK_ALREADY_DEAD. This prevents reinit that creates a
4219	Tk exit handler after all exit handlers should be called. [Bug 749908,
4220	1322294]
4221
42222005-10-10  Vince Darley  <vincentdarley@users.sourceforge.net>
4223
4224	TIP #256 IMPLEMENTATION
4225
4226	* doc/text.n
4227	* generic/tkText.c
4228	* generic/tkText.h
4229	* generic/tkTextBTree.c
4230	* generic/tkTextDisp.c
4231	* generic/tkTextImage.c
4232	* generic/tkTextIndex.c
4233	* generic/tkTextMark.c
4234	* generic/tkTextTag.c
4235	* generic/tkTextWind.c
4236	* macosx/tkMacOSXDefault.h
4237	* tests/text.test
4238	* tests/textDisp.test
4239	* unix/tkUnixDefault.h
4240	* win/tkWinDefault.h: Implementation of TIP#256, adding a new text
4241	widget configuration option '-tabstyle', with new tests and
4242	documentation.
4243
4244	Also a fix for [Bug 1281228] (documentation and full implementation of
4245	-strictlimits), and [Bug 1288677] (corrected elide behaviour), again
4246	with more tests.
4247
42482005-10-04  Jeff Hobbs  <jeffh@ActiveState.com>
4249
4250	* library/dialog.tcl (::tk_dialog): add tkwait visibility before grab.
4251	[Bug 1216775]
4252
4253	* win/tkWinDialog.c (ChooseDirectoryValidateProc): reset stored path to
4254	"" if it doesn't exist and -mustexist is true. [Bug 1309218] Remove
4255	old-style dir chooser (no longer used).
4256
4257	* macosx/tkMacOSXInt.h: add MODULE_SCOPE definition check for extension
4258	writers that access private headers on OS X and don't define it in
4259	configure.
4260
42612005-09-28  Don Porter	<dgp@users.sourceforge.net>
4262
4263	* unix/tkUnixPort.h:	Disabled inclusion of the private Tcl header
4264	* win/tkWinPort.h:	file tclInt.h. Tk ought to have a tiny and
4265	shrinking number of calls of private Tcl routines. Each Tk source file
4266	doing this should follow the convention in the macosx port and have its
4267	own #include "tclInt.h".
4268
4269	* generic/tkEvent.c:	Disabled calls to private Tcl routine
4270	TclInExit(). See comment in TkCreateExitHandler() for full rationale.
4271
42722005-09-21  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
4273
4274	* generic/tkEvent.c (TkCreateThreadExitHandler, TkFinalizeThread)
4275	(TkDeleteThreadExitHandler): New internal API (from Joe Mistachkin) to
4276	allow Tk to finalize itself correctly in a multi-threaded
4277	environment. [Bug 749908]
4278
42792005-09-14  Donal K. Fellows  <dkf@users.sf.net>
4280
4281	* generic/tkOldConfig.c (GetCachedSpecs): Split out the code to
4282	manipulate the cached writable specs so that it can be reused from all
4283	the public Tk_Configure* functions.
4284	(Tk_ConfigureInfo, Tk_ConfigureWidget, Tk_ConfigureValue): Use the
4285	factored out code everywhere, so we always manipulate the cache
4286	correctly. [Bug 1288128]
4287
42882005-09-13  Don Porter	<dgp@users.sourceforge.net>
4289
4290	* win/winMain.c (WishPanic): Replaced TCL_VARARGS* macros with direct
4291	use of stdarg.h conventions.
4292
42932005-09-11  Daniel Steffen  <das@users.sourceforge.net>
4294
4295	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): check if
4296	process is in front on MouseDown, otherwise request process activation
4297	from BringWindowForward() via new isFrontProcess param.
4298
4299	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): register
4300	our event handler on the dispatcher target for all carbon events of
4301	interest to TkAqua; this replaces event processing directly from the
4302	event queue and thus allows to capture events that are syntesized by
4303	Carbon and sent directly to the dispatcher and not to the event queue.
4304
4305	* macosx/tkMacOSXEvent.c: remove TkMacOSXCountAndProcessMacEvents(),
4306	rename ReceiveAndProcessEvent() to TkMacOSXReceiveAndProcessEvent().
4307	(TkMacOSXReceiveAndProcessEvent): remove tk event processing before
4308	sending events to the dispatcher, all events of interest are now
4309	processed in our dispatcher target event handler.
4310
4311	* macosx/tkMacOSXNotify.c (CarbonEventsCheckProc): dispatch events
4312	directly via TkMacOSXReceiveAndProcessEvent(), but dispatch no more
4313	than four carbon events at one time to avoid starving other event
4314	sources.
4315
4316	* macosx/tkMacOSXEvent.c: formatting cleanup, move XSync() to XStubs,
4317	* macosx/tkMacOSXEvent.h: removed obsolete kEventClassWish handling.
4318	* macosx/tkMacOSXXStubs.c
4319
4320	* macosx/tkMacOSXEvent.h: declare macosx internal procs as MODULE_SCOPE
4321	* macosx/tkMacOSXEvent.c:
4322	* macosx/tkMacOSXKeyEvent.c:
4323	* macosx/tkMacOSXMouseEvent.c:
4324	* macosx/tkMacOSXWindowEvent.c:
4325
4326	* macosx/tkMacOSXButton.c: conditionalize all debug message printing to
4327	* macosx/tkMacOSXCursor.c: stderr via TK_MAC_DEBUG define.
4328	* macosx/tkMacOSXDebug.c:
4329	* macosx/tkMacOSXDebug.h:
4330	* macosx/tkMacOSXDialog.c:
4331	* macosx/tkMacOSXEvent.c:
4332	* macosx/tkMacOSXInit.c:
4333	* macosx/tkMacOSXKeyEvent.c:
4334	* macosx/tkMacOSXMenu.c:
4335	* macosx/tkMacOSXMenubutton.c:
4336	* macosx/tkMacOSXScale.c:
4337	* macosx/tkMacOSXWindowEvent.c:
4338	* macosx/tkMacOSXWm.c:
4339
4340	* unix/configure.in: define TK_MAC_DEBUG on aqua when symbols enabled.
4341	* unix/configure: autoconf-2.59
4342	* unix/tkConfig.h.in: autoheader-2.59
4343
4344	* library/listbox.tcl: synced aqua MouseWheel bindings with
4345	* library/scrlbar.tcl: core-8-4-branch.
4346	* library/text.tcl:
4347
4348	* xlib/xcolors.c: fixed warning
4349
43502005-08-25  Daniel Steffen  <das@users.sourceforge.net>
4351
4352	* unix/Makefile.in (html): reverted/amended changes of 2005-08-23 that
4353	broke TkAqua 'make install'; added BUILD_HTML_FLAGS optional var like
4354	in tcl/unix/Makefile.in.
4355
43562005-08-24  Donal K. Fellows  <dkf@users.sf.net>
4357
4358	* tests/text.test (text-8.18): Fix punctuation of error message to
4359	match good practice (actual message already fixed). [Bug 1267484]
4360
43612005-08-23  Jeff Hobbs  <jeffh@ActiveState.com>
4362
4363	* macosx/tkMacOSXDialog.c: make dialogs ignore -initialfile "" and
4364	-initialdir "" instead of error.
4365
43662005-08-23  Mo DeJong  <mdejong@users.sourceforge.net>
4367
4368	* win/tkWin32Dll.c (DllMain): Replace old asm SEH approach with Kenny's
4369	new SEH implementation. [Tcl Bug 1235544]
4370
43712005-08-23  Mo DeJong  <mdejong@users.sourceforge.net>
4372
4373	* unix/Makefile.in: Subst BUILD_TCLSH and TCL_EXE.
4374	* unix/configure: Regen.
4375	* unix/configure.in: Update minimum autoconf version to 2.59. Invoke
4376	SC_PROG_TCLSH and SC_BUILD_TCLSH.
4377	* unix/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
4378	* win/Makefile.in: Subst BUILD_TCLSH and TCL_EXE.
4379	* win/configure: Regen.
4380	* win/configure.in: Update minimum autoconf version to 2.59. Invoke
4381	SC_BUILD_TCLSH.
4382	* win/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH): Split confused search
4383	for tclsh on PATH and build and install locations into two macros.
4384	SC_PROG_TCLSH searches just the PATH. SC_BUILD_TCLSH determines the
4385	name of the tclsh executable in the Tcl build directory. [Tcl Bug
4386	1160114] [Tcl Patch 1244153]
4387
43882005-08-22  Daniel Steffen  <das@users.sourceforge.net>
4389
4390	* macosx/tkMacOSXButton.c:
4391	* macosx/tkMacOSXDialog.c: fix warnings.
4392
43932005-08-20  Joe Mistachkin  <joe@mistachkin.com>
4394
4395	* win/tkWinX.c: Fixed bad cast. [Bug 1216006]
4396
43972005-08-18  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
4398
4399	* doc/GetFont.3: Reworded to reflect the truth. [Bug 1151523]
4400
44012005-08-16 George Peter Staplin  <GeorgePS@XMission.com>
4402
4403	* doc/CrtItemType.3 prototypes were lacking [] after objv. Thus the man
4404	page was wrong about the actual prototypes. This was verified by
4405	studying tkCanvBmap.c.
4406
44072005-08-13 Chengye Mao  <chengye.geo@yahoo.com>
4408
4409	* generic/tkOldConfig.c: Fixed [Bug 1258604]. This bug was introduced
4410	into the modfied Tk_ConfigureWidget. It failed to properly handle the
4411	specFlags' bit TK_CONFIG_OPTION_SPECIFIED.
4412
44132005-08-12  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
4414
4415	* generic/tkOldConfig.c (Tk_ConfigureWidget): Stop storing per-thread
4416	data in global data structures. Store it in per-interpreter data (i.e.
4417	per-thread data) instead. [Bug 749908]
4418
44192005-08-10  Donal K. Fellows  <dkf@users.sf.net>
4420
4421	* generic/tkFrame.c (CreateFrame) and others: Don't use size_t when
4422	working with Tcl_GetStringFromObj because it is not 64-bit clean. [Bug
4423	1252702]
4424
44252005-08-04  Vince Darley  <vincentdarley@users.sourceforge.net>
4426
4427	* doc/text.n: Clarify behaviour of tab stops (as per [Bug 1247835])
4428
44292005-08-09  Daniel Steffen  <das@users.sourceforge.net>
4430
4431	* macosx/tkMacOSXCarbonEvents.c (AppEventHandlerProc): handle carbon
4432	events sent directly to application event target via the general
4433	TkMacOSXProcessEvent() in the same way as events posted to the event
4434	loop. Moved existing app event handlers to tkMacOSXWindowEvent.c.
4435	(TkMacOSXInitCarbonEvents): register our application event handler for
4436	kEventWindowExpanded events to deal with uncollapsing from the dock.
4437
4438	* macosx/tkMacOSXEvent.h: made TkMacOSXProcessEvent() non-static, added
4439	* macosx/tkMacOSXEvent.c: new interp field to TkMacOSXEvent struct for
4440				  use by app event handler.
4441
4442	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): retrieve
4443	current window, partCode, modifiers and local cursor position from
4444	carbon mouse event if possible. Use new static GenerateButtonEvent()
4445	taking a MouseEventData struct instead of TkGenerateButtonEvent() to
4446	avoid recomputing already known values. Move process activation on
4447	MouseDown into BringWindowForward() to allow clicking on window
4448	titlebar widgets without activating process. Move code dealing with
4449	clicks in window titelbar into separate function
4450	HandleWindowTitlebarMouseDown() to avoid code duplication. Avoid
4451	repeated calls to TkMacOSXGetXWindow() by storing result in
4452	MouseEventData struct.
4453	(TkMacOSXButtonKeyState, XQueryPointer): try to get button and modifier
4454	state from currently processed carbon event (to avoid unnecessary IPC
4455	with the window server), otherwise use modern carbon API to get this
4456	info instead of Button() and GetKeys(); only retrieve info caller asks
4457	for (via non-NULL ptr passed to XQueryPointer).
4458	(ButtonModifiers2State): new static function converting carbon button
4459	and modifier state into tk state, allows detection of more than 3 mouse
4460	buttons (tk supports up to 5) and of NumLock and Fn modifier keys
4461	(NumLock is mapped to Mod3 and Fn to Mod4).
4462
4463	* macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent):
4464	handle kEventWindowExpanded event to deal with window uncollapsing from
4465	the dock by generating tk Map event, handle kEventAppHidden and
4466	kEventAppShown events (moved here from tkMacOSXCarbonEvents.c).
4467
4468	* macosx/tkMacOSXSubwindows.c (XUnmapWindow): only hide window when it
4469	is not iconified to avoid window flashing on collapse.
4470
4471	* macosx/tkMacOSXWm.c: replaced Tk_DoWhenIdle() by Tcl_DoWhenIdle().
4472	(TkMacOSXZoomToplevel): remove call to TrackBox(), now done in
4473	HandleWindowTitlebarMouseDown() in tkMacOSXMouseEvent.c.
4474	(TkpWmSetState): avoid window flashing on collapse by unmapping after
4475	calling CollapseWindow(); only uncollapse window if it is collapsed.
4476
4477	* generic/tkInt.decls: changed TkMacOSXZoomToplevel() signature.
4478	* generic/tkIntPlatDecls.h:
4479
4480	* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only call
4481	GetMenuItemCommandID() on KeyDown or KeyRepeat events.
4482
4483	* macosx/tkMacOSXMenu.c (ReconfigureMacintoshMenu): remove call to
4484	obsolete AppendResMenu() API.
4485
4486	* macosx/tkMacOSXKeyEvent.c: replaced all direct uses of expensive
4487	* macosx/tkMacOSXMenu.c:    GetMouse() and TkMacOSXButtonKeyState()
4488	* macosx/tkMacOSXMenus.c:   APIs by calls to XQueryPointer()
4489	* macosx/tkMacOSXMouseEvent.c:
4490	* macosx/tkMacOSXScale.c:
4491	* macosx/tkMacOSXScrlbr.c:
4492	* macosx/tkMacOSXWm.c:
4493
4494	* macosx/tkMacOSXDialog.c:   replaced use of FrontNonFloatingWindow()
4495	* macosx/tkMacOSXKeyEvent.c: by ActiveNonFloatingWindow() as
4496	* macosx/tkMacOSXMenu.c:    recommended by Carbon docs.
4497	* macosx/tkMacOSXMenus.c:
4498	* macosx/tkMacOSXSubwindows.c:
4499	* macosx/tkMacOSXWm.c:
4500
4501	* macosx/tkMacOSXDialog.c: fixed warnings
4502	* macosx/tkMacOSXTest.c:
4503
4504	* macosx/tkMacOSXCarbonEvents.c: added CVS Id line to file header.
4505	* macosx/tkMacOSXDebug.c:
4506	* macosx/tkMacOSXDebug.h:
4507	* macosx/tkMacOSXEntry.c:
4508	* macosx/tkMacOSXEvent.h:
4509	* macosx/tkMacOSXKeyEvent.c:
4510	* macosx/tkMacOSXMouseEvent.c:
4511	* macosx/tkMacOSXWindowEvent.c:
4512	* macosx/tkMacOSXWm.h:
4513
4514	* macosx/tkMacOSXInt.h: declare macosx internal procs as MODULE_SCOPE.
4515	* macosx/tkMacOSXCarbonEvents.c:
4516	* macosx/tkMacOSXDraw.c:
4517	* macosx/tkMacOSXFont.c:
4518	* macosx/tkMacOSXHLEvents.c:
4519	* macosx/tkMacOSXInit.c:
4520	* macosx/tkMacOSXWindowEvent.c
4521
4522	* library/bgerror.tcl: sync with core-8-4-branch changes of 2005-07-28.
4523	* macosx/tkMacOSXDraw.c:
4524	* macosx/tkMacOSXWm.c:
4525	* macosx/tkMacOSXMouseEvent.c:
4526
4527	* generic/tkFrame.c:   sync with core-8-4-branch changes of 2005-07-27.
4528	* generic/tkIntDecls.h:
4529	* generic/tkStubInit.c:
4530	* generic/tkFrame.c:
4531	* win/tkWinDraw.c:
4532	* unix/tkUnixDraw.c:
4533	* macosx/tkMacOSXDraw.c:
4534	* macosx/tkMacOSXInt.h:
4535	* macosx/tkMacOSXWm.c:
4536	* macosx/tkMacOSXSubwindows.c:
4537
4538	* macosx/tkMacOSXButton.c: sync with core-8-4-branch.
4539	* macosx/tkMacOSXEntry.c:
4540	* macosx/tkMacOSXScale.c:
4541
4542	* library/demos/menu.tcl: removed errant '}'.
4543
45442005-08-04  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
4545
4546	* doc/clipboard.n: Add example demonstrating custom types of clipboard
4547	data.
4548
45492005-07-25  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
4550
4551	* library/*.tcl: Updated to use more 8.4 and 8.5 features as part of
4552	resolving [Patch 1237759].
4553
45542005-07-22  Mo DeJong  <mdejong@users.sourceforge.net>
4555
4556	* win/tkWinX.c: Define _WIN32_WINNT with NT SP 3 data to fix compiler
4557	error because SendInput was not defined. The new msys_mingw7 release is
4558	now needed to compile the HEAD with mingw gcc. [Bug 1210712]
4559
45602005-07-21  Jeff Hobbs	<jeffh@ActiveState.com>
4561
4562	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): corrected if
4563	expression error (use of = instead of ==).
4564
45652005-07-18  Vince Darley  <vincentdarley@users.sourceforge.net>
4566
4567	* generic/tkTextMark.c: fix to segfault in "mark prev"
4568	* tests/textIndex.test: [Bug 1240221]
4569
4570	* tests/textWind.test: make test more robust to avoid infinite loop
4571
45722005-07-06  Jeff Hobbs	<jeffh@ActiveState.com>
4573
4574	* doc/getOpenFile.n: correct -multiple docs (takes boolean)
4575
45762005-07-05  Don Porter	<dgp@users.sourceforge.net>
4577
4578	* unix/Makefile.in:	Purged use of TCLTESTARGS. [RFE 1161550]
4579
45802005-06-23  Daniel Steffen  <das@users.sourceforge.net>
4581
4582	* generic/tkConsole.c (TkConsolePrint): prevent potential NULL deref.
4583
4584	* macosx/tkMacOSXDefault.h: change ENTRY_BORDER defaults to from 5 to 2
4585	to make default entry widgets in TkAqua look like in other aqua apps
4586	(and have same border dimensions as other platforms). [Bug 1176610]
4587
45882005-06-21  Donal K. Fellows  <dkf@users.sf.net>
4589
4590	* doc/GetBitmap.3: Fix silly error in SYNOPSIS. [Bug 1224983]
4591
45922005-06-19  Donal K. Fellows  <dkf@users.sf.net>
4593
4594	* generic/tkImgGIF.c: Cleanse all static (i.e. non-thread-safe) data
4595	at a miniscule performance hit.
4596
45972005-06-18  Daniel Steffen  <das@users.sourceforge.net>
4598
4599	* macosx/Makefile: for X11 build, add -X11 suffix to unversioned wish
4600	symbolic link.
4601
4602	* unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to
4603	ensure we can always relocate binaries with install_name_tool.
4604
4605	* unix/configure: autoconf-2.59
4606
46072005-06-07  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
4608
4609	Bump patchlevel to a4 to distinguish from a3 release.
4610
46112005-06-04  Jeff Hobbs	<jeffh@ActiveState.com>
4612
4613	*** 8.5a3 TAGGED FOR RELEASE ***
4614
46152005-06-02  Jim Ingham	<jingham@apple.com>
4616
4617	* generic/tkEvent.c (InvokeFocusHandlers): On Mac OS X the scrollwheel
4618	events are sent to the window under the mouse, not to the focus window
4619
4620	Another patch from M. Kirkham.
4621
4622	* macosx/tkMacOSXScrlbr.c (ThumbActionProc, ScrollBarBindProc): Record
4623	the first mouse down point, and compute differences from that, rather
4624	than getting the mouse down each time through the loop. The old method
4625	would get fooled if you moved the mouse less than a text line height in
4626	the text widget. [Bug 1083728]
4627
46282005-06-03  Daniel Steffen  <das@users.sourceforge.net>
4629
4630	* macosx/Makefile: fixed 'embedded' target.
4631
46322005-06-02  Reinhard Max  <max@suse.de>
4633
4634	* unix/tkUnix.c (Tk_GetUserInactiveTime): Improvements to get it
4635	working on Solaris, and panic if we run out of memory.
4636	* unix/configure.in: Rework the searching for Xss, to make it work on
4637	Solaris and provide more useful output. Use AC_HELP_STRING where
4638	appropriate.
4639	* unix/tcl.m4: synced from Tcl.
4640	* unix/configure: regenerated with autoconf 2.59.
4641
46422005-06-01  Jeff Hobbs	<jeffh@ActiveState.com>
4643
4644	* win/tkWinInt.h: added private decls of Tk_GetEmbeddedMenuHWND,
4645	Tk_GetMenuHWND, TkWinCleanupContainerList, and TkpWmGetState to that
4646	are used across source files.
4647
4648	* win/tkWinX.c (Tk_ResetUserInactiveTime): cast to squelch compiler
4649	warning.
4650
46512005-05-31  Reinhard Max  <max@suse.de>
4652
4653	* doc/Inactive.3 (new file): C level API documentationn for
4654	TIP#245 (Tk_GetUserInactiveTime, Tk_ResetUserInactiveTime).
4655	* tests/tk.test: Added tests for the TIP#245 implementation.
4656
46572005-05-30  Jeff Hobbs	<jeffh@ActiveState.com>
4658
4659	* generic/tkPanedWindow.c, tests/panedwindow.test: batch of fixes to
4660	panedwindow from Daniel South. Improved auto-size to fit internal
4661	windows, fixed sash placement at edge of pane, fixed calculation of
4662	stretch amount for internal windows. [Bug 1124198, 1161543, 1054117,
4663	1010941, 795869, 690169, 1192323]
4664
4665	* generic/tkMenu.c (MenuCmd): create event handler earlier to ensure
4666	proper destruction of menu through DestroyNotify. [Bug 1159367]
4667
4668	* library/console.tcl (::tk::ConsoleInit): print out first prompt and
4669	swallow the extra "% " that comes once from Tcl on Windows.
4670
46712005-05-29  Daniel Steffen  <das@users.sourceforge.net>
4672
4673	* macosx/tkMacOSXFont.c: use Tcl_Panic instead of panic.
4674
4675	* unix/configure.in: added description of HAVE_XSS for autoheader.
4676	* unix/configure: autoconf-2.59
4677	* unix/tkConfig.h.in: autoheader-2.59
4678
4679	* macosx/Wish.pbproj/project.pbxproj:
4680	* macosx/Wish.xcode/project.pbxproj: added missing FRAMEWORK defines
4681	introduced with configure/make based build.
4682
4683	* macosx/tkMacOSXInit.c:
4684	* macosx/tkMacOSXNotify.c: fixed warnings.
4685
4686	* generic/tkDecls.h:
4687	* generic/tkIntPlatDecls.h:
4688	* generic/tkPlatDecls.h:
4689	* generic/tkStubInit.c: ran missing 'make genstubs' for TIP245 changes
4690	to tk.decls
4691
4692	* macosx/tkMacOSXXStubs.c (Tk_ResetUserInactiveTime): use symbolic
4693	constant argument in call to UpdateSystemActivity();
4694
4695	* macosx/Wish.pbproj/project.pbxproj:
4696	* macosx/Wish.xcode/project.pbxproj:
4697	* unix/configure.in: added/corrected linking to IOKit.framework for
4698	TIP245.
4699
4700	* unix/configure.in: skip X11 configure checks when building tk_aqua.
4701	* unix/configure: autoconf-2.59
4702
47032005-05-28  Donal K. Fellows  <dkf@users.sf.net>
4704
4705	TIP #245 IMPLEMENTATION from Reinhard Max <max@suse.de>
4706
4707	* doc/tk.n: Documentation of [tk inactivity].
4708	* win/tkWinX.c (Tk_GetUserInactiveTime, Tk_ResetUserInactiveTime):
4709	* unix/tkUnix.c (Tk_GetUserInactiveTime, Tk_ResetUserInactiveTime):
4710	* macosx/tkMacOSXXStubs.c:	Implementations of the core API for
4711	(Tk_GetUserInactiveTime):	determining how long as user's left
4712	(Tk_ResetUserInactiveTime):	her machine alone.
4713	* unix/configure.in: Test for XScreenSaver support.
4714	* generic/tkCmds.c (Tk_TkObjCmd): Implementation of [tk inactivity].
4715
47162005-05-27  Todd Helfter  <tmh@users.sourceforge.net>
4717
4718	* library/menu.tcl: correct the sticky behavior of menus posted by
4719	tk_popup so that they "stick" after the initial <ButtonRelease>
4720	following the post, that is not over an active menu entry.
4721
47222005-05-26  Daniel Steffen  <das@users.sourceforge.net>
4723
4724	* macosx/tkMacOSXInit.c (TkpInit): fixed resource file extraction from
4725	__tk_rsrc section to work with non-prebound .dylib and .bundle.
4726
4727	* macosx/Makefile: corrected EMBEDDED_BUILD check, use separate Tcl and
4728	Tk version vars to properly support tk/x11 framework version
4729	overriding, rewrite tkConfig.sh when overriding tk version, corrected
4730	Wish.app symlink in tk build dir.
4731
4732	* unix/configure.in: corrected framework finalization to softlink stub
4733	library to Versions/8.x subdir instead of Versions/Current.
4734	* unix/configure: autoconf-2.59
4735
47362005-05-25  Jeff Hobbs	<jeffh@ActiveState.com>
4737
4738	* unix/Makefile.in (install-libraries): protect possible empty list in
4739	for with list= trick for older shells.
4740
47412005-05-23  Jeff Hobbs	<jeffh@ActiveState.com>
4742
4743	* generic/tkFileFilter.c (FreeGlobPatterns): s/null/NULL/
4744
47452005-05-24  Daniel Steffen  <das@users.sourceforge.net>
4746
4747	* generic/tkTest.c: disable commands not available on TkAqua.
4748
4749	* macosx/Makefile:
4750	* macosx/README:
4751	* macosx/Tk-Info.plist.in (new file):
4752	* macosx/Wish-Info.plist.in (new file):
4753	* unix/Makefile.in:
4754	* unix/configure.in:
4755	* unix/tcl.m4:
4756	* unix/tkUnixInit.c: moved all Darwin framework and TkAqua build
4757	support from macosx/Wish.pbproj and macosx/Makefile into the standard
4758	unix configure/make buildsystem, the project and macosx/Makefile are no
4759	longer required to build Tk.framework and/or TkAqua. TkAqua is now
4760	enabled by the --enable-aqua configure option, and static and
4761	non-framework builds of TkAqua are now available via the standard
4762	configure switches. Tk/X11 can also be built as a framework. The
4763	macosx/Makefile now wraps the unix buildsystem and no longer uses the
4764	projects, embedded builds are still only available via this Makefile,
4765	but for other builds it is not longer required (but its current
4766	functionality is still available for backwards compatibility). The
4767	projects currently do not call through to the Makefile to build (unlike
4768	Tcl.pbproj) so project builds may differ from makefile builds. Due to
4769	issues with spaces in pathnames, 'Wish Shell.app' has been renamed to
4770	'Wish.app', the macosx/Makefile installs backwards compatibility
4771	symlinks for the old name.
4772	* macosx/tkMacOSXInit.c (TkpInit): added support for Tk resource file
4773	in non-framework and static builds: the resource file is copied into a
4774	__tk_rsrc MachO section of the library or executable at link time and
4775	extracted into a temporary location at initialization.
4776	* unix/configure: autoconf-2.59
4777	* unix/tkConfig.h.in (new file): autoheader-2.59
4778
4779	* macosx/Wish.pbproj/project.pbxproj:
4780	* macosx/Tk-Info.plist:
4781	* macosx/Wish-Info.plist:
4782	* macosx/tkAboutDlg.r: updated copyright years to 2005.
4783
47842005-05-22  Donal K. Fellows  <dkf@users.sf.net>
4785
4786	* generic/tkFileFilter.c (TkGetFileFilters): Add all filters, not just
4787	the first one. [Bug 1206133]
4788
47892005-05-15  Jim Ingham	<jingham@apple.com>
4790
4791	Fixes from Michael Kirkham:
4792
4793	* macosx/tkMacOSXMenu.c (TkpConfigureMenuEntry): Thinko in clearing the
4794	ENTRY_ACCEL_MASK before re-parsing it. [Bug 1012852]
4795
4796	* macosx/tkMacOSXScrlbr.c (UpdateControlValues): Don't set the control
4797	value BEFORE setting the min and max or the control manager will reset
4798	it for you. [Bug 1202181]
4799
4800	* macosx/tkMacOSXXStubs.c (TkMacOSXXGetPixel, TkMacOSXXPutPixel):
4801	Restore the port to what it was before putting we were called. [Bug
4802	1202223]
4803
48042005-05-14  Jim Ingham  <jingham@apple.com>
4805
4806	* macosx/tkMacOSXScrlbr.c (ThumbActionProc): Missing Tcl_Release.
4807
48082005-05-14  Daniel Steffen  <das@users.sourceforge.net>
4809
4810	* macosx/tkMacOSXInit.c:
4811	* macosx/tkMacOSXNotify.c: introduction of new tcl notifier based on
4812	CFRunLoop allows replacement of the custom TkAqua notifier by a
4813	standard tcl event source. Removes requirement of threaded tcl core
4814	for TkAqua, allows to stub-link TkAqua against Tcl by removing use of
4815	the unstubbed TclInitNotifier & TclFinalizeNotifier. [Tcl Patch
4816	1202052]
4817
4818	* macosx/Wish.xcode/project.pbxproj:
4819	* macosx/Wish.pbproj/project.pbxproj: stub-link TkAqua: build with
4820	USE_TCL_STUBS and link against libtclstub instead of Tcl.framework,
4821	unexport libtclstub symbols from Tk to avoid duplicate symbol warnings
4822	when linking with both Tcl and Tk, fixes for gcc4.0 warnings.
4823
4824	* macosx/Wish.xcode/project.pbxproj: sync with Wish.pbproj changes
4825	since 2004-11-19.
4826	NOTE: to use this project, need to uncomment the tclConfig.h settings
4827	at the top of tcl/unix/configure.in, autoconf and rebuild tcl !
4828
4829	* macosx/tkMacOSXBitmap.c:
4830	* macosx/tkMacOSXButton.c:
4831	* macosx/tkMacOSXDialog.c:
4832	* macosx/tkMacOSXFont.c:
4833	* macosx/tkMacOSXHLEvents.c:
4834	* macosx/tkMacOSXInit.c:
4835	* macosx/tkMacOSXKeyboard.c:
4836	* macosx/tkMacOSXMenu.c:
4837	* macosx/tkMacOSXMenubutton.c:
4838	* macosx/tkMacOSXWm.c:
4839	* macosx/tkMacOSXXStubs.c: fixed gcc 4.0 warnings.
4840
4841	* unix/tcl.m4: sync with tcl
4842	* unix/configure: autoconf-2.59
4843
48442005-05-10  Vince Darley  <vincentdarley@users.sourceforge.net>
4845
4846	* library/text.tcl: test and fix to TextPrevPara to avoid infinite loop
4847	* tests/textIndex.test: at start of widget. [Bug 1191895]
4848
4849	* generic/tkTextDisp.c: better synchronisation between explicit and
4850	implicit pixel line-height calculations. [Bug 1186558]
4851
48522005-05-10  Don Porter	<dgp@users.sourceforge.net>
4853
4854	* generic/tkTextDisp.c (GetXView): Improved numerical precision of
4855	calculation of [.t xview] return values.
4856	* tests/textDisp.test: Match greater precisions of [.t xview] and
4857	[.t yview] values in tests.
4858
48592005-05-06  Jeff Hobbs	<jeffh@ActiveState.com>
4860
4861	* unix/configure: regen
4862	* unix/configure.in: Add AC_C_BIGENDIAN check and pkg-config xft checks
4863	to extend xft search.
4864	* unix/tcl.m4: Correct Solaris 10 (5.10) check and add support for
4865	x86_64 Solaris cc builds.
4866
48672005-04-28  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
4868
4869	* macosx/tkMacOSXNotify.c (TkMacOSXWaitForEvent): Fix for typo in
4870	waitTime computation. [Bug 1191097]
4871	(AlertNotifier): Factor out the core of the notifier alerting code.
4872
48732005-04-25  Daniel Steffen  <das@users.sourceforge.net>
4874
4875	* macosx/tkMacOSXNotify.c: sync with tclUnixNotfy.c changes since
4876	2004-06-22, added compile time check for threaded tcl core, removed
4877	unthreaded code paths as they are never used anyway, fixed
4878	TkMacOSXAlertNotifier() implementation.
4879
4880	* unix/Makefile.in: added TCL_STUB_LIB_FILE, needed for unexporting of
4881	symbols from libtclstub to avoid duplicate symbol warnings.
4882
4883	* unix/tcl.m4 (Darwin): added configure checks for recently added
4884	linker flags -single_module and -search_paths_first to allow building
4885	with older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD
4886	and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of
4887	symbols from libtclstub to avoid duplicate symbol warnings, added
4888	PLAT_SRCS definition for Mac OS X, defined MODULE_SCOPE to
4889	__private_extern__.
4890	(SC_MISSING_POSIX_HEADERS): added caching of dirent.h check.
4891
4892	* unix/configure: autoconf-2.59
4893
48942005-04-22  George Peter Staplin  <GeorgePS@XMission.com>
4895
4896	* doc/FontId.3: I fixed a typo. "linespace" was used instead of
4897	"ascent". I also added a .PP before the paragraph to make the
4898	formatting look better for the ascent paragraph.
4899
49002003-04-18  Joe English	 <jenglish@users.sourceforge.net>
4901
4902	* unix/tkUnixRFont.c(Tk_MeasureChars): Use Tcl_UtfToUnichar() for lax
4903	UTF-8 parsing instead of strict parsing with FcUtf8ToUcs4()
4904	[fix/workaround for Bug 1185640]
4905
49062003-04-18  Vince Darley  <vincentdarley@users.sourceforge.net>
4907
4908	* library/text.tcl
4909	* doc/text.n: corrected 'Home' and 'End' and Control-a/e handling to
4910	work with display lines. This was an ommission of the previous tip155
4911	patch. Clarified the documentation on this point.
4912
49132005-04-14  Jeff Hobbs	<jeffh@ActiveState.com>
4914
4915	* unix/tkUnixFont.c (FontMapLoadPage): reorder char[] decls to avoid
4916	possible segv. Minimal fix for [Bug 1122671]
4917
49182005-04-12  Jeff Hobbs	<jeffh@ActiveState.com>
4919
4920	* library/tkfbox.tcl (::tk::dialog::file::): fix typeMenuLab ref. Add
4921	undoc'd ::tk::dialog::file::showHiddenBtn var (default 0) that will add
4922	a "Show Hidden" checkbutton to tk_get*File and tk_chooseDirectory if
4923	set to true.
4924	* library/choosedir.tcl (::tk::dialog::file::chooseDir::): fix
4925	cancelBtn ref, add hiddenBtn ref for "Show Hidden" button.
4926
49272005-04-09  Daniel Steffen  <das@users.sourceforge.net>
4928
4929	* macosx/README: updated requirements for OS & developer tool versions
4930	+ other small fixes/cleanup.
4931
4932	* macosx/tkMacOSXEntry.c (ComputeIncDecParameters): manually define
4933	constants present only in 10.3 headers so that we can build on 10.2.
4934
4935	* macosx/Wish.pbproj/project.pbxproj: fixed absolute path to tkEntry.h
4936	that confused 10.2 PBX.
4937
4938	* unix/tcl.m4 (Darwin): added -single_module linker flag to
4939	TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS.
4940	* unix/configure: autoconf-2.59
4941
49422005-04-07  Mo DeJong  <mdejong@users.sourceforge.net>
4943
4944	* macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap,
4945	(TkWmStackorderToplevel):
4946	* unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap,
4947	(TkWmStackorderToplevel):
4948	* win/tkWinWm.c (TkWmStackorderToplevelWrapperMap,
4949	(TkWmStackorderToplevel):
4950	Fix panic in wm stackorder when a toplevel is created on another
4951	display. The code now ignores toplevels that have a display that does
4952	not match the display of the parent window. [Bug 1152809]
4953
49542005-04-06  Donal K. Fellows  <dkf@users.sf.net>
4955
4956	* doc/wm.n, doc/winfo.n, doc/tk.n, doc/send.n, doc/selection.n:
4957	* doc/radiobutton.n, doc/photo.n, doc/options.n, doc/menu.n:
4958	* doc/listbox.n, doc/getOpenFile.n, doc/font.n, doc/event.n:
4959	* doc/entry.n, doc/clipboard.n, doc/checkbutton.n, doc/canvas.n:
4960	* doc/button.n, doc/bind.n, doc/TextLayout.3, doc/MeasureChar.3:
4961	* doc/GetRelief.3, doc/GetPixels.3, doc/GetJustify.3, doc/GetFont.3:
4962	* doc/GetCursor.3, doc/GetColor.3, doc/GetBitmap.3, doc/GetAnchor.3:
4963	* doc/FontId.3, doc/CrtWindow.3, doc/CrtImgType.3, doc/ConfigWidg.3:
4964	* doc/3DBorder.3: Purge old .VS/.VE macro instances.
4965
49662005-04-04  Don Porter	<dgp@users.sourceforge.net>
4967
4968	* library/comdlg.tcl: Added Macintosh file type validation to
4969	[::tk::FDGetFileTypes]. [Bug 1083878] (Thanks, Vince Darley)
4970
49712005-04-04  Vince Darley  <vincentdarley@users.sourceforge.net>
4972
4973	* generic/tkText.c:
4974	* tests/text.test: fix to elide searching problems [Bug 1174269] and
4975	disappearing cursor with insertofftime 0. [Bug 1169429]
4976
49772005-04-03  Peter Spjuth  <peter.spjuth@space.se>
4978
4979	* tests/grid.test:
4980	* generic/tkGrid.c: Fixed bug in geometry calculations for widgets that
4981	span multiple columns/row. Bug was introduced in 8.5a1 when fixing
4982	792387. [Bug 1175092]
4983
49842005-03-29  Jeff Hobbs	<jeffh@ActiveState.com>
4985
4986	* win/tcl.m4, win/configure: do not require cygpath in macros to allow
4987	msys alone as an alternative.
4988
49892005-03-27  Vince Darley  <vincentdarley@users.sourceforge.net>
4990
4991	* tests/textDisp.test: added test for fix of 2005-03-15.
4992
49932005-03-24  Jim Ingham	<jingham@apple.com>
4994
4995	* macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): Dopey bug - do
4996	not reset the width for entry widgets - we didn't change it for them.
4997
49982005-03-23  Jim Ingham	<jingham@apple.com>
4999
5000	These changes allow us to draw the Entry and Spinbox widget with a
5001	native look and feel on Mac OS X.
5002
5003	* generic/tkEntry.h: New file, extracting the definitions of Entry and
5004	Spinbox.
5005	* generic/tkEntry.c (DisplayEntry): Call out to TkpDrawSpinboxButtons
5006	and TkpDrawEntryBorderAndFocus. Also provide default implementations
5007	for X11 & Win.
5008	* macosx/tkMacOSXEntry.c: New file, implements the entry & focus and
5009	spinbox button drawing.
5010	* tkMacOSXDefaults.h: Change the Mac OS X defaults so they fit the
5011	native widget shapes.
5012
5013	This is cleanup thanks to Neil Madden <nem@cs.nott.ac.uk>.
5014
5015	* macosx/tkMacOSXWm.c (TkMacOSXWinStyle) New function.
5016	(TkUnsupported1ObjCmd): New function, replaces the un-objectified
5017	version of the command.
5018	* generic/tkInt.h: Swap TkUnsupported1Cmd for TkUnsupported1ObjCmd.
5019	* generic/tkWindow.c (): Ditto.
5020
5021	This adds a "-notify" flag to "wm attributes" that will bounce the
5022	dock icon on Mac OS X.	This is from Revar Desmera <revarbat@gmail.com>
5023
5024	* macosx/tkMacOSXWm.c (WmAttrGetNotifyStatus, WmAttrSetNotifyStatus):
5025	New functions.
5026	(WmAttributesCmd): Add the -notify.
5027	* doc/wm.n: Document -notify.
5028
50292005-03-19  Donal K. Fellows  <dkf@users.sf.net>
5030
5031	* generic/tkConsole.c (Tk_CreateConsoleWindow,TkConsolePrint): Rewrite
5032	so that TkConsolePrint cannot become detached from the console when the
5033	[console] command is renamed. [Bug 1016385]
5034
50352005-03-15  Vince Darley  <vincentdarley@users.sourceforge.net>
5036
5037	* generic/tkTextDisp.c: fix for [Bug 1143776] in adjusting displayed
5038	lines when running into the bottom of the window.
5039
50402005-03-14  Jim Ingham	<jingham@apple.com>
5041
5042	* macosx/tkMacOSXScrlbr.c (ThumbActionProc): No need to use "update
5043	idletasks" here, TclServiceIdle will do as well and it is simpler.
5044
5045	These changes implement a change on the Mac OS X side. When we unmap a
5046	window we mark all its children as unmapped (not following toplevels.
5047	But we preserve whether they had been mapped before, and when the
5048	parent is remapped, we remap the children as well. [Bug 940117]
5049
5050	* macosx/tkMacOSXInt.h: Added TK_MAPPED_IN_PARENT
5051	* macosx/tkMacOSXSubwindows.c (FixMappingFlags): New function.
5052	(XMapWindow): Call FixMappingFlags.
5053	(XUnMapWindow): Ditto.
5054
5055	* macosx/tkMacOSXSubwindows.c (XMoveResizeWindow): Update the xOff &
5056	yOff data in the Macdrawable even if the native window hasn't been
5057	created yet. [Bug 700305]
5058	(XMoveWindow): Ditto.
5059	(XResizeWindow): Ditto.
5060
50612005-03-15  Pat Thoyts	<patthoyts@users.sourceforge.net>
5062
5063	* unix/tcl.m4:	  Updated the OpenBSD configuration and regenerated the
5064	* unix/configure: configure script.
5065
50662005-03-14  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
5067
5068	* generic/tkEvent.c (InvokeClientMessageHandlers): Ensure that client
5069	messages are handled correctly. Thanks to George Petasis for tracking
5070	this down. [Bug 1162356]
5071
50722005-03-11  Jim Ingham	<jingham@apple.com>
5073
5074	* macosx/tkMacOSXButton.c (TkpDisplayButton): Set the port to the
5075	Button window's port BEFORE you set the clip, otherwise you are setting
5076	the clip on the wrong window!
5077	Also, a little cleanup - move x & y into the branches where they are
5078	used, and don't compute the TextAnchor if we are using the native
5079	button text, since we aren't going to use it.
5080	(TkMacOSXDrawControl): Call ShowControl & SetControlVisibility in a
5081	more logical order.
5082
5083	* tkMacOSXInt.h: Add TkMacOSXGenerateFocusEvent.
5084	* tkMacOSXSubwindows.c (XDestroyWindow): We don't get Activate events
5085	for the remaining windows when a Floating window is destroyed. This can
5086	cause the focus to disappear. So catch this case when the window is
5087	being destroyed and move the focus here.
5088
5089	* tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): Make this public
5090	(used to be GenerateFocusEvent) since we need it here and in
5091	tkMacOSXSubwindows.c. Then change the name everywhere it is used. [Bug
5092	1124237]
5093
50942005-03-10  Jim Ingham	<jingham@apple.com>
5095
5096	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): In the
5097	inDrag section, set the GrafPort to the drag window's GrafPort before
5098	doing LocalToGlobal. [Bug 1160025]
5099
51002005-03-09  Jim Ingham	<jingham@apple.com>
5101
5102	* macosx/tkMacOSXInit.c (TkpInit): Check to see if the environment
5103	variable XCNOSTDIN is set, and if so, close stdin & stdout. This is
5104	necessary to make remote debugging under Xcode work properly.
5105
51062005-03-08  Jeff Hobbs	<jeffh@ActiveState.com>
5107
5108	* win/tkWinWm.c (WinSetIcon): fix GCLP_ICONSM -> GCLP_HICONSM.
5109
5110	* win/makefile.vc: clarify necessary defined vars that can come from
5111	MSVC or the Platform SDK.
5112
51132005-02-28  Jeff Hobbs	<jeffh@ActiveState.com>
5114
5115	* win/tkWinX.c (GenerateXEvent): correct %A translation on MouseWheel.
5116	[Bug 1118340]
5117
51182005-02-24  Daniel Steffen  <das@users.sourceforge.net>
5119
5120	* macosx/tkMacOSX.h: fixed incorrect inclusion of internal header.
5121	* macosx/tkMacOSXNotify.c: corrected included headers.
5122
51232005-02-22  Daniel Steffen  <das@users.sourceforge.net>
5124
5125	* macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd, NavServicesGetFile):
5126	fixed encoding problems with -initialfile & -filetypes and corrected
5127	potential buffer overrun with -initialdir/-initialfile. [Bug 1146057]
5128
51292005-02-16  Mo DeJong  <mdejong@users.sourceforge.net>
5130
5131	TIP#223 IMPLEMENTATION
5132
5133	* doc/wm.n: Add documentation for -fullscreen attribute.
5134	* tests/winWm.test: Add -fullscreen to wm attribute usage message.
5135	* tests/wm.test: Add -fullscreen to wm attribute usage message. Add
5136	-fullscreen attribute test cases for Windows.
5137	* win/tkWinWm.c (WmInfo, UpdateWrapper, TkpWmSetFullScreen)
5138	(WmAttributesCmd, UpdateGeometryInfo):
5139	Implement TIP 223 [wm attributes -fullscreen].
5140
51412005-02-14  Vince Darley  <vincentdarley@users.sourceforge.net>
5142
5143	* generic/tkText.c:
5144	* generic/tkText.h:
5145	* generic/tkTextDisp.c:
5146	* generic/tkTextIndex.c:
5147	* generic/tkTextBTree.c:
5148	* doc/text.n:
5149	* tests/textDisp.test:
5150	* tests/textIndex.test: fix of longstanding elide problem when eliding
5151	a newline without eliding the entire logical line. [Bug 443848]
5152
51532005-02-14  Jeff Hobbs	<jeffh@ActiveState.com>
5154
5155	* doc/options.n: note -cursor {} behavior. [Bug 965618]
5156
51572005-02-14  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
5158
5159	* tests/all.tcl: Add a [package require Tk] so that a missing display
5160	causes an early failure and keeps the error trace short. Issue observed
5161	in [FRQ 11122147], even though that's unrelated.
5162
51632005-02-11  Jeff Hobbs	<jeffh@ActiveState.com>
5164
5165	* library/panedwindow.tcl (::tk::panedwindow::Cursor): check window
5166	existence on delayed call. [Bug 949792]
5167
5168	* doc/text.n: note 'image' key in 'dump' command. [Bug 1115907]
5169
5170	* win/tkWinWm.c (TkWinGetIcon): fix toplevel retrieval for determining
5171	icon ref (potential crash). [Bug 1105738]
5172
5173	* generic/tkCanvBmap.c (ConfigureBitmap, ComputeBitmapBbox): Fixed
5174	possible crash with disabled bmap and bbox handling [Bug 1119460]
5175	(BitmapToPostscript): made aware of various bitmap types
5176
5177	* unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlined into
5178	* unix/tcl.m4:	    SHLIB_LD). Combine AIX-* and AIX-5 branches in
5179	* unix/configure:   SC_CONFIG_CFLAGS. Correct gcc builds for AIX-4+ and
5180	HP-UX-11. autoconf-2.59 gen'd.
5181
51822005-02-09  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
5183
5184	* tests/wm.test: Convert to use more tcltest2 features.
5185
51862005-02-07  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
5187
5188	* generic/tkCanvas.c (CanvasWidgetCmd): Fix stupid mistake in variable
5189	names, reported by Andreas Leitgeb.
5190
51912005-02-03  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
5192
5193	* generic/tkCanvas.c (GetStaticUids): New function to manage the
5194	thread-specific data detailing the list of all uids in a thread.
5195	(typeList): Protect this (the other piece of global data) with a mutex.
5196	[Bug 1114977]
5197
51982005-01-31  Jeff Hobbs	<jeffh@ActiveState.com>
5199
5200	* unix/tcl.m4, unix/configure: add solaris-64 gcc build support. [Bug
5201	1021871]
5202
52032005-01-31  Donal K. Fellows  <donal.k.fellows@manchester.ac.uk>
5204
5205	* generic/tkImgPhoto.c (PhotoFormatThreadExitProc): Made the comments
5206	in the code more relevant to the function they were documenting! [Bug
5207	1110553]
5208
5209	* library/msgs/es_ES.msg: Added more localization for Spanish Spanish.
5210	[Bug 1111213]
5211
52122005-01-25  Daniel Steffen  <das@users.sourceforge.net>
5213
5214	* macosx/tkMacOSXInit.c (TkpInit): set tcl_interactive to 1 to show
5215	console at startup instead of directly calling [console show].
5216
5217	* unix/tcl.m4 (Darwin): fixed bug with static build linking to dynamic
5218	library in /usr/lib etc instead of linking to static library earlier in
5219	search path. [Tcl Bug 956908]
5220	Removed obsolete references to Rhapsody.
5221	* unix/configure: autoconf-2.57
5222
52232005-01-18  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
5224
5225	* library/demos/menu.tcl: Reworked to make dialogs children of the
5226	demo widget so that they are properly visible. Issue reported by Keith
5227	Nash <k.j.nash@usa.net>
5228
52292005-01-13  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
5230
5231	* library/tkfbox.tcl (IconList_Selection, IconList_Create):
5232	(IconList_Arrange): Assorted tk_getOpenFile fixes. [part of Bug 600313]
5233	(IconList_ShiftMotion1): Also fix shift-drag.
5234
52352005-01-12  Don Porter	<dgp@users.sourceforge.net>
5236
5237	* unix/tcl.m4:		Sync'ed to Tcl's copy.
5238	* unix/configure:	autoconf-2.57
5239
52402005-01-12  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
5241
5242	* doc/event.n: Added section on predefined virtual events. [Bug 608115]
5243
52442005-01-11  Vince Darley  <vincentdarley@users.sourceforge.net>
5245
5246	* generic/tkTextDisp.c: fix to scrollbar height calculations of text
5247	widgets containing a single very long (wrapped) line. This fixes at
5248	least part of [Bug 1093631].
5249
52502005-01-11  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
5251
5252	* generic/tkObj.c (TkParsePadAmount):
5253	* generic/tkPack.c: Moved function to tkObj.c and rewrote so that it
5254	takes advantage of Tcl_Objs properly and cannot leave objects in an
5255	inconsistent state. [Bug 1098779]
5256
52572005-01-10  Joe English	 <jenglish@users.sourceforge.net>
5258
5259	* unix/Makefile.in, unix/configure.in, unix/tkConfig.sh.in:
5260	Remove ${DBGX}, ${TK_DBGX} from Tk build system. [Patch 1081595]
5261	* unix/tcl.m4: re-synced with tcl/unix/tcl.m4
5262	* unix/configure: Regenerated.
5263
52642005-01-07  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
5265
5266	* generic/tkWindow.c (GetScreen): Make sure the result is reset on all
5267	error paths to stop strange errors. [Bug 697915]
5268
52692005-01-05  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
5270
5271	* doc/loadTk.n, doc/toplevel.n: Convert to other form of emacs mode
5272	control comment to prevent problems with old versions of man. [Bug
5273	1085127]
5274
52752005-01-03  Jeff Hobbs	<jeffh@ActiveState.com>
5276
5277	* win/tkWinWm.c (TkWinWmCleanup): clean up layered window class. This
5278	caused crash in reinit of Tk (as seen in plugin).
5279
5280	******************************************************************
5281	*** CHANGELOG ENTRIES FOR 2004 AND 2003 IN "ChangeLog.2004"    ***
5282	*** CHANGELOG ENTRIES FOR 2002 AND EARLIER IN "ChangeLog.2002" ***
5283	******************************************************************
5284