summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* * macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd, NavServicesGetFile):das2005-02-221-40/+20
| | | | | | fixed encoding problems with -initialfile & -filetypes and corrected potential buffer overrun with -initialdir/-initialfile. [Bug 1146057]
* * macosx/tkMacOSXInit.c (TkpInit): set tcl_interactive to 1 to showdas2005-01-251-6/+7
| | | | | | | | | | console at startup instead of directly calling [console show]. * unix/tcl.m4 (Darwin): fixed bug with static build linking to dynamic library in /usr/lib etc instead of linking to static library earlier in search path. [Tcl Bug 956908] Removed obsolete references to Rhapsody. * unix/configure: autoconf-2.57
* Changed to make platform implementation ready for a toplevel -use option; ↵chengyemao2005-01-091-2/+3
| | | | completed a full toplevel -use option configuration for Windows
* Corrected handling of MacOS filetypes in tk_*file dialogsvincentdarley2004-12-201-3/+2
|
* Bump to 8.5a3dkf2004-12-113-8/+8
|
* * macosx/Wish.pbproj/project.pbxproj: reverted earlier changes fordas2004-11-191-3/+3
| | | | tclConfig.h changes to tcl, since those have been reverted for now.
* * macosx/Wish.pbproj/project.pbxproj: reverted earlier changes fordas2004-11-191-3/+6
| | | | tclConfig.h changes to tcl, since those have been reverted for now.
* Remove extra space after {BUILD_PRODUCTS.wolfsuit2004-11-171-2/+2
|
* * macosx/Wish.pbproj/project.pbxproj:das2004-11-166-28/+4368
| | | | | | | | | | | | | | | * macosx/buildTkConfig.tcl: fixes for tclConfig.h changes. * macosx/Wish.pbproj/project.pbxproj: fixed references to renamed bitmap files. * macosx/Wish.xcode/project.pbxproj (new): * macosx/Wish.xcode/default.pbxuser (new): * macosx/Wish-Info.plist (new): * macosx/Tk-Info.plist (new): added new Xcode 1.5 project using native targets, made possible by tclConfig.h changes. * generic/tk.h: added version number change comments for new files.
* * macosx/tkMacOSXXStubs.c: implemented XGetGeometry().das2004-11-131-4/+24
|
* * doc/SetOptions.3:das2004-11-121-48/+75
| | | | | | | | * doc/text.n: fixed *roff errors uncovered by running 'make html'. * macosx/tkMacOSXFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Make sure that the lastSubFontPtr remains valid even when the subfont array is reallocated. [Bug 618872]
* * generic/tkMain.c:das2004-11-1112-621/+995
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXAppInit.c (removed): * macosx/Wish.pbproj/project.pbxproj: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: changes to make TkAqua dynamically loadable, enabling [package require Tk] from tclsh. Startup code from tkMacOSXAppInit.c moved into tkMacOSXInit.c, added code that notifies the window server that an unbundled executable is a full GUI application after loading Tk. [Patch 1035348] * doc/wm.n: documented [wm attributes] on Mac OS X. [Bug 606665] * macosx/tkMacOSXWm.c: implemented TIP 222 [wm attributes -alpha] on Mac OS X. [Patch 892194] WmIconbitmapCmd: adopted FSRef changes from [wm atttrs -titlepath]. * macosx/tkMacOSXSubwindows.c: synced spacing/formatting with core-8-4-branch. * generic/tkRectOval.c: * macosx/README: * macosx/tkMacOSXDefault.h: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXWm.c: forward port from core-8-4-branch of Jim's and my changes for CG drawing and [wm attributes] (corresponds to 8.4 changes dating from 09-18, 07-27, 07-24). * macosx/tkMacOSXMouseEvent.c: endianness fixes. * macosx/Wish.pbproj/project.pbxproj: corrected path to html help inside framework. * macosx/Makefile: prevent parallel make from building several targets at the same time.
* fix to MacOSX compound button layoutvincentdarley2004-11-091-4/+10
|
* Fix silly typodkf2004-10-261-2/+2
|
* Attempt to fix [Bug 919066] by allowing the code that creates the regiondkf2004-10-261-5/+65
| | | | much more knowledge of the platform functions available to it.
* Add -hide and -stretch options to panedwindow widgets. (TIPs 177 and 179)dkf2004-10-241-1/+3
| | | | Thanks to Brian Griffin for developing these! [Patch 983886]
* * doc/wm.n (iconphoto): 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]
* Make sure user_data is NULL everywhere it isn't set. [Bug 1021812]dkf2004-09-032-3/+5
|
* * macosx/tkMacOSXWm.c: Made use of Tcl_WrongNumArgs in a fewdgp2004-08-251-6/+3
| | | | * win/tkWinMenu.c: appropriate spots.
* * 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]
* 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.