| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
MouseWheel [Bug 1118340]
|
|
|
|
| |
determining icon ref (potential crash). [Bug 1105738]
|
|
|
|
| |
This caused crash in reinit of Tk (as seen in plugin).
|
|
|
|
|
|
| |
-Gs (included in -O2) and -GD (outdated). Use "link -lib" instead
of "lib" binary and remove -YX for MSVC7 portability. Add
-fomit-frame-pointer for gcc OPT compiles. [Bug 1092952, 1091967]
|
| |
|
|
|
|
|
|
| |
subcommand.
* win/tkWinWm.c (WmAttributesCmd): Fixup broken
option processing logic for attributes subcommand.
|
| |
|
|
|
|
|
| |
Back port HAVE_NO_SEH handler code from CVS HEAD to fix
gcc build breakage caused by 2004-10-26 back port.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkMenu.c: dating from 2003-12-21
* generic/tkUtil.c:
* generic/tkWindow.c:
* mac/tkMacButton.c:
* unix/tkUnixEvent.c:
* win/tkWin32Dll.c:
* win/tkWinEmbed.c:
* win/tkWinMenu.c:
* win/tkWinX.c:
|
|
|
|
|
| |
* win/rules.vc: changes on the HEAD.
* win/nmakehlp.c:
|
|
|
|
|
| |
SetWindowPos when maintaining win Z order, to prevent parent
from flashing (adjusting Z order).
|
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
defines so that compiling with mingw works again.
|
|
|
|
|
| |
settings prior to window mapping and resort to more forceful
wrapper update again for -toolwindow (to remove it from taskbar).
|
|
|
|
|
| |
(WmAttributesCmd): don't call UpdateWrapper for -disabled or
-toolwindow attr changes.
|
|
|
|
| |
and round the value.
|
|
|
|
|
| |
* win/tkWinInt.h: alpha transparency on Win2K/XP+.
* win/tkWinWm.c: TIP #222 [Patch 892194]
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
| |
size for both icons ('?:' order of precedence mistake).
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
clicking outside the grab window hierarchy. [Bug 220908]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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)
|
|
|
|
|
| |
double clicks in file dialogs falling through to the window
underneath in win32. [Patch #611615]
|
|
|
|
|
| |
* win/tkWinInt.h: the -parent window for
* win/tkWinWm.c (TkWinGetIcon): the MessageBox.
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* unix/configure, unix/configure.in, unix/tk.spec: patchlevel 8.4.7
* win/configure, win/configure.in:
|
| |
|
| |
|
|
|
|
|
| |
that the lastSubFontPtr remains valid even when the subfont array
is reallocated. [Bug #618872] (dkf, hobbs)
|
|
|
|
|
| |
images of compound menu entries in indicator space if not a radio
of checkbutton. [Bug #756952] (eserte)
|
|
|
|
|
| |
* win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl)
* win/tkWinMenu.c (ReconfigureWindowsMenu):
|
|
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
|
|
| |
font handling. [Patch 852669] [Bug 478568]
* tests/textDisp.test: added test for the font measurement
problem.
|
| |
|
|
|
|
|
| |
for -initialdir if we have a UNC path because BFFM_SETSELECTION
doesn't support UNC paths in strings.
|
| |
|
|
|
|
|
| |
DllMain() and 2) needs a MinGW custom assembly implimentation as
it doesn't understand SEH syntax.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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, this avoid the possibility of not being
able to exit. 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.
|
|
|
|
|
|
|
|
|
| |
* unix/configure.in: CVS snapshots from the 8.4.5 release.
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf (2.13)
* win/configure:
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h: CVS snapshots from the 8.4.5 release.
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* macosx/Wish.pbproj/project.pbxproj:
* unix/configure: autoconf (2.13)
* win/configure:
|
|
|
|
| |
with that generated by Makefile.
|
| |
|
|
|
|
|
| |
XGCValues.function parameter when filling rectangles.
[Bug #820278] [Patch #820282]
|
|
|
|
|
|
| |
* 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]
|
|
|
|
|
| |
XGetImage code to correctly handle 16bpp requests. This appears
to never have worked correctly.
|
| |
|