summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* * README: Bumped to patch level 8.4.5dgp2003-10-031-4/+4
| | | | | | | | | | | * generic/tk.h: to prepare for next patch * macosx/Wish.pbproj/project.pbxproj: release. * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* * macosx/Wish.pbproj/project.pbxproj:das2003-10-013-29/+50
| | | | | | | | | | | | * 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.
* * tkMacOSXWm.h: Nested comment typocc_benny2003-09-261-1/+0
|
* * macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap): Addcc_benny2003-09-261-5/+7
| | | | GetWindowFromPort() [Bug #812415]; make function static.
* * library/demos/widget: don't create iconwindow on aqua, but adddas2003-09-252-3/+23
| | | | | | about menu like on classic. * macosx/Makefile: pass MAKEOVERRIDES to pxbuild. * macosx/tkMacOSXButton.c: added -compound support for bevel buttons.
* * macosx/tkMacOSXMenu.c: fixed C99'ism that breaks gcc 2.95.das2003-08-121-2/+3
|
* * macosx/buildTkConfig.tcl: fix to TK_BUILD_* ref generationdas2003-07-211-2/+2
| | | | broken by changes to tcl buildsystem.
* * macosx/Makefile: Changes for new tcl buildsystem.das2003-07-184-1446/+64
| | | | | | | | | | | | | * 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.
* * README: Bumped patchlevel to 8.4.4 in preparationdgp2003-07-151-4/+4
| | | | | | | | | | | * 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:
* * macosx/Wish.pbproj/project.pbxproj: changed tkConfig.sh locationdas2003-05-191-5/+5
| | | | | | in versioned framework subdirectories to be identical to location in framework toplevel; fixed stub library symbolic links to be tk version specific.
* Bumped version to 8.4.3hobbs2003-05-151-4/+4
|
* * macosx/tkMacOSXInit.c (TkpInit): use new versioned bundledas2003-05-131-3/+3
| | | | resource API to get tk runtime library for TK_VERSION. [Bug 736774]
* backport of Mac OS X specific changes on trunk since 8.4.2:das2003-05-139-1387/+103
| | | | | | | | | | | | | | | | | | | | | | | | * 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)
* * macosx/tkMacOSXButton.c (TkpDisplayButton): correct typo forhobbs2003-04-301-3/+3
| | | | stippleGC [Bug #730124].
* * generic/tkButton.h: Rewrote the handlinghobbs2003-04-261-42/+55
| | | | | | | | | | * 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/Wish.pbproj/project.pbxproj:das2003-03-184-44/+85
| | | | | | | | * 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].
* correct 8.4.3 refs to 8.4.2hobbs2003-02-271-3/+3
|
* Added the 'aete' resource defining the doscript event, and adding it to the ↵wolfsuit2003-02-253-205/+1103
| | | | Wish target.
* * macosx/tkMacOSXHLEvents.c: fixed conversion of apple eventdas2003-02-251-2/+2
| | | | | parameters to posix style path names. [Bug #621672] (steffen, Benjamin Riefenstahl)
* * macosx/tkMacOSXHLEvents.c: fixed conversion of apple eventdas2003-02-256-459/+65
| | | | | | | | | | | | 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]
* 2003-02-24 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>wolfsuit2003-02-241-2/+2
| | | | | | * tkMacOSXDialog.c (NavServicesGetFile): Fix bug with kNavCtlSetSelection - control data should be a pointer not a handle.
* * library/console.tcl: (aqua & macintosh) added missing <Cmd-q>das2003-02-211-67/+67
| | | | | | | | | | 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.
* * macosx/tkMacOSXKeyEvent.c: fix for uninitialized var warning.das2003-02-201-1/+1
|
* 2003-02-19 Jim Ingham <jingham@apple.com>wolfsuit2003-02-191-34/+22
| | | | | | | | | | | | * 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
* This submission contains a slightly reworked & cleaned up version ofwolfsuit2003-02-198-1275/+1104
| | | | | | | | | | 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/Wish.pbproj/project.pbxproj:das2003-02-192-18/+190
| | | | | | * 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.
* menu title encodingsvincentdarley2003-02-181-7/+29
|
* * README: Bumped to 8.4.2.hobbs2003-02-151-4/+4
| | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure: * unix/configure.in: * unix/tcl.m4: * unix/tk.spec: * win/configure: * win/configure.in:
* 2003-02-10 Jim Ingham <jingham@apple.com>wolfsuit2003-02-113-33/+102
| | | | | | | | | | | * 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.
* 2003-02-10 Jim Ingham <jingham@apple.com>wolfsuit2003-02-101-20/+37
| | | | | | * macosx/tkMacOSXCursor.c (TkMacOSXInstallCursor): Set all theme cursors using SetThemeCursor or SetAnimatedThemeCursors. (TkGetCursorByName): Use the theme cursors for arrow, ibeam, etc.
* 2003-02-05 Fred Fish <fnf@intrinsity.com>hobbs2003-02-091-2/+2
| | | | | * macosx/tkMacOSXWm.c (Tk_SetGrid): Fix precedence problem with * mac/tkMacWm.c (Tk_SetGrid): '==' and '|'.
* 2002-11-19 Jim Ingham <jingham@apple.com>wolfsuit2002-11-202-1117/+777
| | | | | | | | | * 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.
* * macosx/Wish.pbproj/project.pbxproj: fixed erroneousdas2002-11-101-1/+1
| | | | removal of libtkstub before Wish was built.
* * macosx/Wish.pbproj/project.pbxproj: fix to 'wish' scriptdas2002-11-071-1/+1
| | | | to allow it to work when not installed into '/'.
* * macosx/Wish.pbproj/project.pbxproj: added Wish linker flagdas2002-11-041-4/+4
| | | | | | -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.
* * macosx/README: added info on new package searching indas2002-10-291-4/+8
| | | | Frameworks directories.
* * macosx/README: revised according to Jim's suggestionsdas2002-10-212-27/+31
| | | | * macosx/tkMacOSXAppInit.c: use standard PATH_MAX from <limits.h>
* * macosx/README: info specific to building and runningdas2002-10-163-2/+176
| | | | | | | 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.
* * macosx/Wish.pbproj/project.pbxproj: added TEXT documentdas2002-10-164-4/+112
| | | | | | | | | | | | 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.
* dead keys first fix for MacOSXvincentdarley2002-10-162-67/+247
|
* macosx menu accelerator fixvincentdarley2002-10-161-5/+3
|
* * macosx/Makefile: don't remove tclsh after building embedded.das2002-10-092-7/+28
| | | | | * macosx/Wish.pbproj/project.pbxproj: bumped version to 8.4.1; added missing library/mkpsenc.tcl to framework.
* 2002-10-02 Jim Ingham <jingham@apple.com>wolfsuit2002-10-031-8/+5
| | | | | | * 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.
* * macosx/Makefile: preserve environment value of INSTALL_ROOT.das2002-09-265-45/+176
| | | | | | | | | | | | | | | | | | | | | | | | 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}
* In TkpIsWindowFloating, check for NULL before passing the wRefwolfsuit2002-09-231-1/+6
| | | | to GetWindowClass.
* Minor cleanup, no content changes.wolfsuit2002-09-231-8/+14
|
* 2002-09-22 Jim Ingham <jingham@apple.com>wolfsuit2002-09-221-7/+16
| | | | | | | * 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.
* * generic/tk.h:das2002-09-126-25/+42
| | | | | | | | | | | | | | | | | | * 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.
* * macosx/Wish.pbproj/project.pbxproj: reference & installdas2002-09-121-1/+1
| | | | tk/generic/prolog.ps instead of tk/library/prolog.ps.
* * macosx/Wish.pbproj/project.pbxproj: added backwardsdas2002-09-101-1/+3
| | | | compatibility for Mac OS X 10.1 ProjectBuilder 2.0.