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" *** ******************************************************************