| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
to installed Tk.framework, so that tkInt.h can be included
sucessfully from Tk.framework/PrivateHeaders.
* generic/tkPort.h: corrected include of tkMacOSXPort.h
|
| |
|
|
|
|
|
|
|
|
|
|
| |
to avoid confusion. Actually set lastKeyLayoutID. Use
keycode<<16 for XKeycodeToKeysym.
* (XKeycodeToKeysym): Remove variables c and virtualKey,
simplify code, don't special handle keycode == 0 (-> 'a').
* (XKeysymToMacKeycode): Add handling for function keys. Use
ASCII control codes instead of keysyms.
* (TkpSetKeycodeAndState): Ditto.
|
|
|
|
|
|
|
|
| |
* (XKeysymToMacKeycode): Add.
* (XKeysymToKeycode): Use XKeysymToMacKeycode.
* (TkpSetKeycodeAndState): Ditto.
* (TkpSetKeycodeAndState): Adapt modifier flags handling.
* (TkpInitKeymapInfo): Update a comment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the result of XGetModifierMapping, but that will always
return an empty list.
* ALT_MASK, OPTION_MASK: Symbols for understanding the code
better.
* (TkpSetKeycodeAndState): Hardcode Mode_switch == Option.
* (TkpGetKeySym): Ditto.
* (TkpGetKeySym): Comment lockUsage conditions, Mac OS X uses
LU_CAPS always.
* (XKeycodeToKeysym): Handle option key in parameter index
(only used by TkpGetKeySym).
* (TkpGetKeySym): Use Tcl_UniCharIsUpper, highlight problems
with Latin1 limitation.
|
|
|
|
|
|
|
|
|
| |
maintainability.
* General comment on keyArray: Add.
* (XKeycodeToKeysym): Replace garbled comment. Use symbols
instead of magic constants.
* (TkpGetKeySym): Reorder computations to make this more
logical.
|
|
|
|
|
|
|
| |
* Whitespace: Remove tabs, re-indent, re-wrap comments.
* keyArray: Reorder keys in logical groups.
* vituralkeyArray: Rename virtualkeyArray.
* Prototypes, function headers: Use ISO-C consistently.
|
| |
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXScrlbr.c: Reworking Vince's fix to [Bug 842952]. This
version is clearer, and works helps keep the mouse better pinned to the
scrollbar. I also removed the glitch where the scrollbar would jump get
its middle over the mouse when you first moved it.
|
| |
|
| |
|
|
|
|
| |
add unicode clipboard support. [Patch #840107] (senn)
|
| |
|
|
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXDialog.c (NavServicesGetFile): Minor cleanups.
(OpenFileFilterProc): Handle FSRef's as well as FSSpec's in the input
file. Also convert the FSSpec filename to an C-string before passing
to MatchOneFile. [bug 517600]
(MatchOneFile): Require the input filename to be a C-string, not a
pascal string.
|
|
|
|
|
|
| |
* macosx/tkMacOSXButton.c (TkpDisplayButton):
* unix/tkUnixButton.c (TkpDisplayButton): correct imageYOffset for
buttons with just images.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/Makefile: fixed redo prebinding bug when DESTDIR="".
Added support for all applicable customizable makefile variables
from tcl/macosx/Makefile.
* macosx/README:
* macosx/Wish.pbproj/project.pbxproj: ensure that the versioned
wishX.X script works correctly when Tk.framework with multiple
versions is present by referring to a copy of 'Wish Shell.app'
located in Tk.framework/Versions/X.X/Resources.
|
|
|
|
|
|
| |
814810.
Also use tk text drawing for checkbutton & radiobutton labels.
|
|
|
|
| |
GetWindowFromPort() [Bug #812415]; make function static.
|
|
|
|
|
|
| |
about menu like on classic.
* macosx/Makefile: pass MAKEOVERRIDES to pxbuild.
* macosx/tkMacOSXButton.c: added -compound support for bevel buttons.
|
| |
|
| |
|
|
|
|
| |
broken by changes to tcl buildsystem.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/Wish.pbproj/jingham.pbxuser:
* macosx/Wish.pbproj/project.pbxproj:
Changes for new tcl buildsystem.
Changed build to include tk specific html help in Tk.framework
instead of Tcl.framework.
Set default SYMROOT in target options to simplify setting up PB
(manually setting common build folder for tcl & tk no longer needed).
* macosx/README: Updated info for changes to buildsystem,
html help location and PB setup.
|
|
|
|
|
| |
stage of actually using the theme brushes to track active colors, but it gets
the labelframe color working at least.
|
|
|
|
|
|
| |
in versioned framework subdirectories to be identical to location
in framework toplevel; fixed stub library symbolic links to be
tk version specific.
|
|
|
|
| |
resource API to get tk runtime library for TK_VERSION. [Bug 736774]
|
|
|
|
| |
'\r' to '\n' on the way into Tcl.
|
|
|
|
| |
stippleGC [Bug #730124].
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkButton.c (TkButtonWorldChanged): of compound *buttons
* mac/tkMacButton.c (TkpDisplayButton): to correctly display
* macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg,
* unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator,
* win/tkWinButton.c (TkpDisplayButton): etc. *buttons will
now only stipple the image, unless no disabledfg is given, in which
case it will stipple the whole button.
|
|
|
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXLibrary.r (removed):
* macosx/tkMacOSXResource.r (removed):
* macosx/Wish.pbproj/project.pbxproj:
* macosx/tkAboutDlg.r: updated copyrights, cleaned up about box,
removed obsolete unused resource files.
* macosx/buildTkConfig.tcl: TK_DEFS space fix.
|
|
|
|
|
|
|
|
| |
* macosx/Makefile:
* macosx/README: added support for giving 'make' the location
of Tcl.framework and tclsh to build and link against.
* macosx/tkMacOSXXStubs.c: fixed crash in [winfo server].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXMenu.c (EventuallyInvokeMenu): New function,
used to invoke menu commands at idle time.
(TkMacOSXDispatchMenuEvent): Don't immediately dispatch menu
commands, wait till the idle loop to do so. This is more like
what is done on Windows, and avoids the crash from destroying
a menu in it's command.
* macosx/tkMacOSXHLEvents.c (ReallyKillMe): Don't force the shell
to exit. According to the OS X HI guidelines, it should be
possible to cancel an attempt to quit, and if we force the kill,
here, it would not be possible to implement this.
|
|
|
|
|
| |
MacOS 9 behavior, which was to insert a separator item after the system help
menus, but this doesn't happen on X...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h: Tk to 8.5a0.
* library/tk.tcl:
* mac/README:
* macosx/Wish.pbproj/project.pbxproj:
* unix/README:
* unix/configure.in:
* unix/tk.spec:
* win/README:
* win/configure.in:
* win/makefile.vc:
* win/tcl.m4:
* unix/configure: autoconf
* win/configure:
|
| |
|
|
|
|
| |
Wish target.
|
|
|
|
|
| |
parameters to posix style path names.
[Bug #621672] (steffen, Benjamin Riefenstahl)
|
|
|
|
|
|
|
|
|
|
|
|
| |
parameters to posix style path names.
[Bug #621672] (steffen, Benjamin Riefenstahl)
* macosx/tkMacOSXDialog.c:
* macosx/tkMacOSXWm.c:
* macosx/Wish.pbproj/project.pbxproj:
* macosx/tkMacOSXUtil.c (removed):
* macosx/tkMacOSXUtil.h (removed): removed all references to
tkMacOSXUtil.{c,h}, made obsolete by the patch above. [Bug #621672]
|
|
|
|
|
|
| |
* tkMacOSXDialog.c (NavServicesGetFile): Fix bug with
kNavCtlSetSelection - control data should be a pointer
not a handle.
|
|
|
|
|
|
|
|
|
|
| |
binding for corresponding Quit menu item shortcut.
* macosx/README: updated instructions for embedded build,
added various improvements by Russell Owen.
* unix/tcl.m4: update from Tcl.
* unix/configure: regen.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tkMacOSXMouseEvents.c (GeneratePollingEvents): In the case
where there was a capture window, we were sending the events to
the capture window. But the capture window (return value or
TkMacOSXGetCapture) is always a toplevel. So this is wrong in
the case that the Event's toplevel IS the capture window - in
which case the event should go to the subwindow most closely
containing the event.
Fixes bug #688188
|
|
|
|
|
|
|
|
|
|
| |
two parts of the patches in Patch Tracker #622582 -
new-evthdlng.2003-02-12.diff and basic-keyboard.2003-02-10.diff. The
second part puts translation of MacOS X keycodes to characters on a
better footing. The first part relaxs Tk's policy of consuming all
events unless it can see they go to windows it didn't create. This
change gets the little traffic lights working, and should make things
like QuickTimeTcl easier to implement.
|
|
|
|
|
|
| |
* macosx/Makefile: reworked embedded build to no longer require
relinking but to use install_name_tool instead to change the
install_names for embedded frameworks.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h:
* macosx/Wish.pbproj/project.pbxproj:
* unix/configure:
* unix/configure.in:
* unix/tcl.m4:
* unix/tk.spec:
* win/configure:
* win/configure.in:
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 '|'.
|