summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * tests/safe.test (safe-1.3): Made test less sensitve to thedgp2004-10-261-0/+10
| | | | | | | | | full set of existing aliases in an interp, so the it only tests whether the tested ones are present. * unix/Makefile.in: Copied LD_LIBRARY_PATH machinery from `make shell` target to other similar targets so that just built libraries are tested, rather than previous installations.
* * generic/tkEvent.c (Tk_HandleEvent): Call XSetICFocus wheneverrmax2004-10-261-0/+6
| | | | | the window receives focus. This fixes bug #905830 but avoids #1000051.
* Correlate fix with bug numberdkf2004-10-261-2/+2
|
* * win/tkWinWm.c (UpdateWrapper): pass SWP_NOOWNERZORDER tohobbs2004-10-211-0/+6
| | | | | SetWindowPos when maintaining win Z order, to prevent parent from flashing (adjusting Z order).
* Backport of 8.5 wm iconphoto that added support for Tk photohobbs2004-10-051-0/+9
| | | | | | | | * 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]
* * generic/tkCursor.c: Add missing initialization in debug routine.dgp2004-09-241-0/+4
|
* * win/tkWinInt.h (TkWinDisplayChanged): added declhobbs2004-09-231-0/+9
| | | | | | | | * 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]
* * generic/tkInt.decls: Add decl for TkWinGetPlatformTheme.mdejong2004-09-231-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] * 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. * 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] * 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. * 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. * 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.
* * win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHAmdejong2004-09-231-0/+5
| | | | defines so that compiling with mingw works again.
* * win/tkWinWm.c (UpdateWrapper, WmAttributesCmd): handle attributehobbs2004-09-211-0/+6
| | | | | settings prior to window mapping and resort to more forceful wrapper update again for -toolwindow (to remove it from taskbar).
* (UpdateWrapper): don't adjust Z order of TOPMOST window.hobbs2004-09-181-0/+3
| | | | | (WmAttributesCmd): don't call UpdateWrapper for -disabled or -toolwindow attr changes.
* * win/tkWinWm.c (WmAttributesCmd): correct -alpha 0.0/1.0 settinghobbs2004-09-181-0/+5
| | | | and round the value.
* * macosx/README: typosdas2004-09-181-0/+6
| | | | | * macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext): performance improvements: removed slow & unnecessary calls.
* * tests/winWm.test: Add 'wm attributes -alpha' to control toplevelhobbs2004-09-171-0/+4
| | | | | * win/tkWinInt.h: alpha transparency on Win2K/XP+. * win/tkWinWm.c: TIP #222 [Patch 892194]
* * win/tkWinWm.c (UpdateWrapper): Ensure that we maintain Z orderhobbs2004-09-171-0/+8
| | | | | | | * 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)
* * generic/tkMenu.c (MenuWorldChanged): ensure that we recomputehobbs2004-09-161-0/+6
| | | | | the menu geometry on WorldChanged to handle font size changes. [Bug 607649]
* Fixed a memory leak when a placed widget was forgotten. [Bug 1028888]pspjuth2004-09-161-0/+6
|
* * win/tkWinWm.c (ReadIconFromFile): fix mem alloc to get the righthobbs2004-09-131-0/+5
| | | | size for both icons ('?:' order of precedence mistake).
* More state resetting on dialog start. [Bug 845189]dkf2004-09-101-0/+3
|
* (UpdateWrapper): update to Kovalenko to account for whether thehobbs2004-09-101-0/+4
| | | | | | 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.
* Stop tk_strictMotif poisoning of the widget demo [Bug 1013942]dkf2004-09-101-0/+5
|
* * win/tkWinWm.c (ActivateWindow): SetFocus to grab window whenhobbs2004-09-101-0/+5
| | | | clicking outside the grab window hierarchy. [Bug 220908]
* * win/tkWinWm.c: backport of several items from 8.5 head:hobbs2004-09-101-0/+15
| | | | | | | | | | | | | | (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)
* * library/tkfbox.tcl (::tk::dialog::file::Create): use labelhobbs2004-09-061-0/+6
| | | | | instead of button for "File of type", as it properly handles -state disabled now.
* * library/text.tcl (::tk::TextTranspose): Ensure that Transpose ishobbs2004-08-261-0/+5
| | | | an atomic op to undo. Replace 'string compare' with 'ne'.
* * win/tkWinDialog.c (EatSpuriousMessageBugFix): Fix a problem withhobbs2004-08-201-0/+4
| | | | | double clicks in file dialogs falling through to the window underneath in win32. [Patch #611615]
* * win/tkWinDialog.c (Tk_MessageBoxObjCmd): Inherit the icon fromhobbs2004-08-201-0/+6
| | | | | * win/tkWinInt.h: the -parent window for * win/tkWinWm.c (TkWinGetIcon): the MessageBox.
* Add missing GEOMETRY flag to -handlepad option. [Bug 1010938]dkf2004-08-181-0/+5
|
* Fix for #1006686 "wm resizable command not working on Solaris/CDE"jenglish2004-08-101-0/+5
| | | | (patch from Colin McDonald).
* * tests/canvText.test:mdejong2004-08-091-0/+10
| | | | | | | | | * 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 100628
* Backport of yesterday's compositing fixesdkf2004-08-051-0/+9
|
* * unix/configure:das2004-07-301-0/+6
| | | | | * 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.
* date typocore_8_4_7dgp2004-07-291-1/+1
|
* Re-tag for core-8-4-7dgp2004-07-291-2/+2
|
* * changes:dgp2004-07-291-0/+7
| | | | | | * 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.
* * generic/tkImgGIF.c (FileReadGIF): fix crash reported by Reinhard Max:das2004-07-271-0/+4
| | | | | 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 specificdas2004-07-271-1/+11
| | | | | | | | | 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.
* changes for 8.4.7hobbs2004-07-261-7/+13
|
* Change the default menu -tearoff value to 0 until we actually get tearoffwolfsuit2004-07-251-0/+4
| | | | menus working again.
* Finish the implementation of the CG version of the X Drawing layer.wolfsuit2004-07-251-0/+35
| | | | | Add support for returning values for the wm attributes commands, and use FSRef's rather than FSSpec's.
* [Merge from HEAD]cc_benny2004-07-231-0/+14
| | | | | | | | | | | | Mac OS X: Fix several problems with Icelandic (and Faroese) keyboards reported by Jérôme 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.
* * library/tkfbox.tcl (::tk::dialog::file::Update): use -directoryhobbs2004-07-221-0/+6
| | | | | [pwd] (instead of .) to get around some VFS edge case bugs. Use [bind $w], not [$w configure] to modify bindings.
* Don't queue events for unmapped children.wolfsuit2004-07-211-0/+5
|
* * generic/tkEvent.c (Tk_HandleEvent): ensure IC focus is set afterhobbs2004-07-211-0/+5
| | | | creation. [Bug #905830]
* * unix/tcl.m4: fixed Darwin autoconf breakage caused bydas2004-07-201-0/+4
| | | | | recent CFLAGS reordering. * unix/configure: regen
* * macosx/Makefile: added support to tk framework build todas2004-07-201-3/+3
| | | | | | | | | | | | | 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.
* * macosx/Makefile: added support to tk framework build todas2004-07-201-0/+14
| | | | | | | | | | | | | 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.
* * unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after theirhobbs2004-07-191-0/+13
| | | | | | | | | | | | * 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>wolfsuit2004-07-151-0/+8
| | | | | | | | * 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]
* * generic/tkUndo.c (TkUndoSetDepth): correct -maxundohobbs2004-07-141-0/+3
| | | | segfault. [Bug #969358] (jiangwu)