| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h: for the Tk 8.4.4 release.
* macosx/Wish.pbproj/project.pbxproj:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf (2.13)
* win/configure:
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXClipboard.c (TkSelGetSelection): Convert
'\r' to '\n' on the way into Tcl. (ingham)
* 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. (ingham)
* 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. (ingham)
* macosx/tkMacOSXApplication.r (removed):
* 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. (steffen)
|
|
|
|
| |
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/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].
|
| |
|
|
|
|
| |
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 '|'.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
removal of libtkstub before Wish was built.
|
|
|
|
| |
to allow it to work when not installed into '/'.
|
|
|
|
|
|
| |
-headerpad_max_install_names to allow use of 'install_name_tool'.
fixed tkConfig.sh generation and redo_prebinding in the case where
Tk is not installed alongside Tcl.
|
|
|
|
| |
Frameworks directories.
|
|
|
|
| |
* macosx/tkMacOSXAppInit.c: use standard PATH_MAX from <limits.h>
|
|
|
|
|
|
|
| |
TclTk on Mac OS X, answers to tcl-mac list FAQs.
* macosx/Makefile: permission fix after embedded install.
* macosx/Wish.pbproj/project.pbxproj: after install, fix
permissions of uninstalled products.
|
|
|
|
|
|
|
|
|
|
|
|
| |
type to plist so that files can be dragged onto Wish Shell.
* macosx/tkMacOSXInt.h:
* macosx/tkMacOSXInit.c:
* macosx/tkMacOSXFont.c: added private proc
TkMacOSXUseAntialiasedText() to enable/disable quickdraw
text antialiasing where available, default is enabled.
Added a linked boolean ::tk::mac::antialiasedtext with
write trace to allow control of antialiasing from tcl.
|
| |
|
| |
|
|
|
|
|
| |
* macosx/Wish.pbproj/project.pbxproj: bumped version to 8.4.1;
added missing library/mkpsenc.tcl to framework.
|
|
|
|
|
|
| |
* macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): Put the Tk scrollbar
pointer into the control reference data for the Mac scrollbar, so we
can get it out again in the ScrollbarActionProc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When embedding only use deployment build. Force relink before
embedded build to ensure new linker flags are picked up.
* macosx/buildTkConfig.tcl (new):
* macosx/Wish.pbproj/project.pbxproj: synthesize tkConfig.sh
based on tclConfig.sh in Tcl.framework and tkConfig.sh.in.
Add symbolic links to debug lib, stub libs and tkConfig.sh
in framework toplevel. Made tkIntXlibDecls.h a public header
since Headers/X11/Xlib.h includes it. Install wish8.4 script
that runs "Wish Shell.app" and corresponding wish link.
Use tcl headers from built Tcl.framework instead of from tcl
source directory.
* macosx/tkMacOSXPort.h: added missing standard unix includes
and defines, similarly to tkUnixPort.h.
* macosx/tkMacOSXNotify.c: removed dependency on internal tcl
header "tclPort.h"
* unix/Makefile.in:
* unix/install-sh: copied support for 'install-strip' target
over from tcl/unix/{Makefile.in,install-sh}
|
|
|
|
| |
to GetWindowClass.
|
| |
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXScrlbr.c (UpdateControlValue): HiliteControl
doesn't give the proper "nothing to scroll" look on Mac OS X.
You have to set the min value greater than the max value to
get this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mac/tkMacApplication.r:
* mac/tkMacLibrary.r:
* mac/tkMacResource.r:
* macosx/tkAboutDlg.r:
* macosx/tkMacOSXApplication.r:
* macosx/tkMacOSXLibrary.r:
* macosx/tkMacOSXResource.r: unified use of the two equivalent
resource compiler header inclusion defines RC_INVOKED and
RESOURCE_INCLUDED, now use RC_INVOKED throughout.
* macosx/tkMacOSXAppInit.c: improved detection of Wish startup
by the finder (by checking if stdin is /dev/null), in which
case we want to bring up the Tk console window.
* macosx/tkMacOSXHLEvents.c: added 'rapp' apple event handler.
|
|
|
|
| |
tk/generic/prolog.ps instead of tk/library/prolog.ps.
|
|
|
|
| |
compatibility for Mac OS X 10.1 ProjectBuilder 2.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and set it to default value ${LIB_RUNTIME_DIR}
* unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of
LIB_RUNTIME_DIR in the -install_name argument to ld.
* unix/configure: regen.
* macosx/Wish.pbproj/project.pbxproj:
* macosx/Makefile: added support for building Tcl as an embedded
framework, i.e. using an dyld install_name containing
@executable_path/../Frameworks via the new DYLIB_INSTALL_DIR
unix/Makefile variable.
|
|
|
|
| |
Mac Jaguar event loop issue.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Force dialogs to appear below fixed native Mac menubar.
* macosx/tkMacOSXKeyEvent.c:
* macosx/tkMacOSXKeyboard.c: Keypress/release events for pure
modifier keys were not being passed to Tk.
Deadkey presses were inserting null characters into text windows.
Now they do nothing. (Still not ideal, but better than before!)
* macosx/tkMacOSXMenu.c: Allow more than 200 menus to exist -
increased to 2000.
* macosx/tkMacOSXMouseEvent.c: Bad interactions between floating
windows and ordinary ones. Ensure that local<->global coordinate
transformations are wrt to the correct window.
* macosx/tkMacOSXWm.c: Better error msg for 'wm attributes'.
Remove crash in 'wm transient'.
Add 'noActivates' and 'noUpdates' flags to unsupported command.
[Patch #606658] (darley)
|
|
|
|
| |
TK_PATCH_LEVEL version bump to 8.4.0.
|
|
|
|
| |
8.4.0 and updated copyright info.
|
| |
|
|
* generic/tk.decls:
* generic/tkInt.decls: added new "aqua" specific entries to the
stubs tables. Changed all "unix" entries to "x11" to allow us to
distinguish and build both "aqua" on MacOSX and "x11" on MacOSX.
* generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can
be passed to the resource compiler.
* generic/tkCmds.c (Tk_TkObjCmd): added [tk windowingsystem]
subcommand: returns "x11" when running on X11, "win32" on Windows,
"classic" on MacOS9 and "aqua" on MacOSX Aqua (i.e. Carbon)
* generic/tkFont.c (TkFontGetFirstTextLayout): new private function
returning the first chunk of a Tk_TextLayout, i.e. until the first
font change on the first line (or the whole first line if there is
no such font change).
* generic/tkMain.c: made Tcl_ThreadDataKey static
* library/demos/puzzle.tcl: fixed button metrics for aqua
* tests/cursor.test: check for presence of arrow cursor instead of
heart cursor
* xlib/xcolors.c: changed xColors static initialization to more
standard C
* macosx/Wish.pbproj/jingham.pbxuser (new):
* macosx/Wish.pbproj/project.pbxproj (new): project for Apple's
ProjectBuilder IDE.
* macosx/Makefile (new): simple makefile for building the project
from the command line via the ProjectBuilder tool 'pbxbuild'.
* macosx/tkMacOSXAppInit.c (new): macosx specific AppInit looking
for a AppMain.tcl file in its bundled Resources/Scripts folder. If
present, argv[1] is set to that file and the Scripts folder is
added to the auto_path. This allows tk apps to embed scripts within
their bundle directory structure.
* macosx/tkMacOSXInit.c (new): macosx adapted version of
tkUnixInit.c: we initialize & cache the Carbon native encoding
(e.g. 'macRoman') and try to find the tk script library files
inside Tk packaged as a framework.
* macosx/tkMacOSXNotify.c (new): new macosx specific merged
Carbon/select-based notifier.
* macosx/tkMacOSXEvent.c (new):
* macosx/tkMacOSXEvent.h (new):
* macosx/tkMacOSXKeyEvent.c (new):
* macosx/tkMacOSXMouseEvent.c (new):
* macosx/tkMacOSXWindowEvent.c (new): new macosx specific event
handling functionality.
* macosx/tkMacOSX.h (new):
* macosx/tkMacOSXBitmap.c (new):
* macosx/tkMacOSXButton.c (new):
* macosx/tkMacOSXClipboard.c (new):
* macosx/tkMacOSXColor.c (new):
* macosx/tkMacOSXConfig.c (new):
* macosx/tkMacOSXCursor.c (new):
* macosx/tkMacOSXDefault.h (new):
* macosx/tkMacOSXDialog.c (new):
* macosx/tkMacOSXDraw.c (new):
* macosx/tkMacOSXEmbed.c (new):
* macosx/tkMacOSXFont.c (new):
* macosx/tkMacOSXHLEvents.c (new):
* macosx/tkMacOSXInt.h (new):
* macosx/tkMacOSXKeyboard.c (new):
* macosx/tkMacOSXMenu.c (new):
* macosx/tkMacOSXMenubutton.c (new):
* macosx/tkMacOSXMenus.c (new):
* macosx/tkMacOSXPort.h (new):
* macosx/tkMacOSXRegion.c (new):
* macosx/tkMacOSXScale.c (new):
* macosx/tkMacOSXScrlbr.c (new):
* macosx/tkMacOSXSubwindows.c (new):
* macosx/tkMacOSXTest.c (new):
* macosx/tkMacOSXUtil.c (new):
* macosx/tkMacOSXUtil.h (new):
* macosx/tkMacOSXWm.c (new):
* macosx/tkMacOSXWm.h (new):
* macosx/tkMacOSXXStubs.c (new): macosx ports of classic mac Tk
implementation in tk/mac.
* macosx/tkMacOSXSend.c (new): only send to local interp
implemented currently.
* macosx/tkMacOSXDebug.h (new):
* macosx/tkMacOSXDebug.c (new): new macosx specific functions for
debugging MacOS events, regions, etc.
* macosx/tkAboutDlg.r (new):
* macosx/tkMacOSXApplication.r (new):
* macosx/tkMacOSXCursors.r (new):
* macosx/tkMacOSXLibrary.r (new):
* macosx/tkMacOSXMenu.r (new):
* macosx/tkMacOSXResource.r (new):
* macosx/tkMacOSXXCursors.r (new):
* macosx/tclets.r (new): sources for Rez resource compiler.
* macosx/Wish.icns (new): Wish application icon.
* generic/tk.h:
* generic/default.h:
* generic/tkBind.c:
* generic/tkCmds.c:
* generic/tkGrab.c:
* generic/tkPointer.c:
* generic/tkPort.h:
* generic/tkSelect.c:
* generic/tkStubLib.c:
* generic/tkTest.c:
* generic/tkText.c:
* generic/tkWindow.c:
* unix/tkUnix3d.c:
* xlib/xgc.c:
* xlib/X11/X.h:
* xlib/X11/Xlib.h:
* xlib/X11/Xutil.h: added #includes and #ifdefs for macosx
* library/bgerror.tcl:
* library/button.tcl:
* library/console.tcl:
* library/dialog.tcl:
* library/entry.tcl:
* library/listbox.tcl:
* library/menu.tcl:
* library/msgbox.tcl:
* library/scrlbar.tcl:
* library/spinbox.tcl:
* library/text.tcl:
* library/tk.tcl:
* library/demos/menu.tcl:
* library/demos/menubu.tcl:
* library/demos/widget: check [tk windowingsystem] instead of
and/or in addition to $tcl_platform(platform).
* generic/tkInt.h:
* mac/tkMacBitmap.c:
* mac/tkMacWm.c: added missing CONSTification
* generic/tkIntDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkIntXlibDecls.h:
* generic/tkPlatDecls.h:
* generic/tkStubInit.c: regen
|