2009-05-17 Joe English * generic/ttkNotebook.c: More flexible tab placement [Bug 1470246] 2009-05-14 Pat Thoyts * generic/tkButton.c: [Bug 1923684]: If a checkbutton offvalue is the same as the tristate value we should use the off state in preference. (andrey gusev) 2009-05-13 Pat Thoyts * win/tkWinSend.c: FormatMessage should always use the ignore-inserts * win/tkWinTest.c: flag when processing system errors. * generic/tkFont.c: [Bug 2791352] handle parsing of type 5 font * tests/font.test: descriptions with hyphenated family name. 2009-05-06 Pat Thoyts * library/images/lamp.svg: Added an SVG version of the Tk lamp and * library/images/lamp.png: a pre-rendered PNG version. * win/rc/wish.ico: Wish gets a new icon using the SVG lamp and the * win/rc/tk.ico: tk dll gets the tcl rendered feather. This provides improved icons for Vista/Windows 7. 2009-05-05 Donal K. Fellows * doc/MainWin.3 (Tk_GetNumMainWindows): [Bug 487220]: Clarified that this function works per-thread, not per-process. * doc/canvas.n (scale): [Bug 1832015]: Clarified that [$c scale] only affects item coordinates. 2009-05-04 Donal K. Fellows * doc/3DBorder.3, doc/BindTable.3, doc/CanvPsY.3, doc/Clipboard.3: * doc/ConfigWidg.3, doc/CrtWindow.3, doc/GetBitmap.3: * doc/GetCapStyl.3, doc/GetImage.3, doc/GetJoinStl.3, doc/GetScroll.3: * doc/GetSelect.3, doc/GetVisual.3, doc/MainWin.3, doc/Name.3: * doc/ParseArgv.3, doc/TextLayout.3, doc/Tk_Init.3: [Bug 2431507]: Purge all mention of the now-obsolete 'interp->result'. 2009-05-03 Donal K. Fellows * win/tkWinWm.c (UpdateWrapper): [Bug 2785744]: Manipulate flag bit correctly so that menubar updates can't smash other attributes. 2009-05-01 Donal K. Fellows * library/mkpsenc.tcl (DrawText): [Bug 2777019]: Corrected point of application of rotation transform so rotation is about the anchor point of the text. * generic/tkCanvPs.c (Tk_PostscriptPhoto): * library/mkpsenc.tcl: Factor out the postscript code for converting images into postscript so that the code bits are in the prolog and not emitted at runtime if a non-thread-safe static says to... 2009-04-30 Pat Thoyts * win/tkWinWm.c: [Patch 2504402]: Create icon bitmaps as device independent bitmaps. This ensures the icon can be drawn properly on various colour depth surfaces - in particular it fixes a problem with remote desktop and looks better in the vista task switching overlay. (cjmcdonald) 2009-04-30 Donal K. Fellows * win/tkWinPixmap.c (Tk_GetPixmap): [Bug 2080533]: Added patch that allows Tk to keep working even when the graphics card is stressed. 2009-04-28 Jeff Hobbs * unix/tcl.m4, unix/configure (SC_CONFIG_CFLAGS): harden the check to add _r to CC on AIX with threads. 2009-04-27 Donal K. Fellows * generic/tkInt.decls: [Bug 2768945]: Expose (as "private") a set of functions needed for easily building canvas items that work like existing standard ones. 2009-04-24 Jeff Hobbs * win/tkWinDialog.c (ChooseDirectoryValidateProc): No need to set cwd on selchange. Prevents delete of selected folder in dialog. 2009-04-24 Stuart Cassoff * unix/Makefile.in: Assorted issues: [Bug 2764263]: Removed stray @ from Makefile.in test target. [Bug 1945073]: Don't chmod+x square demo. [Patch 2764272]: Adjustable demo install location. 2009-04-24 Stuart Cassoff * unix/Makefile.in: [Patch 2769530]: Don't chmod/exec installManPage. 2009-04-23 Jeff Hobbs * win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd): [Bug 2779910]: Enable the new style choosedir that has a "New Folder" button, with ::tk::winChooseDirFlags override for new behavior. 2009-04-14 Donal K. Fellows * library/xmfbox.tcl (MotifFDialog_ActivateSEnt): Ensure that the * library/tkfbox.tcl (Done): dialogs have the correct levels for [upvar] for accessing the -typevariable var. 2009-04-13 Donal K. Fellows * library/tk.tcl: Corrected another problem; can't determine the exact type of OS - needed for figuring out how to guess the correct binding in some circumstances - in a safe interpreter. * library/tkfbox.tcl: [Bug 2759119]: Corrected level handling for the * library/xmfbox.tcl: -typevariable option following updates to tk.tcl [Patch 2739360]: Use more modern images from Tango set for the non- Motif file dialog. Thanks to Emiliano for bring this to my attention. 2008-04-10 Joe English * unix/configure.in (Darwin): use Darwin SUSv3 extensions if available. * unix/configure: autoconf-2.59 * unix/tkConfig.h.in: autoheader-2.59 * library/demos/filebox.tcl: only show "Motif Style Dialog" checkbutton on X11 windowingsystem. * library/demos/widget: GOOBE: use ttk::cursor * library/demos/knightstour.tcl: fix knightstour demo not running from interactive wish. * library/console.tcl (::tk::ConsoleInit): remove redundant TkAqua Quit menu item. * generic/tkPointer.c (Tk_UpdatePointer): use all 5 buttons. * generic/tkMenu.c (PostProcessEntry): delay call to TkpConfigureMenuEntry() until all menu entry attributes are setup. * library/menu.tcl (::tk::MbPost): fix error thrown in y position computation with indicatoron. * generic/tkMenubutton.c: s/DEF_BUTTON_JUSTIFY/DEF_MENUBUTTON_JUSTIFY/ * generic/tkUtil.c (TkBackgroundEvalObjv): use Tcl_BackgroundException * generic/tkTextBTree.c (TkBTreeDeleteIndexRange): add bounds check to startEnd array access (fixes testsuite crash). * tests/unixFont.test: only use xlsfonts with X11 windowingsystem. 2009-04-10 Donal K. Fellows * library/tk.tcl: [Bug 2116837]: Add event definitions to handle the standard virtual events when Caps Lock is on. 2009-04-08 Donal K. Fellows * library/demos/widget (addFormattedText): Stop marking demonstrations as new for 8.6; that label is for wholly new demos. 2009-04-04 Donal K. Fellows * doc/messageBox.n: [Bug 1881896]: Reworded to be clearer on what the platform restrictions really are. 2009-04-03 Joe English * unix/tkUnixWm.c: [Bug 1789819]: Don't panic when the window manager does something unexpected with the stacking order. 2009-04-03 Donal K. Fellows * doc/TextLayout.3: [Bug 974421]: Clarified description of how result of lookup of a point after end of layout relates to the underlying string's length. 2009-04-02 Pat Thoyts * tests/textTag.test: Ensure the pointer begins outside the window for all the tests checking Enter/Leave motion events. * library/demos/pendulum.tcl: Use unicode labels * library/demos/knightstour.tcl: Use polygon knight on x11. 2009-03-31 Donal K. Fellows * library/demos/mclist.tcl: Added support for arrow indicators to show which way a column is being sorted. Corrected determination of which fonts to use for measurements. 2009-03-25 Jan Nijtmans * doc/wish.1: Bring doc and demos in line with * library/demos/hello: http://wiki.tcl.tk/812 * library/demos/rmt * library/demos/square * library/demos/tcolor * library/demos/timer * library/demos/widget * win/tkWinMenu.c: Eliminate a few compiler warnings on mingw * win/ttkWinXPTheme.c: Spacing 2009-03-25 Donal K. Fellows * generic/ttk/ttkTheme.c (BuildOptionMap, NewElementClass): [Bug 2178820]: Ensure that zero-size allocations don't happen; some malloc implementations don't like it at all. * win/wish.exe.manifest.in: [Bug 1871101]: Add magic to make Tk not be blurred on Vista with large fonts. 2009-03-14 Donal K. Fellows * unix/tk.pc.in (new file): [Patch 2243962] (hat0) * unix/configure.in, unix/Makefile.in: Added support for reporting Tk's public build configuration via the pkg-config system. TEA is still the official mechanism though, in part because pkg-config is not universally supported across all Tk's supported platforms. 2009-03-10 Donal K. Fellows * doc/event.n: Tidy up and improve examples. 2009-03-09 Benjamin Riefenstahl * tkMacOSXFont.c (GetFontFamilyName): [Bug 2548661]: Handle NULL return from CFStringCreate. 2009-02-27 Jan Nijtmans * doc/GetBitmap.3 [Feature Request 2636558]: Tk_DefineBitmap * generic/tk.decls and Tk_GetBitmapFromData signature problem * generic/tkInt.decls * generic/tkBitmap.c * generic/tkInt.h * generic/tkStubInit.c * generic/tkDecls.h: (regenerated) * generic/tkIntDecls.h: (regenerated) * macosx/tkMacOSXBitmap.c 2009-02-27 Pat Thoyts * generic/tkWindow.c: [Bug 2645457]: Check for dead windows after calling Tk_MakeWindowExist to avoid a crash when mapping dead windows. 2009-02-23 Pat Thoyts * win/rc/*.cur: [Patch 2513104]: Fix cursor hotspots (cjmcdonald) * win/tkWinMenu.c: Applied patch for menu image display bug. [Bug 1329198, 456299] [Patch 2507419] (cjmcdonald) 2009-02-22 Pat Thoyts * win/tkWinCursor.c: Applied patch to support stock Win32 help arrow cursor when question_arrow requested [Patch 2542828] (danckaert) 2009-02-21 Pat Thoyts * library/ttk/vistaTheme.tcl: Correct the ttk::treeview border on * win/ttkWinXpTheme.c: XP and vista. * library/console.tcl: [Bug 2546087]: In 2004 a fix to Tcl channels prevented the exposure of the internal UTF-8 representation of the ASCII NUL character (\uc080). Since then strings in the console have been truncated at NUL. This restores the older behaviour. 2009-02-17 Jeff Hobbs * win/tcl.m4, win/configure: Check if cl groks _WIN64 already to avoid CC manipulation that can screw up later configure checks. Use 'd'ebug runtime in 64-bit builds. 2009-02-16 Jeff Hobbs * win/configure.in, win/configure: Align better with tcl version. Ensures finding correct CPP for Win64. 2009-02-16 Donal K. Fellows * doc/ttk_intro.n: [Bug 2604420]: Improve wording so that this page feels less obviously incomplete. 2009-02-12 Donal K. Fellows * library/iconlist.tcl: Split out the IconList megawidget from tkfbox.tcl into its own file so as to make it easier to maintain. Also cleans up the API for the megawidget, making it more like a conventional Tk widget. 2009-02-11 Donal K. Fellows * library/demos/items.tcl, .../label.tcl, .../twind.tcl: * library/demos/images/ouster.png: [Bug 2588919]: Demo GOOBE. Added new image of John Ousterhout that does not look quite so massively out of date, and also showed off a bit of how we can adjust PNG images when loading them. Also labeled JO as the creator; it's the TCT who are the proprietors now. 2009-02-10 Jan Nijtmans * unix/tcl.m4: fix [Bug 2502365]: Building of head on HPUX is broken when using the native CC. * unix/configure (autoconf-2.59) 2008-02-08 Joe English * generic/ttk/*.[ch]: Renamed several internal data structures and functions: ElementImpl -> ElementClass, LayoutNode -> Element. Remove more unnecessary casts. Add function Ttk_ClientRegion, common factor of entry, scale, progress, and treeview widgets. * generic/ttk/ttkTrack.c: Fix [Bug 2431428]. 2008-02-06 Daniel Steffen * generic/tkImgPhInstance.c: fix numerous leaks discovered with the * generic/tkMenu.c: Mac OS X Instruments.app Leaks tool. * generic/tkText.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkUndo.c: * generic/tkUtil.c: * generic/ttk/ttkFrame.c: * macosx/tkMacOSXWm.c: 2009-01-29 Jan Nijtmans * generic/tkCanvArc.c - eliminate some unnessary type casts * generic/tkCanvBmap.c - some internal const decorations * generic/tkCanvImg.c - spacing * generic/tkCanvWind.c * generic/tkCmds.c * generic/tkConfig.c * generic/tkEntry.c * generic/tkFocus.c * generic/tkFont.c * generic/tkFrame.c * generic/tkGrab.c * generic/tkGrid.c * generic/tkImage.c * generic/tkListbox.c * generic/tkObj.c * generic/tkOption.c * generic/tkPack.c * generic/tkPanedWindow.c * generic/tkRectOval.c * generic/tkSelect.c * generic/tkText.c * generic/tkTextMark.c * generic/tkTextTag.c 2009-01-28 Jan Nijtmans * generic/ttk/ttkCache.c: - eliminate some unnessary type casts * generic/ttk/ttkLayout.c - some internal const decorations * generic/ttk/ttkState.c - spacing * generic/ttk/ttkTheme.c * macosx/tkMacOSXMenu.c * macosx/tkMacOSXPrivate.h * unix/tkUnixFont.c * unix/tkUnixMenu.c * unix/tkUnixWm.c * win/tkWinColor.c * win/tkWinDialog.c * win/tkWinFont.c * win/tkWinMenu.c * win/tkWinSend.c * win/tkWinWindow.c * win/tkWinWM.c 2009-01-22 Kevin B. Kenny * unix/tcl.m4: Corrected a typo ($(SHLIB_VERSION) should be ${SHLIB_VERSION}). * unix/configure: Autoconf 2.59 2009-01-19 Kevin B. Kenny * unix/Makefile.in: Added a CONFIG_INSTALL_DIR parameter so that * unix/tcl.m4: distributors can control where tclConfig.sh goes. Made the installation of 'ldAix' conditional upon actually being on an AIX system. Allowed for downstream packagers to customize SHLIB_VERSION on BSD-derived systems. Thanks to Stuart Cassoff for [Patch 907924]. * unix/configure: Autoconf 2.59 2009-01-16 Don Porter * generic/tk.h: Bump patchlevel to 8.6b1.1 to distinguish * library/tk.tcl: CVS snapshots from the 8.6b1 and 8.6b2 * unix/configure.in: releases. * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: 2009-01-14 Jan Nijtmans * generic/tkImgPhoto.c: [Bug 2507326]: Fix for aMSN compatibility * generic/tkMenu.h: CONSTify Tk(Create|Find)MenuReferences * generic/tkMenu.c: various internal "const" decorations. 2009-01-13 Jan Nijtmans * unix/tcl.m4: fix [Bug 2502365]: Building of head on HPUX is broken when using the native CC * unix/configure (autoconf-2.59) 2009-01-13 Pat Thoyts * tests/constraints.tcl: Made the tests more independent of the * tests/*.test: presence of images in the interpreter. 2009-01-11 Pat Thoyts * tests/bind.test: Fixed keysym bind tests for unix [Bug 2336454] 2009-01-11 George Peter Staplin * generic/tkEvent.c: Fix a possible segv due to a NULL pointer dereference that occurs when XCreateIC fails. 2009-01-11 Pat Thoyts * library/bgerror.tcl: Pretty up the unix tk_messageBox icons with PNG * library/icons.tcl: images and grouped all the stock icons in one * library/msgbox.tcl: file. * library/tk.tcl: 2009-01-11 Joe English * generic/ttk/ttkNotebook.c (NotebookCleanup): [Bug 2496162]: Don't call Tk_DeleteOptionTable(), it's unnecessary and quite possibly harmful. 2009-01-08 Jan Nijtmans * generic/tk3d.c: CONSTify TkDebugBorder * generic/tkBind.c: CONSTify TkStringToKeysym * generic/tkBitmap.c: CONSTify TkDebugBitmap * generic/tkColor.c: CONSTify TkDebugColor * generic/tkCursor.c: CONSTify TkDebugCursor * generic/tkFont.c: CONSTify TkDebugFont * generic/tkInt.decls All those mods TIP #27 complient, no incompatibility risks. * generic/tkIntDecls.h (regenerated) 2009-01-08 Pat Thoyts * library/bgerror.tcl: Theme the bgerror dialog and make use of our PNG support to improve the icon. 2009-01-07 Pat Thoyts * library/tkfbox.tcl: [Bug 2473120]: Mis-ordered messagebox args. * win/tkWinWm.c: [Bug 1847002]: Prevent grabs being bypassed on Windows. 2009-01-06 Jan Nijtmans * generic/tk.h: A few const -> CONST86 modifications, * generic/tkCanvas.c: improving backwards compatibility. Change * generic/tkCanvLine.c: Tk_ItemIndexProc and Tk_ItemInsertProc * generic/tkCanvPoly.c: signature to have a Tcl_Obj parameter instead * generic/tkCanvText.c: of a string parameter. This is binary and * doc/CrtItemType.3: source compatible with previous API, it just * doc/Clipboard.3: prevents the need for a type cast in the * doc/ConfigWidg.3: Tk_ItemType table construction. Bring doc in * doc/ParseArgv.3: line with API. 2009-01-06 Donal K. Fellows * generic/tkImgPhoto.c (Tk_PhotoPutBlock): Optimize a common case for photo image building. [Patch 1539990] (jepler) 2009-01-06 Pat Thoyts * win/tkWinDialog.c: Use task modal for messagebox instead of system modal. [Bug 2484771] (ferrieux,thoyts,mjanssen) 2009-01-03 Donal K. Fellows * doc/canvas.n: [Bug 1836621]: Improve the documentation of the -offset and -outlineoffset item options. 2009-01-03 Jan Nijtmans * generic/tk.decls: CONSTify Tk_ClipboardAppend * generic/tkClipboard.c: * generic/tkDecls.h: (regenerated) 2008-12-31 David Gravereaux * win/rules.vc: Small bug not setting SYMBOLS macro fixed. 2008-12-31 Joe English * generic/ttk/ttkDefaultTheme.c: Fix color palette for radiobutton and checkbutton indicators. Fixes [Bug 2003310]; also makes "alt" theme check/radiobuttons look like Windows 98, as intended. * library/ttk/altTheme.tcl: Specify dark gray -bordercolor to soften edges. * tests/ttk/{checkbutton,radiobutton}.test: Split out of ttk.test. 2008-12-28 Donal K. Fellows TIP #171 IMPLEMENTATION * library/listbox.tcl, library/scrlbar.tcl, library/text.tcl: Adjust users of the event to do the right thing horizontally as well as vertically. * win/tkWinX.c (GenerateXEvent): Redirect to the window that contains the mouse. * generic/tkEvent.c (InvokeFocusHandlers): Do not direct through the focus mechanism. *** POTENTIAL INCOMPATIBILITY *** for anyone counting on shift-wheel to do something else (or nothing at all) or for the wheel events to be following the keyboard on Win. * generic/tkImgPNG.c (ReadIDAT): Corrected code to transfer blocks of compressed data into the Tcl_ZlibStream. Allows the reading of all images from PngSuite set. Thanks to Michael Kirkham for fix/testing. TIP #244 IMPLEMENTATION * generic/tkImgPNG.c, tests/imgPNG.test, doc/photo.n: Adaptation of tkpng to the Tk core, proving support for PNG image reading and writing, based on Tcl's zlib support. 2008-12-27 Joe English * generic/ttk/ttkTreeview.c: Fix inconsistent use of treeArea / headingArea; fixes [Bug 2381555]. ([$tv identify] didn't work when horizontally scrolled). 2008-12-21 Donal K. Fellows * doc/canvas.n (postscript): Regularized documentation of -channel option. 2008-12-19 Don Porter *** 8.6b1 TAGGED FOR RELEASE *** * changes: Updates for 8.6b1 release. * tests/clrpick.test: Eliminate duplicate test names. * tests/embed.test: * tests/text.test: * tests/textMark.test: * README: Bump version number to 8.6b1 * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: 2008-12-18 Don Porter * library/msgs/de.msg: Updated German messages. Thanks to Ruediger Haertel. [Patch 2442309]. 2008-12-17 Jan Nijtmans * generic/tk.h: VOID --> void * unix/tkUnixPort.h: * macosx/tkMacOSXPort.h: 2008-12-17 Donal K. Fellows * doc/selection.n: Assorted small fixes. [Bugs 2441817,2441884] 2008-12-16 Jan Nijtmans * win/tkWinDialog.c: Remove unused variables 2008-12-15 Don Porter TIP #338 IMPLEMENTATION * doc/Tk_Main.c: Removed the last two '#include "tclInt.h"'. * generic/tkMain.c: Tk is now limited to Tcl's public interface. * macosx/tkMacOSXInit.c: 2008-12-12 Pat Thoyts * library/demos/fontchoose.tcl: Simple fontchooser demo. * library/demos/widget: 2008-12-11 Jan Nijtmans * generic/tk3d.c: Make error message from Tk_GetRelief the same as for Tk_GetReliefFromObj. * tests/canvas.test: Adapt test cases for changed error message. * tests/scrollbar.test * tests/textTag.test 2008-12-11 Joe English * library/demos/*.tcl: Omit contraindicated [package require Ttk]. Remove logic that switches [ttk::scrollbar]s to [tk::scrollbar]s based on [tk windowingsystem]; this is already handled in library/ttk/scrollbar.tcl. 2008-12-10 Daniel Steffen TIP #324 IMPLEMENTATION * generic/tkCmds.c: Implementation of [tk fontchooser] as * generic/tkInt.h: a Ttk dialog for X11 and as a native * win/tkWinDialog.c: platform dialog on Mac OS X & Windows. * win/tkWinInt.h: (thoyts, vetter, robert, steffen) * win/tkWinTest.c: [Patch 1477426] * win/tkWinX.c: * macosx/tkMacOSXCarbonEvents.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXFont.h: * macosx/Wish.xcodeproj/project.pbxproj: * library/fontchooser.tcl (new): * library/tclIndex: * library/msgs/de.msg: * library/msgs/en.msg: * tests/fontchooser.test (new): * tests/winDialog.test: * doc/fontchooser.n (new): * doc/tk.n: * library/console.tcl: Let user select console font via [tk fontchooser]. * library/demos/text.tcl: Add [tk fontchooser] demo. * generic/tkUtil.c: Add TkBackgroundEvalObjv() and TkSendVirtualEvent() utility functions (used by TIP #324 code). * generic/tkInt.h: Turn [tk] into an ensemble. * generic/tkBusy.c: (thoyts, steffen) * generic/tkCmds.c: * generic/tkWindow.c: * macosx/tkMacOSXInit.c (TkpInit): Unconditionally show Tk console if TK_CONSOLE env var is set. 2008-12-09 Don Porter TIP #337 IMPLEMENTATION * generic/tkBind.c: Updated callers of Tcl_BackgroundError() to * generic/tkCanvas.c: use the new routine * generic/tkEntry.c: Tcl_BackgroundException() as appropriate. * generic/tkImgBmap.c: * generic/tkListbox.c: * generic/tkSelect.c: * generic/tkTextDisp.c: * generic/tkTextWind.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWindowEvent.c: * unix/tkUnixScale.c: * unix/tkUnixWm.c: * win/tkWinButton.c: * win/tkWinMenu.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: 2008-12-07 Joe English * macosx/ttkMacOSXTheme.c: Add native aqua elements for ttk::spinbox [Bug 2219588] * generic/ttk/ttkEntry.c, library/ttk/spinbox.tcl, * tests/ttk/spinbox.test: Moved most spinbox "business logic" out of ttkEntry.c into Tcl bindings. * library/ttk/clamTheme.tcl: Minor spinbox appearance improvements. * library/ttk/combobox.tcl, library/ttk/utils.tcl: Factor out ttk::bindMouseWheel procedure. * library/ttk/spinbox.tcl: Add cross-platform MouseWheel bindings. 2008-12-06 Donal K. Fellows TIP #197 IMPLEMENTATION * generic/tkText.c (insertUnfocussedStrings, optionSpecs): * generic/tkText.h (TkText, TkTextInsertUnfocussed): * doc/text.n, tests/text.test: Added definitions/tests/docs for "-insertunfocussed" field. * generic/tkTextMark.c (TkTextInsertDisplayProc): * generic/tkText.c (TextBlinkProc): Added user-controlledrendering of insertion cursor when focus is not in the text widget. 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" *** ******************************************************************