summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* Fix for #742882 "Potential division by zero in gridded wm geometry"jenglish2004-06-161-6/+17
|
* The TIP specified a -detail option, not a -finemessage option.dkf2004-05-241-5/+5
|
* Turn on the -finemessage option (TIP 152) for Mac OS X.wolfsuit2004-05-241-5/+5
|
* * generic/tkClipboard.c: Move TkClipCleanup from tkClipboard.chobbs2004-05-031-8/+44
| | | | | | | | * macosx/tkMacOSXXStubs.c: to being implemented in a platform * unix/tkUnixEvent.c: specific manner. The cleanup order was * win/tkWinX.c: bad at least on Windows, where we reset/cleared display info that was still needed for the clipboard to render. [Bug #939389, #822002, #732662]
* Fix several problems with Icelandic (and Faroese) keyboardscc_benny2004-04-211-48/+338
| | | | | | | | | | | 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.
* Fixes for bugs 220871 and 917557. Plus remove the Quit menu from the defaultwolfsuit2004-04-014-69/+103
| | | | File menu.
* * macosx/tclets.r (removed): obsolete holdover from mac classic.das2004-03-301-172/+0
|
* * README: Bump version to 8.5a2.dgp2004-03-261-4/+4
| | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.57 * win/configure:
* XMoveWindow and XMoveResizeWindow need to propagate ConfigureNotify eventswolfsuit2004-03-211-2/+48
| | | | to the children of the moved or resized window.
* update patchlevel to 8.5a1hobbs2004-03-021-4/+4
|
* * macosx/Makefile: ensure that xcodebuild will use thedas2004-02-231-3/+3
| | | | Wish.pbproj project even if a .xcode project is also present.
* * macosx/tkMacOSXMouseEvent.c: fixed modifiers for MouseWheel events.das2004-02-233-3/+4
| | | | | * macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: changed year in copyright strings to 2004.
* * 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. [Bug 809157]
* * doc/checkbutton.n: TIP#110 implementationhobbs2004-02-182-25/+40
| | | | | | | | | | | | | | | * doc/radiobutton.n: Tristate Checkbutton and Radiobuttons * generic/tkButton.c: * generic/tkButton.h: * library/demos/check.tcl: * library/demos/radio.tcl: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDefault.h: * tests/button.test: * unix/tkUnixButton.c: * unix/tkUnixDefault.h: * win/tkWinButton.c: * win/tkWinDefault.h:
* * (TkpInitKeymapInfo): Don't make <Alt> and <Meta> synonymscc_benny2004-02-171-1/+15
| | | | for <Command> and <Option> for now.
* Fix a bug in tk_getOpenFile - files with no types are rejected when they wouldwolfsuit2004-02-1624-253/+1442
| | | | | | pass in Mac OS Classic. Add the tkMacOSXCarbonEvents.c - just a skeleton right now. A bunch of formatting nits fixed.
* * Fix: Convert DOS lineends to Unix.cc_benny2004-02-141-824/+824
|
* Apply patch 112997, and kill a few more places where we were still usingwolfsuit2004-02-143-70/+65
| | | | Pascal string interfaces.
* * (TkpSetKeycodeAndState): Put UTF-8 into trans_chars insteadcc_benny2004-02-071-823/+824
| | | | of Latin-1.
* * generic/tkTextIndex.c: added '#include <tclInt.h>' since thedas2004-01-272-9/+7
| | | | | | | | | | code uses the TclUtfToUniChar macro from that file. [Bug 874745] * macosx/Wish.pbproj/project.pbxproj: removed erroneous reference 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.
* * (TkpGetKeySym): Ignore option key for generation of keysym,cc_benny2004-01-251-1/+10
| | | | as before.
* * (TkpSetKeycodeAndState): Add setting of xkey.trans_chars.cc_benny2004-01-241-2/+10
| | | | Now event.test works except event-double-click-drag-1.1.
* * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-138-53/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkBind.c: to 'Tcl_Panic' (the function). The #define * generic/tkBitmap.c: of panic in tcl.h clearly states it is * generic/tkCanvArc.c: deprecated in the comments. * generic/tkCanvBmap.c: [Tcl Patch 865264] * generic/tkCanvImg.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvText.c: * generic/tkCanvWind.c: * generic/tkColor.c: * generic/tkConfig.c: * generic/tkCursor.c: * generic/tkError.c: * generic/tkEvent.c: * generic/tkFocus.c: * generic/tkFont.c: * generic/tkFrame.c: * generic/tkGC.c: * generic/tkGrid.c: * generic/tkImgBmap.c: * generic/tkImgPhoto.c: * generic/tkImgUtil.c: * generic/tkMenu.c: * generic/tkObj.c: * generic/tkPack.c: * generic/tkPlace.c: * generic/tkRectOval.c: * generic/tkSelect.c: * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkTextMark.c: * generic/tkTextWind.c: * generic/tkVisual.c: * generic/tkWindow.c: * mac/tkMacAppInit.c: * mac/tkMacAppearanceStubs.c: * mac/tkMacButton.c: * mac/tkMacDraw.c: * mac/tkMacEmbed.c: * mac/tkMacFont.c: * mac/tkMacInit.c: * mac/tkMacMenus.c: * mac/tkMacPort.h: * mac/tkMacSubwindows.c: * mac/tkMacWm.c: * mac/tkMacXStubs.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXPort.h: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnix3d.c: * unix/tkUnixColor.c: * unix/tkUnixEmbed.c: * unix/tkUnixEvent.c: * unix/tkUnixFocus.c: * unix/tkUnixFont.c: * unix/tkUnixSelect.c: * unix/tkUnixSend.c: * unix/tkUnixWm.c: * win/tkWin3d.c: * win/tkWinButton.c: * win/tkWinColor.c: * win/tkWinDialog.c: * win/tkWinDraw.c: * win/tkWinEmbed.c: * win/tkWinFont.c: * win/tkWinPixmap.c: * win/tkWinPointer.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: * win/tkWinX.c:
* * 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
* * (TkpSetKeycodeAndState): Don't clobber xkey.state.cc_benny2003-12-151-3/+1
|
* * (InitLatin1Table): Rename initialized to latin1_initializedcc_benny2003-12-151-32/+32
| | | | | | | | | | 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.
* * latin1Table, (InitLatin1Table): Add.cc_benny2003-12-151-29/+177
| | | | | | | | * (XKeysymToMacKeycode): Add. * (XKeysymToKeycode): Use XKeysymToMacKeycode. * (TkpSetKeycodeAndState): Ditto. * (TkpSetKeycodeAndState): Adapt modifier flags handling. * (TkpInitKeymapInfo): Update a comment.
* * (TkpInitKeymapInfo): Remove dead code. The code depended oncc_benny2003-12-151-104/+40
| | | | | | | | | | | | | | | 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.
* * LATIN1_MAX and MAC_KEYCODE_MAX: Add and use for bettercc_benny2003-12-151-25/+47
| | | | | | | | | maintainability. * General comment on keyArray: Add. * (XKeycodeToKeysym): Replace garbled comment. Use symbols instead of magic constants. * (TkpGetKeySym): Reorder computations to make this more logical.
* * Comments: Add and clarify some points, correct spellings.cc_benny2003-12-151-268/+306
| | | | | | | * Whitespace: Remove tabs, re-indent, re-wrap comments. * keyArray: Reorder keys in logical groups. * vituralkeyArray: Rename virtualkeyArray. * Prototypes, function headers: Use ISO-C consistently.
* * keyArray: Add 0x34 as <Return>. Add notes.cc_benny2003-11-201-1/+13
|
* 2003-11-18 Jim Ingham <jingham@apple.com>wolfsuit2003-11-191-27/+47
| | | | | | | * 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.
* scrollbar fixvincentdarley2003-11-161-34/+47
|
* scrollbar size fixvincentdarley2003-11-161-2/+3
|
* * macosx/tkMacOSXClipboard.c (TkSuspendClipboard, TkSelGetSelection):hobbs2003-11-111-5/+48
| | | | add unicode clipboard support. [Patch #840107] (senn)
* TIP 155 implementationvincentdarley2003-10-311-1/+2
|
* 2003-10-23 Jim Ingham <jingham@apple.com>wolfsuit2003-10-231-27/+54
| | | | | | | | | * 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.
* * mac/tkMacButton.c (TkpDisplayButton):hobbs2003-10-101-4/+4
| | | | | | * macosx/tkMacOSXButton.c (TkpDisplayButton): * unix/tkUnixButton.c (TkpDisplayButton): correct imageYOffset for buttons with just images.
* * 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.
* Add an implementation of XSync that flushes the window buffers. This fixes ↵wolfsuit2003-09-303-5/+20
| | | | | | 814810. Also use tk text drawing for checkbutton & radiobutton labels.
* * 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.
* nested comment typodas2003-08-251-1/+0
|
* * 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-3/+3
| | | | broken by changes to tcl buildsystem.
* MacOSX fixesvincentdarley2003-07-183-5/+414
|
* * macosx/Makefile: Changes for new tcl buildsystem.das2003-07-184-1448/+66
| | | | | | | | | | | | | * 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.
* Prime the systemButtonText from the theme brush. This is really only the firstwolfsuit2003-07-031-19/+17
| | | | | stage of actually using the theme brushes to track active colors, but it gets the labelframe color working at least.
* * 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.
* * macosx/tkMacOSXInit.c (TkpInit): use new versioned bundledas2003-05-131-3/+3
| | | | resource API to get tk runtime library for TK_VERSION. [Bug 736774]