ChangeLog
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:455k
- SetWindowPos when maintaining win Z order, to prevent parent
- from flashing (adjusting Z order).
- 2004-10-05 Jeff Hobbs <jeffh@ActiveState.com>
- Backport of 8.5 wm iconphoto that added support for Tk photo
- * generic/tkInt.h (TkDisplay): images as titlebar icons. TIP #159
- * win/tkWinWm.c (WmIconphotoCmd): wm iconphoto ?-default? image1 ...
- * macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix,
- * unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X.
- * tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]
- 2004-09-24 Don Porter <dgp@users.sourceforge.net>
- * generic/tkCursor.c: Add missing initialization in debug routine.
- 2004-09-22 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinInt.h (TkWinDisplayChanged): added decl
- * win/tkWinX.c (TkWinDisplayChanged, TkpOpenDisplay): Correctly
- * win/tkWinWm.c (InvalidateSubTreeDepth, WmProc): handle color
- and screen resolution changes. Tested for 16/24/32 bpp changes on
- XP. May need more fixes for 8bpp switch, use of special
- colormaps, or other special palette handling cases. [Bug 223689]
- 2004-09-22 Mo DeJong <mdejong@users.sourceforge.net>
- * generic/tkInt.decls: Add decl for TkWinGetPlatformTheme.
- It is only defined under Win32.
- * generic/tkIntPlatDecls.h: Regen.
- * generic/tkStubInit.c: Regen.
- * win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and
- TK_THEME_WIN_XP.
- * win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel):
- Draw a disabled 3D text highlight for the accelerator only
- with the Win95/98 look. Same goes for the menu entry text.
- * win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme):
- Automatically detect the Windows theme in use and return
- either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the
- TkWinGetPlatformTheme function is invoked.
- [Patch 866194]
- 2004-09-22 Vince Darley <vincentdarley@users.sourceforge.net>
- * win/tkWinMenu.c: only provide a submenu handle when the
- MF_POPUP flag is given, fixing a recently-introduced crash
- when submenus are disabled. Also better error checking for
- this sort of situation in the future.
-
- 2004-09-22 Mo DeJong <mdejong@users.sourceforge.net>
- * win/tkWinMenu.c (ReconfigureWindowsMenu): Fix drawing of a disabled
- (TkWinHandleMenuEvent, DrawMenuEntryArrow): cascade menu arrow. Tk was
- displaying a disabled cascade menu arrow in black instead of
- gray. This was caused by a bug in the Win32 code for user drawn
- menu items. The fix is to avoid telling Windows that the menu item
- is a cascade type and then draw the gray arrow bitmap on our own.
- [Patch 865842]
- 2004-09-22 Mo DeJong <mdejong@users.sourceforge.net>
- * win/tkWinMenu.c (DrawWindowsSystemBitmap): Fix a strange Win32
- bug where the logical coordinates returned by a call to DPtoLP are
- wrong the first time a menu is posted. This bug manifested itself
- by drawing the bitmap in the wrong place in a menu. The fix was
- to pass the newly created DC instead of the DC from the window.
- 2004-09-22 Mo DeJong <mdejong@users.sourceforge.net>
- * win/tkWinMenu.c (DrawMenuEntryAccelerator):
- (DrawMenuEntryLabel): When drawing the label text and accelerator
- text for a disabled menu entry be sure to draw a 3D highlight.
- The only exception to this is when a disabled menu entry is
- highlighted, in that case do not draw a 3D hightlight.
- 2004-09-22 Mo DeJong <mdejong@users.sourceforge.net>
- * win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryArrow):
- Move the unused menu arrow drawing code in
- DrawMenuEntryAccelerator into a new function named
- DrawMenuEntryArrow. This makes no functional change but it will
- make it easier to fix things in the future.
- 2004-09-22 Mo DeJong <mdejong@users.sourceforge.net>
- * win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHA
- defines so that compiling with mingw works again.
- 2004-09-20 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinWm.c (UpdateWrapper, WmAttributesCmd): handle attribute
- settings prior to window mapping and resort to more forceful
- wrapper update again for -toolwindow (to remove it from taskbar).
- 2004-09-18 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinWm.c (WmAttributesCmd): correct -alpha 0.0/1.0 setting
- and round the value.
- (UpdateWrapper): don't adjust Z order of TOPMOST window.
- (WmAttributesCmd): don't call UpdateWrapper for -disabled or
- -toolwindow attr changes.
- 2004-09-18 Daniel Steffen <das@users.sourceforge.net>
- * macosx/README: typos
- * macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext): performance
- improvements: removed slow & unnecessary calls.
- 2004-09-17 Jeff Hobbs <jeffh@ActiveState.com>
- * tests/winWm.test: Add 'wm attributes -alpha' to control toplevel
- * win/tkWinInt.h: alpha transparency on Win2K/XP+.
- * win/tkWinWm.c: TIP #222 [Patch 892194]
- * win/tkWinWm.c (UpdateWrapper): Ensure that we maintain Z order
- * tests/winWm.test: and focus of preexisting window
- when replacing the wrapper window.
- * win/tkWinWm.c (WmIconwindowCmd): Replace bogus call to
- XWithdrawWindow with proper code. (mdejong)
- 2004-09-16 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkMenu.c (MenuWorldChanged): ensure that we recompute
- the menu geometry on WorldChanged to handle font size
- changes. [Bug 607649]
- 2004-09-16 Peter Spjuth <peter.spjuth@space.se>
- * tests/place.test:
- * generic/tkPlace.c: Fixed a memory leak when a placed widget was
- forgotten. [Bug 1028888]
- 2004-09-13 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinWm.c (ReadIconFromFile): fix mem alloc to get the right
- size for both icons ('?:' order of precedence mistake).
- 2004-09-10 Donal K. Fellows <donal.k.fellows@man.ac.uk>
- * library/tkfbox.tcl (::tk::dialog::file::): Make sure that the
- state is reset properly when starting to run the dialog. [Bug 845189]
- * library/demos/filebox.tcl: Stop the use of tk_strictMotif from
- poisoning the rest of the widget demo. [Bug 1013942]
- 2004-09-10 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinWm.c (ActivateWindow): SetFocus to grab window when
- clicking outside the grab window hierarchy. [Bug 220908]
- (UpdateWrapper): update to Kovalenko to account for whether the
- override window has a transient parent, and apply WS_POPUP in the
- correct case. The makes splash screens pop up as well as making
- dropdowns not grab focus away from the parent.
- 2004-09-09 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinWm.c: backport of several items from 8.5 head:
- (ReadIconFromFile): when using SHGetFileInfo to retrieve icon, get
- regular icon as well for correct Alt-Tab icon. (hobbs)
- Fix for #742882 "Potential division by zero in gridded wm
- geometry" (jenglish)
- (UpdateWrapper): Let overrideredirect'ed window's wrapper be the
- child of desktop window, thus making it to behave more similarly
- to X11 Override Redirect. Esp. useful for combobox-like
- megawidgets. (kovalenko)
- (InstallColormaps): Check for TK_ALREADY_DEAD to avoid handling of
- dead windows. (kovalenko)
- Change 'panic' to 'Tcl_Panic' (davygrvy)
- 2004-09-06 Jeff Hobbs <jeffh@ActiveState.com>
- * library/tkfbox.tcl (::tk::dialog::file::Create): use label
- instead of button for "File of type", as it properly handles
- -state disabled now.
- 2004-08-26 Jeff Hobbs <jeffh@ActiveState.com>
- * library/text.tcl (::tk::TextTranspose): Ensure that Transpose is
- an atomic op to undo. Replace 'string compare' with 'ne'.
- 2004-08-19 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinDialog.c (EatSpuriousMessageBugFix): Fix a problem with
- double clicks in file dialogs falling through to the window
- underneath in win32. [Patch #611615]
- * win/tkWinDialog.c (Tk_MessageBoxObjCmd): Inherit the icon from
- * win/tkWinInt.h: the -parent window for
- * win/tkWinWm.c (TkWinGetIcon): the MessageBox.
- 2004-08-18 Donal K. Fellows <donal.k.fellows@man.ac.uk>
- * generic/tkPanedWindow.c (optionSpecs): Add missing GEOMETRY flag
- to -handlepad option. [Bug 1010938]
- 2004-08-10 Joe English <jenglish@users.sourceforge.net>
- * unix/tkUnixWm.c: Fix for #1006686 "wm resizable command
- not working on Solaris/CDE" (patch from Colin McDonald).
- 2004-08-09 Mo DeJong <mdejong@users.sourceforge.net>
- * tests/canvText.test:
- * win/tkWinFont.c (Tk_MeasureChars): Fix for text
- wrapping problem that appeared using canvas text
- under Win32. A long wrapping string that had
- leading spaces was being incorrectly wrapped.
- This change makes the Win32 implementation behave
- the same as the Unix implementation. [Patch 1006286]
- 2004-08-04 Donal K. Fellows <donal.k.fellows@man.ac.uk>
- * generic/tkImgPhoto.c (ImgPhotoBlendComplexAlpha): Clean the code
- up a bit and add a few more comments.
- (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): Clarified the code,
- corrected the compositing rule now that I have looked up what the
- right thing to do is, and factorized out the compositing rule code
- into a few simpler macros.
- 2004-07-30 Daniel Steffen <das@users.sourceforge.net>
- * unix/configure:
- * unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS
- to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var.
- 2004-07-29 Don Porter <dgp@users.sourceforge.net>
- *** 8.4.7 TAGGED FOR RELEASE ***
- * changes:
- * generic/tkEvent.c (Tk_HandleEvent): revert the 2004-07-20 commit.
- That commit created a new Bug 1000051 - a broken Compose Key.
- This revert restores Bug 905830 until a cleaner fix can be provided.
- 2004-07-27 Daniel Steffen <das@users.sourceforge.net>
- * generic/tkImgGIF.c (FileReadGIF): fix crash reported by Reinhard Max:
- in case of premature end of image data, return error instead of
- passing nil buffer to Tk_PhotoPutBlock().
- * generic/tkRectOval.c (ComputeRectOvalBbox): Mac OS X specific
- fix to rounding in bounding box 'bloat' calculation to avoid drawing
- outside of bounding box when CG drawing enabled. Fix probably
- correct on other platforms as well?
-
- * macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): fixed LinkVar type
- for tkMacOSXCGAntiAliasLimit.
- 2004-07-26 Jeff Hobbs <jeffh@ActiveState.com>
- * changes: Updated for Tcl 8.4.7 release.
- 2004-07-24 Jim Ingham <jingham@apple.com>
- * macosx/tkMacOSXDefault.h: Change the default -tearoff value
- to 0. It doesn't work at present, so it is silly to make
- it the default.
-
- Mac OS X: Complete the implementation of the CG version of
- the X drawing emulation layer.
-
- This was mostly done by James Tittle (tigital<at>mac<dot>com),
- with a little help from me.
- * macosx/tkMacOSXint.h: Add declaration of TkMacOSXInitCGDrawing.
- * macosx/tkMacOSXInit.c: Call it.
- * macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): New function
- set up the variables controlling the use of cg drawing.
- (XFillRectangles): Make the CG branch work.
- (XDrawLines): Ditto
- (XDrawSegments): Ditto
- (XFillPolygon): Ditto
- (XDrawRectangle): Ditto
- (XDrawRectangles): Ditto
- (XDrawArc): Ditto
- (XDrawArcs): Ditto
- (XFillArc): Ditto
- (XFillArcs): Ditto
- (TkMacOSXSetupCGContext): Make this actually work.
- (TkMacOSXReleaseCGContext): Ditto.
- Mac OS X: Add support for reading the wm attributes -titlepath
- command, and convert to using FSRef's.
- This was done by Neil Madden (nem<at>cs<dot>nott<dot>ac<dot>uk).
- * macosx/tkMacOSXWm.c (WmAttrGetModifiedStatus): New function.
- (WmAttrGetTitlePath) New function.
- (WmAttributesCmd): Convert command parsing to use the options index.
- Use the two above functions to report results. Convert the titlepath
- code to use FSRef's.
-
- 2004-07-23 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
- [Merge from HEAD]
- Mac OS X: Fix several problems with Icelandic (and Faroese) keyboards
- reported by J閞鬽e Gagnon-Voyer <gagnonje5000<at>mac<dot>com> 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-07-22 Jeff Hobbs <jeffh@ActiveState.com>
- * library/tkfbox.tcl (::tk::dialog::file::Update): use -directory
- [pwd] (instead of .) to get around some VFS edge case bugs.
- Use [bind $w], not [$w configure] to modify bindings.
- 2004-07-20 Jim Ingham <jingham@apple.com>
- * generic/tkEvent.c (TkQueueEventForAllChildren): Don't queue
- events for unmapped windows.
-
- 2004-07-20 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkEvent.c (Tk_HandleEvent): ensure IC focus is set after
- creation. [Bug #905830]
- 2004-07-20 Daniel Steffen <das@users.sourceforge.net>
- * unix/tcl.m4: fixed Darwin autoconf breakage caused by
- recent CFLAGS reordering.
- * unix/configure: regen
- * macosx/Makefile: added support to tk framework build to
- optionally install tk manpages in addition to html help,
- similarly to tcl/macosx/Makefile.
-
- * macosx/Wish.pbproj/project.pbxproj: fixes for building with
- non-default SYMROOT/OBJROOT/SRCROOT, added support for using a
- Tcl.framework in DYLIB_INSTALL_PATH != /Library/Frameworks,
- added optional support for building html help without tcl sources
- present by giving explicit location of tcltk-man2html script.
-
- * macosx/tkMacOSXMenu.c: fixed #include case sensitivity bug.
- 2004-07-19 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after their
- * unix/configure.in, unix/configure: _DEFAULT to allow for env
- setting to override m4 switches.
- Consolidate header checks to limit redundancy in configure.
- (CFLAGS_WARNING): Remove -Wconversion, add -fno-strict-aliasing
- for gcc builds (need to suppress 3.x type puning warnings).
- (SC_ENABLE_THREADS): Set m4 to force threaded build when built
- against a threaded Tcl core.
- Reorder configure.in for better 64-bit build configuration,
- replacing EXTRA_CFLAGS with CFLAGS. [Bug #874058]
- 2004-07-14 Jim Ingham <jingham@apple.com>
- * macosx/tkMacOSXCursor.c (TkpSetCursor): The code to not
- reset the cursor more often than necessary was getting fooled
- when the current cursor was nulled out when the current cursor
- gets freed. So in the case where the input cursor was NULL, we
- have to just always set it. [Bug #894550]
-
- 2004-07-14 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkUndo.c (TkUndoSetDepth): correct -maxundo
- segfault. [Bug #969358] (jiangwu)
- * generic/tk.h (TK_PATCH_LEVEL):
- * README, macosx/Wish.pbproj/project.pbxproj: bumped to
- * unix/configure, unix/configure.in, unix/tk.spec: patchlevel 8.4.7
- * win/configure, win/configure.in:
- 2004-07-11 Donal K. Fellows <donal.k.fellows@man.ac.uk>
- * library/tkfbox.tcl (::tk::dialog::file::Create): Watch out for
- users destroying the dialog indirectly. [Bug 987169]
- 2004-06-29 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkCmds.c (Tk_WinfoObjCmd): refetch interp result obj for
- 'winfo id' as it can change when making the window exist.
- 2004-06-25 Donal K. Fellows <donal.k.fellows@man.ac.uk>
- * generic/tkImgPhoto.c (ImgPhotoDisplay): Early exit from image
- redraw if the region to redraw is empty, so stopping XGetImage
- from bailing out. [Bug 979239]
- 2004-06-08 Mo DeJong <mdejong@users.sourceforge.net>
- * generic/tkCanvText.c (DisplayCanvText): Fix text
- rendering problem with canvas text items that
- have a selected region. The previous implementation
- would render the whole line and then redraw the
- selected text if it was a different color. This caused
- problems when the selected text foreground differs
- from the normal text foreground, the anti-aliasing
- alpha pixels for the two text strings would blend
- together resulting in strange looking text. The
- fix is to draw the normal text and the selected text
- separately. This problem has only been observed
- under Windows, with anti-aliased text. [Patch 968725]
- 2004-05-14 Chengye Mao <chengye.geo@yahoo.com>
- * win/tkWinWm.c (UpdateWrapper): Modified to delete the old wrapper
- correctly [Bug #767176]
- 2004-05-14 Donal K. Fellows <donal.k.fellows@man.ac.uk>
- * library/msgbox.tcl (MessageBox): Shrank the default font size
- for the message to 14-point; nobody liked 18-point!
- 2004-05-12 Chengye Mao <chengye.geo@yahoo.com>
- * generic/tkBind.c (HandleEventGenerate): Modified to fix wish
- crash due to incorrectly generate <Destroy> event. This bug was
- reported in comp.lang.tcl but not logged.
- 2004-05-10 Pat Thoyts <patthoyts@users.sourceforge.net>
- * win/makefile.vc: Apply fix from tcl bug #950049 for make docs.
- 2004-05-05 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Make sure
- that the lastSubFontPtr remains valid even when the subfont array
- is reallocated. [Bug #618872] (dkf, hobbs)
- 2004-05-03 Jeff Hobbs <jeffh@ActiveState.com>
- * 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
- * mac/tkMacXStubs.c: to being implemented in a platform
- * macosx/tkMacOSXXStubs.c: specific manner. The cleanup order was
- * unix/tkUnixEvent.c: bad at least on Windows, where we
- * win/tkWinX.c: 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]
- Make the panedwindow -opaqueresize option work as per the docs.
- [Bug #778893]
- * 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've
- been shimmered or created as some other object type. [Bug #1027849]
- (ImgPhotoCmd): correctly init matched to 0.
- 2004-04-20 Joe English <jenglish@users.sourceforge.net>
- * unix/tkUnixWm.c: Backported 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-04-16 Jeff Hobbs <jeffh@ActiveState.com>
- * 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-03-31 Jim Ingham <jingham@apple.com>
- * tkMacOSXMenu.c (EventuallyInvokeMenu): Report errors from invoking
- menu commands as background errors. [Bug 220871]
- 2004-03-26 Donal K. Fellows <donal.k.fellows@man.ac.uk>
- * generic/tkImgPPM.c (ReadPPMStringHeader): Code to read PPM/PGM data
- (StringReadPPM, StringMatchPPM): from strings/bytearrays. [FRQ 540375]
- * 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-20 Jim Ingham <jingham@apple.com>
- * macosx/tkMacOSXSubwindows.c (GenerateConfigureNotify): New
- function.
- (XMoveWindow): Generate configure notify events for child
- widgets on move.
- (XMoveResizeWindow): Ditto.
- 2004-03-17 Jim Ingham <jingham@apple.com>
- * macosx/tkMacOSXHLEvents.c (ApplicationCarbonEventsHandler): New
- function.
- (tkMacOSXInitAppleEvents): Init the Application Event handler as
- well.
- * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): Grab
- the Command-H & Command-Shift-H keys and use them for Hide and
- Hide Others before passing keystrokes on to the generic keyboard
- event processing. There isn't any other good way to get the
- Hide command to work, and the Apple HIG explicitly reserves them.
- * macosx/tkMacOSXMenus.c (TkMacOSXInitMenus): Stop putting a Quit
- menu item in the File menu. It doesn't belong there.
- 2004-03-01 Don Porter <dgp@users.sourceforge.net>
- *** 8.4.6 TAGGED FOR RELEASE ***
- * unix/tcl.m4 (SC_CONFIG_CFLAGS): Allow 64-bit enabling on
- IRIX64-6.5* systems. [Bug 218561]
- * unix/configure: autoconf-2.13
- 2004-02-23 Daniel Steffen <das@users.sourceforge.net>
- * 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.
- * generic/tkImgPhoto.c (ImgPhotoDisplay): enabled alpha blending
- for images with partial transparency on MacOSX.
- [Bug 809157]
- 2004-02-18 Peter Spjuth <peter.spjuth@space.se>
- * tests/grid.test:
- * generic/tkGrid.c: Fixed a bug in grid geometry calculations for
- a shrinking grid. [Bug 899246]
- 2004-02-17 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkBind.c (HandleEventGenerate): only modify root[xy]
- with [xy] when they haven't been otherwise set.
- 2004-02-17 Don Porter <dgp@users.sourceforge.net>
- * tests/imgPhoto.test (imgPhoto-16.1): Corrected incorrect
- variable name [Bug 899010].
- 2004-02-17 Daniel Steffen <das@users.sourceforge.net>
- * macosx/tkMacOSXMouseEvent.c: fixed modifiers for MouseWheel events.
-
- * library/listbox.tcl:
- * library/text.tcl:
- * library/scrlbar.tcl: on Mac OS, add bindings for MouseWheel with
- modifiers, according to platform convention:
- Option increases scrolling speed 10 fold; Space scrolls horizontally.
-
- * macosx/Wish.pbproj/project.pbxproj:
- * macosx/tkAboutDlg.r: changed year in copyright strings to 2004.
- 2004-02-16 Jim Ingham <jingham@apple.com>
- Fix for MouseWheel Events (from Daniel Steffen):
- * generic/tkEvent.c (Tk_HandleEvent): On Mac OS X, don't route
- MouseWheel events to the Focus window. They are sent to the
- window under the pointer on X (and the GenerateMouseWheelEvent
- already got this right.)
- * library/listbox.tcl: On Mac OS, don't use the magic 120
- divisor that is used on Windows. We may come up with a cleaner
- way to do this for the TOT, but this is simple and will do for the
- 8.4 branch.
- * library/text.tcl: Ditto.
- * doc/bind.n: Update the docs to reflect the changes.
-
- 2004-02-15 Jim Ingham <jingham@apple.com>
- Backport Mac OS X specific fixes from TOT:
- * macosx/tkMacOSXKeyboard.c: General cleanup. Add support for
- [event generate]. [Bug #860454] - [Benjamin Riefenstahl]
- * macosx/tkMacOSXKeyboard.c: Add PowerBook keycode 0x34 as <Return>.
- [Benjamin Riefenstahl]
- * macosx/tkMacOSXScrlbr.c: Reworking Vince's fix to [Bug 842952].
- This version is clearer, and works helps keep the mouse better
- pinned to the scrollbar. I also removed the glitch where the
- scrollbar would jump get its middle over the mouse when you first
- moved it.
-
- * macosx/tkMacOSXClipboard.c (TkSuspendClipboard, TkSelGetSelection):
- add unicode clipboard support. [Patch #840107] (senn)
-
- * macosx/tkMacOSXDialog.c (NavServicesGetFile): Minor cleanups.
- * (OpenFileFilterProc): Handle FSRef's as well as FSSpec's in the input
- file. Also convert the FSSpec filename to an C-string before passing
- to MatchOneFile. [bug 517600]
- * (MatchOneFile): Require the input filename to be a C-string, not a
- pascal string.
-
- * macosx/tkMacOSXDialog.c (MatchOneType): If the Macintosh filetype
- is 0, then automatically pass the fileType check.
- * macosx/tkMacOSXButton.c (TkpDisplayButton): Use the tk text
- drawing for checkbuttons & radiobuttons as well as for labels.
- * macosx/tkMacOSXEvent.c (XSync): New function, need to implement
- this so drawing will get flushed in "update idletasks".
- * tkMacOSXPort.h: convert #define of XSync to function def'n.
- * generic/tkWindow.c:
- * macosx/tkMacOSXDialog.c: added native tk_messageBox command,
- (Tk_MessageBoxObjCmd) for MacOS X platform. [Vince Darley]
- * macosx/tkMacOSXMenu.c: corrected encoding conversion for
- torn-off menu entries (but many other display problems still
- exist with these) [Vince Darley]
- * macosx/tkMacOSXMouseEvent.c: improved handling of events in the
- presence of grabs, particularly activation events. [Vince Darley]
-
- * macosx/tkMacOSXColor.c (GetControlPartColor): Use
- the ThemeBrushes to get the control text color for
- buttons.
-
- * tkMacOSXAppInit.c: Formatting cleanups.
- * tkMacOSXButton.c: Ditto
- * tkMacOSXClipboard.c: Ditto
- * tkMacOSXDebug.c: Ditto
- * tkMacOSXDialog.c: Ditto
- * tkMacOSXDraw.c: Ditto
- * tkMacOSXEvent.c: Ditto
- * tkMacOSXFont.c: Ditto
- * tkMacOSXHLEvents.c: Ditto
- * tkMacOSXInit.c: Ditto
- * tkMacOSXInt.h
- * tkMacOSXKeyEvent.c: Ditto
- * tkMacOSXMenu.c: Ditto
- * tkMacOSXMenubutton.c: Ditto
- * tkMacOSXMouseEvent.c: Ditto
- * tkMacOSXNotify.c: Ditto
- * tkMacOSXScale.c: Ditto
- * tkMacOSXScrlbr.c: Ditto
- * tkMacOSXSubwindows.c: Ditto
- * tkMacOSXWindowEvent.c: Ditto
- * tkMacOSXWm.c: Ditto
-
- 2004-02-13 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinFont.c (Tk_MeasureChars): backport fixes to bold/italic
- font handling. [Patch 852669] [Bug 478568]
- * tests/textDisp.test: added test for the font measurement
- problem.
- 2004-02-13 Jim Ingham <jingham@apple.com>
- * macosx/tkMacOSXDialog.c (Tk_GetOpenFileObjCmd): Use CFStringRef for
- title & message options, not pascal strings.
- (Tk_GetSaveFileObjCmd): Ditto
- (Tk_ChooseDirectoryObjCmd): Ditto
- (NavServicesGetFile): Now that we get CFStrings, we don't need
- to convert them here.
- * macosx/tkMacOSXMenu.c (TkMacOSXDispatchMenuEvent): Cleanup, we don't
- need to handle the Apple Menu picks any more, but the code didn't
- reflect that.
- * macosx/tkMacOSXWm.c (TkSetWMName): Use CFStrings for the Window Title
- name, not Pascal strings.
-
- 2004-02-12 Jeff Hobbs <jeffh@ActiveState.com>
- * README: update to patchlevel 8.4.6
- * generic/tk.h:
- * macosx/Wish.pbproj/project.pbxproj:
- * unix/configure, unix/configure.in, unix/tk.spec:
- * win/configure, win/configure.in:
- * tests/window.test: simple code cleanup
- * win/tkWinDialog.c (ChooseDirectoryValidateProc): create a pidl
- for -initialdir if we have a UNC path because BFFM_SETSELECTION
- doesn't support UNC paths in strings.
- 2004-02-10 Donal K. Fellows <donal.k.fellows@man.ac.uk>
- * library/msgs/eo.msg: Language support for Esperanto and Polish from
- * library/msgs/pl.msg: Artur Trzewik <mail@xdobry.de> with thanks.
- 2004-02-09 Donal K. Fellows <donal.k.fellows@man.ac.uk>
- * generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock):
- * tests/imgPhoto.test (imgPhoto-16.1): Better handling of the case
- when copying from one area of a photo to another triggers a
- resizing of the image. [Bug 877950]
- 2004-02-03 Jeff Hobbs <jeffh@ActiveState.com>
- * library/menu.tcl (::tk::MbPost): make menubuttons that post
- above or below reverse direction when not enough space is available.
- 2004-01-28 Pat Thoyts <patthoyts@users.sourceforge.net>
- * win/tkWinCursor.c: Backported fix for bug #776646 which makes
- * tests/cursor.test: hand2 and fleur native on windows.
- 2003-01-27 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Wish.pbproj/project.pbxproj: removed erroneous reference
- to mkpsenc.tcl in bundle resources phase (mkpsenc.tcl is already
- part of the copy files phase to Resources/Scripts).
- * macosx/Makefile: added support for 'xcodebuild' on Mac OS X 10.3.
- 2003-12-31 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Wish.pbproj/project.pbxproj: added missing private headers
- to installed Tk.framework, so that tkInt.h can be included
- sucessfully from Tk.framework/PrivateHeaders.
- * generic/tkPort.h: corrected include of tkMacOSXPort.h
- 2003-12-17 Jim Ingham <jingham@apple.com>
- * macosx/tkMacOSXScrlbr.c: Reworking Vince's fix to [Bug 842952].
- This version is clearer, and works helps keep the mouse better
- pinned to the scrollbar. I also removed the glitch where the
- scrollbar would jump get its middle over the mouse when you first
- moved it.
-
- Import from TOT.
- 2003-12-11 David Gravereaux <davygrvy@pobox.com>
- * win/winMain.c: Backed-out yesterdays change. Reverted to 1.15 for
- two reasons. 1) problem is best addressed in Tcl's DllMain() and
- 2) needs a MinGW custom assembly implimentation as it doesn't
- understand SEH syntax.
- 2003-12-10 David Gravereaux <davygrvy@pobox.com>
- * win/winMain.c (WishPanic) : placed ExitProcess() in a __try block
- (SEH) to catch any exceptions that might happen. As Tcl will call
- Tcl_Finalize from its DllMain due to the unload from ExitProcess()
- unloading Tcl, and if Tcl_Panic had gotten called in an __except
- block handling an exception, this avoid the possibility of not
- being able to exit from the stack being a mess. Falls to
- TerminateProcess() in the __except case.
- Removed the #ifdef _MSC_VER around DebugBreak as that function
- exists in kernel32.dll and is not compiler dependent. I'd prefer
- to use 'if (IsDebuggerPresent()) DebugBreak();' but
- IsDebuggerPresent() isn't available in all kernel32.dll modules
- for all versions of windows.
- 2003-12-10 Donal K. Fellows <donal.k.fellows@man.ac.uk>
- * doc/CrtImgType.3: Fixed line-transposition error found by Eric
- Raymond. [Bug 857159]
- 2003-12-03 Don Porter <dgp@users.sourceforge.net>
- * generic/tk.h: Bumped patch level to 8.4.5.1 to distinguish
- * unix/configure.in: CVS snapshots from the 8.4.5 release.
- * unix/tk.spec:
- * win/configure.in:
- * unix/configure: autoconf (2.13)
- * win/configure:
- 2003-12-02 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkMenu.c (MenuVarProc): prevent this from triggering
- while interp is being destroyed.
- 2003-11-21 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
- *** 8.4.5 TAGGED FOR RELEASE ***
- * macosx/tkMacOSXKeyboard.c: Add PowerBook keycode 0x34 as
- <Return>. (Merge from trunk)
- 2003-11-18 Jeff Hobbs <jeffh@ActiveState.com>
- * changes: updated for 8.4.5 release
- 2003-11-17 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkMenubutton.h: fixed compound menubutton handling like
- * generic/tkMenubutton.c: *button corrections of 2003-04-25.
- * mac/tkMacMenubutton.c (TkpDisplayMenuButton):
- * unix/tkUnixMenubu.c (TkpDisplayMenuButton):
- 2003-11-16 Don Porter <dgp@users.sourceforge.net>
- * win/makefile.vc: Restored consistency of pkgIndex.tcl file
- with that generated by Makefile.
- 2003-11-15 David Gravereaux <davygrvy@pobox.com>
- * win/makefile.vc: Fixes pkgIndex.tcl generation so a symbols build
- is loaded when Tcl is symbols.
- 2003-11-11 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/configure:
- * unix/tcl.m4: improve AIX --enable-64bit handling
- * generic/tkButton.c (ConfigureButton): abort option processing if
- the button was deleted. [Bug #824479]
- * generic/tkMenuDraw.c (TkPostSubmenu): add {} around menu name in
- case it has spaces when calling Tcl_VarEval. This is a hack until
- this is rewritten for proper Tcl_Obj handling. [Bug #723856]
- * library/tkfbox.tcl (::tk::dialog::file::Update): optimize the
- dir/files list separation by using the -tails, -directory and
- -type option of 'glob'. Also passes the glob the -filetypes
- filters instead of calling string match over each file.
- [Patch #833819]
- (::tk::dialog::file::ActivateEnt): allow typing filename into
- entry when tk_getOpenFile -multiple 1 is specified. [Bug #788069]
- * generic/tkListbox.c (ListboxDeleteSubCmd, ListboxListVarProc):
- free itemconfig data when removing it from table. [Bug #836483]
- * macosx/tkMacOSXClipboard.c (TkSuspendClipboard, TkSelGetSelection):
- add unicode clipboard support. [Patch #840107] (senn)
- 2003-11-10 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinDraw.c (XFillRectangles): correctly handle the
- XGCValues.function parameter when filling rectangles.
- [Bug #820278] [Patch #820282]
- * generic/tkImgPhoto.c (ImgPhotoBlendComplexAlpha): add alpha
- blending for images with partial transparency. Only operates for
- 15bpp+ display, and not on Mac at all. [Bug 809157]
- * win/configure:
- * win/configure.in: define TK_LIB_FLAG, TK_LIB_SPEC,
- TK_BUILD_LIB_SPEC, TK_STUB_LIB_SPEC, TK_STUB_LIB_PATH, and
- TK_BUILD_STUB_LIB_PATH for tkConfig.sh [Bug #826614]
- * unix/Makefile.in (SHLIB_LD_FLAGS): include in Makefile as it is
- used in MAKE_LIB sometimes (ie: AIX-64) [Bug #829686] (jimix)
- 2003-11-01 Donal K. Fellows <donal.k.fellows@man.ac.uk>
- * library/msgs/nl.msg: Updated messages from Arjen Markus and
- Pascal Scheffers. Thanks! [Patch 820519]
- 2003-10-29 Donal K. Fellows <donal.k.fellows@man.ac.uk>
- * library/tkfbox.tcl (IconList_Create,IconList_Add): Added option
- munging to allow some control of foreground colours on Unix in the
- same way that you can influence the background. [Bug 795717]
- 2003-10-28 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/tkUnixFont.c (GetFontAttributes): place extra check for NULL
- family against bad X servers.
- * win/tkWinImage.c (XGetImageZPixmap): add separate 16bpp
- XGetImage code to correctly handle 16bpp requests. This appears
- to never have worked correctly.
- * tests/focusTcl.test (setup1): expand frame size to allow for
- correct visibility of windows that use larger default fonts.
- 2003-10-28 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * library/tk.tcl (::tk::PlaceWindow): Added check for empty string
- first when determining placement strategy. [Bug 819284]
- 2003-10-22 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * library/dialog.tcl (tk_dialog): Constrain the dialog to be
- fairly sensibly sized and placed. [Bug 827535]
- 2003-10-12 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkInt.h: move TkGetOptionSpec to stubs intDecls
- * generic/tkIntDecls.h:
- * generic/tkInt.decls:
- * generic/tkStubInit.c:
- * tests/listbox.test (13.3): correct result size
- (4.7): correct test for possible window drift [Bug #701931] (dgp)
- * unix/mkLinks:
- * doc/GetHWND.3: add Tk_AttachHWND docs [Bug #220803]
- 2003-10-10 Jeff Hobbs <jeffh@ActiveState.com>
- * mac/tkMacButton.c (TkpDisplayButton):
- * macosx/tkMacOSXButton.c (TkpDisplayButton):
- * unix/tkUnixButton.c (TkpDisplayButton): correct imageYOffset for
- buttons with just images.
- 2003-10-09 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinButton.c (TkpDisplayButton): correct imageYOffset for
- buttons with just images.
- 2003-10-06 Don Porter <dgp@users.sourceforge.net>
- * doc/ConfigWidg.3: Removed reference to Tk_Offset from the
- NAME section to resolve mkLinks conflict with SetOptions.3 [Bug 404197]
- * unix/configure.in: Reconfigured to use $TCL_PREFIX as the
- default value of --prefix, and also added warning when a TK_PREFIX
- value different from TCL_PREFIX is selected, since [package require Tk]
- fails in that configuration. [Bugs 428627,765642]
- * unix/tcl.m4 (SC_PATH_TCLCONFIG): Corrected search path so
- that alpha and beta releases of Tcl are not favored. [Bug 608698]
- * unix/configure.in: Added check that version of Tcl header found
- by configure matches that of the Tk we wish to build. As long as
- the Tk sources insist on lockstep releases, Tk's configuration should
- verify that's what we have. [Bug 749088]
- * unix/configure: autoconf (2.13)
- * unix/mkLinks: make mklinks
- 2003-10-03 Don Porter <dgp@users.sourceforge.net>
- * README: Bumped to patch level 8.4.5
- * generic/tk.h: to prepare for next patch
- * macosx/Wish.pbproj/project.pbxproj: release.
- * unix/configure.in:
- * unix/tk.spec:
- * win/configure.in:
- * unix/configure: autoconf (2.13)
- * win/configure:
- 2003-10-03 Pat Thoyts <patthoyts@users.sourceforge.net>
- * library/scale.tcl: Clear bug with chording mouse buttons.
- 2003-10-01 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Wish.pbproj/project.pbxproj:
- * macosx/Makefile: fixed redo prebinding bug when DESTDIR="".
- Added support for all applicable customizable makefile variables
- from tcl/macosx/Makefile.
- * macosx/README:
- * macosx/Wish.pbproj/project.pbxproj: ensure that the versioned
- wishX.X script works correctly when Tk.framework with multiple
- versions is present by referring to a copy of 'Wish Shell.app'
- located in Tk.framework/Versions/X.X/Resources.
- 2003-09-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * unix/tcl.m4 (SC_ENABLE_FRAMEWORK): Added note to make it clearer
- that this is an OSX feature, not a general Unix feature. [Bug 619440]
- 2003-09-26 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
- * macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap): Add
- GetWindowFromPort() [Bug #812415]; make function static.
- 2003-09-25 Daniel Steffen <das@users.sourceforge.net>
- * library/demos/widget: don't create iconwindow on aqua, but add
- about menu like on classic.
- * macosx/Makefile: pass MAKEOVERRIDES to pxbuild.
- * macosx/tkMacOSXButton.c: added -compound support for bevel buttons.
- 2003-09-17 Don Porter <dgp@users.sourceforge.net>
- * generic/tkImage.c: Stopped [image create] from generating an
- * tests/image.test: image command name that would overwrite an
- existing command name. Thanks to Michael Schlenker. [Bug 808039].
- 2003-08-19 Joe English <jenglish@users.sourceforge.net>
- * generic/tkPanedWindow.c(PanedWindowWorldChanged):
- Set window background from the -background resource.
- Fixes [BUG #791500 "PanedWindow refresh glitches on X"]
- 2003-08-13 Pat Thoyts <patthoyts@users.sourceforge.net>
- * library/scale.tcl: Fix for bug #787065 for Button-2 press.
- * tests/scale.test: Added test for this bug.
-
- 2003-08-12 Daniel Steffen <das@users.sourceforge.net>
- * macosx/tkMacOSXMenu.c: fixed C99'ism that breaks gcc 2.95.
- 2003-07-21 Jeff Hobbs <jeffh@ActiveState.com>
- *** 8.4.4 TAGGED FOR RELEASE ***
- * changes: updated for 8.4.4 release
- 2003-07-20 Daniel Steffen <das@users.sourceforge.net>
- * macosx/buildTkConfig.tcl: fix to TK_BUILD_* ref generation
- broken by changes to tcl buildsystem.
- 2003-07-19 Pat Thoyts <patthoyts@users.sourceforge.net>
- * library/scale.tcl: Fix for bug 706765 to correctly handle the
- -sliderrelief option while moving the thumb.
- 2003-07-18 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/tkUnixFont.c (Tk_DrawChars): do not make XGetGeometry call
- that prevents overwidth lines as it requires a roundtrip call to
- the X server for every string drawn. Hard-code max width to 32768
- until a beter solution to get max width is made.
- * library/panedwindow.tcl: use widget-specific Priv slots for
- pwAfterId and panecursor items to correctly handle cursor changes
- with adjacant panedwindows.
- * generic/tkEvent.c (Tk_HandleEvent): correct XCreateIC call for
- TK_XIM_SPOT usage. [Bug 742660] (takahashi)
- * win/tkWinCursor.c (TkGetCursorByName): Fix bug 420510 to provide
- consistency between unix and windows -cursor option. (thoyts)
- * win/tkWinDialog.c: doubled the TK_MULTI_MAX_PATH value to ~10K.
- This is a short-term solution until the -multiple option is
- extended. [Bug 641261]
- 2003-07-18 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/panedwindow.test (panedwindow-30.2):
- * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): Ensure that we
- can share GCs between a panedwindow and its sash proxy, even if
- the panedwindow is in a toplevel with a different visual. [Bug 702230]
- 2003-07-17 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Makefile: Changes for new tcl buildsystem.
- * macosx/Wish.pbproj/jingham.pbxuser:
- * macosx/Wish.pbproj/project.pbxproj:
- Changes for new tcl buildsystem.
- Changed build to include tk specific html help in Tk.framework
- instead of Tcl.framework.
- Set default SYMROOT in target options to simplify setting up PB
- (manually setting common build folder for tcl & tk no longer needed).
- * macosx/README: Updated info for changes to buildsystem,
- html help location and PB setup.
- 2003-07-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * doc/photo.n: [$photo put] has been able to take rectangles of
- pixel colours, specified as lists of lists, for years. Now this
- is a documented feature. [Bug 728952]
- * generic/tkPanedWindow.c (PanedWindowReqProc): Fix from Eric
- Boudaillier so panedwindows get their geometry right even when
- their children don't know their size initially. [Bug 738143]
- * doc/panedwindow.n: Removed sentences about the use of [update
- idletasks] with this command, as that is no longer necessary with
- the fix from Bug 738143. [Bug 747814]
- * generic/tkImgPhoto.c (ImgPhotoCmd): Rewrote subcommand processing
- to never jump to the end of the switch. I find that confusing as
- I can't see whether there's processing still to be done from a
- quick glance at the code, unlike with a direct return. [Bug 771988]
- (ImgPhotoCmd, ImgPhotoSetSize, ImgPhotoInstanceSetSize): Try harder
- to avoid zero-length mallocs()... [Bug 404421]
- 2003-07-16 Don Porter <dgp@users.sourceforge.net>
- * generic/tkPack.c (ConfigureSlaves): silence compiler warning
- [Bug 771982]
- 2003-07-16 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinImage.c (XGetImage): correct init of biSizeImage in
- bitmap header. [Bug 703697] (cap)
- 2003-07-17 Peter Spjuth <peter.spjuth@space.se>
- * tests/frame.test:
- * generic/tkFrame.c (CreateFrame): Make sure all options can be set
- to their default value. [Bug #697652]
- 2003-07-16 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkPanedWindow.c (ArrangePanes): Ensure that the last pane
- * tests/panedwindow.test: shrinks instead of being clipped when
- resized below the reqsize. [Bug 748277] (spjuth)
- * generic/tkWindow.c (Initialize): do not free uninit'ed dstring.
- [Bug 755906] (mistachkin)
- 2003-07-15 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/tkUnixEvent.c (TkpCloseDisplay): Don't
- test for XCloseIM bug when the XFree86 version
- is newer than 4.0 since the layout of the
- XIM structure has changed. The check is not
- needed for newer XFree86 releases since
- the bug we are checking for was fixed in
- the 4.2.99.2 release. [Bug 755530]
- 2003-07-15 Don Porter <dgp@users.sourceforge.net>
- * README: Bumped patchlevel to 8.4.4 in preparation
- * generic/tk.h: for the Tk 8.4.4 release.
- * macosx/Wish.pbproj/project.pbxproj:
- * unix/configure.in:
- * unix/tk.spec:
- * win/configure.in:
- * unix/configure: autoconf (2.13)
- * win/configure:
- 2003-07-15 Vince Darley <vincentdarley@users.sourceforge.net>
- * generic/tkMenu.c
- * generic/tkMenu.h
- * generic/tkMenuDraw.c:
- * tests/menu.test: fixed complex bug in menu clone cleanup
- [Bug#465324] and removed 'knownBug' from a test.
- (This was applied to cvs head on 2003-05-03).
-
- 2003-07-09 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/send.test: Strengthened constraints to stop accidental
- smashing of Xserver access; some systems (*ahem* mine *ahem*)
- require xhost-style security for all use... :^/
- 2003-07-07 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tkImage.c (TkDeleteAllImages,etc.): Stopped the deleting
- of hash entries from a table that has just been deleted by this
- function when some images are Tcl_Preserve()d... [Bug 749353]
- 2003-05-20 Jeff Hobbs <jeffh@ActiveState.com>
- *** 8.4.3 TAGGED FOR RELEASE ***
- * changes: updated for 8.4.3
- * unix/Makefile.in: do not run autoconf during 'make dist' as the
- configure is now a CVS-maintained file and should be up-to-date.
- 2003-05-19 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Wish.pbproj/project.pbxproj: changed tkConfig.sh location
- in versioned framework subdirectories to be identical to location
- in framework toplevel; fixed stub library symbolic links to be
- tk version specific.
- 2003-05-15 Jeff Hobbs <jeffh@ActiveState.com>
- * README: Bumped version to 8.4.3
- * generic/tk.h:
- * macosx/Wish.pbproj/project.pbxproj:
- * unix/configure:
- * unix/configure.in:
- * unix/tk.spec:
- * win/configure:
- * win/configure.in:
- * unix/tkUnixFont.c: use gb2312-raw as the alias for gb2312*
- charset fonts. gb2312.enc was made to be euc-cn for Tcl because
- that is what is most often meant, but X really wants the original
- (-raw) gb2312 encoding. [Bug 557030]
- 2003-05-14 Jeff Hobbs <jeffh@ActiveState.com>
- * library/msgs/fr.msg: updated msg catalog. [Bug #737790] (zolli)
- 2003-05-13 Daniel Steffen <das@users.sourceforge.net>
- * macosx/tkMacOSXInit.c (TkpInit): use new versioned bundle
- resource API to get tk runtime library for TK_VERSION. [Bug 736774]
- 2003-05-13 Daniel Steffen <das@users.sourceforge.net>
- backport of Mac OS X specific changes on trunk since 8.4.2:
-
- * macosx/tkMacOSXClipboard.c (TkSelGetSelection): Convert
- 'r' to 'n' on the way into Tcl. (ingham)
- * macosx/tkMacOSXMenu.c (EventuallyInvokeMenu): New function,
- used to invoke menu commands at idle time.
- (TkMacOSXDispatchMenuEvent): Don't immediately dispatch menu
- commands, wait till the idle loop to do so. This is more like
- what is done on Windows, and avoids the crash from destroying
- a menu in it's command. (ingham)
- * macosx/tkMacOSXHLEvents.c (ReallyKillMe): Don't force the shell
- to exit. According to the OS X HI guidelines, it should be
- possible to cancel an attempt to quit, and if we force the kill,
- here, it would not be possible to implement this. (ingham)
- * macosx/tkMacOSXApplication.r (removed):
- * macosx/tkMacOSXLibrary.r (removed):
- * macosx/tkMacOSXResource.r (removed):
- * macosx/Wish.pbproj/project.pbxproj:
- * macosx/tkAboutDlg.r: updated copyrights, cleaned up about box,
- removed obsolete unused resource files. (steffen)
- 2003-05-10 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkCanvPoly.c (PolygonToPostscript):
- * tests/canvPs.test: correct crash when generating postscript for
- a single-line polygon (point) with no color. [Bug #734498] (wilm)
- 2003-04-30 Jeff Hobbs <jeffh@ActiveState.com>
- * macosx/tkMacOSXButton.c (TkpDisplayButton): correct typo for
- stippleGC [Bug #730124].
- 2003-04-25 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkButton.h: Rewrote the handling
- * generic/tkButton.c (TkButtonWorldChanged): of compound *buttons
- * mac/tkMacButton.c (TkpDisplayButton): to correctly display
- * macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg,
- * unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator,
- * win/tkWinButton.c (TkpDisplayButton): etc. *buttons will
- now only stipple the image, unless no disabledfg is given, in which
- case it will stipple the whole button.
- * library/bgerror.tcl: make bgerror dialog topmost on Windows to
- prevent it being covered by other windows.
- * unix/tkUnixButton.c (TkpDisplayButton): Use the normalTextGc when
- * win/tkWinButton.c (TkpDisplayButton): displaying disabled text
- that have images, as they get a gray50 stipple as well and the
- disabledGc is not set up correctly for font drawing. [Bug #477740]
- 2003-04-18 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkCanvBmap.c: s/CreateBitmap/TkcCreateBitmap as Windows
- has a CreateBitmap function already.
- * generic/tkCursor.c: s/GetCursor/TkcGetCursor as Windows has a
- GetCursor func already, which causes compiler warnings.
- 2003-04-02 Mo DeJong <mdejong@users.sourceforge.net>
- * win/configure: Regen.
- * win/configure.in: Set stub lib flag based
- on new LIBFLAGSUFFIX variable.
- * win/tcl.m4: Update from Tcl to get new
- LIBFLAGSUFFIX variable.
- 2003-04-02 Mo DeJong <mdejong@users.sourceforge.net>
- * win/configure: Regen.
- * win/configure.in: Don't set TCL_DLL_FILE,
- TCL_LIB_FILE, TCL_STUB_LIB_FILE, TCL_STUB_LIB_FLAG,
- and TCL_BUILD_STUB_LIB_SPEC. These variables are
- already set in tclConfig.sh.
- [Bug 691908]
- 2003-03-22 Kevin Kenny <kennykb@acm.org>
- * win/makefile.vc:
- * win/rules.vc: Corrected several problems that prevented
- OPTS=symbols from building properly. [Patch 707792] Thanks
- to Joe Mistachkin for the fixes.
-
- 2003-03-18 Don Porter <dgp@users.sourceforge.net>
- * tests/unixWm.test (unixWm-41.2): Corrected typo in 2003-03-13
- commit. Thanks Larry Virden. [Bug 705567]
- 2003-03-18 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Wish.pbproj/project.pbxproj:
- * macosx/Makefile:
- * macosx/README: added support for giving 'make' the location
- of Tcl.framework and tclsh to build and link against.
- * macosx/tkMacOSXXStubs.c: fixed crash in [winfo server].
- 2003-03-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * library/msgbox.tcl (Tk::MessageBox): Stop buttons from being
- very wide when a messageBox has a lot of content. [Bug #701812]
- 2003-03-13 Don Porter <dgp@users.sourceforge.net>
- * tests/unixWm.test: Constrained all tests older than revision 1.21
- to run only on Unix. Alternative approach did not match maintainer
- habits.
- * tests/spinbox.test (spinbox-17.4): Avoid long failure message.
- 2003-03-13 Kevin Kenny <kennykb@users.sourceforge.net>
- * win/makefile.vc: Backed the version to 8.4 on the 8.4 branch.
- (I just loathe sticky tags).
-
- 2002-03-11 Kevin Kenny <kennykb@users.sourceforge.net>
- * win/makefile.vc: Backported the code that makes the makefile
- build pkgIndex.tcl as part of the install step.
-
- 2003-03-03 Jeff Hobbs <jeffh@ActiveState.com>
- *** 8.4.2 TAGGED FOR RELEASE ***
- 2003-02-28 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/bind.test (bind-16.44):
- * generic/tkBind.c (ExpandPercents): Only allow events to see
- those expansions that are actually valid for them, and force the
- substitution of the rest as "??". This stops some crashes on
- Windows and gets rid of bogus values everywhere. [Bug #612110]
- 2003-02-26 Jeff Hobbs <jeffh@ActiveState.com>
- * macosx/README: correct 8.4.3 refs to 8.4.2.
- * unix/README: replace version refs with version-agnostic wording.
- 2003-02-25 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinInt.h:
- * win/tkWinDraw.c:
- * win/tkWinFont.c (Tk_DrawChars): add support for simple XOR text
- drawing on Windows. [Patch #685388] (martin)
- * generic/tkMenu.c (TkMenuCleanup): make sure to reset static
- menusInitialized on finalize. [Bug #548729]
- 2003-02-25 Daniel Steffen <das@users.sourceforge.net>
- * macosx/tkMacOSXHLEvents.c: fixed conversion of apple event
- parameters to posix style path names.
- [Bug #621672] (steffen, Benjamin Riefenstahl)
- * macosx/tkMacOSXDialog.c:
- * macosx/tkMacOSXWm.c:
- * macosx/Wish.pbproj/project.pbxproj:
- * macosx/tkMacOSXUtil.c (removed):
- * macosx/tkMacOSXUtil.h (removed): removed all references to
- tkMacOSXUtil.{c,h}, made obsolete by the patch above. [Bug #621672]
-
- 2003-02-24 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/tkUnixFont.c (CreateClosestFont, CanUseFallback): use the
- first best font match in user font path. [Bug #647497] (dal zotto)
- * generic/tkListbox.c (ListboxSelectionSubCmd):
- * tests/listbox.test: Allow 'selection includes' to respond when
- disabled (but only 'includes'). [Bug #632514]
- * unix/tkUnixButton.c (TkpDisplayButton): Correct visual display
- of disabled check/radiobutton to be more distinctive on unix.
- * tests/unixButton.test: [Bug #669595] (hintermayer)
- * doc/panedwindow.n: clarified the need to use 'update idle' when
- adding unmapped windows. Needs further examination. [Bug #605105]
- * generic/tkEntry.c (SpinboxWidgetObjCmd, EntryWidgetObjCmd):
- * tests/entry.test: return 1 if selection is present even if
- * tests/spinbox.test: entry/spinbox is disabled, as selection get
- will still return the selection (although selection still ignore
- modify requests when entry/spinbox is disabled). [Bug #637828]
- 2003-02-24 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
- * tkMacOSXDialog.c (NavServicesGetFile): Fix bug with
- kNavCtlSetSelection - control data should be a pointer
- not a handle.
-
- 2003-02-21 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * library/clrpick.tcl (color::BuildDialog):
- * library/msgbox.tcl (MessageBox): Yet more places that did
- complex and fragile width calculations instead of using grid,
- though with these it is the -uniform option that saves the day.
- * library/tkfbox.tcl (file::Create): This procedure was really
- very crufty in how it went about creating the GUI. It is far
- easier and more robust to use the grid geometry manager than it is
- to tune the results of pack with tweaks to -width. [Bug #673722]
- * library/comdlg.tcl (FDGetFileTypes): Set an upper limit on how
- long a file type item description string can get due to appending
- of types. [Bug #617392]
- * tests/panedwindow.test (panedwindow-30.1):
- * generic/tkPanedWindow.c (DisplayPanedWindow, DisplayProxyWindow):
- Use the window's depth, not the screen's default depth. [Bug #671122]
- 2003-02-20 Daniel Steffen <das@users.sourceforge.net>
- * library/console.tcl: (aqua & macintosh) added missing <Cmd-q>
- binding for corresponding Quit menu item shortcut.
- * macosx/README: updated instructions for embedded build,
- added various improvements by Russell Owen.
- * unix/tcl.m4: update from Tcl.
- * unix/configure: regen.
- 2003-02-20 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinScrlbr.c (UpdateScrollbar): use SIF_DISABLENOSCROLL to
- "disable" scrollbar when on Windows when there is nothing to
- scroll. This is Windows style, and fixes [Bug #624116].
- * tests/panedwindow.test:
- * generic/tkPanedWindow.c (ValidSashIndex): corrected to note that
- 2 panes must exist before any one sash does. [tcllib Bug #689258]
- 2003-02-20 Peter Spjuth <peter.spjuth@space.se>
- * tests/panedwindow.test:
- * generic/tkPanedWindow.c: Fixed calculation of the last slave's
- size when increasing the size of the panedwindow. [Bug #689099]
- 2003-02-20 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tkImgGIF.c (GetDataBlock): Removed pointless static
- variable ZeroDataBlock [Bug #664788]
- * unix/tkUnixFont.c (CanUseFallback): Added argument, passed
- through from callers to FindSubFontForChar(), so that pointers
- into the old subfont table to be updated when that table is
- reallocated, avoiding a (sometimes fatal) FMR.
- [Bugs #618872 and #689357]
- 2003-02-19 Daniel Steffen <das@users.sourceforge.net>
- * macosx/tkMacOSXKeyEvent.c: fix for uninitialized var warning.
- 2003-02-19 Jim Ingham <jingham@apple.com>
- * macosx/tkMacOSXMouseEvents.c (GeneratePollingEvents): In the case
- where there was a capture window, we were sending the events to
- the capture window. But the capture window (return value or
- TkMacOSXGetCapture) is always a toplevel. So this is wrong in
- the case that the Event's toplevel IS the capture window - in
- which case the event should go to the subwindow most closely
- containing the event.
-
- 2003-02-19 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
- & Jim Ingham <jingham@apple.com>
- This patch changes the default Tk behavior so that events
- are by default routed to the standard event handlers after
- Tk has looked at them.
-
- * macosx/tkMacOSXEvent.h: Rename "handledByTk" into
- "stopProcessing".
-
- * macosx/tkMacOSXEvent.c: Update erroneous comments and
- remove unused includes.
- (TkMacOSXProcessAppleEvent): Don't declare events
- handled that we didn't even look at.
- (TkMacOSXProcessEvent): Add a comment on policy for
- "stopProcessing".
- (TkMacOSXProcessEvent): Remove "handling" of events that
- are not our business.
- (TkMacOSXProcessEvent): Rename "handledByTk" into
- "stopProcessing".
- (ReceiveAndProcessEvent): Ditto.
- (ReceiveAndProcessEvent): Tune error production of
- message.
-
- * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent):
- Rename "handledByTk" into "stopProcessing".
-
- * macosx/tkMacOSXWindowEvent.c: Ditto.
- * macosx/tkMacOSXMouseEvent.c: Remove setting of
- "handledByTk".
- (TkMacOSXProcessMouseEvent): Handle clicks in the "traffic
- lights" in the window title when the window (or app) is
- in the background.
- This patch changes the key event handling to use the MacOS
- translation mechanisms. It also improves dead key handling.
-
- * macosx/tkMacOSXKeyEvent.c (InitKeyData): Add.
- (InitKeyEvent): Add.
- (DecodeViaUnicodeResource): Rename
- KeycodeToUnicodeViaUnicodeResource.
- (DecodeViaKCHRResource): Rename KeycodeToUnicodeViaKCHRResource.
- (GetKeyboardLayout): Use a boolean flag instead of a special
- layout id.
- (KeycodeToUnicodeViaUnicodeResource): Change interface and
- implementation to return a Unicode string instead of directly
- filling an XEvent.
- (KeycodeToUnicodeViaKCHRResource): Ditto.
- (KeycodeToUnicodeViaUnicodeResource): Add handling for callers
- that don't want deadkey processing (i.e. XKeycodeToKeysym).
- (KeycodeToUnicodeViaKCHRResource): Ditto.
- (KeycodeToUnicodeViaUnicodeResource): Clear deadKeyState if a
- character was produced.
- (KeycodeToUnicodeViaKCHRResource): Use CFString and current
- keyboard encoding instead of Tcl Tcl_ExternalToUtf() and fixed
- TkMacOSXCarbonEncoding.
- (TkMacOSXKeycodeToUnicode): Add.
-
- (TkMacOSXProcessKeyboardEvent): Add some heuristics to improve
- keyup events.
- (deadKeyState): Split into deadKeyStateUp and deadKeyStateDown.
- (GenerateKeyEvent): Change interface and implementation to accept
- a Unicode string instead of individual characters.
- (GenerateKeyEvent): Don't generate string representations for
- special characters.
- * macosx/tkMacOSXEvent.h (TkMacOSXKeycodeToUnicode): Add
- prototype.
- * macosx/tkMacOSXKeyboard.c (KCHRPtr): Remove.
- (XKeycodeToKeysym): Use TkMacOSXKeycodeToUnicode instead of
- KeyTranslate.
- (XKeycodeToKeysym): Support latin-1 keysyms.
- This patch reverts the hack to put icons in menus that Vince put
- in yesterday (but preserves the bug fix in that submission.)
- * macosx/tkMacOSXMenu.c (SetMenuTitle): revert treating
- "<bullet> number" as a request to put icon number <number> in
- the menu.
-
- 2003-02-18 Mo DeJong <mdejong@users.sourceforge.net>
- * doc/entry.n:
- * doc/text.n: Update double and triple click
- docs to match implementation changes made on
- 2002-02-14.
-
- 2003-02-19 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Wish.pbproj/project.pbxproj:
- * macosx/Makefile: reworked embedded build to no longer require
- relinking but to use install_name_tool instead to change the
- install_names for embedded frameworks. [Bug #644510]
- 2003-02-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * library/demos/widget: New part for the widget demo showing
- * library/demos/unicodeout.tcl: Tk's UNICODE output. [Patch #627453]
- 2003-02-18 Andreas Kupries <andreask@activestate.com>
- * unix/configure: Regen.
- * unix/tcl.m4: Update from Tcl (HP xnet [Bug #651811]).
- 2003-02-18 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/configure: Regen.
- * unix/tcl.m4: Update from Tcl.
- 2003-02-18 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkText.c (TextWidgetCmd): remove unused lastEnd var.
- [Bug #664790]
- * generic/tkCanvPs.c (TkPostscriptImage): remove unused depth var.
- [Bug #664787]
- * generic/tkEntry.c (EntrySetValue): removed unused code var.
- [Bug #664781]
- * library/tk.tcl (::tk::TabToWindow): auto-highlight spinboxes as
- well as entries when tabbing in. [Patch #683813] (bron)
- * library/xmfbox.tcl (::tk::MotifFDialog_ActivateSEnt): correct
- sub on embedded newlines. [Patch #688572] (bonfield)
- * doc/colors.n: corrected B values [Bug #682714].
- * win/tkWinInit.c (TkpDisplayWarning): truncate MessageBox string
- to 1024 chars to prevent possible oversized window errors. May be
- necessary in other MB uses (ie Tcl_AppInit). [Tcl Bug #608559]
- 2003-02-18 Vince Darley <vincentdarley@users.sourceforge.net>
- * macosx/tkMacOSXMenu.c: (SetMenuTitle) fix to utf encoding
- problem when setting menu titles, and provisional support
- for icons. [Tcl Bug #625080]
- 2003-02-18 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tkImgGIF.c (FileReadGIF): Ensure that the trashBuffer is
- always deallocated on function exit to stop a potential memory leak.
- 2003-02-17 Mo DeJong <mdejong@users.sourceforge.net>
- * generic/tkEvent.c (Tk_HandleEvent): Fixup button
- press state saving code, it was incorrectly converting
- normal motion events into button press and motion
- events in some cases.
- * generic/tkInt.h: Add mouseButtonWindow member
- to the TkDisplay structure.
- * tests/event.test: Add test case for faulty
- button motion logic.
- 2003-02-14 Jeff Hobbs <jeffh@ActiveState.com>
- * README: Bumped to 8.4.2.
- * generic/tk.h:
- * macosx/Wish.pbproj/project.pbxproj:
- * unix/configure:
- * unix/configure.in:
- * unix/tcl.m4:
- * unix/tk.spec:
- * win/configure:
- * win/configure.in:
- * unix/tcl.m4: correct HP-UX ia64 --enable-64bit build flags
- 2003-02-13 Kevin Kenny <kennykb@users.sourceforge.net>
- * doc/wish.n: Added language to describe the handling of
- the end-of-file character u001a in script files. [Bug 685505]
-
- 2003-02-10 Jim Ingham <jingham@apple.com>
- * macosx/tkMacOSXCursor.c (TkMacOSXInstallCursor): Set all theme
- cursors using SetThemeCursor or SetAnimatedThemeCursors.
- (TkGetCursorByName): Use the theme cursors for arrow, ibeam, etc.
- Allow animatedCursor{NUM} form for an animated cursor with count.
- (TkpSetCursor): Don't reset the cursor if there is no change.
- * macosx/tkMacOSXMouseEvent.c (GeneratePollingEvents): Don't
- directly call TkMacOSXInstallCursor, it gets called by the call
- to Tk_UpdatePointer immediately above.
-
- 2003-02-05 Fred Fish <fnf@intrinsity.com>
- * macosx/tkMacOSXWm.c (Tk_SetGrid): Fix precedence problem with
- * mac/tkMacWm.c (Tk_SetGrid): '==' and '|'.
- 2003-02-08 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkCanvArc.c (CreateArc): Rework canvas create item
- * generic/tkCanvBmap.c (CreateBitmap): type coords handling to be
- * generic/tkCanvImg.c (CreateImage): consistent across types
- * generic/tkCanvPoly.c (CreatePolygon): and not pass empty coords
- * generic/tkCanvLine.c (CreateLine): to item creation procs.
- * generic/tkCanvText.c (CreateText):
- * generic/tkCanvWind.c (CreateWinItem):
- * generic/tkCanvas.c (CanvasWidgetCmd CANV_CREATE):
- * generic/tkRectOval.c (CreateRectOval):
- * tests/canvRect.test:
- * tests/canvText.test:
- * tests/canvas.test:
- 2003-01-28 Joe English <jenglish@users.sourceforge.net>
- * generic/tkInt.h (TkDisplay,TkMainInfo):
- * generic/tkObj.c (windowObjType):
- * generic/tkWindow.c (Tk_DestroyWindow):
- * tests/wm.test (wm-deletion-epoch-1.1):
- Moved 'deletionEpoch' field from TkDisplay to TkMainInfo.
- Reworked windowObj type. Fixes Tk Bug #671330 "segfault when e.g.
- deiconifying destroyed window"
- 2003-01-23 D. Richard Hipp <drh@hwaci.com>
- * library/entry.tcl: Fix the KeyPress binding on the entry widget
- so that it enters text from left to right (not right to left) even
- if the mouse button is being held down. [Bug #673687]
- 2003-01-22 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tkFrame.c (TkToplevelWindowForCommand): Added way of
- mapping from command names to tkwins-for-toplevels.
- * generic/tkImage.c (Tk_ImageObjCmd): Added check to make sure
- that you're not creating an image named the same as .'s command,
- which refixes 220891, even when the name of the command has been
- changed with 'rename'. The error message is better too.
- * tests/image.test (image-1.10,image-1.11): Updated to match new
- error message and added test for the rename case.
- 2003-01-19 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkImage.c (DeleteImage): delete the image's entry in the
- image table correctly when there are no more instances. This
- reopens bug 220891. [Bug #669759]
- 2003-01-18 Jeff Hobbs <jeffh@ActiveState.com>
- * doc/loadTk.n: note that ::safe::loadTk has a prereq on
- ::safe::interpCreate or ::safe::interpInit. [Bug #669159]
- * doc/photo.n: $image put only accepts -format and -to, and note
- extended use of -to.
- 2003-01-17 D. Richard Hipp <drh@hwaci.com>
- * generic/tkCanvUtil.c: The clipping algorithm introduced on 2003-01-08
- was unnecessarily aggressive in reducing the size of the clipping box.
- This did not cause a problem for normal display, but did create
- trouble for some extensions that attempt to render a canvas on a
- GDI printer under Windows. The patch here relaxes the constraints on
- the clipping box somewhat. [Bug #663981]
- 2003-01-14 Joe English <jenglish@users.sourceforge.net>
- * generic/tkSelect.c (Tk_CreateSelHandler):
- Fix for #666346 "Selection handling crashes under KDE 3.0"
- * tests/unixSelect.test (unixSelect-1.20): Added test case.
- 2003-01-13 Mo DeJong <mdejong@users.sourceforge.net>
- * win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd,
- ChooseDirectoryValidateProc, Tk_MessageBoxObjCmd):
- Remove unused tsdPtr variable. Use TEXT macro
- instead of _T macro since _T does not work
- under Cygwin. Declare flags as UINT to avoid
- compiler warning when compiling with mingw.
- 2003-01-12 Mo DeJong <mdejong@users.sourceforge.net>
- * win/Makefile.in: Add TCL_DEFS to AC_FLAGS
- so that compiler flags defined by Tcl get
- passed to the compiler. Add empty rule
- for cat.c so that Tk compiles under msys.
- * win/configure: Regen.
- * win/tcl.m4: Update from Tcl, this pulls
- in a subst of TCL_DEFS, it also defines
- USE_THREAD_ALLOC when threads are used
- and it updates the SC_ENABLE_SYMBOLS
- and SC_PROG_TCLSH macros to match the
- ones used in Tcl.
- 2003-01-10 Joe English <jenglish@users.sourceforge.net>
- * unix/tkUnixEvent.c (OpenIM): Remove unused variable
- (Fixes: #664780 "SGI warning: OpenIM")
- 2003-01-08 D. Richard Hipp <drh@hwaci.com>
- * generic/tkCanvLine.c:
- * generic/tkCanvas.h:
- * generic/tkCanvUtil.c: Clip long lines so that they will display
- properly even on windowing systems where coordinates are expressed
- as 16-bit numbers. [Bug #663981]
- 2003-01-03 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkFrame.c (CreateFrame): throw a Tcl error instead of a
- panic when we cannot get a main window and appname is NULL. This
- can indicate that a user tried to create a frame/toplevel while Tk
- was dying. [Bug #661792]
- 2002-12-27 David Gravereaux <davygrvy@pobox.com>
- * generic/tkText.h: ANSI unfriendly typedef for TkTextBTree
- repaired for C++ compilers.
- 2002-12-27 Joe English <jenglish@users.sourceforge.net>
- * unix/tkUnixWm.c (WaitForEvent): process Map and Unmap events
- as well as Configure events during WaitFor{Configure|Map}Notify.
- Fixes [Bug 578569] (WaitForMapNotify could process Map and Unmap
- events out of order, making Tk think a window was unmapped when
- it really wasn't).
- 2002-12-18 Todd M. Helfter <tmh@purdue.edu>
- * doc/label.n: Fixed documentation of the -compound option to
- the label widget. The option was simply missing from the
- man page [Bug 577540]
- 2002-12-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * doc/photo.n: Fixed documentation of the put subcommand to no
- longer talk about files and to mention that you can use colour
- names for working with solid colours. [Bug 640026]
- 2002-12-13 Don Porter <dgp@users.sf.net>
- * generic/tkMain.c (Tk_Main): Call on Tcl*StartupScript*() routines
- to store the startup script, if any. [Bug 616245].
- 2002-12-10 David Gravereaux <davygrvy@pobox.com>
- * win/makefile.vc: tclThreadTest.obj not required to link
- tktest.exe [Bug 651396]
- 2002-12-08 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkEntry.c (ConfigureEntry): keep a flag to indicate when
- a var is traced to prevent double-traces caused by configuring the
- widget in traces with validation on. (dejong)
- 2002-12-07 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkInt.decls: add TkWinSetHINSTANCE decl
- * generic/tkIntPlatDecls.h: regen
- * generic/tkStubInit.c: regen
- * win/tkWinInit.c (TkpInit): While init and cleanup aren't correct
- * win/tkWinX.c (TkWinXInit): in DllMain, we had to specify the
- * win/tkWin32Dll.c (DllMain): true HINSTANCE or the resources of a
- dynamic Tk weren't being loaded correctly. Created a new function
- TkWinSetHINSTANCE for this purpose.
- 2002-12-06 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinX.c (TkWinXInit): Move cleanup into an exit handler
- * win/tkWin32Dll.c (DllMain): to ensure that it will be called
- * win/tkWinWm.c (TkWinWmCleanup): without having to unload the dll.
- Also reset the static int initialized on cleanup to allow reinit.
- 2002-12-01 Mo DeJong <mdejong@users.sourceforge.net>
- * tests/event.test (_keypress, _text_ind_to_x_y): Force focus to
- widget in _keypress method to avoid problems with window managers
- that use focus follows mouse. [Bug 526209]
- 2002-12-01 Mo DeJong <mdejong@users.sourceforge.net>
- * tests/wm.test: Add wm-transient-6.3 to check that a transient
- remains withdrawn when it is first withdrawn and then turned into
- a transient.
- * unix/tkUnixWm.c:
- * win/tkWinWm.c: Replace WM_TRANSIENT_WITHDRAWN with WM_WITHDRAWN
- and set this flag whenever a window is explicitly withdrawn. This
- fixes the test case added above. [Bug 644356]
- 2002-11-22 Jeff Hobbs <jeffh@ActiveState.com>
- * tests/textDisp.test:
- * generic/tkTextDisp.c (TkTextSeeCmd): handle see for unmapped
- text displays. [Bug #641778]
- 2002-11-19 Jim Ingham <jingham@apple.com>
- * macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): If the
- scrollbar width is set to 12 or less (but 12 is what you
- should use) use the small metric scrollbar.
- (UpdateControlValues): Fix thinko in setting off AUTO_ADJUST for
- the place geometry manager.
-
- 2002-11-19 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/Makefile.in: add macosx/*.tcl (buildTkConfig.tcl in
- particular) to the dist target.
- 2002-11-14 Mo DeJong <mdejong@users.sourceforge.net>
- * generic/tkWindow.c (Tk_DestroyWindow, DeleteWindowsExitProc):
- Add TkHalfdeadWindow type and halfdeadWindowList to keep track of
- windows that were only partially deallocated before a call to
- exit. Finish cleaning up these windows in DeleteWindowsExitProc.
- Keep track of cleanup status in Tk_DestroyWindow so that a window
- with a Destroy binding which calls exit will get fully destroyed.
- * tests/window.test: Add Tk_DestroyWindow tests for an assortment
- of half dead window cases. [Bug 630533]
- 2002-11-10 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Wish.pbproj/project.pbxproj: fixed erroneous
- removal of libtkstub before Wish was built.
- 2002-11-07 Mo DeJong <mdejong@users.sourceforge.net>
- * tests/unixWm.test: Add short delay to test unixWm-51.7
- to account for raise/lower changes in TIP 107. This allows
- the test case to pass under Window Maker on Linux.
- 2002-11-07 Peter Spjuth <peter.spjuth@space.se>
- * tests/place.test:
- * generic/tkPlace.c: place info did not return all settings,
- and didn't make sure the result was a proper list.
- Put '-in' first in result to be more consistent with how
- grid/pack info behaves. [Bug #635025][Bug #532022]
- 2002-11-07 Daniel Steffen <das@users.sourceforge.net>
- * unix/Makefile.in: added macosx/README to dist target.
- * macosx/Wish.pbproj/project.pbxproj: fix to 'wish' script
- to allow it to work when not installed into '/'.
- 2002-11-06 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/configure: Regen.
- * unix/tcl.m4: Update from Tcl.
- * win/configure: Regen.
- * win/configure.in: Check that AR, RANLIB, and RC
- are found on the path when building with gcc.
- 2002-11-04 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Wish.pbproj/project.pbxproj: added Wish linker flag
- -headerpad_max_install_names to allow use of 'install_name_tool'.
- fixed tkConfig.sh generation and redo_prebinding in the case where
- Tk is not installed alongside Tcl.
- 2002-11-03 David Gravereaux <davygrvy@pobox.com>
- * win/winMain.c (Tcl_AppInit): Calls Registry_Init() and
- Dde_Init() when STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros
- are set.
- * win/makefile.vc: linkexten option now sets the
- TCL_USE_STATIC_PACKAGES macro which also adds the registry and
- dde static lib files to the link of the shell. [Patch 479697]
- * win/rules.vc: Matches the one from Tcl.
- * win/buildall.vc.bat: More useful commentary.
- 2002-11-01 Andreas Kupries <andreask@activestate.com>
- * win/makefile.vc (TCLREGLIBNAME): Updated to registry 1.1.
- 2002-10-29 Daniel Steffen <das@users.sourceforge.net>
- * macosx/README: added info on new package searching in
- Frameworks directories.
-
- 2002-10-22 Jeff Hobbs <jeffh@ActiveState.com>
- *** 8.4.1 TAGGED FOR RELEASE ***
- * changes: updated for 8.4.1 release
- 2002-10-21 Daniel Steffen <das@users.sourceforge.net>
- * macosx/README: revised according to Jim's suggestions
- * macosx/tkMacOSXAppInit.c: use standard PATH_MAX from <limits.h>
-
- 2002-10-18 Jeff Hobbs <jeffh@ActiveState.com>
- * win/winMain.c (WinMain, main): remove obsolete SetMessageQueue call
- * win/configure: Regen.
- * win/tcl.m4 (SC_CONFIG_CFLAGS): Check for bug in Cygwin version
- of windres and work around that case by passing a POSIX path
- instead of a Windows native path. One can't always pass a POSIX
- path because the mingw native toolchain accepts only Windows
- native paths. (dejong)
- * win/tkWinPort.h: define OPEN_MAX only if not defined.
- [Patch #625472] (howell)
- 2002-10-18 Daniel Steffen <das@users.sourceforge.net>
- * mac/tkMacAppInit.c: removed tcltest dependency.
- [Bug #592639] (porter)
- 2002-10-17 Jeff Hobbs <jeffh@ActiveState.com>
- * tests/imgPhoto.test:
- * generic/tkImgPhoto.c (ImgPhotoConfigureMaster): fix arg handling
- for missing -format or -data options. [Bug #624974]
- * tests/text.test: properly return the number of
- * unix/tkUnixFont.c (ControlUtfProc): bytes consumed. [Bug #624732]
- 2002-10-17 Daniel Steffen <das@users.sourceforge.net>
- * macosx/README: info specific to building and running
- TclTk on Mac OS X, answers to tcl-mac list FAQs.
- * macosx/Makefile: permission fix after embedded install.
- * macosx/Wish.pbproj/project.pbxproj: after install, fix
- permissions of uninstalled products.
- 2002-10-17 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Wish.pbproj/project.pbxproj: added TEXT document
- type to plist so that files can be dragged onto Wish Shell.
- * macosx/tkMacOSXInt.h:
- * macosx/tkMacOSXInit.c:
- * macosx/tkMacOSXFont.c: added private proc
- TkMacOSXUseAntialiasedText() to enable/disable quickdraw
- text antialiasing where available, default is enabled.
- Added a linked boolean ::tk::mac::antialiasedtext with
- write trace to allow control of antialiasing from tcl.
- 2002-10-16 Vince Darley <vincentdarley@users.sourceforge.net>
- * macosx/tkMacOSXMenu.c: fix to accelerators shown in menus
- with non-alphanumeric keys.
- * macosx/tkMacOSXKeyEvent.c:
- * macosx/tkMacOSXKeyboard.c: applied first patch from [Patch
- #622582] to fix some of [Bug #616988]. Further work is needed
- in this area, but this will let foreign keyboards at least work
- reasonably with Tk.
- 2002-10-15 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/configure:
- * unix/tcl.m4: add AIX-5 ppc build support. Remove unused
- SC_ENABLE_MEMDEBUG.
- * win/configure:
- * win/tcl.m4: Add --enable-shared=mem support.
- 2002-10-10 Peter Spjuth <peter.spjuth@space.se>
- * tests/grid.test:
- * generic/tkGrid.c: The grid size was not updated properly
- when removing a widget from a grid. [Bug #621241] (forssen)
- 2002-10-10 Jeff Hobbs <jeffh@ActiveState.com>
- * tests/canvPs.test: tests for canvas embedded window ps generation
- * generic/tkCanvWind.c (CanvasPsWindow): removed dead code loop.
- * generic/tkCanvas.h: moved TkColormapData struct to tkCanvPs.c
- * generic/tkCanvPs.c (TkImageGetColor): corrected bogus use of
- TkColormapData on Windows (Windows now requires RGB pixel data
- from image).
- * win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support
- for generating ps for embedded widgets on canvases on Windows,
- tested for 8, 16, 24 and 32-bit depths (XGetImageZPixmap not used).
- * library/tk.tcl: simplified the adding of extra <ISO_Left_Tab>
- and <hpBackTab> events to <<PrevWindow>>.
- 2002-10-09 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/README: doc'ed --enable-symbols options.
- * unix/Makefile.in: comment docs
- * unix/configure: regen
- * unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
- SC_ENABLE_SYMBOLS that takes yes|no|mem|all as options now.
- 2002-10-09 Don Porter <dgp@users.sf.net>
- * generic/tk.h: Added reminder comment to edit
- macosx/Wish.pbproj/project.pbxproj when version number changes.
- 2002-10-09 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Makefile: don't remove tclsh after building embedded.
-
- * macosx/Wish.pbproj/project.pbxproj: bumped version to 8.4.1;
- added missing library/mkpsenc.tcl to framework.
- 2002-10-09 Daniel Steffen <das@users.sourceforge.net>
- * generic/tkInt.decls(tkIntXlib): added XQueryTree declaration for
- mac & aqua, since it's now called from ParentXId via Tk_HandleEvent.
- * generic/tkIntXlibDecls.h:
- * generic/tkStubInit.c: regen.
- * mac/tkMacXStubs.c: added XQueryTree stub
- * mac/tkMacEmbed.c (TkpUseWindow): check that container window
- has -container option set (sync with other platforms).
- * mac/tkMacBitmap.c:
- * mac/tkMacFont.c:
- * mac/tkMacSend.c:
- * mac/tkMacTest.c:
- * mac/tkMacWm.c: CONSTification.
- * mac/tkMacProjects.sea.hqx: added tkStyle.c and tkUndo.c to
- tk library projects.
- 2002-10-09 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tkImgPhoto.c (ImgPhotoSetSize): Only error-out if we
- fail to allocate a non-empty buffer; getting a NULL when we
- allocate an empty buffer is no problem since nothing will look at
- the value anyway. [Bug 619544]
- Also tidied up file to take into account the fact that we're using
- 32 bits per pixel in the master to accommodate the alpha channel
- as well as RGB.
- 2002-10-08 Jeff Hobbs <jeffh@ActiveState.com>
- * tests/winButton.test: add option clear to top to prevent option
- leakage from other tests causing problems. [Bug #582382]
- * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): leave the
- DestroyPanedWindow proc to free the pwPtr, add a Preserve
- reference to the pwPtr->tkwin.
- (DestroyPanedWindow): Release the pwPtr->tkwin.
- * generic/tkFocus.c (TkFocusFilterEvent): Ignore event if we are
- focusing into a dead window. [Bug #588831] (griffin)
- 2002-10-02 Jim Ingham <jingham@apple.com>
- * macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): Put the Tk scrollbar
- pointer into the control reference data for the Mac scrollbar, so we
- can get it out again in the ScrollbarActionProc.
- 2002-10-02 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkText.c (TextBlinkProc): don't blink the cursor unless
- it is visible. [Bug #616791] [Patch #614474] (bonfield)
- * tests/entry.test: added entry-20.7
- * generic/tkEntry.c (EntryTextVarProc): check if the entry is
- being deleted before handling an associated textvariable.
- [Bug #607390 #617446]
- 2002-10-01 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/unixSelect.test (unixSelect-1.1[89]): Altered these tests
- to work around [Bug #616923]
- * unix/tkUnixSelect.c (SelRcvIncrProc,TkSelPropProc): It turns out
- a much simpler and more robust solution is possible if we leverage
- Tcl's encoding engine by using the same code path as for the
- normal string selection. It might be a bit slower, but it should
- be a lot more correct. [Bug #614650]
- 2002-09-30 Jeff Hobbs <jeffh@ActiveState.com>
- * tests/panedwindow.test: added panedwindow-28.[12]
- * generic/tkPanedWindow.c (PanedWindowCmdDeletedProc):
- (Tk_PanedWindowObjCmd): when destroying the panedwindow, destroy
- the proxy before the parent to avoid dependency conflicts.
- [Bug #616589]
- 2002-09-30 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/unixSelect.test: Test for various things that can fail to
- work in 8.4.0...
- * unix/tkUnixSelect.c (TkSelPropProc,SelRcvIncrProc): Incremental
- transfers of UTF8_STRING selections should now work; Tk will now
- tag them with the right size and only transfer complete UTF8
- characters. Previously, things only worked when the transfer
- could only happen in one go, and even then not always. [Bug 614650]
- * doc/bind.n: Doc-fix to mention that %A substitutes UNICODE
- characters rather than ASCII ones. Tk's done this ever since 8.1
- in any case; after all, it is the right thing to do.
- 2002-09-27 Don Porter <dgp@users.sf.net>
- * README: Bumped to version 8.4.1 to avoid confusion
- * generic/tk.h: of CVS snapshots with release 8.4.0.
- * unix/README:
- * unix/configure.in:
- * unix/tk.spec
- * win/configure.in:
- * unix/configure: autoconf
- * win/configure:
- 2002-09-26 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/configure: regen.
- * unix/tcl.m4: improve AIX-4/5 64bit compilation support.
- * unix/Makefile.in: add macosx subdir to dist target.
- Do not generate .Z, only .gz and .zip in alldist target.
- 2002-09-18 Mumit Khan <khan@nanotech.wisc.edu>
- Added basic Cygwin support.
- * win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build.
- (SC_PATH_TKCONFIG): Likewise.
- (SC_PROG_TCLSH): Likewise.
- (SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin
- flags. Add -mwin32 to extra_cflags and extra_ldflags.
- Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW.
- * win/configure: Regenerate.
- * win/tkWinPort.h (tchar.h): Do not include on Cygwin.
- (_T): Define for Cygwin.
- * win/winMain.c (main): Conditionally define.
- 2002-09-26 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Makefile: preserve environment value of INSTALL_ROOT.
- When embedding only use deployment build. Force relink before
- embedded build to ensure new linker flags are picked up.
- * macosx/buildTkConfig.tcl (new):
- * macosx/Wish.pbproj/project.pbxproj: synthesize tkConfig.sh
- based on tclConfig.sh in Tcl.framework and tkConfig.sh.in.
- Add symbolic links to debug lib, stub libs and tkConfig.sh
- in framework toplevel. Made tkIntXlibDecls.h a public header
- since Headers/X11/Xlib.h includes it. Install wish8.4 script
- that runs "Wish Shell.app" and corresponding wish link.
- Use tcl headers from built Tcl.framework instead of from tcl
- source directory.
- * macosx/tkMacOSXPort.h: added missing standard unix includes
- and defines, similarly to tkUnixPort.h.
- * macosx/tkMacOSXNotify.c: removed dependency on internal tcl
- header "tclPort.h"
- * unix/Makefile.in:
- * unix/install-sh: copied support for 'install-strip' target
- over from tcl/unix/{Makefile.in,install-sh}
- 2002-09-22 Jim Ingham <jingham@apple.com>
- * macosx/tkMacOSXScrlbr.c (UpdateControlValue): HiliteControl
- doesn't give the proper "nothing to scroll" look on Mac OS X.
- You have to set the min value greater than the max value to
- get this.
- 2002-09-15 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/configure: Regen.
- * unix/tcl.m4: Update from Tcl.
- * unix/tkUnixEvent.c (TkpCloseDisplay): Use PEEK_XCLOSEIM
- to examine the input context queue before invoking
- XCloseIM. Generate an assert if there is an input
- context that has not been freed.
- [Patch 570902]
- 2002-09-13 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * generic/tk.h: Moved RC_INVOKED down so that tcl.h is still
- included when running the resource compiler. <tcl.h> excludes
- the unnecessary parts on its own. This reenables the Windows
- build. It failed because the non-inclusion of tcl.h caused the
- resource compiler to miss some vital macro definitions
- (TCL_FINAL_RELEASE, STRINGIFY, ...).
- 2002-09-12 Daniel Steffen <das@users.sourceforge.net>
- * generic/tk.h:
- * mac/tkMacApplication.r:
- * mac/tkMacLibrary.r:
- * mac/tkMacResource.r:
- * macosx/tkAboutDlg.r:
- * macosx/tkMacOSXApplication.r:
- * macosx/tkMacOSXLibrary.r:
- * macosx/tkMacOSXResource.r: unified use of the two equivalent
- resource compiler header inclusion defines RC_INVOKED and
- RESOURCE_INCLUDED, now use RC_INVOKED throughout.
- * macosx/tkMacOSXAppInit.c: improved detection of Wish startup
- by the finder (by checking if stdin is /dev/null), in which
- case we want to bring up the Tk console window.
- * macosx/tkMacOSXHLEvents.c: added 'rapp' apple event handler.
- 2002-09-12 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Wish.pbproj/project.pbxproj: reference & install
- tk/generic/prolog.ps instead of tk/library/prolog.ps.
- 2002-09-10 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Wish.pbproj/project.pbxproj: added backwards
- compatibility for OSX 10.1 ProjectBuilder 2.0.
- 2002-09-10 Daniel Steffen <das@users.sourceforge.net>
- * unix/Makefile.in: added DYLIB_INSTALL_DIR variable for Darwin
- and set it to default value ${LIB_RUNTIME_DIR}
- * unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of
- LIB_RUNTIME_DIR in the -install_name argument to ld.
- * unix/configure: regen.
- * macosx/Wish.pbproj/project.pbxproj:
- * macosx/Makefile: added support for building Tcl as an embedded
- framework, i.e. using an dyld install_name containing
- @executable_path/../Frameworks via the new DYLIB_INSTALL_DIR
- unix/Makefile variable.
- 2002-09-10 Jeff Hobbs <jeffh@ActiveState.com>
- *** 8.4.0 TAGGED FOR RELEASE ***
- 2002-09-09 Jeff Hobbs <jeffh@ActiveState.com>
- * macosx/tkMacOSXNotify.c (Tk_MacOSXSetupTkNotifier): corrected
- Mac Jaguar event loop issue.
- * library/tk.tcl: use command instead of control on Aqua bindings.
- Force dialogs to appear below fixed native Mac menubar.
- * macosx/tkMacOSXKeyEvent.c:
- * macosx/tkMacOSXKeyboard.c: Keypress/release events for pure
- modifier keys were not being passed to Tk.
- Deadkey presses were inserting null characters into text windows.
- Now they do nothing. (Still not ideal, but better than before!)
- * macosx/tkMacOSXMenu.c: Allow more than 200 menus to exist -
- increased to 2000.
- * macosx/tkMacOSXMouseEvent.c: Bad interactions between floating
- windows and ordinary ones. Ensure that local<->global coordinate
- transformations are wrt to the correct window.
- * macosx/tkMacOSXWm.c: Better error msg for 'wm attributes'.
- Remove crash in 'wm transient'.
- Add 'noActivates' and 'noUpdates' flags to unsupported command.
- [Patch #606658] (darley)
- * library/xmfbox.tcl (::tk::MotifFDialog_ActivateSEnt): corrected
- msgcat code with XPG specifier. [Patch #606719] (miller)
- 2002-09-06 Don Porter <dgp@users.sf.net>
- * tests/unixWm.test (unixWm-50.3): Constrained test that hangs
- on Windows.
- 2002-09-05 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Wish.pbproj/project.pbxproj: added overlooked missing
- TK_PATCH_LEVEL version bump to 8.4.0.
- 2002-09-04 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * win/Makefile.in (install-libraries): Added code section to
- install the message catalogs. Copied same section from
- unix/Makefile.in and adapted it to the slightly different
- environment.
- 2002-09-03 Jeff Hobbs <jeffh@ActiveState.com>
- * library/button.tcl: further restrict buttons to not resetting
- the "original" relief if it has changed in the interim. This
- prevents code that simulated overrelief buttons from not working
- in 8.4. [Bug #604270]
- 2002-09-03 Daniel Steffen <das@users.sourceforge.net>
- * macosx/Wish.pbproj/project.pbxproj: Bumped version number to
- 8.4.0 and updated copyright info.
- 2002-09-03 Vince Darley <vincentdarley@users.sourceforge.net>
- * macosx/tkMacOSXWm.c: fix to 'wm attributes' error-handling bug.
-
- 2002-09-03 Don Porter <dgp@users.sf.net>
- * changes: Updated for 8.4.0 release
- 2002-09-02 Jeff Hobbs <jeffh@ActiveState.com>
- * tests/cursor.test: reverted 2002-08-31 change for OS X to use
- 'heart' cursor because 'arrow' on windows has a pre-skewed use
- count. [Bug #602667]
- * tests/button.test: added button-14.1
- * win/tkWinButton.c (TkpComputeButtonGeometry): correct Win button
- sizing to be equal for one-line buttons with -height of 0 or 1, as
- well as -height 0 buttons with empty text and no image, which
- should be the same as single-line text buttons. [Bug #565485]
- * library/button.tcl (::tk::ButtonLeave): correctly restore state
- of button to normal for unix bindings. [Bug #597920]
- * doc/tk.n: added tk windowingsystem docs.
- * tests/wm.test:
- * unix/tkUnixWm.c: remove possible 2-second delay in 'raise'.
- [Patch #601518] (english) TIP #107
- * unix/tcl.m4: add support for 64-bit builds on HP-11 with gcc.
- * unix/configure.in: make sure to substitute LD_LIBRARY_PATH_VAR.
- * unix/configure: regend
- * README: Bumped version number to 8.4.0
- * generic/tk.h:
- * unix/configure:
- * unix/configure.in:
- * unix/tk.spec:
- * win/configure:
- * win/configure.in:
- * generic/tkCmds.c:
- * generic/tkWindow.c: made 'tk' available in safe interpreters,
- but only the caret and windowingsystem subcommands may be called.
- * tests/safe.test (safe-1.2): noted that tk is now available in
- safe interps, but not the appname/scaling subcommands.
- * tests/tk.test (tk-1.2): noted new tk windowingsystem subcommand
- 2002-08-31 Daniel Steffen <das@users.sourceforge.net>
- * unix/tcl.m4: update from Tcl
- * unix/Makefile.in: import of TK_SHLIB_LD_EXTRAS for Tk library
- specific linker settings. Added use of new LD_LIBRARY_PATH_VAR.
- * unix/configure: regen
- 2002-08-31 Daniel Steffen <das@users.sourceforge.net>
- *** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***
- * generic/tk.decls:
- * generic/tkInt.decls: added new "aqua" specific entries to the
- stubs tables. Changed all "unix" entries to "x11" to allow us to
- distinguish and build both "aqua" on MacOSX and "x11" on MacOSX.
- * generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can
- be passed to the resource compiler.
-
- * generic/tkCmds.c (Tk_TkObjCmd): added [tk windowingsystem]
- subcommand: returns "x11" when running on X11, "win32" on Windows,
- "classic" on MacOS9 and "aqua" on MacOSX Aqua (i.e. Carbon)
- * generic/tkFont.c (TkFontGetFirstTextLayout): new private function
- returning the first chunk of a Tk_TextLayout, i.e. until the first
- font change on the first line (or the whole first line if there is
- no such font change).
- * generic/tkMain.c: made Tcl_ThreadDataKey static
- * library/demos/puzzle.tcl: fixed button metrics for aqua
- * tests/cursor.test: check for presence of arrow cursor instead of
- heart cursor
- * xlib/xcolors.c: changed xColors static initialization to more
- standard C
-
- * macosx/Wish.pbproj/jingham.pbxuser (new):
- * macosx/Wish.pbproj/project.pbxproj (new): project for Apple's
- ProjectBuilder IDE.
- * macosx/Makefile (new): simple makefile for building the project
- from the command line via the ProjectBuilder tool 'pbxbuild'.
- * macosx/tkMacOSXAppInit.c (new): macosx specific AppInit looking
- for a AppMain.tcl file in its bundled Resources/Scripts folder. If
- present, argv[1] is set to that file and the Scripts folder is
- added to the auto_path. This allows tk apps to embed scripts within
- their bundle directory structure.
- * macosx/tkMacOSXInit.c (new): macosx adapted version of
- tkUnixInit.c: we initialize & cache the Carbon native encoding
- (e.g. 'macRoman') and try to find the tk script library files
- inside Tk packaged as a framework.
- * macosx/tkMacOSXNotify.c (new): new macosx specific merged
- Carbon/select-based notifier.
- * macosx/tkMacOSXEvent.c (new):
- * macosx/tkMacOSXEvent.h (new):
- * macosx/tkMacOSXKeyEvent.c (new):
- * macosx/tkMacOSXMouseEvent.c (new):
- * macosx/tkMacOSXWindowEvent.c (new): new macosx specific event
- handling functionality.
- * macosx/tkMacOSX.h (new):
- * macosx/tkMacOSXBitmap.c (new):
- * macosx/tkMacOSXButton.c (new):
- * macosx/tkMacOSXClipboard.c (new):
- * macosx/tkMacOSXColor.c (new):
- * macosx/tkMacOSXConfig.c (new):
- * macosx/tkMacOSXCursor.c (new):
- * macosx/tkMacOSXDefault.h (new):
- * macosx/tkMacOSXDialog.c (new):
- * macosx/tkMacOSXDraw.c (new):
- * macosx/tkMacOSXEmbed.c (new):
- * macosx/tkMacOSXFont.c (new):
- * macosx/tkMacOSXHLEvents.c (new):
- * macosx/tkMacOSXInt.h (new):
- * macosx/tkMacOSXKeyboard.c (new):
- * macosx/tkMacOSXMenu.c (new):
- * macosx/tkMacOSXMenubutton.c (new):
- * macosx/tkMacOSXMenus.c (new):
- * macosx/tkMacOSXPort.h (new):
- * macosx/tkMacOSXRegion.c (new):
- * macosx/tkMacOSXScale.c (new):
- * macosx/tkMacOSXScrlbr.c (new):
- * macosx/tkMacOSXSubwindows.c (new):
- * macosx/tkMacOSXTest.c (new):
- * macosx/tkMacOSXUtil.c (new):
- * macosx/tkMacOSXUtil.h (new):
- * macosx/tkMacOSXWm.c (new):
- * macosx/tkMacOSXWm.h (new):
- * macosx/tkMacOSXXStubs.c (new): macosx ports of classic mac Tk
- implementation in tk/mac.
- * macosx/tkMacOSXSend.c (new): only send to local interp
- implemented currently.
- * macosx/tkMacOSXDebug.h (new):
- * macosx/tkMacOSXDebug.c (new): new macosx specific functions for
- debugging MacOS events, regions, etc.
- * macosx/tkAboutDlg.r (new):
- * macosx/tkMacOSXApplication.r (new):
- * macosx/tkMacOSXCursors.r (new):
- * macosx/tkMacOSXLibrary.r (new):
- * macosx/tkMacOSXMenu.r (new):
- * macosx/tkMacOSXResource.r (new):
- * macosx/tkMacOSXXCursors.r (new):
- * macosx/tclets.r (new): sources for Rez resource compiler.
- * macosx/Wish.icns (new): Wish application icon.
- * generic/tk.h:
- * generic/default.h:
- * generic/tkBind.c:
- * generic/tkCmds.c:
- * generic/tkGrab.c:
- * generic/tkPointer.c:
- * generic/tkPort.h:
- * generic/tkSelect.c:
- * generic/tkStubLib.c:
- * generic/tkTest.c:
- * generic/tkText.c:
- * generic/tkWindow.c:
- * unix/tkUnix3d.c:
- * xlib/xgc.c:
- * xlib/X11/X.h:
- * xlib/X11/Xlib.h:
- * xlib/X11/Xutil.h: added #includes and #ifdefs for macosx
- * library/bgerror.tcl:
- * library/button.tcl:
- * library/console.tcl:
- * library/dialog.tcl:
- * library/entry.tcl:
- * library/listbox.tcl:
- * library/menu.tcl:
- * library/msgbox.tcl:
- * library/scrlbar.tcl:
- * library/spinbox.tcl:
- * library/text.tcl:
- * library/tk.tcl:
- * library/demos/menu.tcl:
- * library/demos/menubu.tcl:
- * library/demos/widget: check [tk windowingsystem] instead of
- and/or in addition to $tcl_platform(platform).
- * generic/tkInt.h:
- * mac/tkMacBitmap.c:
- * mac/tkMacWm.c: added missing CONSTification
- * generic/tkIntDecls.h:
- * generic/tkIntPlatDecls.h:
- * generic/tkIntXlibDecls.h:
- * generic/tkPlatDecls.h:
- * generic/tkStubInit.c: regen
- 2002-08-27 D. Richard Hipp <drh@hwaci.com>
- * doc/checkbutton.n: [Bug 582457] Fix the -offrelief option so
- * doc/radiobutton.n: that when -offrelief is flat and -relief is
- * mac/tkMacButton.c: sunken and -overrelief is raised, buttons
- * unix/tkUnixButton.c: work look toolbar buttons under Windows.
- * win/tkWinButton.c: See also: TIP #82.
- 2002-08-26 Don Porter <dgp@users.sf.net>
- * win/Makefile.in: Removed dependence on the (parts of) the
- * win/winMain.c: tcltest executable on Windows. It was not
- used, and the dependency complicated the Makefile. [Bug 592638].
- 2002-08-20 Don Porter <dgp@users.sf.net>
- * README: Bumped version number to 8.4b3 to distinguish
- * generic/tk.h: HEAD from the 8.4b2 release.
- * unix/configure.in:
- * win/configure.in:
- * unix/tk.spec:
-
- * unix/configure: autoconf
- * win/configure:
- * generic/tk.h: Added compile-time check that the tcl.h header file
- #included by Tk 8.4 is one from Tcl 8.4. This is needed to be sure
- that new #defines like CONST84 are available. [Bug 597432].
- 2002-08-16 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/Makefile.in (install-binaries): simplified pkgIndex.tcl
- file created on installation.
- * win/Makefile.in (install-binaries): corrected and simplified
- creation of pkgIndex.tcl file on installation.
- 2002-08-14 Vince Darley <vincentdarley@users.sourceforge.net>
- * win/tkWinDialog.c:
- * win/makefile.vc: broken compilation and link from changes
- Hobbs-08-07 fixed.
- * win/tkWinTest.c: CONST problem resolved.
- 2002-08-13 Jeff Hobbs <jeffh@ActiveState.com>
- * library/button.tcl: change the bindings to use Priv($w,relief)
- instead of just Priv(relief). This ensures that neighboring
- buttons don't confuse (over)relief settings.
- 2002-08-13 Reinhard Max <max@suse.de>
- * unix/tkUnixSend.c (Tk_SetAppName): Fixed a compiler warning.
- 2002-08-12 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * library/demos/image2.tcl: Tweaked the behaviour of the directory
- box on resize, as resizing of the overall window tends to be
- common given the sample images.
- 2002-08-08 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/tkUnixWm.c (WmTransientCmd): Apply fix for
- wm transient assertion error that was applied
- to tkWinWm.c for Tk Bug #592201.
- 2002-08-08 Mo DeJong <mdejong@users.sourceforge.net>
- * tests/wm.test: Add deleteWindows at start of
- new transient tests so they do not fail if the
- toplevels already exist.
- * unix/tkUnixWm.c: Revert patch for Tk Bug #592201
- which incorrectly removed numTransients member.
- 2002-08-08 Joe English <jenglish@users.sourceforge.net>
- * unix/tkUnixWm.c:
- * win/tkWinWm.c:
- * tests/wm.test: Fix for Tk Bug #592201 "wm transient fails with two
- masters"; fixes panic after a transient window is reassigned to
- new master and either master is subsequently destroyed.
- 2002-08-08 Don Porter <dgp@users.sf.net>
- * tests/unixWm.test: Corrected packaging of unixWm-50.3 so that
- [setupbg] and [cleanupbg] always balance, no matter what tests
- are skipped.
- 2002-08-08 Reinhard Max <max@suse.de>
- * unix/Makefile.in: Fixed typos in DISTNAME, and ZIPNAME.
- 2002-08-08 Jeff Hobbs <jeffh@ActiveState.com>
- *** 8.4b2 TAGGED FOR RELEASE ***
- * generic/tkButton.c (TkButtonWorldChanged): added GCFont handling
- to the disabledGc of buttons when compound != none. The drawing
- appears to be incorrect across platforms still. [Bug #477740]
- * generic/tkImgGIF.c (FileReadGIF): fixed -from handling for gifs
- [Bug #467524] (obermeier)
- 2002-08-07 Jeff Hobbs <jeffh@ActiveState.com>
- * generic/tkCanvUtil.c (TkSmoothParseProc): recognize the built-in
- bezier method by name. [Bug #578654]
- * doc/canvas.n: update to note that -smooth really doesn't take
- or return just booleans.
- * win/tkWinMenu.c (TkpSetWindowMenuBar): fixed logic bug in when
- to idle call ReconfigureWindowsMenu.
- * doc/GetBitmap.3: removed doc refs to deprecated
- Tk_GetBitmapFromData. [Bug #590379]
- * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd):
- * library/panedwindow.tcl: changed class from PanedWindow to
- Panedwindow to not conflict with existing bwidgets, but also to be
- more regular with other names used in the core.
- * tests/panedwindow.test: added -text foobar to some test buttons
- to enable correct testing of panedwindow across platforms.
- [Bug #582370]
- * win/tkWinDialog.c: enabled use of the updated native Windows
- directory browser (tk_chooseDirectory). This does require
- shell32.dll v4.71 or greater. [Patch #468139]
- * win/configure:
- * win/tcl.m4: added shell32 to libs for updated native Windows
- tk_chooseDirectory dialog.
- 2002-08-06 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tkPanedWindow.c (RESIZE_PENDING): Separated out flag for
- indicating that a resize needs to be issued.
- (PanedWindowReqProc): Do the old behaviour when the panedwindow is
- not mapped; easiest way of making the test suite pass while still
- preserving improved behaviour in the face of children whose size
- is not known immediately.
- 2002-08-06 Don Porter <dgp@users.sf.net>
- * tests/defs.tcl: removed file. No longer needed now that Tk is
- using the tcltest package to do its testing.
- 2002-08-05 Don Porter <dgp@users.sf.net>
- * win/tkWinFont.c: Additional changes to fix CONST warnings on
- * win/tkWinWM.c: Windows due to latest patch. Tks Vince Darley.
- * doc/3DBorder.3: Applied companion patch for Tcl Patch 585105,
- * doc/BindTable.3: updating Tk to use Tcl 8.4's fully CONST-ified
- * doc/ConfigWidg.3: interface, and fully CONSTifying Tk at the
- * doc/CrtImgType.3: same time.
- * doc/CrtWindow.3:
- * doc/DeleteImg.3: This patch includes purging Tk of its last
- * doc/FindPhoto.3: direct access to interp->result. [Bug 589853]
- * doc/GetAnchor.3:
- * doc/GetBitmap.3: The substantial changes include copying
- * doc/GetCapStyl.3: event sequence strings into Tcl_DStrings
- * doc/GetClrmap.3: in tkBind.c, and copying [text] indices into
- * doc/GetColor.3: Tcl_DStrings because parsing them involved
- * doc/GetCursor.3: overwriting them. If this causes performance
- * doc/GetFont.3: trouble, that can be resolved by further
- * doc/GetImage.3: converting them to Tcl_Obj's.
- * doc/GetJoinStl.3:
- * doc/GetJustify.3: The #defines USE_NON_CONST and USE_COMPAT_CONST
- * doc/GetOption.3: have the same effect for Tk as they do for Tcl.
- * doc/GetRelief.3: (They actually change tcl.h)
- * doc/GetScroll.3:
- * doc/GetVisual.3:
- * doc/InternAtom.3:
- * doc/NameOfImg.3:
- * doc/SetAppName.3:
- * doc/WindowId.3:
- * generic/tk.decls:
- * generic/tk.h:
- * generic/tk3d.c:
- * generic/tkAtom.c:
- * generic/tkBind.c:
- * generic/tkBitmap.c:
- * generic/tkButton.c:
- * generic/tkCanvArc.c:
- * generic/tkCanvBmap.c:
- * generic/tkCanvImg.c:
- * generic/tkCanvLine.c:
- * generic/tkCanvPoly.c:
- * generic/tkCanvPs.c:
- * generic/tkCanvText.c:
- * generic/tkCanvUtil.c:
- * generic/tkCanvWind.c:
- * generic/tkCanvas.c:
- * generic/tkCanvas.h:
- * generic/tkClipboard.c:
- * generic/tkCmds.c:
- * generic/tkColor.c:
- * generic/tkConfig.c:
- * generic/tkConsole.c:
- * generic/tkCursor.c:
- * generic/tkDecls.h:
- * generic/tkEntry.c:
- * generic/tkFont.c:
- * generic/tkFrame.c:
- * generic/tkGet.c:
- * generic/tkGrid.c:
- * generic/tkImage.c:
- * generic/tkImgBmap.c:
- * generic/tkImgPhoto.c:
- * generic/tkInt.decls:
- * generic/tkInt.h:
- * generic/tkIntDecls.h:
- * generic/tkIntPlatDecls.h:
- * generic/tkListbox.c:
- * generic/tkMenu.c:
- * generic/tkMenubutton.c:
- * generic/tkMessage.c:
- * generic/tkOldConfig.c:
- * generic/tkOption.c:
- * generic/tkRectOval.c:
- * generic/tkScale.c:
- * generic/tkScrollbar.c:
- * generic/tkSelect.c:
- * generic/tkStyle.c:
- * generic/tkTest.c:
- * generic/tkText.c:
- * generic/tkText.h:
- * generic/tkTextBTree.c:
- * generic/tkTextDisp.c:
- * generic/tkTextImage.c:
- * generic/tkTextIndex.c:
- * generic/tkTextMark.c:
- * generic/tkTextTag.c:
- * generic/tkTextWind.c:
- * generic/tkUtil.c:
- * generic/tkVisual.c:
- * generic/tkWindow.c:
- * mac/tkMacConfig.c:
- * mac/tkMacCursor.c:
- * mac/tkMacEmbed.c:
- * mac/tkMacSend.c:
- * unix/tkUnixConfig.c:
- * unix/tkUnixCursor.c:
- * unix/tkUnixEmbed.c:
- * unix/tkUnixFont.c:
- * unix/tkUnixSelect.c:
- * unix/tkUnixSend.c:
- * unix/tkUnixWm.c:
- * win/tkWinConfig.c:
- * win/tkWinCursor.c:
- * win/tkWinEmbed.c:
- * win/tkWinMenu.c:
- * win/tkWinSend.c:
- 2002-08-02 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tkPanedWindow.c (DestroyPanedWindow): Idle calls need to
- be deleted on destruction of the window, or things can *really* go
- pear-shaped.
- 2002-07-31 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * generic/tkPanedWindow.c (PanedWindowReqProc): Postpone pane
- arrangement until idle, as is done in other window managers, to
- fix problems with size calculations when the children don't
- already know their sizes anyway.
- * unix/configure: Regen.
- * unix/tcl.m4: Update from Tcl.
- 2002-07-29 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/configure: Regen.
- * unix/configure.in: Remove code that was setting
- CC_SEARCH_FLAGS and LD_SEARCH_FLAGS to try to
- account for cc vs ld linking. Tcl now handles this.
- * unix/tcl.m4: Update from Tcl.
- 2002-07-27 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/Makefile.in: Add MAJOR_VERSION, MINOR_VERSION,
- PATCH_LEVEL, INSTALL_LIBRARY, STUB_LIB_FILE, and LIB_FILE
- to support changes in tcl.m4 related to library builds.
- Use MAKE_LIB macro to avoid dealing with RANLIB issues.
- Rename TK_CC_SEARCH_FLAGS to CC_SEARCH_FLAGS and
- rename TK_LD_SEARCH_FLAGS to LD_SEARCH_FLAGS.
- Use new INSTALL_LIB and INSTALL_STUB_LIB substs to
- deal with ranlib issues when install libraries.
- * unix/configure: Regen.
- * unix/configure.in: Remove AC_PROG_RANLIB since
- this is done by tcl.m4 now. Define CC_SEARCH_FLAGS
- instead of TK_CC_SEARCH_FLAGS and so on.
- Use MAKE_LIB and MAKE_STUB_LIB from tcl.m4.
- Remove AC_SUBST calls that are no done in tcl.m4.
- * unix/tcl.m4: Update from Tcl.
- * unix/tkConfig.sh.in: Subst CC_SEARCH_FLAGS and
- LD_SEARCH_FLAGS.
- 2002-07-25 Peter Spjuth <peter.spjuth@space.se>
- * generic/tkInt.h:
- * generic/tkWindow.c:
- * mac/tkMacWm.c:
- * unix/tkUnixWm.c:
- * win/tkWinWm.c:
- * tests/wm.test:
- * tests/winWm.test:
- * tests/unixWm.test: Objectifed wm. [Patch #564521]
- Note: At this point the Mac file is completely untested
- and may not even compile.
- 2002-07-25 Jeff Hobbs <jeffh@ActiveState.com>
- * tests/spinbox.test: added spinbox-22.[1-3]
- * generic/tkEntry.c (ConfigureEntry): made the textvariable value
- take precedence over changed -from/-to values, unless it must be
- constrained. [Bug #559078]
- * library/spinbox.tcl (MouseSelect): when not in the entry, just
- return instead of invoking - ButtonUp handles invoking already.
- [Bug #499168]
- * library/tk.tcl (RestoreFocusGrab): handle the case where the
- FocusGrab info is not set. [Bug #553283]
- 2002-07-24 Jeff Hobbs <jeffh@ActiveState.com>
- * tests/canvas.test: added canvas-14.[1-6]
- * generic/tkCanvas.c (CanvasWidgetCmd): corrected handling of
- 'scan' subcommand args. Also removed early return cases to goto
- done instead where the canvasPtr would be Tcl_Release'd. This may
- solve other problems with unreleased canvasPtr's. [Bug #581560]
- * win/tkWinButton.c (TkpDisplayButton): corrected display of focus
- ring around the actual text when the button is a compound button.
- [Bug #583691]
- * unix/README: Corrected notes about running user interactive Tk
- tests. [Bug #462320]
- * generic/tkText.c (TextEditUndo): set isDirtyIncrement to -1 when
- reverting to note proper "dirtiness". [Bug #580362] (callewaert)
- * generic/tkEntry.c (DisplayEntry): correct cursor position before
- calling Tk_SetCaretPos. (yamamoto)
- 2002-07-23 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/configure: Regen.
- * unix/tcl.m4: Update from Tcl.
- 2002-07-22 Mo DeJong <mdejong@users.sourceforge.net>
- * library/choosedir.tcl (tk::dialog::file::chooseDir):
- * library/clrpick.tcl (tk::dialog::file::chooseDir):
- * library/msgbox.tcl (tk::MessageBox):
- * library/tkfbox.tcl (tk::dialog::file):
- * library/xmfbox.tcl (tk::MotifFDialog):
- Revert [Tk patch 568278]. The transient window workaround
- is no longer needed since the fix for [Tk bug 570764]
- solved the problem for withdrawn transients.
- 2002-07-19 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/configure:
- * unix/configure.in:
- * win/configure:
- * win/configure.in: Add AC_PREREQ(2.13) in an attempt
- to make it more clear that the configure scripts
- must be generated with autoconf version 2.13.
- [Tcl Bug 583573]
- 2002-07-19 D. Richard Hipp <drh@hwaci.com>
- * library/mkpsec.tcl: Fix a bug that was causing postscript generation
- to fail under Win2K.
- 2002-07-18 Reinhard Max <max@suse.de>
- * unix/tkUnixSend.c: Using Tcl_GetTime instead of TclpGetTime.
- 2002-07-17 Reinhard Max <max@suse.de>
- * library/unsupported.tcl: Extended ExposePrivateVariable, and
- ExposePrivateCommand to accept patterns as well.
- 2002-07-17 Don Porter <dgp@users.sf.net>
- * generic/tkFont.c: Corrected reversed logic in assert -> panic
- conversion. [Bug 582799]
- 2002-07-16 Mo DeJong <mdejong@users.sourceforge.net>
- * generic/tkFont.c (TkFontPkgFree): Call panic instead
- of assert since assert is not used in the rest of Tk.
- [Tk bug 579651]
- 2002-07-16 Mo DeJong <mdejong@users.sourceforge.net>
- * unix/Makefile.in:
- * win/Makefile.in: Add a more descriptive warning
- in the event `make genstubs` needs to be rerun.
- 2002-07-16 Vince Darley <vincentdarley@users.sourceforge.net>
- * win/tkWinWm.c:
- * doc/wm.n: fix for part of [Bug 581627], and made iconbitmap
- code on Windows more flexible about reading in icons [Bug
- 220800].
- 2002-07-15 David Gravereaux <davygrvy@pobox.com>
- * win/makefile.bc (new): re-add of the borland makefile. Submitted
- by Helmut Giese <hgiese@ratiosoft.com>. This needs testing, still.
- 2002-07-15 Don Porter <dgp@users.sf.net>
- * Fixes for [Bug 581627, 581795].
- * generic/tkTest.c: Test commands not supported on non-Unix
- platforms should not be defined there in the first place.
- * tests/constraints.tcl: Fixed "secureserver" constraint.
- * tests/unixWm.test: Some tests needed "unix" constraint.
- * win/tkWinWm.c: Typo in error message.
- 2002-07-14 Don Porter <dgp@users.sf.net>
- * tests/event.test: Fixes to enable testing of only userInteraction
- * tests/visual_bb.test: tests.
- * README: Bumped HEAD to version 8.4b2 in order to
- * generic/tk.h: distinguish it from the 8.4b1 release.
- * unix/configure*: Also extended LOCALES to cover all message
- * unix/tk.spec: catalogs.
- * win/configure*:
- * tests/focustTcl.test: Conversion bug: Corrected backwards logic.
- * tests/imgPhoto.test: Conversion bug: overwrote unix/README.
- * tests/all.tcl: Completed conversion of Tk test suite
- * tests/constraints.tcl: to use tcltest.
- * tests/[b-v]*.test:
- * unix/Makefile.in:
- 2002-07-12 Don Porter <dgp@users.sf.net>
- * tests/constraints.tcl: Converted more files to tcltest and
- * tests/[g-x]*.test: factored out common code.
- 2002-07-11 Don Porter <dgp@users.sf.net>
- * tests/canvPsImg.tcl: Converted several files in the
- * tests/constraints.tcl (new file): Tk test suite for testing by
- * tests/[r-x]*.test: tcltest 2.1.
- * unix/Makefile.in:
- 2002-07-11 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd): initialize
- utfTitle to NULL, add a few more notes about limitations of
- possible new Tk_ChooseDirectoryObjCmd function.
- 2002-07-11 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * tests/imgPhoto.test (imgPhoto-15.1): Added test of mem-alloc
- failure, but this is non-portable.
- * generic/tkImgPhoto.c (ImgPhotoSetSize): Allowed this function to
- fail when it can't allocate enough memory. Note that not all the
- places that call it can fail nicely without API changes; some
- still panic but at least some of the potential failures are now
- handled gracefully.
- * tests/visual_bb.test (lpr): Stopped this from relying on
- external files; direct piping is much more flexible for this
- application.
- 2002-07-09 Don Porter <dgp@users.sf.net>
- * generic/tkTest.c: Removed unused dependence on TclThread_Init()
- * tests/defs.tcl: and [testthread]. [Bug 578165, Tcl Bug 531413]
- 2002-07-08 David Gravereaux <davygrvy@pobox.com>
- * unix/Makefile.in: Added missing win/lamp.bmp to the dist
- target.
- 2002-07-05 Jeff Hobbs <jeffh@ActiveState.com>
- *** 8.4b1 TAGGED FOR RELEASE ***
- 2002-07-04 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * library/bgerror.tcl (bgerror): Stopped the bgerror dialog from
- getting wider than the screen; in theory really long messages
- could make it become taller than the screen now, but that's much
- less likely to happen. Also trimmed a little bit of internal
- space so that the icon-message gap is the same as the icon-frame
- and message-frame gaps.
- 2002-07-01 Don Porter <dgp@users.sf.net>
- * unix/configure:
- * unix/tcl.m4: Updated to latest tcl.m4 from Tcl.
- 2002-06-28 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * library/msgbox.tcl (MessageBox): Force all non-button widgets to
- have the same background as the containing toplevel. [Bug #552515]
- 2002-06-27 Andreas Kupries <andreas_kupries@users.sourceforge.net>
- * win/Makefile.in (install-binaries): Fix of troubled Makefile
- quoting introduced by [Patch 521356] causing the installed to
- fail.
- 2002-06-25 Don Porter <dgp@users.sf.net>
- * unix/tkUnixFont.c: (Tk_DrawChars) silence compiler warning.
- 2002-06-26 David Gravereaux <davygrvy@pobox.com>
- * generic/tkStyle.c: <eol> of the committing cvs client didn't
- match the <eol> of the file itself. Windows users where getting
- rrn. Problem fixed.
- 2002-06-26 Anton Kovalenko <a_kovalenko@users.sourceforge.net>
- * generic/tkFont.c (TkTextLayoutToPostscript): fixed potential
- buffer overflow which could be intentionally triggered from
- within safe interpreter -- malicious applet could modify
- tk::psglyphs array.
- 2002-06-26 Anton Kovalenko <a_kovalenko@users.sourceforge.net>
- * tests/font.test (font-32.1): updated this test
- to expect the new behavior of canvas postscript.
- 2002-06-25 Don Porter <dgp@users.sf.net>
- * unix/Makefile.in: Expanded install-binaries target to create
- * win/Makefile.in: and install a pkgIndex.tcl file to enable
- Tk as a loadable package [Patch 521356]
- 2002-06-25 Anton Kovalenko <a_kovalenko@users.sourceforge.net>
- * library/mkpsenc.tcl: (added) utilities to generate
- Postscript prolog for current system encoding.
- * generic/tkCanvPs.c (TkCanvPostscriptCmd): now
- uses mkpsenc.tcl to generate Postscript prolog.
- * generic/tkFont.c (TkTextLayoutToPostscript): modified
- according to patch #546910. Now outputs system-encoded
- characters (for unibyte) or Adobe glyph names (for
- multibyte or outside-locale).
- * tests/canvText.test (canvText-17.1): updated this test
- to expect the new behavior of canvas postscript.
- 2002-06-25 Reinhard Max <max@suse.de>
- * unix/tcl.m4: New macro SC_CONFIG_MANPAGES.
- * unix/configure.in: Added support for symlinks and compression
- * unix/Makefile.in: when installing the manpages. [Patch 518052]
- Default is still hardlinks and no compression.
- * unix/mkLinks: generated
- * unix/configure:
- * unix/README: Added documentation for the new features.
- * unix/configure: Replaced ${exec_prefix}/lib
- * unix/tcl.m4 (SC_PATH_TCLCONFIG): by ${libdir}.
- 2002-06-24 Mo DeJong <mdejong@users.sourceforge.net>
- * tests/winWm.test: Verify that both an unmapped
- and already mapped toplevel are raised and receive
- the focus when deiconified.
- * tests/wm.test: Add wm deiconify tests. Check that
- a toplevel that has never been mapped is not mapped
- by the deiconify command since it should be done
- at idle by MapFrame.
- * win/tkWinWm.c (Tk_WmCmd): Check the WM_NEVER_MAPPED
- flag while processing the wm deiconify command.
- The WM_UPDATE_PENDING flag should never be set when
- WM_NEVER_MAPPED is set, but double check so that
- the implementation is more explicit and matches
- the comment just above.
- Return without invoking TkWmRestackToplevel or
- TkSetFocusWin on a toplevel that has never been
- mapped. This fixes a bug where a toplevel is mapped
- with the wrong size and is then resized by the
- idle call to MapFrame. [Tk bug 233150]
- 2002-06-23 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinWm.c (UpdateGeometryInfo): remove the check for a null
- wrapper introduced in r1.41 on 2002-06-15 because it prevented
- geometry setting from taking effect if the window was not on the
- screen. Another check may go in it's place as IsIconic and
- IsZoomed should not be passed NULL.
- 2002-06-22 Mo DeJong <mdejong@users.sourceforge.net>
- * tests/wm.test: Remove invalid minsize test. Add update
- calls to wm transient tests so that idle handlers get
- run. This is needed to get the tests to pass under Win32.
- * unix/tkUnixWm.c (WmWaitMapProc): Move the special
- transient withdrawn check into the if body to
- make it easier to set a breakpoint on this test
- inside a debugger. No functional changes.
- * win/tkWinWm.c (WmWaitVisibilityOrMapProc): Ditto.
- 2002-06-22 Jeff Hobbs <jeffh@ActiveState.com>
- * doc/wm.n: TIP #95 Windows implementation and
- * mac/tkMacWm.c (Tk_WmCmd): docs with mac and unix stubs.
- * unix/tkUnixWm.c (Tk_WmCmd):
- * win/tkWinWm.c (Tk_WmCmd):
- * tests/unixWm.test:
- * tests/winWm.test: more wm attr tests will be needed.
- * generic/tkGrid.c (GridReqProc): check that gridPtr is not NULL
- (may be when embedded). [Bug #548791] (halliday)
- * generic/tkFont.c (TkFontPkgFree): changed panic on freeing fonts
- to an assert, and wrapped panic in #ifdef PURIFY. [Bug #568701]
- * library/menu.tcl: corrected menus from being posted offscreen
- on Windows. [Bug #464451] (darley)
- * library/console.tcl: corrected the defaultPrompt substitution
- [Bug #553207] and made Tab a default expansion key (like Escape).
- * win/tkWinEmbed.c (EmbedWindowDeleted): added a check for a null
- containerPtr. The core of this bug is likely elsewhere. [Bug #476176]
- * doc/text.n: TIP #93 implementation that
- * generic/tkText.c (TextWidgetCmd): enhances the text get and
- * generic/tkTextIndex.c (TkTextGetIndex): delete methods to accept
- * tests/text.test: multiple range pairs.
- This handles the delete case in an atomic, fixed-index fashion.
- 2002-06-21 Mo DeJong <mdejong@users.sourceforge.net>
- * tests/wm.test: Add tests to make sure a withdrawn
- transient does not get remapped by state changes
- in the master.
- * unix/tkUnixWm.c (Tk_WmCmd, WmWaitMapProc):
- * win/tkWinWm.c (Tk_WmCmd, WmWaitVisibilityOrMapProc):
- Add a WM_TRANSIENT_WITHDRAWN flag that gets set by the
- withdraw, deiconify, or state wm subcommands. Check
- this flag before mapping a transient when processing
- a MapNotify event. [Tk bug 570764]
- 2002-06-21 Donal K. Fellows <fellowsd@cs.man.ac.uk>
- * unix/tk.spec (version), README, win/configure.in, unix/configure.in:
- * generic/tk.h (TK_RELEASE_*, TK_PATCH_LEVEL): Bumped to beta1.
- 2002-06-21 Jeff Hobbs <jeffh@ActiveState.com>
- * doc/text.n: TIP #104 implementation which generalizes the
- * generic/tkText.c: undo/redo stack to not be tied solely to the
- * generic/tkText.h: text widget. The APIs are still private.
- * generic/tkUndo.c: This also adds a stack limiting ability and
- * generic/tkUndo.h: a -maxundo option to the text widget (in
- * library/text.tcl: addition to the options from TIP #26) should
- * mac/tkMacDefault.h: users want to limit the undo/redo stack
- * tests/text.test: (should not be necessary in most cases).
- * unix/Makefile.in: [Patch #554763] (callewart)
- * unix/tkUnixDefault.h:
- * win/Makefile.in:
- * win/makefile.vc:
- * win/tkWinDefault.h:
- 2002-06-21 Don Porter <dgp@users.sf.net>
- * unix/Makefile.in: Removed unnecessary dependence of tktest
- * unix/tkAppInit.c: executable on the tcltest executable on
- Unix. If there are similar dependencies on other platforms, they
- can probably be removed as well. [Bug 572134].
- 2002-06-20 Jeff Hobbs <jeffh@ActiveState.com>
- * doc/listbox.n:
- * generic/tkListbox.c (DisplayListbox):
- * mac/tkMacDefault.h: TIP #94 implementation adding -activestyle
- * tests/listbox.test: option to the listbox. This adds the ability