| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent,
GenerateMouseWheelEvent): add support for kEventMouseScroll events
(smooth mouse wheel scrolling from mighty mouse or scrolling trackpad)
by handling kEventMouseWheelMoved on application target as well as on
dispatcher, in order to pick up synthesized MouseWheel events from
HIObject handler (c.f. QA1453); add support for horizontal scrolling
events by generating MouseWheel XEvent with Shift modifier.
FossilOrigin-Name: e13a9e411db0d002287376eb0fc0bf04f0b9afb1
|
|
|
|
|
|
| |
avoid '% ' from tclMain.c [Bug 1252259]
FossilOrigin-Name: dfe77e0f0a3bf905ce5662ab9237ee91f9871544
|
|
|
| |
FossilOrigin-Name: edc9d84743a3f078693245a1b05bf234e1960c55
|
|
|
| |
FossilOrigin-Name: 9c53ad94b373a9561219b3cf940577c6ac989478
|
|
|
| |
FossilOrigin-Name: 9cfa237253f256a2104f4a92495a9ab1355012b8
|
|
|
|
|
|
| |
instead of 30 [#1224235].
FossilOrigin-Name: 5f256ce2c0d3b0a088007b9fb7750f76f2561460
|
|
|
|
|
|
| |
string equal mods of 2005-07-25. (sowadsky)
FossilOrigin-Name: e7b9feb310523aabf0a0fb4de8ab50f335d74c7b
|
|
|
|
|
|
| |
grab. [Bug 1216775]
FossilOrigin-Name: 2accaed23b8019511c7ce0b039eda6da60e7843b
|
|
|
| |
FossilOrigin-Name: 690e14beb4519010598044fefdedd1b38484ee74
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
process is in front on MouseDown, otherwise request process activation
from BringWindowForward() via new isFrontProcess param.
* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): register our
event handler on the dispatcher target for all carbon events of interest
to TkAqua; this replaces event processing directly from the event queue
and thus allows to capture events that are syntesized by Carbon and sent
directly to the dispatcher and not to the event queue.
* macosx/tkMacOSXEvent.c: remove TkMacOSXCountAndProcessMacEvents(),
rename ReceiveAndProcessEvent() to TkMacOSXReceiveAndProcessEvent().
(TkMacOSXReceiveAndProcessEvent): remove tk event processing before
sending events to the dispatcher, all events of interest are now
processed in our dispatcher target event handler.
* macosx/tkMacOSXNotify.c (CarbonEventsCheckProc): dispatch events
directly via TkMacOSXReceiveAndProcessEvent(), but dispatch no more than
four carbon events at one time to avoid starving other event sources.
* macosx/tkMacOSXEvent.c: formatting cleanup, move XSync() to XStubs,
* macosx/tkMacOSXEvent.h: removed obsolete kEventClassWish handling.
* macosx/tkMacOSXXStubs.c
* macosx/tkMacOSXEvent.h: declare macosx internal procs as MODULE_SCOPE.
* macosx/tkMacOSXEvent.c:
* macosx/tkMacOSXKeyEvent.c:
* macosx/tkMacOSXMouseEvent.c:
* macosx/tkMacOSXWindowEvent.c:
* macosx/tkMacOSXButton.c: conditionalize all debug message printing to
* macosx/tkMacOSXCursor.c: stderr via TK_MAC_DEBUG define.
* macosx/tkMacOSXDebug.c:
* macosx/tkMacOSXDebug.h:
* macosx/tkMacOSXDialog.c:
* macosx/tkMacOSXEvent.c:
* macosx/tkMacOSXInit.c:
* macosx/tkMacOSXKeyEvent.c:
* macosx/tkMacOSXMenu.c:
* macosx/tkMacOSXMenubutton.c:
* macosx/tkMacOSXScale.c:
* macosx/tkMacOSXWindowEvent.c:
* macosx/tkMacOSXWm.c:
* unix/configure.in: define TK_MAC_DEBUG on aqua when symbols enabled.
* unix/configure: autoconf-2.59
* unix/tkConfig.h.in: autoheader-2.59
* library/listbox.tcl: synced aqua MouseWheel bindings with
* library/scrlbar.tcl: core-8-4-branch.
* library/text.tcl:
* xlib/xcolors.c: fixed warning
FossilOrigin-Name: 2d5bab5246ad71fa16a0d6879b811ba0b6c84593
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
events sent directly to application event target via the general
TkMacOSXProcessEvent() in the same way as events posted to the event
loop. Moved existing app event handlers to tkMacOSXWindowEvent.c.
(TkMacOSXInitCarbonEvents): register our application event handler for
kEventWindowExpanded events to deal with uncollapsing from the dock.
* macosx/tkMacOSXEvent.h: made TkMacOSXProcessEvent() non-static, added
* macosx/tkMacOSXEvent.c: new interp field to TkMacOSXEvent struct for
use by app event handler.
* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): retrieve
current window, partCode, modifiers and local cursor position from
carbon mouse event if possible. Use new static GenerateButtonEvent()
taking a MouseEventData struct instead of TkGenerateButtonEvent() to
avoid recomputing already known values. Move process activation on
MouseDown into BringWindowForward() to allow clicking on window titlebar
widgets without activating process. Move code dealing with clicks in
window titelbar into separate function HandleWindowTitlebarMouseDown()
to avoid code duplication. Avoid repeated calls to TkMacOSXGetXWindow()
by storing result in MouseEventData struct.
(TkMacOSXButtonKeyState, XQueryPointer): try to get button and modifier
state from currently processed carbon event (to avoid unnecessary IPC
with the window server), otherwise use modern carbon API to get this
info instead of Button() and GetKeys(); only retrieve info caller asks
for (via non-NULL ptr passed to XQueryPointer).
(ButtonModifiers2State): new static function converting carbon button
and modifier state into tk state, allows detection of more than 3 mouse
buttons (tk supports up to 5) and of NumLock and Fn modifier keys
(NumLock is mapped to Mod3 and Fn to Mod4).
* macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent): handle
kEventWindowExpanded event to deal with window uncollapsing from the
dock by generating tk Map event, handle kEventAppHidden and
kEventAppShown events (moved here from tkMacOSXCarbonEvents.c).
* macosx/tkMacOSXSubwindows.c (XUnmapWindow): only hide window when
it is not iconified to avoid window flashing on collapse.
* macosx/tkMacOSXWm.c: replaced Tk_DoWhenIdle() by Tcl_DoWhenIdle().
(TkMacOSXZoomToplevel): remove call to TrackBox(), now done in
HandleWindowTitlebarMouseDown() in tkMacOSXMouseEvent.c.
(TkpWmSetState): avoid window flashing on collapse by unmapping after
calling CollapseWindow(); only uncollapse window if it is collapsed.
* generic/tkInt.decls: changed TkMacOSXZoomToplevel() signature.
* generic/tkIntPlatDecls.h:
* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only call
GetMenuItemCommandID() on KeyDown or KeyRepeat events.
* macosx/tkMacOSXMenu.c (ReconfigureMacintoshMenu): remove call to
obsolete AppendResMenu() API.
* macosx/tkMacOSXKeyEvent.c: replaced all direct uses of expensive
* macosx/tkMacOSXMenu.c: GetMouse() and TkMacOSXButtonKeyState()
* macosx/tkMacOSXMenus.c: APIs by calls to XQueryPointer()
* macosx/tkMacOSXMouseEvent.c:
* macosx/tkMacOSXScale.c:
* macosx/tkMacOSXScrlbr.c:
* macosx/tkMacOSXWm.c:
* macosx/tkMacOSXDialog.c: replaced use of FrontNonFloatingWindow()
* macosx/tkMacOSXKeyEvent.c: by ActiveNonFloatingWindow() as
* macosx/tkMacOSXMenu.c: recommended by Carbon docs.
* macosx/tkMacOSXMenus.c:
* macosx/tkMacOSXSubwindows.c:
* macosx/tkMacOSXWm.c:
* macosx/tkMacOSXDialog.c: fixed warnings
* macosx/tkMacOSXTest.c:
* macosx/tkMacOSXCarbonEvents.c: added CVS Id line to file header.
* macosx/tkMacOSXDebug.c:
* macosx/tkMacOSXDebug.h:
* macosx/tkMacOSXEntry.c:
* macosx/tkMacOSXEvent.h:
* macosx/tkMacOSXKeyEvent.c:
* macosx/tkMacOSXMouseEvent.c:
* macosx/tkMacOSXWindowEvent.c:
* macosx/tkMacOSXWm.h:
* macosx/tkMacOSXInt.h: declare macosx internal procs as MODULE_SCOPE.
* macosx/tkMacOSXCarbonEvents.c:
* macosx/tkMacOSXDraw.c:
* macosx/tkMacOSXFont.c:
* macosx/tkMacOSXHLEvents.c:
* macosx/tkMacOSXInit.c:
* macosx/tkMacOSXWindowEvent.c
* library/bgerror.tcl: sync with core-8-4-branch changes of 2005-07-28.
* macosx/tkMacOSXDraw.c:
* macosx/tkMacOSXWm.c:
* macosx/tkMacOSXMouseEvent.c:
* generic/tkFrame.c: sync with core-8-4-branch changes of 2005-07-27.
* generic/tkIntDecls.h:
* generic/tkStubInit.c:
* generic/tkFrame.c:
* win/tkWinDraw.c:
* unix/tkUnixDraw.c:
* macosx/tkMacOSXDraw.c:
* macosx/tkMacOSXInt.h:
* macosx/tkMacOSXWm.c:
* macosx/tkMacOSXSubwindows.c:
* macosx/tkMacOSXButton.c: sync with core-8-4-branch.
* macosx/tkMacOSXEntry.c:
* macosx/tkMacOSXScale.c:
* library/demos/menu.tcl: removed errant '}'.
FossilOrigin-Name: 10965e80cdea5787c1f0c1189cd4b3239d4010eb
|
|
|
| |
FossilOrigin-Name: 773001915229dcca76305249715882d042674552
|
|
|
| |
FossilOrigin-Name: 31e0110505aa3d65b31594c0ce7a1a5693918a2c
|
|
|
| |
FossilOrigin-Name: f4f7febb1fd0d382ec64762edd93acd98eedff6f
|
|
|
| |
FossilOrigin-Name: 600dd1baa3d2f7cb47600544cf2f7412b4a3233f
|
|
|
| |
FossilOrigin-Name: 01d021c63897e2cfdf4408cc9a6b69d8ce92d03b
|
|
|
|
|
|
| |
and swallow the extra "% " that comes once from Tcl on Windows.
FossilOrigin-Name: 0dd38a012e3cdcff47757caf41b5444efb7d5e4d
|
|
|
| |
FossilOrigin-Name: 43d515082482ed46ed6b97a5c62ca5118bd326db
|
|
|
| |
FossilOrigin-Name: d5f52ddad69902c0063dd69bee04ca569a8b2501
|
|
|
| |
FossilOrigin-Name: 503637c737c55f17d41befd508f32ff987f96281
|
|
|
|
|
|
|
|
|
|
| |
Add undoc'd ::tk::dialog::file::showHiddenBtn var (default 0) that
will add a "Show Hidden" checkbutton to tk_get*File and
tk_chooseDirectory if set to true.
* library/choosedir.tcl (::tk::dialog::file::chooseDir::): fix
cancelBtn ref, add hiddenBtn ref for "Show Hidden" button.
FossilOrigin-Name: 73207379889b7e26cb78211dd3e51968d2ac7751
|
|
|
|
|
|
| |
[::tk::FDGetFileTypes]. [Bug 1083878] (Thanks, Vince Darley)
FossilOrigin-Name: 7058b664fdbf89af6a942bcdff661029c7ab9c38
|
|
|
|
|
|
| |
window existence on delayed call. [Bug 949792]
FossilOrigin-Name: 2117577eec4a384dc663d948d6397d96260802a8
|
|
|
| |
FossilOrigin-Name: 0a6de1b934592ec2d59ef6ff7db26edd1cb940d7
|
|
|
| |
FossilOrigin-Name: 47521c0c88066ccc4ac574d281375d375f50c76d
|
|
|
| |
FossilOrigin-Name: f936eea21b6a4827861f6c0e541e3bb34f5cabd6
|
|
|
| |
FossilOrigin-Name: 01c356f03bed261b8fd0be3aaf5f2b964581a95d
|
|
|
| |
FossilOrigin-Name: 656805097824fb9fda0422b12ebeba6fcb6cc7c5
|
|
|
| |
FossilOrigin-Name: c58c953e7667428b304fd82196496662a1e3d4d9
|
|
|
|
|
|
| |
array keyname expansion. [Bug 1004508] (bold)
FossilOrigin-Name: fad5897651e83ec8fa3710eefc55c54716f1309b
|
|
|
|
|
|
| |
Thanks to Roberto Ugoccioni [Bug 1063675].
FossilOrigin-Name: c6ffe7469389ad5b1bcbcb7aa9b952e2b5d1d79f
|
|
|
| |
FossilOrigin-Name: 5990fa31ebf96dc59ef1c76503a1c828a0736140
|
|
|
| |
FossilOrigin-Name: 33fceda03be78db63f351716602b8cc0ba6c0229
|
|
|
| |
FossilOrigin-Name: 7e4b17b3d5859ddd2ecd065fa7e7d030731838bf
|
|
|
| |
FossilOrigin-Name: 50bf19de6f62a638e0611a2b0e82bc676d080c8f
|
|
|
| |
FossilOrigin-Name: 243c90c3032541d1a6b9bb85b39e3a65793906fc
|
|
|
| |
FossilOrigin-Name: fb5c00f1bdbfc0164018f280125dbef2b2a8f38e
|
|
|
| |
FossilOrigin-Name: 1b45edf873633c8b72a1023cb0b1f7c467d7a20e
|
|
|
| |
FossilOrigin-Name: 2d3ca51d86ed30372b850f1c14d23d101cbf3293
|
|
|
| |
FossilOrigin-Name: 8c2252a5659b4747606eebdba77b76a9ad32955a
|
|
|
| |
FossilOrigin-Name: 8f1066e2ae46f292ac3e7b71709326b6498d33a4
|
|
|
| |
FossilOrigin-Name: ce3ce0656c7df14c5c83262451b92a6ef2f711da
|
|
|
| |
FossilOrigin-Name: 24c87e87ffd71144101ff6cab47226828e813d38
|
|
|
|
|
|
|
| |
instead of button for "File of type", as it properly handles
-state disabled now.
FossilOrigin-Name: faa3819692e66072b2339c65f90e1804ab48c0c8
|
|
|
|
|
|
| |
an atomic op to undo.
FossilOrigin-Name: c1800ea3d43df6e4664219fbd52c256ee23fc928
|
|
|
| |
FossilOrigin-Name: bc161ee18a7aff4bbaf56395864c0ed8f3dc9993
|
|
|
| |
FossilOrigin-Name: 595dd0d3fc2f014355adb1d72c8d2c2b79b9e3c9
|
|
|
| |
FossilOrigin-Name: a093deecc78b7f71eecc967518cea14e9fb5a40a
|
|
|
|
|
|
|
|
| |
[pwd] (instead of .) to get around some VFS edge case bugs.
Correct args passes to tk_messageBox when failing to cd.
Add -force back to namespace import of msgcat.
FossilOrigin-Name: d3bfef422e43c16c832cd70d6b8862b19393790e
|
|
|
|
|
|
| |
Use [bind $w], not [$w configure] to modify bindings.
FossilOrigin-Name: 94b9b0c00c53bb991e795a8e756468521f099987
|