summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* Backport of 8.5 wm iconphoto that added support for Tk photohobbs2004-10-051-3/+74
| | | | | | | | * generic/tkInt.h (TkDisplay): images as titlebar icons. TIP #159 * win/tkWinWm.c (WmIconphotoCmd): wm iconphoto ?-default? image1 ... * macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix, * unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X. * tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]
* * macosx/README: typosdas2004-09-182-11/+12
| | | | | * macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext): performance improvements: removed slow & unnecessary calls.
* * generic/tkRectOval.c (ComputeRectOvalBbox): Mac OS X specificdas2004-07-271-2/+2
| | | | | | | | | fix to rounding in bounding box 'bloat' calculation to avoid drawing outside of bounding box when CG drawing enabled. Fix probably correct on other platforms as well? * macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): fixed LinkVar type for tkMacOSXCGAntiAliasLimit.
* Fix the doco's for the anti-aliasing limit variable to be more helpfulwolfsuit2004-07-271-3/+3
|
* Change the default menu -tearoff value to 0 until we actually get tearoffwolfsuit2004-07-251-2/+7
| | | | menus working again.
* Forgot this one in the last checkin...wolfsuit2004-07-251-221/+526
|
* Finish the implementation of the CG version of the X Drawing layer.wolfsuit2004-07-254-60/+174
| | | | | Add support for returning values for the wm attributes commands, and use FSRef's rather than FSSpec's.
* [merge from trunk version 1.9]cc_benny2004-07-231-48/+338
| | | | | | | | | | | | Fix several problems with Icelandic (and Faroese) keyboards reported by Jérôme Gagnon-Voyer <gagnonje5000<at>mac<dot>com> on tcl-mac on 2004-03-22. (KLSInit): Add. (GetKCHREncoding): Add. (GetKeyboardLayout): Add calls to Keyboard Layout Services, if present. Rework classic handling. Use GetKCHREncoding(). Add parameter encodingPtr.
* * macosx/Makefile: added support to tk framework build todas2004-07-203-10/+21
| | | | | | | | | | | | | optionally install tk manpages in addition to html help, similarly to tcl/macosx/Makefile. * macosx/Wish.pbproj/project.pbxproj: fixes for building with non-default SYMROOT/OBJROOT/SRCROOT, added support for using a Tcl.framework in DYLIB_INSTALL_PATH != /Library/Frameworks, added optional support for building html help without tcl sources present by giving explicit location of tcltk-man2html script. * macosx/tkMacOSXMenu.c: fixed #include case sensitivity bug.
* 2004-07-14 Jim Ingham <jingham@apple.com>wolfsuit2004-07-151-4/+9
| | | | | | | | * macosx/tkMacOSXCursor.c (TkpSetCursor): The code to not reset the cursor more often than necessary was getting fooled when the current cursor was nulled out when the current cursor gets freed. So in the case where the input cursor was NULL, we have to just always set it. [Bug #894550]
* * README, macosx/Wish.pbproj/project.pbxproj: bumped tohobbs2004-07-131-4/+4
| | | | | * unix/configure, unix/configure.in, unix/tk.spec: patchlevel 8.4.7 * win/configure, win/configure.in:
* * generic/tkClipboard.c: Move TkClipCleanup from tkClipboard.chobbs2004-05-031-8/+44
| | | | | | | | | * mac/tkMacXStubs.c: to being implemented in a platform * macosx/tkMacOSXXStubs.c: specific manner. The cleanup order was * unix/tkUnixEvent.c: bad at least on Windows, where we * win/tkWinX.c: reset/cleared display info that was still needed for the clipboard to render. [Bug #939389, #822002, #732662]
* Fix for Bug 220871.wolfsuit2004-04-011-10/+16
|
* XMoveWindow and XMoveResizeWindow need to propagate configure notify eventswolfsuit2004-03-211-4/+50
| | | | down to their children.
* Trivial bug in tracking Hide/Show pairs.wolfsuit2004-03-171-2/+2
|
* Get the "Command-H" -> hide binding working. Also remove the spuriouswolfsuit2004-03-173-46/+109
| | | | Quit menu item from the File command.
* * (TkpInitKeymapInfo): Don't make <Alt> and <Meta> synonymscc_benny2004-02-251-1/+15
| | | | for <Command> and <Option> for now. (Copied from 1.17)
* * macosx/tkMacOSXDraw.c:das2004-02-232-29/+79
| | | | | | | | | | * macosx/tkMacOSXXStubs.c: * xlib/ximage.c: fixed MacOSX XGetImage/XPutImage and related functions to deal properly with XImages copied from screen. * generic/tkCanvPs.c (TkImageGetColor): MacOSX fix. * generic/tkImgPhoto.c (ImgPhotoDisplay): enabled alpha blending for images with partial transparency on MacOSX. [Bug 809157]
* * macosx/tkMacOSXMouseEvent.c: fixed modifiers for MouseWheel events.das2004-02-173-3/+4
| | | | | | | | | | | * library/listbox.tcl: * library/text.tcl: * library/scrlbar.tcl: on Mac OS, add bindings for MouseWheel with modifiers, according to platform convention: Option increases scrolling speed 10 fold; Space scrolls horizontally. * macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: changed year in copyright strings to 2004.
* Backport Mac OS X specific fixes from TOT. See ChangeLog for details.wolfsuit2004-02-1622-577/+1216
| | | | | | | In tk_getOpenFile filters, handle the case where you have a Macintosh file type and the files have no filetype. Fix various formatting nits.
* Applying Patch 112997, and hunting down a couple more places where we werewolfsuit2004-02-143-70/+65
| | | | still using Pascal interfaces.
* update to patchlevel 8.4.6hobbs2004-02-131-4/+4
|
* * macosx/Wish.pbproj/project.pbxproj: removed erroneous referencedas2004-01-272-9/+7
| | | | | | | to mkpsenc.tcl in bundle resources phase (mkpsenc.tcl is already part of the copy files phase to Resources/Scripts). * macosx/Makefile: added support for 'xcodebuild' on Mac OS X 10.3.
* * macosx/Wish.pbproj/project.pbxproj: added missing private headersdas2004-01-011-0/+6
| | | | | | to installed Tk.framework, so that tkInt.h can be included sucessfully from Tk.framework/PrivateHeaders. * generic/tkPort.h: corrected include of tkMacOSXPort.h
* Import fix for jerky scrollbar behavior from TOT.wolfsuit2003-12-171-50/+84
|
* * generic/tk.h: Bumped patch level to 8.4.5.1 to distinguishdgp2003-12-031-4/+4
| | | | | | | | | * unix/configure.in: CVS snapshots from the 8.4.5 release. * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* * README: Bumped patch level to 8.4.6 to distinguishdgp2003-12-031-4/+4
| | | | | | | | | | | * generic/tk.h: CVS snapshots from the 8.4.5 release. * unix/configure.in: * unix/tk.spec: * win/configure.in: * macosx/Wish.pbproj/project.pbxproj: * unix/configure: autoconf (2.13) * win/configure:
* * keyArray: Add 0x34 as <Return>. Add notes. (Merge fromcc_benny2003-11-211-1/+13
| | | | trunk 1.6)
* * macosx/tkMacOSXClipboard.c (TkSuspendClipboard, TkSelGetSelection):hobbs2003-11-111-3/+44
| | | | add unicode clipboard support. [Patch #840107] (senn)
* * mac/tkMacButton.c (TkpDisplayButton):hobbs2003-10-101-4/+4
| | | | | | * macosx/tkMacOSXButton.c (TkpDisplayButton): * unix/tkUnixButton.c (TkpDisplayButton): correct imageYOffset for buttons with just images.
* * 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]