2004-05-23 Donal K. Fellows * generic/tkVisual.c (Tk_GetVisual): Minor fix for error message. 2004-05-14 Donal K. Fellows * library/msgbox.tcl (MessageBox): Added TIP#152's -detail option for Unix/X11 platforms. Also shrank the size of the main -message text which was grossly large. 2004-05-12 Chengye Mao * generic/tkBind.c : Modified to fix wish crach due to incorrectly generate event. This bug was reported in comp.lang.tcl but not logged. 2004-05-07 Chengye Mao * win/tkWinWm.c : handle and destroy old wrapper correctly and fix crash problem in wish exiting [Bug 767176]. 2004-05-05 Jeff Hobbs * win/tkWinFont.c (FindSubFontForChar): corrections to dkf patch to handle subFontPtrPtr in EnumFontFamilies callback. 2004-05-05 Donal K. Fellows * win/tkWinFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Make sure that the lastSubFontPtr remains valid even when the subfont array is reallocated. [Bug 618872] 2004-05-03 Jeff Hobbs * unix/tkUnixButton.c (TkpDrawCheckIndicator): allow radiobuttons to be drawn when disabledforeground and/or selectcolor are NULL. [Bug #826850] (griffin) * win/tkWinMenu.c, unix/tkUnixMenu.c (DrawMenuEntryLabel): place images of compound menu entries in indicator space if not a radio of checkbutton. [Bug #756952] (eserte) * win/tkWinX.c: fix drawing of unicode chars in menu * win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl) * win/tkWinMenu.c (ReconfigureWindowsMenu): * generic/tkClipboard.c: Move TkClipCleanup from tkClipboard.c * macosx/tkMacOSXXStubs.c: to being implemented in a platform * unix/tkUnixEvent.c: specific manner. The cleanup order was * win/tkWinX.c: bad at least on Windows, where we reset/cleared display info that was still needed for the clipboard to render. [Bug #939389, #822002, #732662] * library/panedwindow.tcl (MarkSash): call DragSash to stop sash jump when B1 is pressed and released without moving. [Bug #932155] * tests/panedwindow.test: panedwindow-25.1 * generic/tkPanedWindow.c (Unlink): clean up -before/-after refs to a slave when removing it. [Bug #928413] (griffin) * generic/tkImgPhoto.c (ImgPhotoConfigureMaster): force -data into ByteArray and -format into String to correctly handle them if they have been shimmered or created as some other object type. 2004-04-24 Daniel Steffen * generic/tkPort.h: * unix/Makefile.in: * win/makefile.bc: * win/Makefile.in: followup on tcl header reform [FR 922727]: removed use of relative #include paths in tkPort.h to allow installation of private headers outside of tk source tree; added tcl plaform source dir to compiler header search path. 2004-04-23 Donal K. Fellows * doc/bind.n: Added examples (in line with the parallel programme for adding examples to Tcl manual pages) and made assorted minor alterations to improve the overall look. 2004-04-21 Donal K. Fellows * tests/textDisp.test: Get rid of windows that are no longer needed so single-proc tests don't have extra windows hanging around unexpectedly. 2004-04-21 Benjamin Riefenstahl Mac OS X: Fix several problems with Icelandic (and Faroese) keyboards reported by Jérôme Gagnon-Voyer maccom> on tcl-mac on 2004-03-22. * macosx/tkMacOSXKeyEvent.c (KLSInit): Add. (GetKeyboardLayout): Add calls to Keyboard Layout Services, if present. Rework classic handling. Use GetKCHREncoding(). Add parameter encodingPtr. (GetKCHREncoding): Add. 2004-04-16 Jeff Hobbs * library/bgerror.tcl (bgerror): rework to only set -topmost bit on Windows if necessary. Also use existing ::tk functions for placing dialog and managing focus/grab. 2004-04-04 Joe English * unix/tkUnixWm.c: Fix for bug #915350 "Tk sets min, max size in WM_HINTS when it shouldn't" and #922336 "Tk apps have no maximize window button under KDE-3.2.1" 2004-03-31 Jim Ingham * tkMacOSXCarbonEvents.c (AppEventHandlerProc): Handle the kEventAppHidden and kEventAppShown events. (TkMacOSXInitCarbonEvents): Register for the above events. * tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): Steal the Command-H menu key event and allow the Application handler to have it. This is currently the only way to get the Hide behavior to work. [Bug 917557] * tkMacOSMenus.c (TkMacOSXHandleMenuSelect): Remove the Quit menu handler - this was for the Quit item in the File menu, but it doesn't belong there. (TkMacOSXInitMenus): Remove the Quit menu item from the File menu. * tkMacOSXMenu.c (EventuallyInvokeMenu): Report errors from invoking menu commands as background errors. [Bug 220871] 2004-03-31 Don Porter * generic/tkImgPhoto.c: Removed outdated #include's of the tclMath.h * generic/tkScale.c: header file. All tk*Port.h files have long had a #include , and other parts of Tk routinely make use of libm-supplied math routines. 2004-03-30 Daniel Steffen * macosx/tclets.r (removed): obsolete holdover from mac classic. 2004-03-26 Donal K. Fellows * generic/tkImgPPM.c (ReadPPMStringHeader): Code to read PPM/PGM data (StringReadPPM, StringMatchPPM): from strings/bytearrays. [FRQ 540375] 2004-03-26 Don Porter * unix/tcl.m4: Replaced -Wno-strict-alias with more portable -fno-strict-alias alternative. * README: Bump version to 8.5a2. * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.57 * win/configure: 2004-03-26 Donal K. Fellows * generic/tkImgPPM.c (StringWritePPM): New function to support converting of images to PPM strings. Other direction not yet done. Rest of file converted to use new image API. * generic/tkImgPhoto.c (ImgPhotoCmd): Restored support for the stringWriteProc of old photo formats. [Bug 923555] 2004-03-25 Donal K. Fellows * doc/winfo.n: Clarified the range of colour intensities returned by [winfo rgb]. [Bug 922610] 2004-03-22 Donal K. Fellows * doc/ConfigWidg.3: Converted malloc/free to Tcl_Alloc/Tcl_Free to help avoid confusion and crashes on Windows. [Bug 920695] 2004-03-20 Jim Ingham * macosx/tkMacOSXSubwindows.c (GenerateConfigureNotify): New function. (XMoveWindow): Generate configure notify events for child widgets on move. (XMoveResizeWindow): Ditto. 2004-03-18 Daniel Steffen Removed support for Mac OS Classic platform [Patch 918139] * doc/console.n: * doc/tk.n: * generic/README: * generic/default.h: * generic/tk.decls: * generic/tk.h: * generic/tkBind.c: * generic/tkCmds.c: * generic/tkConsole.c: * generic/tkFileFilter.h: * generic/tkGrab.c: * generic/tkInitScript.h: * generic/tkInt.decls: * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkMain.c: * generic/tkPlatDecls.h: * generic/tkPointer.c: * generic/tkPort.h: * generic/tkSelect.c: * generic/tkStubInit.c: * generic/tkStubLib.c: * generic/tkTest.c: * generic/tkText.c: * generic/tkWindow.c: * library/bgerror.tcl: * library/button.tcl: * library/console.tcl: * library/dialog.tcl: * library/entry.tcl: * library/msgbox.tcl: * library/spinbox.tcl: * library/tearoff.tcl: * library/text.tcl: * library/tk.tcl: * library/demos/text.tcl: * library/demos/widget: * mac/MW_TkBuildLibHeader.h (removed): * mac/MW_TkBuildLibHeader.pch (removed): * mac/MW_TkHeader.h (removed): * mac/MW_TkHeader.pch (removed): * mac/MW_TkHeaderCommon.h (removed): * mac/MW_TkOldImgHeader.h (removed): * mac/MW_TkOldImgStaticHeader.h (removed): * mac/MW_TkStaticHeader.h (removed): * mac/MW_TkStaticHeader.pch (removed): * mac/MW_TkTestHeader.h (removed): * mac/MW_TkTestHeader.pch (removed): * mac/README (removed): * mac/bugs.doc (removed): * mac/tclets.r (removed): * mac/tclets.tcl (removed): * mac/tkMac.h (removed): * mac/tkMacAppInit.c (removed): * mac/tkMacAppearanceStubs.c (removed): * mac/tkMacApplication.r (removed): * mac/tkMacBitmap.c (removed): * mac/tkMacButton.c (removed): * mac/tkMacClipboard.c (removed): * mac/tkMacColor.c (removed): * mac/tkMacConfig.c (removed): * mac/tkMacCursor.c (removed): * mac/tkMacCursors.r (removed): * mac/tkMacDefault.h (removed): * mac/tkMacDialog.c (removed): * mac/tkMacDraw.c (removed): * mac/tkMacEmbed.c (removed): * mac/tkMacFont.c (removed): * mac/tkMacHLEvents.c (removed): * mac/tkMacInit.c (removed): * mac/tkMacInt.h (removed): * mac/tkMacKeyboard.c (removed): * mac/tkMacLibrary.r (removed): * mac/tkMacMDEF.c (removed): * mac/tkMacMDEF.r (removed): * mac/tkMacMenu.c (removed): * mac/tkMacMenu.r (removed): * mac/tkMacMenubutton.c (removed): * mac/tkMacMenus.c (removed): * mac/tkMacPort.h (removed): * mac/tkMacProjects.sea.hqx (removed): * mac/tkMacRegion.c (removed): * mac/tkMacResource.r (removed): * mac/tkMacScale.c (removed): * mac/tkMacScrlbr.c (removed): * mac/tkMacSend.c (removed): * mac/tkMacSubwindows.c (removed): * mac/tkMacTclCode.r (removed): * mac/tkMacTest.c (removed): * mac/tkMacWindowMgr.c (removed): * mac/tkMacWm.c (removed): * mac/tkMacXCursors.r (removed): * mac/tkMacXStubs.c (removed): * mac/widget.r (removed): * tests/clrpick.test: * tests/cursor.test: * tests/entry.test: * tests/font.test: * tests/macEmbed.test (removed): * tests/macFont.test (removed): * tests/macMenu.test (removed): * tests/macWinMenu.test (removed): * tests/macscrollbar.test (removed): * tests/menuDraw.test: * tests/safe.test: * tests/scrollbar.test: * tests/select.test: * tests/spinbox.test: * tests/text.test: * tests/tk.test: * tests/winfo.test: * tests/wm.test: * unix/Makefile.in: * unix/README: * unix/tk.spec: * unix/tkUnix3d.c: * unix/tkUnixDraw.c: * xlib/xgc.c: * xlib/xutil.c: * xlib/X11/X.h: * xlib/X11/Xlib.h: * xlib/X11/Xutil.h: * xlib/X11/keysym.h: 2004-03-16 Jeff Hobbs * unix/tkUnixButton.c (TkpDrawCheckIndicator): correct crash condition for new radio/checkbuttons when colors are exhausted. [Bug 915330] (griffin) * generic/tkGrid.c (GridRowColumnConfigureCommand): fix lint warning * generic/tkCanvUtil.c: fix cast warnings * generic/tkTextImage.c (EmbImageConfigure): fix casts * unix/tkUnixSelect.c (ConvertSelection, TkSelPropProc): fix casts * unix/configure, unix/tcl.m4: add -Wno-strict-aliasing for GCC to suppress useless type puning warnings. 2004-03-08 David Gravereaux * win/makefile.vc: * win/buildall.vc.bat: Checks MSDevDir, not MSVCDir envar. 2004-03-04 Mo DeJong * win/tkWin32Dll.c: Add variables needed when compiling with mem debug under Mingw. This fixes the checking from 2003-12-25. 2004-03-03 Jeff Hobbs *** 8.5a1 TAGGED FOR RELEASE *** * unix/Makefile.in (dist): don't require win/lamp.bmp copy in dist target (it's already handled by win/rc/*.bmp copy) * changes: updated for 8.5a1 2004-03-01 Jeff Hobbs * README: update to patchlevel 8.5a1 * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure, unix/configure.in, unix/tk.spec: * win/configure, win/configure.in: * unix/tcl.m4: update HP-11 build libs setup 2004-03-01 Don Porter * unix/tcl.m4 (SC_CONFIG_CFLAGS): Allow 64-bit enabling on IRIX64-6.5* systems. [Bug 218561] * unix/configure: autoconf-2.57 2004-02-28 Vince Darley * generic/tkTextIndex.c: remove use of internal Tcl interface 'TclUtfToUniChar' 2004-02-25 Benjamin Riefenstahl * library/demos/widget (addFormattedText): Correct off-by-one error. 2004-02-23 Daniel Steffen * macosx/Makefile: ensure that xcodebuild will use the Wish.pbproj project even if a .xcode project is also present. * macosx/tkMacOSXMouseEvent.c: fixed modifiers for MouseWheel events. * macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: changed year in copyright strings to 2004. 2004-02-23 Daniel Steffen * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXXStubs.c: * xlib/ximage.c: fixed MacOSX XGetImage/XPutImage and related functions to deal properly with XImages copied from screen. * generic/tkCanvPs.c (TkImageGetColor): MacOSX fix. [Bug 809157] 2004-02-18 Peter Spjuth * tests/grid.test: * generic/tkGrid.c: Fixed a bug in grid geometry calculations for a shrinking grid. [Bug 899246] 2004-02-17 Benjamin Riefenstahl * macosx/tkMacOSXKeyboard.c (TkpInitKeymapInfo): Don't make and synonyms for and