summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* 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]
* macosx/tkMacOSXClipboard.c (TkSelGetSelection): Convertwolfsuit2003-05-101-2/+13
| | | | '\r' to '\n' on the way into Tcl.
* * 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/tkMacOSXApplication.r (removed):das2003-03-216-1355/+26
| | | | | | | | | | * 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/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].
* 2003-03-11 Jim Ingham <jingham@apple.com>wolfsuit2003-03-122-12/+53
| | | | | | | | | | | | | | * 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.
* Fix a bug with MacOS X Tk's handling of the help menu. The code expected thewolfsuit2003-03-082-23/+16
| | | | | MacOS 9 behavior, which was to insert a separator item after the system help menus, but this doesn't happen on X...
* * README: Bumped version number ofdgp2003-03-041-14/+14
| | | | | | | | | | | | | | | | | * 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:
* correct 8.4.3 refs to 8.4.2hobbs2003-02-271-3/+3
|