| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
always deallocated on function exit to stop a potential memory leak.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h:
* macosx/Wish.pbproj/project.pbxproj:
* unix/configure:
* unix/configure.in:
* unix/tcl.m4:
* unix/tk.spec:
* win/configure:
* win/configure.in:
|
| |
|
| |
|
| |
|
|
|
|
| |
\u001a in a script file. [Bug 685505]
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* macosx/tkMacOSXCursor.c (TkMacOSXInstallCursor): Set all theme
cursors using SetThemeCursor or SetAnimatedThemeCursors.
(TkGetCursorByName): Use the theme cursors for arrow, ibeam, etc.
|
|
|
|
|
| |
* macosx/tkMacOSXWm.c (Tk_SetGrid): Fix precedence problem with
* mac/tkMacWm.c (Tk_SetGrid): '==' and '|'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
| |
|
|
|
|
|
| |
Reworked windowObj type.
Fixes Tk Bug #671330 "segfault when e.g. deiconifying destroyed window"
|
|
|
|
|
| |
left to right, not right to left, even if the mouse button is being
held down. [Bug #673687].
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
* generic/tkFrame.c (TkToplevelWindowForCommand): Added way of
mapping from command names to tkwins-for-toplevels.
* tests/image.test (image-1.10,image-1.11): Updated to match new
error message and added test for the rename case.
* generic/tclInt.decls: Made TkToplevelWindowForCommand exported
privately.
|
|
|
|
|
| |
image table correctly when there are no more instances. This
reopens bug 220891. [Bug #669759]
|
|
|
|
| |
::safe::interpCreate or ::safe::interpInit. [Bug #669159]
|
|
|
|
| |
extended use of -to.
|
| |
|
|
|
|
|
| |
Tk extensions that attempt to print a canvas in a windows GDI printer
will still work.
|
|
|
|
|
| |
Fix for #666346 "Selection handling crashes under KDE 3.0"
* tests/unixSelect.test (unixSelect-1.20): Added test case.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
(Fixes: #664780 "SGI warning: OpenIM")
|
| |
|
|
|
|
|
| |
so that coordinates do not overflow the 16-bit limit imposed by X11 and Win32.
Bug #663981.
|
|
|
|
|
|
| |
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]
|
| |
|
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
|
|
|
| |
to store the startup script, if any. [Bug 616245].
|
|
|
|
| |
tktest.exe [Bug 651396]
|
|
|
|
|
| |
a var is traced to prevent double-traces caused by configuring the
widget in traces with validation on. (dejong)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
Force focus to widget in _keypress method to
avoid problems with window managers that
use focus follows mouse. [Bug 526209]
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
| |
* generic/tkTextDisp.c (TkTextSeeCmd): handle see for unmapped
text displays. [Bug #641778]
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
particular) to the dist target.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DeleteWindowsExitProc): Add TkHalfdeadWindow
type and halfdeadWindowList to keep track
of windows that were only partially deallocated
before a call to exit. Finnish 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]
|
|
|
|
| |
removal of libtkstub before Wish was built.
|
|
|
|
| |
removal of libtkstub before Wish was built.
|
|
|
|
|
| |
to account for raise/lower changes in TIP 107. This allows
the test case to pass under Window Maker on Linux.
|