| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
FossilOrigin-Name: e7868b44c1e7bffc63a053b87a96a4499757f80d
|
|
|
|
|
|
|
|
|
| |
* win/tkWinX.c: and simplify WNDCLASS to one style.
* win/tkWinWm.c: Reduce wrapper update for exStyle to toolwindow
change only and set WS_EX_LAYERED as sticky (once set on a window,
do not remove it) to reduce alpha transition flicker.
FossilOrigin-Name: 099e9edbefe11fbc7080674736728b06eac58f38
|
|
|
| |
FossilOrigin-Name: 07047209ee3fabf64df75844ccc749416e247cd7
|
|
|
|
|
|
| |
* win/tkWinX.c: virtual keyboard apps). [Bug 1518677] (petasis)
FossilOrigin-Name: 40f945bb376e7be11de2288736eeda94c139188e
|
|
|
|
|
|
| |
correctly. [Bug 1374119] (pajas)
FossilOrigin-Name: b80a6e443852fa4d2d3e7f8f6364e31c63e0f5d5
|
|
|
| |
FossilOrigin-Name: 36165453405bcc416b1b70c6014274fb196f9fa4
|
|
|
| |
FossilOrigin-Name: f8a43d444dc8cc1020bb20c36a5b0351a73360ec
|
|
|
| |
FossilOrigin-Name: 1be88f1039a57d37b1f4567340d02ca39ddb3575
|
|
|
| |
FossilOrigin-Name: 9e412edfa3abeea203ef902a09b34d2b15231d9f
|
|
|
|
|
|
|
|
|
| |
to fix compiler error because SendInput was not defined.
The new msys_mingw7 release is now needed to compile
the HEAD with mingw gcc.
[Bug 1210712]
FossilOrigin-Name: 2e9585f5fd7884eca7fe3b189fd187ce4a066765
|
|
|
|
|
|
| |
compiler warning.
FossilOrigin-Name: 7310dadc38a714790de7ccf033863cb22be2f42b
|
|
|
| |
FossilOrigin-Name: dd7b27e6aca077c61df27921426314b12be322d4
|
|
|
| |
FossilOrigin-Name: 7b64f2747688a171f8e5f57ddbfbd8ab2d11c4a6
|
|
|
|
|
|
| |
MouseWheel [Bug 1118340]
FossilOrigin-Name: 01b5ef3f812f49bde11a587483d0e7255d537440
|
|
|
| |
FossilOrigin-Name: 35f9eb751643844df42fe6793b29dbfeb6dcc534
|
|
|
|
|
| |
modified TkpUseWindow to allow to attach to a legacy container with a warning; modified some return values of messages from an embedded window to differentiate a case of unprocessed
FossilOrigin-Name: 55603179a060bdd6adada57100cf614fdf1b45f6
|
|
|
| |
FossilOrigin-Name: 415d97e1667e3fffa32d3c5f2c75a7569945846d
|
|
|
| |
FossilOrigin-Name: 5707cebc0ef3a174da3859a4409230f1baf88569
|
|
|
|
|
| |
upper left x and y of an embedded toplevel
FossilOrigin-Name: e9c726fdc30551803d485ca048e4a26f7869cb4e
|
|
|
|
|
| |
TK_ICONIFY, TK_DEICONIFY, TK_WITHDRAW; replaced TK_TITLE with TK_GETFRAMEWID for setting container's title across process boundary; bug fix in wm overrideredirect for TK_EMBEDDED window
FossilOrigin-Name: a3a3ca2ad336403d2ddd9c3d9aea9ebc8776ce67
|
|
|
| |
FossilOrigin-Name: d4c1bde89541c5bc1cca5234df95910c824c8bb0
|
|
|
| |
FossilOrigin-Name: 78709bf0d3a7db285d143374756af937cd31cafa
|
|
|
|
|
|
|
|
|
| |
* generic/tkInt.decls: changed so it matches the Tcl_ExitProc
* generic/tkIntPlatDecls.h: typedef to avoid a bad-style cast.
* win/makefile.vc: Force TCL_LIBRARY envar when calling tclsh
FossilOrigin-Name: f5ccb7aa3744f1aaab32f82450534022ba3ea0f6
|
|
|
|
|
|
| |
uses the Reg* functions (req'd for nmake build system).
FossilOrigin-Name: 07e29b8e2b24745f598db239cfff424bbdf81d4d
|
|
|
|
|
|
|
|
|
|
| |
* 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]
FossilOrigin-Name: 0eb7a8a6ca8d433636d52e87b055af3095eab74f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
FossilOrigin-Name: 24901585f19675a68752a05ee56e4260a55251b5
|
|
|
| |
FossilOrigin-Name: b8333852a20efb533a46767d394b87990010546f
|
|
|
|
|
|
|
| |
* win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl)
* win/tkWinMenu.c (ReconfigureWindowsMenu):
FossilOrigin-Name: 2a201db47c176e0a087b64b533ba551277ffa592
|
|
|
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXXStubs.c: to being implemented in a platform
* unix/tkUnixEvent.c: specific manner. The cleanup order was
* win/tkWinX.c: bad at least on Windows, where we
reset/cleared display info that was still needed for the clipboard
to render. [Bug #939389, #822002, #732662]
FossilOrigin-Name: 6efb4b35bcd2c37f4d5f64c4c1a278b912cedc50
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkBind.c: to 'Tcl_Panic' (the function). The #define
* generic/tkBitmap.c: of panic in tcl.h clearly states it is
* generic/tkCanvArc.c: deprecated in the comments.
* generic/tkCanvBmap.c: [Tcl Patch 865264]
* generic/tkCanvImg.c:
* generic/tkCanvLine.c:
* generic/tkCanvPoly.c:
* generic/tkCanvText.c:
* generic/tkCanvWind.c:
* generic/tkColor.c:
* generic/tkConfig.c:
* generic/tkCursor.c:
* generic/tkError.c:
* generic/tkEvent.c:
* generic/tkFocus.c:
* generic/tkFont.c:
* generic/tkFrame.c:
* generic/tkGC.c:
* generic/tkGrid.c:
* generic/tkImgBmap.c:
* generic/tkImgPhoto.c:
* generic/tkImgUtil.c:
* generic/tkMenu.c:
* generic/tkObj.c:
* generic/tkPack.c:
* generic/tkPlace.c:
* generic/tkRectOval.c:
* generic/tkSelect.c:
* generic/tkText.c:
* generic/tkTextBTree.c:
* generic/tkTextDisp.c:
* generic/tkTextImage.c:
* generic/tkTextIndex.c:
* generic/tkTextMark.c:
* generic/tkTextWind.c:
* generic/tkVisual.c:
* generic/tkWindow.c:
* mac/tkMacAppInit.c:
* mac/tkMacAppearanceStubs.c:
* mac/tkMacButton.c:
* mac/tkMacDraw.c:
* mac/tkMacEmbed.c:
* mac/tkMacFont.c:
* mac/tkMacInit.c:
* mac/tkMacMenus.c:
* mac/tkMacPort.h:
* mac/tkMacSubwindows.c:
* mac/tkMacWm.c:
* mac/tkMacXStubs.c:
* macosx/tkMacOSXEmbed.c:
* macosx/tkMacOSXFont.c:
* macosx/tkMacOSXMenus.c:
* macosx/tkMacOSXNotify.c:
* macosx/tkMacOSXPort.h:
* macosx/tkMacOSXSubwindows.c:
* macosx/tkMacOSXWm.c:
* macosx/tkMacOSXXStubs.c:
* unix/tkUnix3d.c:
* unix/tkUnixColor.c:
* unix/tkUnixEmbed.c:
* unix/tkUnixEvent.c:
* unix/tkUnixFocus.c:
* unix/tkUnixFont.c:
* unix/tkUnixSelect.c:
* unix/tkUnixSend.c:
* unix/tkUnixWm.c:
* win/tkWin3d.c:
* win/tkWinButton.c:
* win/tkWinColor.c:
* win/tkWinDialog.c:
* win/tkWinDraw.c:
* win/tkWinEmbed.c:
* win/tkWinFont.c:
* win/tkWinPixmap.c:
* win/tkWinPointer.c:
* win/tkWinScrlbr.c:
* win/tkWinWm.c:
* win/tkWinX.c:
FossilOrigin-Name: a08e5aacfc9f6c5a344c2d05454773dac90710c2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkInt.h: TkDeleteExitHandler, and TkFinalize. This adds
* generic/tkMenu.c: an insertion point so Tk's exit handlers can be
* generic/tkWindow.c: called on their own from tk85.dll's DllMain
* mac/tkMacButton.c: for DLL_PROCESS_DETACH. These are private to
* unix/tkUnixEvent.c: the binary and not exported. It is possible
* win/tkWin32Dll.c: the Windows OS can unload Tk _prior_ to Tcl
* win/tkWinEmbed.c: under some conditions such as ExitProcess().
* win/tkWinMenu.c: This avoids a dangling pointer problem when Tcl
* win/tkWinX.c: does Tcl_Finalize after Tk has been unloaded.
* win/winMain.c: DllMain's DLL_PROCESS_DETACH now protected with
SEH as DeleteWindowsExitProc is causing an
exception of its own under some teardown
conditions. AT&T assembly syntax has not been
added for MinGW yet. [Tcl Patch 858493]
FossilOrigin-Name: e12249878fe2fa70e532f6629a899a96c165e3e3
|
|
|
|
|
|
|
|
| |
given IE 3.0+ is installed. As tkWinX.c does set #define _WIN32_IE 0x0300,
I guess we can accept IE3 as the lowest denominator and use version 4.71
features of Comctl32.dll
FossilOrigin-Name: a30fcbda31e62cd3f4f409f10e4711178f363f63
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
FossilOrigin-Name: 07dfcd13bcbf8c38b20c8e156f51d25ace1d615d
|
|
|
|
|
|
|
|
| |
* 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.
FossilOrigin-Name: f4d362d9f2b0cfab700ab4f1b951f2a665b86318
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Handle case where Tk_DestroyWindow is invoked
on clipboard and send windows.
* generic/tkClipboard.c (TkClipCleanup):
Invoke Tk_DestroyWindow to cleanup the
dispPtr->clipWindow. Call Tcl_Preserve
and Tcl_Release on the window to avoid an
invalid memory ref on shutdown.
* generic/tkEvent.c (Tk_HandleEvent):
Panic if XCreateIC is invoked twice for
the same window. This should never happen,
the check were just added to make sure it
does not since this could lead to crashes
in XCloseIM.
* generic/tkFocus.c (TkFocusDeadWindow):
Handle case where Tk_DestroyWindow is invoked
on clipboard and send windows.
* generic/tkOption.c (TkOptionDeadWindow): Ditto.
* generic/tkWindow.c (TkCloseDisplay): Move
deletion of dispPtr->winTable after TkpCloseDisplay
call since Tk_DestroyWindow uses it and could
be called by TkpCloseDisplay for clipboard/send windows.
Also invoke ckfree for the dispPtr instead of
doing it in TkpCloseDisplay.
(Tk_DestroyWindow): Check for a null winPtr->mainPtr
before doing certain cleanup tasks so the we can
invoke Tk_DestroyWindow on clipboard and send windows.
We need to do this so that XDestroyIC will get invoked
for the input contexts of each window.
* mac/tkMacXStubs.c (TkpCloseDisplay): Don't free
the displayPtr since this is now done in TkCloseDisplay.
* unix/tkUnixEvent.c (TkpCloseDisplay, OpenIM): Remove
conditional compilation around calls to XCloseIM
since I am confident that the crashes related to
input contexts has been fixed. Don't free
the displayPtr since this is now done in TkCloseDisplay.
* unix/tkUnixSend.c (TkSendCleanup): Invoke the
Tk_DestroyWindow method to cleanup the special
send window. This will call XDestroyIC and thereby
avoid a crash in XCloseIM. The send window needs
to be Tcl_Preserve and Tcl_Release to avoid an
invalid memory ref on shutdown.
* win/tkWinX.c (TkpCloseDisplay): Don't free
the displayPtr since this is now done in TkCloseDisplay.
FossilOrigin-Name: 2b1442c6d82bdff73ad6575cabf7539bf0295292
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkInt.h (struct TkCaret):
* mac/tkMacXStubs.c (Tk_SetCaretPos):
* unix/tkUnixKey.c (TkpGetString, Tk_SetCaretPos):
* win/tkWinX.c (Tk_SetCaretPos):
* tests/tk.test: Added 'tk caret' implementation of TIP#96
* doc/SetCaret.3 (new): which adds a TkCaret structure element to
* doc/tk.n: TkDisplay for maintaining state.
FossilOrigin-Name: 6be89a7feefdd57fd30aca27c701f6e155497b67
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and place the IME position within Tk_SetCaretPos. Cache results in
Tk_SetCaretPos to reduce unnecessary repositioning. Also call
DestroyCaret if we receive WM_KILLFOCUS.
(TkpOpenDisplay): ZeroMemory the initial display structures.
(TkWinGetUnicodeEncoding): Added so that Windows only needs to
cache this value one, and then free it in TkWinXCleanup.
(HandleIMEComposition): add support for Win98 and ATOK13
IME. (yamamoto)
FossilOrigin-Name: 584decd87473126d02435d2e43ce6c28441284fd
|
|
|
|
|
|
| |
correctly when WM_IME_STARTCOMPOSITION is received.
FossilOrigin-Name: 82d048b498cb9bcf2daa024e16081601dcd096a2
|
|
|
|
|
|
|
|
| |
before including commctrl.h so that we can
access the InitCommonControlsEx API when
building Tk with mingw.
FossilOrigin-Name: c524eb8b1f8def1b4a0a56b6c16c5c7ed553289d
|
|
|
|
|
|
|
|
|
|
|
| |
* Updated callers of Tcl_GetStringResult.
Rewrote PrintScrollFractions to ScrollFractions to stop scribbling
directly on interp->result.
* Updated callers of Tcl_GetVar, Tcl_GetVar2
* Updated callers of Tcl_SplitPath, Tcl_JoinPath, and
Tcl_TranslateFileName.
FossilOrigin-Name: 933dcfe881579bb3925ff2a05e925a0bd8d67087
|
|
|
|
|
|
|
|
|
|
| |
* win/tkWinX.c: added TkWinProcs that represent a function table
to switch between unicode and ansi procs on Windows. This is
analogous to the TclWinProcs. Using Tcl_WinUtfToTChar, we can
easily take advantage of using unicode functions where available
without having to switch on the platform id each time.
FossilOrigin-Name: 081e2c0707adca6861223d368262ad2bf2816ec5
|
|
|
|
|
|
|
|
|
|
|
| |
* win/rc/tk.rc:
* win/rc/wish.rc:
* win/rc/wish.exe.manifest: added resources that specify using v6
of the MS Common Controls library when available (WinXP+). This
enables use of the themeable widgets (like scrollbars) to be used
in Tk. [Patch #478933]
FossilOrigin-Name: 7cd5f27018339066c27d50626bb19e752fba4111
|
|
|
| |
FossilOrigin-Name: 8ea999e98e7495584e2aa2ea9333b5d6e9aad39c
|
|
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): Link to the
imm32 library when building with mingw gcc.
* win/tkWinX.c: Include the imm.h header
to fix compiling with mingw gcc.
FossilOrigin-Name: e3e493f97716ab52679c32d79dc0c08507a8e735
|
|
|
|
|
|
|
| |
TkWinXInit to TkWinGetPlatformId because static builds could call
it before it was initialized. [Bug #427278]
FossilOrigin-Name: 0a94e34e9f35522faf20c96c321c2c998a26ba18
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure:
* win/tcl.m4: added imm32.lib to LIBS_GUI for Tk IME support.
* win/tkWinInt.h:
* win/tkWinKey.c:
* win/tkWinX.c: added support for changing IME on the fly in
Windows (2000). (lam) [Patch #402993]
FossilOrigin-Name: 7d37d3f469f0662f50fc1661d1f02bc0060ca9c8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/stubs.c (_XInitImageFuncPtrs): Add return value for function.
* win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle):
Remove unused declarations.
* win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused
function declarations.
* win/tkWinDialog.c (TrySetDirectory): Remove unused function declaration.
* win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function prototype.
* win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused declaration.
* win/tkWinWindow.c (StackWindow): Remove unused declaration.
* win/tkWinWm.c (ConfigureEvent): Remove unused declaration.
* win/tkWinX.c (winXMutex): Remove unused declaration.
* xlib/ximage.c (XCreateBitmapFromData): Cast to match function prototype.
FossilOrigin-Name: 51f47c0c03aff365cd11fd45c22dc16f8da2f17a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ALT_MASK, to fix some event problems [Bugs: 1160, 5088].
* win/tkWinX.c: Changed Mod2Mask in GetState to ALT_MASK, to fix
some event problems [Bugs: 1160, 5088].
* generic/tkInt.h: Moved definition of ALT_MASK and META_MASK here
so that it would be accessible from other modules than tkBind.c.
* generic/tkBind.c: Added code in BindEvent to check for ALT_MASK
and META_MASK in the event state field, as this field may not be
set up with the correct display modifier mask bits if the XEvent
structure was created by [event generate] or by the Windows X
emulation. [Bugs: 1160, 5088].
FossilOrigin-Name: c62394546f5315ab8053ba1dc769ee48089d0bfb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tkWinInt.h:
* win/tkWinClipboard.c (UpdateClipboard):
* win/tkWinX.c (GenerateXEvent): added updatingClipboard tsd and
TkWinUpdatingClipboard accessor function to allow us to flag
ourselves when we are the ones updating the clipboard. This
corrected inability to create our own clipboard types within a Tk
application. [Bug: 2338 4318]
* win/tkWinTest.c (TestclipboardCmd): improved TestclipboardCmd
with better error handling and obj'ification
FossilOrigin-Name: 6afe91c34422fd4d580eb8122ad3815c4612f685
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId
to TkWinGetPlatformId
* win/tkWinMenu.c (SetDefaults): moved private use of versionInfo
to TkWinGetPlatformId and removed all code for
(versionInfo.dwMajorVersion < 4) (== Win32s)
* win/tkWinX.c:
* win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c
* win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its
called for static Windows shells. [Bug: 3647]
* win/tkWinInt.h:
* win/tkWinX.c:
* win/tkWinDraw.c (SetUpGraphicsPort):
* win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s
* win/tkWinInt.h (TkWinDCState struct): added bkmode value
* win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for
properly transparent dashed lines on Windows. [Bug: 4617]
FossilOrigin-Name: 4da507a963ef135744aef559227cc6d7a4335951
|