2008-12-05 Pat Thoyts * library/ttk/ttk.tcl: Added vista theme to iron out the visual * library/ttk/vistaTheme.tcl: differences between vista and XP. * library/ttk/xpTheme.tcl: * win/ttkWinXPTheme.c: 2008-12-05 Donal K. Fellows * generic/tkCanvPs.c (Tk_PostscriptFont): Ensure that font sizes can ever be negative; it triggers a really strange case that is definitely not what is wanted. [Bug 2107938] * library/mkpsenc.tcl: Corrected and improved generation of postscript * library/prolog.ps: prolog. Removed prolog.ps, which wasn't used and was misleading. 2008-12-04 Jan Nijtmans * generic/tkInt.decls: Move 10 functions from tkText.h to * generic/tkText.h: stub table [Feature Request 220906] * generic/tkStubInit.c (regenerated) * generic/tkIntDecls.h (regenerated) 2008-12-04 Donal K. Fellows * doc/ttk_button.n, doc/ttk_checkbutton.n, doc/ttk_menubutton.n: * doc/ttk_radiobutton.n: Added mention of the Toolbutton style to all widgets that can sensibly make use of it. 2008-12-03 Joe English * generic/ttk/ttkState.c, generic/ttk/ttkTheme.h, * generic/ttk/ttkWidget.c, doc/ttk_widget.n: Add new "hover" state (patch from Pat Thoyts; needed to support proper visual feedback on Vista). 2008-11-29 Pat Thoyts * library/ttk/altTheme.tcl: Use a styled frame around the popdown * library/ttk/clamTheme.tcl: listbox so we can adjust the border * library/ttk/classicTheme.tcl: for each theme as needed. * library/ttk/combobox.tcl: * library/ttk/defaults.tcl: * library/ttk/winTheme.tcl: * library/ttk/xpTheme.tcl: * tests/ttk/combobox.test: 2008-11-28 Alexandre Ferrieux * generic/tkCanvUtil.c: Millimeter patch. Fixes [1813597,2218964] * generic/tkInt.h: by eliminating the functional redundancy * generic/tkObj.c: and unnecessary loss of precision of the * generic/tkText.c: {pixel,mm}ObjType tandem. 2008-11-27 Jan Nijtmans * generic/tkCanvLine.c: Replace Tcl_SetResult(interp, NULL, ....) * generic/tkEntry.c: calls with Tcl_ResetResult(interp) * generic/tkMenu.c * generic/tkOldConfig.c * win/tkWinTest.c: Eliminate warning: unused variable 'tkwin' 2008-11-23 Pat Thoyts * generic/tkBind.c: [Bug 1389270] event generate silently ignored * generic/tkFocus.c: focus events. These can now be generated. * generic/tkGrab.c: * generic/tkInt.h: * tests/bind.test: Fixed some locale dependencies in various tests to reduce the noise on non-English windows systems. 2008-11-22 Donal K. Fellows * library/demos/ctext.tcl: Extended to show off what you can do with angled text; there is now a pie selector to change the orientation. 2008-11-22 Pat Thoyts * library/ttk/combobox.tcl: [Bug 1939129,1991930] combobox dropdown was drawn behind topmost toplevels. * generic/tkCanvText.c: Fixed up complaints from MSVC engendered * generic/tkFont.c: by the last commit. In particular replaced * win/tkWinDraw.c: round() which is a C99 function. * win/tkWinFont.c: 2008-11-22 Donal K. Fellows TIP #119 IMPLEMENTATION * generic/tkCanvText.c: Added -angle configuration option to canvas * generic/tkFont.c: text items. This required reengineering the * library/prolog.ps: whole text rendering engine to be able to * macosx/tkMacOSXFont.c: handle an angle! No change to any external * unix/tkUnixFont.c: API. Note, this feature was originally * unix/tkUnixRFont.c: approved for Tk 8.5, but it has proved much * win/tkWinFont.c: harder to implement than originally * generic/tkInt.h: estimated. [Patch 1611359] * tests/canvText.test: 2008-11-22 Pat Thoyts * test/winDialog.test: Avoid some locale-dependent failures by using * win/tkWinTest.c: id's or an english constraint. [Bug 2307837] 2008-11-19 Joe English * doc/ttk_panedwindow.n: Remove inoperative text stating that slave windows must be direct children of the master. [Bug 1824996] 2008-11-19 Jan Nijtmans * generic/tkImgPhoto.c Minor simplification in fix for [Bug 2312027] no need to malloc and copy photo type name because it is a constant to begin with. * generic/tkOldConfig.c Convert Tcl_SetResult(......, TCL_DYNAMIC) to * mac/tkMacOSXWm.c Tcl_SetResult(......, TCL_VOLATILE), in * unix/tkUnixWm.c preparation for TIP #340 * unix/tkUnixSend.c * win/tkWinWm.c 2008-11-16 Joe English * generic/ttk/ttkWidget.c: Widget self-destruction is not necessarily an error. [Bug 2298720] 2008-11-16 Donal K. Fellows * doc/wm.n: Added note about [wm overrideredirect] so that users will avoid making unwarranted assumptions about how magical it is. Triggered by [Bug 2282861] discussion. 2008-11-14 Pat Thoyts * generic/tk.h: The TIP 125 implementation permits the * generic/tkFrame.c: [wm manage] command to manage any widget but * macosx/tkMacOSXWm.c: only those with Frame instance data should be * unix/tkUnixWm.c: permitted. We now check for the suitability and * win/tkWinWm.c: raise an error for non-frame widgets. Updated * test/wm.test: the tests and documentation. See also [Bug * doc/wm.n: 2239034] 2008-11-12 Joe English * generic/ttk/ttkWidget.c: Reworked widget construction and destruction sequence; fixes [Bug 2207435] and several other problems discovered during investigation of same. * generic/ttk/ttkButton.c (CheckbuttonInitialize): Account for initializeProc being called earlier in the construction sequence now. * tests/ttk/ttk.test: Updated test suite. 2008-11-12 Pat Thoyts * library/text.tcl: Handle windows with funky names by avoiding use of * test/text.test: the window path for anchors. [Bug 1777362] 2008-11-11 Jan Nijtmans * generic/tkImgPhoto.c Fix [Bug 2265860] new test failures 2008-11-11 Joe English * generic/ttk/ttkWidget.c(BeginDrawing): Don't crash when application uses nondefault visual. [Bug 2264732] 2008-11-11 Jan Nijtmans * win/tcl.m4: Reverted change from 2008-11-06 (was under the impression that "-Wno-implicit-int" added an extra warning) * win/configure (regenerated) * unix/tcl.m4: Use -O2 as gcc optimization compiler flag, and get rid of -Wno-implicit-int for UNIX * unix/configure (regenerated) * generic/tk.decls Modify Tk_Create(Old)ImageType signature, * generic/tk.h relaxing the constraint that every Tk_ImageType * generic/tkImage.c can only be passed to this function once. This * generic/tkImgBmap.c lets tkImg be loaded in multiple interpreters * generic/tkImgPhoto.c in a thread-enabled build of Tk. [Bug 2312027] * generic/tkTest.c This CONSTification complies with TIP #27. It * doc/CrtImgType.3 is binary compatible with the old interface, but not fully source compatible (although tkImg does not suffer). * generic/tkDecls.h (regenerated) *** POTENTIAL INCOMPATIBILITY *** 2008-11-09 Joe English * generic/ttk/ttkWidget.c: Remove unnecessary casts. * generic/ttk/ttkWidget.h, generic/ttk/ttkWidget.c: Ttk widget initializeProc()s now return void instead of a status code, and are no longer allowed to fail. (Fix for [Bug 2207435] in progress). * generic/ttk/ttkButton.c, generic/ttk/ttkEntry.c, * generic/ttk/ttkFrame.c, generic/ttk/ttkNotebook.c, * generic/ttk/ttkPanedwindow.c, generic/ttk/ttkProgress.c, * generic/ttk/ttkScale.c, generic/ttk/ttkScrollbar.c, * generic/ttk/ttkTreeview.c: Adjustments for the above. 2008-11-09 Jan Nijtmans * generic/tkCanvas.c: Make all Tk_CustomOption tables const and * generic/tkCanvBmap.c: remove unnecessary type cast. * generic/tkCanvImg.c: * generic/tkCanvPoly.c: * generic/tkCanvText.c: * generic/tkCanvWind.c: * generic/tkRectOval.c: * generic/tkScrollbar.c: * generic/tk.decls: Two more (hopefully the last) signature * generic/tkInt.h: changes in Tk_CreateSmoothMethod and * generic/tkCanvLine.c: Tk_CreatePhotoImageFormat * generic/tkCanvUtil.c: * generic/tkImgPhoto.c: * generic/tkDecls.h: (regenerated) * doc/CrtImgType.3: doc updates * doc/CrtPhImgFmt.3: 2008-11-06 Jan Nijtmans * win/tcl.m4: Add "-Wno-implicit-int" flag for gcc, as on UNIX * win/configure: (regenerated) * generic/default.h: Use tkUnixDefault.h under CygWin. With this change, at least the X11 version of Tk can be built with cygwin. 2008-11-06 Donal K. Fellows * unix/configure.in: Work around the fact that the HP-UX system compiler cannot handle 'inline'. [Bug 2229999] 2008-11-05 Jan Nijtmans * unix/tkUnixFont.c: Fix [Bug 2226093] const changes not all correct * unix/tkUnixButton.c: More internal -Wwrite-strings warning fixes * unix/tkUnixCursor.c: * unix/tkUnixSend.c: * unix/tkUnixRFont.c: * generic/tkInt.h: No need to use CONST in internal header files * generic/tkFont.h * generic/tkInt.decls: CONSTify string and fileName parameters of * generic/tkImgBmap.c: TkGetBitmapData * generic/tkBitmap.c: Remove unneccessary type cast * generic/tkIntDecls.h: (regenerated) * doc/GetCursor.3: Fix documentation about obsolete X10 bitmaps * doc/GetBitmap.3: [Bug 1866774] Remove X10 references from docs 2008-11-03 Jan Nijtmans * generic/ttk/ttkEntry.c: Fix warning: unused variable `currentValue' * generic/tkOldTest.c: Fix warning: assignment discards qualifiers * win/tkWinTest.c: from pointer target type 2008-11-03 Pat Thoyts * tests/winClipboard.test: testclipboard no longer returns strings with embedded \r but now returns Tcl strings * tests/winfo.test: Fixed embedding test broken during upgrade * tests/busy.test: Default wait cursor on windows is 'wait' * win/tkWinFont.c: const fixes for the windows code. 2008-11-02 Jan Nijtmans * generic/tkFont.h: More internal -Wwrite-strings warning fixes * generic/tkFont.c * generic/ttk/ttkTheme.h * generic/ttk/ttkDefaultTheme.c * generic/ttk/ttkState.c * macosx/tkMacOSXFont.c * unix/tkUnixFont.c * win/tkWinFont.c 2008-11-01 Donal K. Fellows TIP #97 IMPLEMENTATION * generic/tkCanvas.c (CanvasWidgetCmd): Implementation of the 'imove' and 'rchars' subcommands. * generic/tk.h (TK_MOVABLE_POINTS): New flag to allow items to state whether they support finding and moving individual coordinates. * doc/canvas.n, tests/canvas.test: Docs 'n' tests. 2008-11-01 Pat Thoyts * generic/ttk/ttkEntry.c: Implemented the themed spinbox * library/ttk/altTheme.tcl: widget. * library/ttk/clamTheme.tcl: * library/ttk/classicTheme.tcl: * library/ttk/defaults.tcl: * library/ttk/entry.tcl: * library/ttk/ttk.tcl: * library/ttk/winTheme.tcl: * library/ttk/xpTheme.tcl: * library/ttk/spinbox.tcl: * win/ttkWinTheme.c: * win/ttkWinXPTheme.c: * doc/ttk_spinbox.n: * tests/ttk/spinbox.test: 2008-10-31 Joe English * generic/widget.c: Temporary workaround for [Bug 2207435] 2008-10-30 Jan Nijtmans * generic/tkAtom.c: more internal -Wwrite-strings warning fixes * generic/tkBusy.c * generic/tkButton.c * generic/tkCanvPoly.c * generic/tkCanvText.c * generic/tkCmds.c * generic/tkListbox.c * generic/tkMenu.c * generic/tkOldConfig.c * generic/tkOption.c * generic/tkPanedWindow.c * generic/tkPlace.c * generic/tkScale.c * generic/tkTest.c * generic/tkText.c * generic/tkTextImage.c 2008-10-30 Don Porter * tests/unixSelect.test: Revise the unixSelect-1.* tests so that they test the ability of Tk's selection mechanism to faithfully pass valid Tcl values without corruption, and stop testing details of Tcl's internal encoding scheme. With this change, the Tk test suite no longer uses the identity encoding or [string bytelength]. 2008-10-30 Jan Nijtmans * generic/tk.h: CONSTify return value of * generic/tkInt.h Tk_OptionPrintProc, and customPtr * generic/tk.decls field of Tk_ConfigSpec. * generic/tkCanvArc.c See [Bug 2190619]: Warnings due to * generic/tkCanvLine.c Tk_SmoothMethod name constness change * generic/tkCanvUtil.c * generic/tkUtil.c * generic/tkDecls.h: (regenerated) 2008-10-29 Joe English * generic/tkAtom.c(Tk_GetAtomName): Remove incorrect 'const' qualifier. Remove useless 'register' declarations too, while we're at it. 2008-10-28 Jan Nijtmans * generic/tk.h: Add "const" to a few struct member fields. * generic/tkInt.h: CONSTify TkPrintPadAmount * generic/tkSelect.h: move TkSelGetSelection to tkInt.decls * generic/tk.decls: CONSTify Tk_ParseArgv * generic/tkInt.decls: CONSTify TkCreateFrame and TkCreateMainWindow * generic/tkDecls.h: (regenerated) * generic/tkIntDecls.h: (regenerated) * generic/tkArgv.c: * generic/tkAtom.c: * generic/tkEntry.c: * generic/tkFrame.c: * generic/tkImgPhoto.c: * generic/tkPack.c: * generic/tkSelect.c: * generic/tkVisual.c: * generic/tkWindow.c: * win/tkWinTest.c: fix compilation under mingw32 2008-10-28 Joe English * library/ttk/cursors.tcl, library/ttk/combobox.tcl, library/ttk/entry.tcl, library/ttk/paned.tcl, library/ttk/sizegrip.tcl, library/treeview.tcl: Add correct platform-specific cursors for OSX [Bug 2054562] Expanded set of symbolic cursors. Use correct cursor for ttk::entry and ttk::combobox widgets [Bug 1534835] 2008-10-28 Don Porter * win/tkWinTest.c: Revise [testclipboard] to form that * tests/winClipboard.test: handles encodings. [Bug 2191960] * tests/constraints.tcl: [tcltest::bytestring] no longer used. 2008-10-24 Joe English * tests/ttk/ttk.test: Disable test ttk-6.3, it's not applicable. [Bug 2175411] * generic/ttk/ttkTheme.c: Use different Tcl_AssocData key so the tile extension can be loaded into an 8.6 interp, in the off-chance that anyone wants to do this. 2008-10-24 Donal K. Fellows * generic/tkCanvUtil.c (TkSmoothPrintProc): Corrected 'const'ness to quell warning. [Bug 2190619] 2008-10-23 Don Porter * README: Bump version number to 8.6a4 * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: 2008-10-22 Jan Nijtmans * generic/tk.h: CONST -> const and white-spacing * generic/tk.decls * generic/tkInt.decls * generic/tkDecls.h: (regenerated) * generic/tkIntDecls.h: (regenerated) * generic/tkIntPlatDecls.h: (regenerated) * generic/tkIntXlibDecls.h: (regenerated) * generic/tkPlatDecls.h: (regenerated) * generic/ttk/tk.decls * generic/ttk/ttkDecls.h (regenerated) * generic/ttk/ttkGenStubs.tcl 2008-10-20 Donal K. Fellows * generic/tkBusy.c, macosx/tkMacOSXEmbed.c, unix/tkUnixEmbed.c: * win/tkWinWindow.c: Factor out the platform-specific parts into the platform directories. [Bug 2180919] 2008-10-18 Donal K. Fellows TIP #321 IMPLEMENTATION * generic/tkBusy.c, doc/busy.n, tests/busy.test: Implementation of the [tk busy] command. [Patch 1997907] 2008-10-18 Pat Thoyts * win/tkWinFont.c: [Bug 1825353] To fix a problem with tiny fonts on Russian versions of Windows we will avoid removing the internal leading for fixed width fonts. 2008-10-15 Jan Nijtmans * generic/tk.h: Add "const" to many internal const tables, so * generic/tkBind.c: those will be put by the C-compiler in the * generic/tkButton.c: TEXT segment instead of the DATA segment. * generic/tkCanvas.c: This makes those tables as being shareable in * generic/tkClipboard.c: shared libraries. * generic/tkCmds.c: * generic/tkConsole.c: * generic/tkEntry.c: * generic/tkFocus.c: * generic/tkFrame.c: * generic/tkGet.c: * generic/tkGrab.c: * generic/tkGrid.c: * generic/tkImage.c: * generic/tkImgBmap.c: * generic/tkImgGIF.c: * generic/tkImgPhoto.c: * generic/tkListbox.c: * generic/tkMenu.c: * generic/tkMenu.h: * generic/tkMenubutton.c: * generic/tkMessage.c: * generic/tkOption.c: * generic/tkPack.c: * generic/tkPanedWindow.c: * generic/tkPlace.c: * generic/tkScale.c: * generic/tkSelect.c: * generic/tkSquare.c: * generic/tkTest.c: * generic/tkText.c: * generic/tkTextDisp.c: * generic/tkTextMark.c: * generic/tkTextTag.c: * generic/tkTextWind.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXWin.c: * unix/tkUnixFont.c: * unix/tkUnixWm.c: * win/tkWinButton.c: * win/tkWinColor.c: * win/tkWinDialog.c: * win/tkWinMenu.c: * win/tkWinSend.c: * win/tkWinWm.c: * xlib/xcolors.c: 2008-10-17 Pat Thoyts * library/ttk/scale.tcl: Implemented keyboard bindings for ttk::scale 2008-10-15 Jan Nijtmans * generic/tkInt.h: Add "const" to many internal const tables, so * generic/tk3d.c: those will be put by the C-compiler in the * generic/tkBitmap.c: TEXT segment instead of the DATA segment. * generic/tkColor.c: This makes those tables as being shareable in * generic/tkConfig.c: shared libraries. * generic/tkCursor.c: * generic/tkFont.c: * generic/tkObj.c: * generic/tkStyle.c: * generic/tkTextIndex.c: * generic/tkUtil.c: 2008-10-14 Donal K. Fellows * generic/tkObj.c (TkNewWindowObj): Added utility function for making a Tcl_Obj from a Tk_Window reference. Candidate for future exposure to third-party code I suppose, but useful internal to Tk for sure. 2008-10-11 Donal K. Fellows * generic/tkCanvas.c (CanvasWidgetCmd): Corrected result generation. 2008-10-10 Don Porter *** 8.6a3 TAGGED FOR RELEASE *** * changes: Updates for 8.6a3 release. 2008-10-09 Don Porter * generic/tkListbox.c: Make literal return values consistent with those generated by Tcl_PrintDouble(). * tests/entry.test: Restore test naming consistency with Tk 8.5. * tests/listbox.test: Remove some more dependency on precision in * tests/spinbox.test: test results. 2008-10-08 Jan Nijtmans * unix/tcl.m4: Fix for bug [2073255] * unix/configure: regenerated 2008-10-08 Don Porter * tests/textDisp.test (textDisp-16.34): Update test that tested string equality of double values based on an assumption of tcl_precision==12. Test now does its own formatting. * tests/scrollbar.test: Revised testing of the cget subcommand so that it tests consistency with the configure subcommand and not agreement with a hardcoded value that will change as tastes in GUIs evolve. * tests/canvText.test (canvText-17.1): Update expected result to match revised PostScript output due to more predictable formatting of floating point values. * unix/tkUnixWm.c: Restored consistency of error messages from * macosx/tkMacOSXWm.c: [wm iconphoto] with the test suite and across * tests/unixWm.test: all platforms. [Bug 2021443] 2008-10-07 Pat Thoyts * tests/canvImg.test: Removed dependency on precision in results * tests/canvRect.test: * tests/canvText.test: * tests/entry.test: * tests/listbox.test: * tests/scrollbar.test: * tests/spinbox.test: * tests/winWm.test: Fixed incorrect error strings * tests/wm.test: 2008-10-06 Pat Thoyts * tests/winDialog.test: Fixed tests for Vista+ * win/tkWinWm.c: corrected some errors from the previous commit 2008-10-05 Donal K. Fellows * win/tkWinWm.c (WmAttributesCmd, WmOverrideredirectCmd) (WmStackorderCmd): * win/tkWinSendCom.c (Async): * win/tkWinSend.c (Tk_SendObjCmd): * win/tkWinFont.c (TkpGetFontFamilies, TkpGetSubFonts): * unix/tkUnixWm.c (WmOverrideredirectCmd, WmStackorderCmd): * unix/tkUnixFont.c (TkpGetFontFamilies, TkpGetSubFonts): * macosx/tkMacOSXWm.c (WmOverrideredirectCmd, WmStackorderCmd): * generic/tkTextIndex.c (SetTextIndexFromAny): * generic/tkTest.c (TrivialConfigObjCmd): * generic/tkSelect.c (HandleTclCommand): * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd) (PanedWindowSashCommand, PanedWindowProxyCommand): * generic/tkMenubutton.c (Tk_MenubuttonObjCmd): * generic/tkMenu.c (MenuWidgetObjCmd): * generic/tkListbox.c (ListboxWidgetObjCmd): * generic/tkImgPhoto.c (ImgPhotoCmd): (mostly) * generic/tkImage.c (Tk_ImageObjCmd): * generic/tkFont.c (Tk_FontObjCmd, GetAttributeInfoObj): * generic/tkEntry.c (EntryWidgetObjCmd, SpinboxWidgetObjCmd): * generic/tkConfig.c (SetOptionFromAny, Tk_SetOptions): * generic/tkCmds.c (Tk_TkObjCmd, Tk_WinfoObjCmd, TkGetDisplayOf): * generic/tkButton.c (ButtonCreate): Get rid of code that insists on non-idiomatically writing to the object in the interpreter result. 2008-10-03 Donal K. Fellows * generic/tkArgv.c, generic/tkCanvText.c, generic/tkEntry.c: * generic/tkListbox.c, generic/tkScrollbar.c, macosx/tkMacOSXScrlbr.c: * win/tkWinScrlbr.c: Convert use of %g to Tcl_PrintDouble to create string versions of floats so as to avoid trouble with some locales. [Bug 2112563] 2008-10-02 Joe Mistachkin * doc/canvas.n: Fix unmatched font change. * win/buildall.vc.bat: Prefer the HtmlHelp target over the WinHelp target. 2008-10-01 Donal K. Fellows TIP #236 IMPLEMENTATION * doc/canvas.n, generic/tkCanvas.c (CanvasWidgetCmd) * tests/canvMoveto.test: Added 'moveto' subcommand to canvases to allow items to be easily moved to a particular place. 2008-09-23 Donal K. Fellows * doc/listbox.n (SEE ALSO): Redirected this to ttk::treeview(n) which is far more useful (it does multicolumn listbox duties). [Bug 2123813] * doc/*.n: Make sure that the initial line of the manpage includes nothing that chokes old versions of man. [Bug 2118116] 2008-08-25 Todd M. Helfter * library/menu.tcl: Additional fix for [Bug 1023955] 2008-09-08 Todd M. Helfter * doc/menu.n: Fix typo in docs. [Bug 2098425] 2008-09-03 Don Porter * generic/tk.h: Dropped use of _ANSI_ARGS_ macro to preserve * generic/tkSelect.h: Tk's TCL_NO_DEPRECATED build. 2008-08-30 Ania Pawelczyk * tests/textWind.test: Update to tcltest2 * tests/unixSelect.test: * tests/visual_bb.test: * tests/visual.test: * tests/window.test: * tests/winfo.test: * tests/xmfbox.test: * tests/winButton.test: * tests/winDialog.test: * tests/winFont.test: * tests/winMenu.test: * tests/winMsbox.test: * tests/winWm.test: 2008-08-28 Don Porter * unix/tkConfig.sh.in: Added @XFT_LIBS@ to the definition of TK_LIBS to avoid link failures when a "big wish" program links against a --disable-shared build of libtk. (Discovered building expectTk.) * generic/tkImgPhoto.c: Changed TclStack* calls to ck* calls so that we don't create new dependencies on Tcl internals. * unix/tkUnixPort.h: Removed #include of tclInt.h that has been * win/tkWinPort.h: disabled for three years. If we needed this we'd have noticed by now. * README: Bump version number to 8.6a3 * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: 2008-08-28 Donal K. Fellows * tests/imgPhoto.test: Fix failures. [Bug 2080587] 2008-08-28 Ania Pawelczyk * tests/option.test: Update to tcltest2 * tests/place.test: * tests/scale.test: * tests/select.test: * tests/textBTree.test: * tests/textImage.test: * tests/textMark.test: * tests/textTag.test: * tests/unixMenu.test: 2008-08-25 Todd M. Helfter * library/menu.tcl: Fix typo from [Bug 1023955] 2008-08-27 Peter Spjuth * tests/grid.test: Added a "knownBug"-marked test to show a problem identified in the grid implementation. [Bug 2075285] 2008-08-26 Donal K. Fellows * tests/imgPhoto.test: More style improvements. 2008-08-25 Todd M. Helfter * library/menu.tcl: Do not flip to the arrow cursor on menus. This was a Motif convention. Current behavior is maintained iff tk_strictMotif is enabled. [Bug 1023955] 2008-08-25 Donal K. Fellows * generic/tkImgPhoto.c (ImgPhotoConfigureMaster): Ensure that uses of TclStackAlloc and TclStackFree balance. 2008-08-25 Todd M. Helfter * library/tkfbox.tcl: Fix the multiple selection error for tk_getOpenFile -multiple 1 which fails on all unix platforms since the adoption of ttk widgets. [Bug 1936220] 2008-08-25 Donal K. Fellows * generic/tkImgPhoto.c: Split the implementation of the core of * generic/tkImgPhoto.h: photo images into two pieces, the photo * generic/tkImgPhInstance.c: master (which manages the data model and the interaction with the script level) and the photo instances (which handle display). 2008-08-22 Don Porter *** 8.6a2 TAGGED FOR RELEASE *** * changes: Updates for 8.6a2 release. 2008-08-21 Ania Pawelczyk * tests/menuDraw.test: Update to tcltest2 * tests/msgbox.test: * tests/oldpack.test: * tests/pack.test: * tests/panedwindow.test: 2008-08-21 Donal K. Fellows * generic/tkOption.c (ExtendArray): Rework so that the code uses ckrealloc (idiomatically) rather than its home-brewed version. 2008-08-19 George Peter Staplin After some discussion with Joe English and subsequently the X.org developers (Keith Packard in particular), it was discovered that Tk is doing management of XIDs that it shouldn't need to do. The very common XC-MISC extension which has come with every version of X for the last 15 years is used with Xlib now, to retrieve the information about the used/unused XIDs. The public Tk_FreeXId is now a no-op. [Bug 2039720] * generic/tkError.c: Remove the usage of TkpWindowWasRecentlyDeleted. * generic/tkInt.decls: Update the declarations for the now unused internal stubs. * generic/tkIntDecls.h: Regenerated based on tkInt.decls. * generic/tkIntPlatDecls.h: Regenerated based on tkInt.decls. * generic/tkStubInit.c * generic/tkWindow.c: Remove the calls to TkInitXId, and TkFreeWindowId. * macosx/tkMaxOSXPort.h: Remove TkFreeWindowId and TkInitXId macro definitions. * macosx/tkMacOSXXStubs.c: Remove the no-op TkpWindowWasRecentlyDeleted. * unix/tkUnixEvent.c: Remove call to TkFreeXId. * unix/tkUnixXId.c: Remove a lot of unnecessary code (see above). * win/tkWinPort.h: Remove TkFreeWindowId and TkInitXId. * win/tkWinWindow.c: Remove TkpWindowWasRecentlyDeleted. * tests/id.test: Remove this unnecessary test. 2008-08-19 Joe English * generic/ttk/ttkScroll.c: Don't use sprintf "%g" to format floating point numbers in -[xy]scrollcommand callbacks or [xy]view methods. Minor incompatibility: 0 and 1 now formatted as "0.0" resp "1.0". * tests/ttk/entry.test, tests/ttk/treeview.test: Updated to account for above change. 2008-08-19 Daniel Steffen * macosx/tkMacOSXFont.c (SetFontFeatures): Disable antialiasing of fixed-width fonts with size <= 10. 2008-08-18 Ania Pawelczyk * tests/canvWind.test: Update to tcltest2 * tests/menubut.test: * tests/raise.test: * tests/unixButton.test: * tests/unixEmbed.test: * tests/winClipboard.test: 2008-08-17 Ania Pawelczyk * tests/focus.test: Update to tcltest2 * tests/focusTcl.test: * tests/geometry.test: * tests/grab.test: * tests/grid.test: * tests/imgBmap.test: * tests/imgPhoto.test: * tests/imgPPM.test: * tests/listbox.test: * tests/safe.test: * tests/tk.test: * tests/util.test: 2008-08-15 Ania Pawelczyk * tests/clrpick.test: Update to tcltest2 * tests/frame.test: * tests/font.test: * tests/image.test: 2008-08-14 Ania Pawelczyk * tests/event.test: Update to tcltest2 * tests/id.test: * tests/menu.test: 2008-08-14 Daniel Steffen * unix/tcl.m4 (SC_PATH_X): Check for libX11.dylib in addition to libX11.so et al. * unix/configure: autoconf-2.59 2008-08-12 Ania Pawelczyk * tests/choosedir.test: Update to tcltest2 * tests/clipboard.test: * tests/embed.test: * tests/main.test: 2008-08-12 Don Porter * README: Bump version number to 8.6a2 * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: * changes: Updates for 8.6a2 release. 2008-08-11 Ania Pawelczyk * tests/canvImg.test: Update to tcltest2 * tests/canvRect.test: * tests/canvText.test: * tests/obj.test: 2008-08-07 Ania Pawelczyk * tests/canvPs.test: Update to tcltest2 * tests/config.test: * tests/canvas.test: 2008-08-05 Joe English * generic/tk.h, generic/tkEvent.c: Fix for [Bug 2010422] "no event type or button # or keysym while executing "bind Listbox [...]". 2008-08-03 Ania Pawelczyk * tests/cmds.test: Update to tcltest2 * tests/dialog.test: * tests/get.test: * tests/text.test: Update to tcltest2; report: 33.11 fails 2008-08-01 Pat Thoyts * win/tkWinWm.c: Check wmPtr is valid in TopLevelReqProc to fix * tests/wm.test: [Bug 2028703] 2008-07-31 Don Porter * generic/tk.h: Added missing EXTERN for the Tcl_PkgInitStubsCheck declaration to fix inability to embed non-stub-enabled Tk on Windows. 2008-07-29 Ania Pawelczyk * tests/constraints.tcl: -highlightthickness entry's option (fonts constraint) 2008-07-28 Ania Pawelczyk * tests/cursor.test: Update to tcltest2 * tests/message.test: 2008-07-26 Pat Thoyts * doc/options.n: Direct to the font manual for -font. [Bug 1686012] * tests/constraints.tcl: Add a nonwin contraint. * tests/listbox.test: Conform to testing policy. [Bug 2024753] * win/tkWinWm.c: Check that the parent has been mapped before * tests/wm.test: calling RemapWindows. [Bug 2009788] * win/tkWinWindow.c: Check for 0x prefix in sprintf %p. Bug [2026405] 2008-07-25 Ania Pawelczyk * tests/bind.test: Update to tcltest2 2008-07-24 Jan Nijtmans * generic/*.c: Fix inconsistant "wrong # args" messages. [Bug 2021443] * macosx/tkMacOSXSend.c * macosx/tkMacOSXWm.c * unix/tkUnixSend.c * unix/tkUnixWm.c * tests/*.test 2008-07-22 Ania Pawelczyk * tests/bell.test: Update to tcltest2 * tests/bgerror.test: * tests/bitmap.test: * tests/border.test: * tests/button.test: * tests/entry.test: * tests/spinbox.test: 2008-07-22 Daniel Steffen * library/ttk/aquaTheme.tcl: Use system color names and TIP145 named font instead of hardcoded color values and deprecated native font name * macosx/tkMacOSXHLEvents.c: Factor out common code; formatting. 2008-07-08 Pat Thoyts * doc/*.n: Fixed broken line endings from last doc commit. 2008-07-04 Joe English * generic/ttk/ttkDefaultTheme.c, generic/ttk/ttkClamTheme.c, * generic/ttk/ttkClassicTheme.c, generic/ttk/ttkElements.c: Audit: ensure that output arguments to Tk_Get*FromObj() are initialized, in case of erroneous style specifications. [Bug 2009213] 2008-07-02 Donal K. Fellows * macosx/tkMacOSXHLEvents.c: Some tidying up of this file. Make sure that failing handling callbacks get reported as background errors. 2008-06-30 Donal K. Fellows * doc/*.1, doc/*.3, doc/*.n: Remove out of date changebars, make formatting of typedefs consistent, other small changes. 2008-06-25 Don Porter *** 8.6a1 TAGGED FOR RELEASE *** * changes: Updates for 8.6a1 release. 2008-06-24 Pat Thoyts * library/demos/ttkpane.tcl: Work around missing timezones * doc/text.n: Fix documentation of text tag options. [Bug 1997293] 2008-06-19 Don Porter * changes: Updates for 8.6a1 release. * generic/tk.h: TIP 285 additions make Tk 8.6 call the new * library/tk.tcl: Tcl_Canceled() routine, available only in Tcl 8.6, so bump our Tcl dependencies to version 8.6. Tk 8.6a1 will no longer [load] into a Tcl 8.5 interp. * README: Bump version number to 8.6a1 * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: 2008-06-18 Daniel Steffen * macosx/tkMacOSXCarbonEvents.c: Fix debug carbon event tracing. (InstallStandardApplicationEventHandler): Replace needless use of TkMacOSXInitNamedDebugSymbol() by standard TkMacOSXInitNamedSymbol(). * macosx/tkMacOSXDebug.c: Revert 2007-11-09 commit making * macosx/tkMacOSXDebug.h: TkMacOSXInitNamedDebugSymbol() available outside of debug builds. * macosx/tkMacOSXEmbed.c (TkpMakeWindow): Fix bug with missing * macosx/tkMacOSXSubwindows.c (XMapWindow): focus on first map by only sending VisibilityNotify events once windows are mapped (rather than when they are created). * macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessWindowEvent): Fix return value. * macosx/tkMacOSXInit.c: Add helper to efficiently convert from * macosx/tkMacOSXPrivate.h: CFString to Tcl_Obj. * macosx/tkMacOSXFont.c (TkpGetFontFromAttributes, InitFont): Fix incorrect conversion to points of font sizes already in points; factor out retrieval of font family name from font family ID. 2008-06-13 Jeff Hobbs * win/configure, win/configure.in (TK_WIN_VERSION): Fix handling of interim a/b versioning for manifest usage. 2008-06-13 Joe Mistachkin TIP #285 IMPLEMENTATION * generic/tkCmds.c: During [tkwait] and [update], always cooperatively check for script cancellation. * win/makefile.vc: Added 'pdbs' option for Windows build rules to * win/rules.vc: allow for non-debug builds with full symbols. 2008-06-12 Daniel Steffen * generic/tkPointer.c (Tk_UpdatePointer): Fix failure to restore a global grab capture and to release the restrict window capture when releasing a button grab. Fixes segfault due to dangling reference to restrict window inside TkpSetCapture() implementation. [Bug 1991932] * generic/ttk/ttkTreeview.c: Fix warning. * unix/tcl.m4 (SunOS-5.11): Fix 64bit amd64 support with gcc & Sun cc. * unix/configure: autoconf-2.59 * macosx/tkMacOSXXStubs.c (Tk_ResetUserInactiveTime): Use UsrActivity instead of OverallAct (which may be ignored in some circumstances). * macosx/Wish.xcodeproj/project.pbxproj: Add tclIORTrans.c; add tclOO * macosx/Wish.xcodeproj/default.pbxuser: files to tktest-X11 target; add debug configs for 64bit and with corefoundation disabled; updates and cleanup for Xcode 3.1 and for Leopard; sync with Tcl.xcodeproj. * macosx/Wish.xcode/project.pbxproj: Sync Wish.xcodeproj changes. * macosx/Wish.xcode/default.pbxuser: * macosx/README: Document new build configs. 2008-06-10 Joe English * unix/tkUnixKey.c: Use Xutf8LookupString if available. This should fix problems (like [Bug 1908443]) where Xlib's idea of the system encoding does not match Tcl's. [Patch 1986818] 2008-06-01 Daniel Steffen * macosx/Wish.xcodeproj/project.pbxproj: Add new tclOO files; add * macosx/README: debug configs with gcov; update to Xcode 3.1. 2008-05-27 Pat Thoyts * generic/ttk/ttkTheme.c: [ttk::style theme use] without an argument * doc/ttk_style.n: now returns the current theme. 2008-05-23 Joe English * doc/ttk_treeview.n, generic/ttk/ttkTreeview.c, * generic/ttk/ttkTagSet.c, generic/ttk/ttkLayout.c, * generic/ttk/ttkTheme.c, generic/ttk/ttkTheme.h, * generic/ttk/ttkThemeInt.h, generic/ttk/ttkWidget.h: Added [$tv identify region], [$tv identify element], and [$tv identify item] subcommands. Simplified bindings. Added [$tv tag has] subcommand. Tag-related display improvements; setting a tag -background or -foreground no longer overrides selection feedback. * library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl, * library/ttk/clamTheme.tcl, library/ttk/classicTheme.tcl, * library/ttk/defaults.tcl, library/ttk/treeview.tcl, * library/ttk/winTheme.tcl, library/ttk/xpTheme.tcl: Don't need separate 'Item', 'Cell', and 'Row' style settings anymore, only the base "Treeview" style is used. 2008-05-23 Joe English * generic/ttk/ttkLabel.c: Avoid passing width or height <= 0 to Tk_RedrawImage, as this leads to a panic on Windows. [Bug 1967576] 2008-05-16 Pat Thoyts * library/ttk/xpTheme.tcl: Add correct border to combobox on Vista 2008-05-15 Pat Thoyts * win/makefile.vc: We should use the thread allocator for threaded * win/rules.vc: builds. Added 'tclalloc' option to disable. 2008-05-14 Donal K. Fellows * generic/tkPanedWindow.c (PanedWindowProxyCommand) (DisplayPanedWindow): Ensure that a zero width never gets fed to the underlying window system. [Bug 1639824] 2008-05-13 Pat Thoyts * library/console.tcl: Support pixel sized font in +/- keybinding. * tests/listbox.test: -activestyle default is underline on windows. * tests/winDialog.test: Fixed hanging tk_chooseColor tests. 2008-05-11 Pat Thoyts * library/tk.tcl: Support for ttk widgets in AmpWidget * doc/button.n: Note negative widths for button. [Patch 1883418] 2008-05-09 Pat Thoyts * doc/ttk_*: 'identify' widget command is on all ttk widgets. 2008-05-04 Joe English * macosx/ttkMacOSAquaTheme.c: "default" and "focus" adornments should not be disjoint [Bug 1942785] 2008-04-27 Donal K. Fellows * */*.c: A large tranche of getting rid of pre-C89-isms; if your compiler doesn't support things like proper function declarations, 'void' and 'const', borrow a proper one when building Tcl. (The header files allow building things that link against Tcl with really ancient compilers still; the requirement is just when building Tcl itself.) 2008-04-25 Joe English * library/ttk/treeview.tcl: BUGFIX: [$tv selection] takes a list of items, not a single item. [Bug 1951733] 2008-04-20 Pat Thoyts * win/makefile.vc: Include ws2_32 in the link list. [Bug 1900872] * doc/menu.n: Minor change regarding the system menu. [Bug 1887169] * doc/button.n: Minor clarification of button flash. [Bug 1926223] 2008-04-17 Donal K. Fellows * doc/text.n: Correct description of when -relief option is ignored on a tag. Thanks to emiliano for spotting. 2008-04-17 Don Porter * generic/tkCanvas.c: Fix logic that determines when canvas item event should fire. Thanks to Sebastian Wangnick. [Bug 1327482] 2008-04-16 Daniel Steffen * generic/tkStubInit.c: Make stubs tables static const * generic/tkWindow.c (Initialize): and export only a module-scope pointer to to the main stubs table (for package init). [Patch 1938497] 2008-04-14 Pat Thoyts * win/tkWinDialog.c: Fix [tk_chooseColor -title]. [Bug 1941740] * win/tkWinTest.c: Added parent to testgetwininfo * tests/winDialog.test: Created some tk_chooseColor win tests. 2008-04-09 Jan Nijtmans * generic/tkImgGIF.c: Let the GIF writer use a real LZW compressor. 2008-04-08 Pat Thoyts * win/ttkWinXpTheme.c: Provide a visual-styles API element engine * tests/ttk/vsapi.test: to permit scripts to create any available * doc/ttk_vsapi.n: windows xp/vista element. Plus basic tests. 2008-04-08 Daniel Steffen * generic/tkDecls.h: make genstubs (genStubs.tcl changes). * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: 2008-04-08 Kevin Kenny * tkWinEmbed.c: Removed #if 0 code. Trust the revision control system, if you need it again, you can find it. * tkWinSend.c: Added conditional compilation to silence several compiler warnings. 2008-04-07 Jeff Hobbs * generic/tkWindow.c (Initialize): Fix double-free on Tk_ParseArgv * tests/main.test (main-3.*): error. [Bug 1937135] * generic/tkArgv.c: Fix -help mem explosion. [Bug 1936238] (kenny) 2008-04-04 Pat Thoyts * library/ttk/sizegrip.tcl: Don't resize if the toplevel is not resizable or the sizegrip has been disabled. 2008-04-03 Pat Thoyts * win/makefile.vc: Fixed stubs usage * library/ttk/xpTheme.tcl: fix the colour of labelframe in xp 2008-04-02 Daniel Steffen * generic/tk.decls: Remove 'export' declarations of symbols now only in libtkstub and no longer in libtk. * generic/tkStubLib.c: Make symbols in libtkstub.a MODULE_SCOPE to avoid exporting them from libraries that link with -ltkstub; constify tk*StubsPtr and stub table hook pointers. [Bug 1819422] * generic/tkStubLib.c: Undef USE_TCL_STUBS before defining it * generic/ttk/ttkStubLib.c: unconditionally; remove needless #ifdef * generic/tkDecls.h: make genstubs * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: * unix/configure.in (Darwin): Remove now unnecessary unexporting of libtclstub symbols from libtk. * unix/configure: autoconf-2.59 2008-04-01 Don Porter * generic/tkStubLib.c (Tk_InitStubs): Added missing error * generic/tkWindow.c (Tk_PkgInitStubsCheck): message and removed needless #ifdef complexity. * generic/tkWindow.c: Revised package initialization so that * unix/Makefile.in: "tkStubsPtr" is not present in libtk.so, but * win/Makefile.in: is present only in libtkstub.a. This tightens * win/makefile.bc: up the rules for users of the stubs interfaces * win/makefile.vc: [Tcl Bug 1819422] * README: Bump version number to 8.6a0 * generic/tk.h: * library/tk.tcl: * macosx/Wish-Common.xcconfig: * unix/configure.in: * unix/tk.spec: * win/README: * win/configure.in: * win/tcl.m4: * unix/configure: autoconf-2.59 * win/configure: * generic/tkConsole.c: Relax Tcl_InitStubs() calls so that a Tk 8.6 * generic/tkMain.c: might [load] into a Tcl 8.5 interp. * generic/tkWindow.c: * generic/tkDecls.h: make genstubs * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: 2008-03-28 Don Porter *** 8.5.2 TAGGED FOR RELEASE *** * README: Bump to 8.5.2 for release. * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: * changes: Updates for 8.5.2 release. 2008-03-27 Jeff Hobbs * library/safetk.tcl (::safe::tkInterpInit): Make sure tk_library and its subdirs (eg, ttk) are on the "safe" access path. 2008-03-27 Daniel Steffen * unix/tcl.m4 (SunOS-5.1x): Fix 64bit support for Sun cc. [Bug 1921166] * unix/configure: autoconf-2.59 2008-03-27 Daniel Steffen * generic/ttk/ttkStubLib.c: Ensure tcl stubs are used in libtkstub even in a static build of Tk. * generic/ttk/ttkDecls.h: Fix incorrect number of arguments in Ttk_InitStubs macro definition. 2008-03-26 Don Porter * changes: Updates for 8.5.2 release. * unix/tkUnixCursor.c: Stop crash in [. configure -cursor] on X11. Thanks to emiliano gavilán. [Bug 1922466] 2008-03-26 Joe English * generic/tkInt.h, generic/tkEvent.c, unix/tkUnixEvent.c, * unix/tkUnixKey.c: XIM reorganization and cleanup; see [Patch 1919791] for details. 2008-03-21 Joe English * generic/tk.decls, generic/ttk/ttkStubLib.c, unix/Makefile.in: Keep ttkStubLib.o in libtkstub instead of libtk. [Bug 1920030] 2008-03-20 Donal K. Fellows * tests/wm.test: Rewrote so that tests clean up after themselves rather than leaving that to the following test. Makes it easier to catch problems where they originate. Inspired by [Bug 1852338] 2008-03-19 Donal K. Fellows * doc/GetClrmap.3: Documented Tk_PreserveColormap. [Bug 220809] 2008-03-17 Joe English * unix/Makefile.in, win/Makefile.in, win/makefile.vc: Put ttkStubLib.o in libtkstub instead of libtk. [Bug 1863007] 2008-03-16 Donal K. Fellows * library/demos/goldberg.tcl: Made work when run twice in the same session. [Bug 1899664] Also made the control panel use Ttk widgets. 2008-03-13 Daniel Steffen * unix/configure.in: Use backslash-quoting instead of double-quoting * unix/tcl.m4: for lib paths in tkConfig.sh. [Bug 1913622] * unix/configure: autoconf-2.59 2008-03-13 Don Porter * changes: Updates for 8.5.2 release. 2008-03-12 Daniel Steffen * macosx/Wish.xcodeproj/project.pbxproj: Add support for Xcode 3.1 * macosx/Wish.xcodeproj/default.pbxuser: CODE_SIGN_IDENTITY and * macosx/Wish-Common.xcconfig: 'xcodebuild install'. 2008-03-12 Joe English * unix/tkUnixRFont.c: Try a fallback font if XftFontOpenPattern() fails in GetFont (workaround for [Bug 1090382]). 2008-03-11 Daniel Steffen * library/demos/knightstour.tcl: Aqua GOOBE. * library/demos/widget: * macosx/Wish.xcodeproj/project.pbxproj: Add support for Xcode 3.1 and * macosx/Wish.xcodeproj/default.pbxuser: configs for building with * macosx/Wish-Common.xcconfig: gcc-4.2 and llvm-gcc-4.2. * generic/tkCanvUtil.c: Fix gcc-4.2 warnings. * macosx/GNUmakefile: Fix quoting to allow paths to * macosx/Wish-Common.xcconfig: ${builddir}, ${INSTALL_ROOT} * unix/Makefile.in: and ${TCL_BIN_DIR} to contain * unix/configure.in: spaces. * unix/install-sh: * unix/tcl.m4: * unix/configure: autoconf-2.59 * unix/Makefile.in (install-strip): Strip non-global symbols from dynamic library. 2008-03-10 Don Porter * changes: Updates for 8.5.2 release. 2008-03-07 Donal K. Fellows * doc/colors.n: Reworked to produce nicer HTML output. 2008-03-06 Joe English * doc/ttk_notebook.n: Move "TAB IDENTIFIERS" section above "WIDGET COMMAND" section. [Bug 1882011] 2008-02-29 Pat Thoyts * library/demos/widget: Added a Knight's tour canvas demo. * library/demos/knightstour.tcl: 2008-02-27 Daniel Steffen * macosx/tkMacOSXDraw.c: Workaround leak in Carbon SetPortPenPixPat() API [Bug 1863346]; avoid repeated PixPat allocation/deallocation. 2008-02-23 Joe English * library/ttk/combobox.tcl, doc/ttk_combobox.n, * tests/ttk/combobox.test: Arrange to deliver <> event after listbox is unposted, as intended [Bug 1890211]. Clarified documentation. 2008-02-23 Joe English * generic/ttk/ttkPanedWindow.c: Don't enforce minimum sash thickness of 5 pixels, just use 5 as a default. [FR 1898288] 2008-02-14 Donal K. Fellows * unix/README: Documented missing configure flags. 2008-02-06 Donal K. Fellows * doc/ttk_scale.n (new file): Added basic documentation. [Bug 1881925] 2008-02-04 Don Porter *** 8.5.1 TAGGED FOR RELEASE *** * generic/tk.h: Bump to 8.5.1 for release. * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: 2008-02-04 Donal K. Fellows * doc/MeasureChar.3, doc/FontId.3: Minor improvements (formatting, keywords). 2008-02-02 Daniel Steffen * macosx/Wish-Info.plist.in: Add CFBundleLocalizations key, listing * unix/configure.in (Darwin): all library/msgs locales. * unix/configure.in (Darwin): Correct Info.plist year substitution in non-framework builds. * unix/configure: autoconf-2.59 2008-02-01 Don Porter * changes: Updates for 8.5.1 release. 2008-02-01 Reinhard Max * generic/tkImgGIF.c: Fixed a buffer overflow (CVE-2008-0553). * tests/imgPhoto.test: Added a test for the above. 2008-01-31 Jeff Hobbs * library/msgbox.tcl (::tk::MessageBox): Don't use ttk::label in low depth/aqua fallback, as it doesn't support -bitmap. * win/tkWinDialog.c (Tk_MessageBoxObjCmd): Pass "" instead of NULL when -title isn't set. [Bug 1881892] 2008-01-31 Donal K. Fellows * doc/panedwindow.n: Added proper description of -height and -width options, which aren't "standard". Last of fallout from [Bug 1882495]. 2008-01-30 Donal K. Fellows * doc/canvas.n, doc/listbox.n, doc/message.n: Fix erroneous listing of "standard" options. [Bug 1882495] 2008-01-29 Joe English * library/treeview.tcl: Fix bug in Shift-ButtonPress-1 binding (error if no current focus item; reported on c.l.t.) 2008-01-29 Donal K. Fellows * doc/ttk_*.n: Adjusted handling of the standard options part of the Ttk manual pages so that they are documented in the correct location. [Bug 1876493] 2008-01-28 Joe English * unix/tkUnixRFont.c: Re-fix strict-aliasing warnings reintroduced by last patch. 2008-01-27 Joe English * generic/ttk/ttkNotebook.c: Make sure to schedule a redisplay when adding and/or hiding tabs. [Bug 1878298] 2008-01-27 Joe English * unix/tkUnixRFont.c: Merged common code from InitFont() and TkpGetFontAttrsForChar(), factored into GetTkFontAttributes() and GetTkFontMetrics(). Removed write-only struct UnixFtFont member 'drawable'. Removed unneeded double-pointer indirections. Ensure that TkFontAttributes.family member is a Tk_Uid, as specified. Use FcTypeDouble for XFT_SIZE attribute. Finally: fix [Bug 1835848] 2008-01-25 Don Porter * changes: Updates for 8.5.1 release. 2008-01-08 Joe English * generic/ttk/ttkFrame.c: BUGFIX: fix crash in [ttk::labelframe] when -style option specified. [Bug 1867122] 2008-01-08 Joe English * win/ttkWinTheme.c: Add tristate support to checkbuttons and radiobuttons. [Bug 1865898] Fix check and radio indicator size. [Bug 1679067] 2008-01-06 Joe English * generic/ttk/ttkWidget.c, generic/ttk/ttkWidget.h: Call Tk_MakeWindowExist() in widget constructor. Removed now-unnecessary initial ConfigureNotify processing. 2008-01-06 Joe English * library/ttk/treeview.tcl, library/ttk/utils.tcl: Fix MouseWheel bindings for ttk::treeview widget. [Bugs 1442006, 1821939, 1862692] 2008-01-02 Don Porter * generic/tk.h: Bump version number to 8.5.1b1 to distinguish * library/tk.tcl: CVS development snapshots from the 8.5.0 and * unix/configure.in: 8.5.1 releases. * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure: ****************************************************************** *** CHANGELOG ENTRIES FOR 2005 TO 2007 IN "ChangeLog.2007" *** *** CHANGELOG ENTRIES FOR 2004 AND 2003 IN "ChangeLog.2004" *** *** CHANGELOG ENTRIES FOR 2002 AND EARLIER IN "ChangeLog.2002" *** ******************************************************************