| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
in degenerate (and common) cases. [Bug 1081966]
|
| |
|
|
|
|
|
|
| |
Tk_RedrawImage to display only portion that is valid.
* generic/tkImgPhoto.c (ImgPhotoDisplay): add X error suppression
around XGetImage to prevent app abort. [Bug 979239]
|
| |
|
|
|
|
| |
immediately when state hidden is requested. [Bug 982248]
|
|
|
|
| |
of canvas image item without image specified. [Bug 1032300]
|
|
|
|
| |
attr to prevent expose events when moving sash. [Bug 1036963]
|
|
|
|
| |
-displayof arg is passed to [tk scaling]. [Bug 800178]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXAppInit.c (removed):
* macosx/Wish.pbproj/project.pbxproj:
* macosx/tkMacOSXInit.c:
* macosx/tkMacOSXInt.h: changes to make TkAqua dynamically loadable,
enabling [package require Tk] from tclsh. Startup code from
tkMacOSXAppInit.c moved into tkMacOSXInit.c, added code that
notifies the window server that an unbundled executable is a full
GUI application after loading Tk. [Patch 1035348]
* doc/wm.n: documented [wm attributes] on Mac OS X. [Bug 606665]
* macosx/tkMacOSXWm.c: implemented TIP 222 [wm attributes -alpha] on
Mac OS X. [Patch 892194]
WmIconbitmapCmd: adopted FSRef changes from [wm atttrs -titlepath].
* macosx/tkMacOSXButton.c:
* macosx/tkMacOSXMenus.c:
* macosx/tkMacOSXRegion.c:
* macosx/tkMacOSXSubwindows.c: synced spacing/formatting with HEAD.
* macosx/tkMacOSXMouseEvent.c: endianness fixes.
* macosx/Wish.pbproj/project.pbxproj: corrected path to html help
inside framework.
* macosx/Makefile: prevent parallel make from building several
targets at the same time.
Ensure that xcodebuild will use Wish.pbproj project even if a .xcode
project is also present.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
|
|
|
|
| |
* generic/tkIntPlatDecls.h: changed so it matches the Tcl_ExitProc
typedef to avoid a bad-style cast.
|
|
|
|
|
| |
the window receives focus. This fixes bug #905830 but avoids
#1000051.
|
|
|
|
|
|
|
|
| |
* 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]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
the menu geometry on WorldChanged to handle font size
changes. [Bug 607649]
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
in case of premature end of image data, return error instead of
passing nil buffer to Tk_PhotoPutBlock().
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
creation. [Bug #905830]
|
|
|
|
| |
segfault. [Bug #969358] (jiangwu)
|
| |
|
|
|
|
| |
'winfo id' as it can change when making the window exist.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
| |
|
|
|
|
|
| |
crach due to incorrectly generate <Destroy> event. This bug was
reported in comp.lang.tcl but not logged.
|
|
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
|
| |
* generic/tkPanedWindow.c (Unlink): clean up -before/-after refs
to a slave when removing it. [Bug #928413] (griffin)
|
| |
|
|
|
|
|
|
| |
ByteArray and -format into String to correctly handle them if they
have been shimmered or created as some other object type.
(ImgPhotoCmd): correctly init matched to 0.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
| |
a shrinking grid. [Bug 899246]
|
|
|
|
| |
with [xy] when they haven't been otherwise set.
|
|
|
|
|
|
| |
X. It also changes the model to route scrollwheel events to the window under
the pointer, not the focus window on X (and only on X). That is the correct
behavior for Mac OS X.
|
|
|
|
|
|
|
| |
In tk_getOpenFile filters, handle the case where you have a Macintosh
file type and the files have no filetype.
Fix various formatting nits.
|
| |
|
| |
|
|
|
|
|
|
| |
to installed Tk.framework, so that tkInt.h can be included
sucessfully from Tk.framework/PrivateHeaders.
* generic/tkPort.h: corrected include of tkMacOSXPort.h
|
|
|
|
|
|
|
|
|
| |
* 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:
|
|
|
|
| |
while interp is being destroyed.
|