summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* * macosx/tkMacOSXCarbonEvents.c: fix debug carbon event tracing;das2008-06-191-44/+46
| | | | | (InstallStandardApplicationEventHandler): replace needless use of TkMacOSXInitNamedDebugSymbol() by standard TkMacOSXInitNamedSymbol().
* * macosx/tkMacOSXDebug.c: revert 2007-11-09 commit makingdas2008-06-192-5/+6
| | | | | * macosx/tkMacOSXDebug.h: TkMacOSXInitNamedDebugSymbol() available outside of debug builds.
* * macosx/tkMacOSXEmbed.c (TkpMakeWindow): fix bug with missingdas2008-06-192-19/+59
| | | | | | * macosx/tkMacOSXSubwindows.c (XMapWindow): focus on first map by only sending VisibilityNotify events once windows are mapped (rather than when they are created).
* * macosx/tkMacOSXInit.c: add helper to efficiently convert fromdas2008-06-192-3/+53
| | | | * macosx/tkMacOSXPrivate.h: CFString to Tcl_Obj.
* * macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessWindowEvent): fixdas2008-06-191-2/+2
| | | | return value.
* * macosx/tkMacOSXFont.c (TkpGetFontFromAttributes, InitFont): fixdas2008-06-191-34/+65
| | | | | incorrect conversion to points of font sizes already in points; factor out retrieval of font family name from font family ID.
* * macosx/tkMacOSXXStubs.c (Tk_ResetUserInactiveTime): use UsrActivitydas2008-06-121-2/+2
| | | | instead of OverallAct (which may be ignored in some circumstances).
* * macosx/Wish.xcodeproj/project.pbxproj: add tclIORTrans.c; add tclOOdas2008-06-125-503/+905
| | | | | | | | | * macosx/Wish.xcodeproj/default.pbxuser: files to tktest-X11 target; add debug targets for 64bit and with corefoundation disabled; updates and cleanup for Xcode 3.1 and for Leopard; sync with Tcl.xcodeproj. * macosx/Wish.xcode/project.pbxproj: sync Wish.xcodeproj changes. * macosx/Wish.xcode/default.pbxuser: * macosx/README: document new build configs.
* * macosx/Wish.xcodeproj/project.pbxproj: add new tclOO files; add debugdas2008-06-012-9/+129
| | | | | * macosx/README: targets with gcov; update to Xcode 3.1.
* fix Makefile dependencydas2008-05-061-2/+2
|
* "default" and "focus" adornments should not be disjoint [Bug 1942785]jenglish2008-05-041-1/+3
|
* fix typos, whitespacedas2008-05-032-5/+5
|
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-279-1984/+1956
|
* remove ioUtil.test, llvm-gcc fixdas2008-04-251-9/+1
|
* * configure tktest-X11 with --disable-corefoundation to enable testing of ↵das2008-04-152-7/+25
| | | | | | | both notifiers from Xcode * add vsapi.test * sync Wish.xcode with Wish.xcodeproj
* * README: Bump version number to 8.6a0dgp2008-04-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * macosx/Wish-Common.xcconfig: * unix/configure.in: * unix/tk.spec: * win/README: * win/configure.in: * win/tcl.m4: * unix/configure: autoconf-2.59 * win/configure: * generic/tkConsole.c: Relax Tcl_InitStubs() calls so that a Tk 8.6 * generic/tkMain.c: might [load] into a Tcl 8.5 interp. * generic/tkWindow.c: * generic/tkStubLib.c: Update to compatibility with a libtcl.so that contains no "tclStubsPtr" [Tcl Bug 1819422]. * generic/tkDecls.h: make genstubs * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h:
* * macosx/Wish.xcodeproj/project.pbxproj: add support for Xcode 3.1das2008-03-123-4/+23
| | | | | * macosx/Wish.xcodeproj/default.pbxuser: CODE_SIGN_IDENTITY and * macosx/Wish-Common.xcconfig: 'xcodebuild install'.
* * macosx/GNUmakefile: fix quoting to allow paths todas2008-03-112-42/+49
| | | | | | | | | | | * macosx/Wish-Common.xcconfig: ${builddir}, ${INSTALL_ROOT} * unix/Makefile.in: and ${TCL_BIN_DIR} to contain * unix/configure.in: spaces. * unix/install-sh: * unix/tcl.m4: * unix/Makefile.in (install-strip): strip non-global symbols from dynamic library.
* * macosx/Wish.xcodeproj/project.pbxproj: add support for Xcode 3.1 anddas2008-03-112-3/+261
| | | | | * macosx/Wish.xcodeproj/default.pbxuser: targets for building with * macosx/Wish-Common.xcconfig: gcc-4.2 and llvm-gcc-4.2.
* fix copyright yeardas2008-02-271-4/+4
|
* * macosx/tkMacOSXDraw.c: workaround leak in Carbon SetPortPenPixPat()das2008-02-271-12/+26
| | | | API [Bug 1863346]; avoid repeated PixPat allocation/deallocation.
* * macosx/Wish-Info.plist.in: add CFBundleLocalizations key, listingdas2008-02-021-1/+5
| | | | | | | | | * unix/configure.in (Darwin): all library/msgs locales. * unix/configure.in (Darwin): correct Info.plist year substitution in non-framework builds. * unix/configure: autoconf-2.59
* fix building on Pantherdas2007-12-151-1/+3
|
* merge stable branch onto HEADdgp2007-12-1341-41/+41
|
* * macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): Revert 2007-10-26das2007-12-123-34/+137
| | | | | | | | | | | | | change to window class of transient toplevels that are not also overrideredirect. [Bug 1845899] * macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): Implement more * macosx/tkMacOSXMouseEvent.c (BringWindowForward): X11-like transient * macosx/tkMacOSXSubwindows.c (XDestroyWindow): behaviour by adding transient windows to a window group owned by the master window, this ensures transients always remain in front of and are collapsed with the master; bring master to front when selecting transient windows; restore default window group of transients if master destroyed. [Bug 1845899]
* add inttypes.h #include (sync with tkUnixPort.h change of 2007-11-28)das2007-12-101-1/+4
|
* Fix TCombobox layout on OSX so as not to truncate long textjenglish2007-12-061-2/+2
| | | | when combobox is wider than requested [Bug 1845164].
* Improved macrology for statically-initialized layout template tables.jenglish2007-12-021-41/+27
|
* * generic/ttk/ttkElements.c, macosx/ttkMacOSXTheme.c:jenglish2007-11-191-17/+35
| | | | | | | | | | | | Add "fill" element: like "background" but only erases parcel. * generic/ttk/ttkFrame.c: Use fill element in Labelframe Label sublayout. Also improved default labelmargins for -labelanchor w*, e*. * generic/ttk/ttkLabel.c: no longer need Labelframe hack. * library/ttk/aquaTheme.tcl: ImageTextElement no longer needed. TextElement no longer needs '-background' option.
* ttkMacOSXTheme.c: Resynchronize with Tile codebasejenglish2007-11-181-41/+50
| | | | | so that patches can flow back and forth. aquaTheme.tcl: Extra TButton -padding no longer needed.
* whitespacedas2007-11-171-9/+6
|
* * macosx/tkMacOSXFont.c (TkpMeasureCharsInContext): Correct ancc_benny2007-11-161-8/+13
| | | | oversight in the bug fix from 2007-11-11. [Bug 1824638]
* * macosx/Wish.xcodeproj/project.pbxproj: add new chanio.test.das2007-11-152-4/+8
| | | | * macosx/Wish.xcode/project.pbxproj:
* whitespacedas2007-11-131-9/+8
|
* * macosx/tkMacOSXFont.c (TkpMeasureCharsInContext): Fix thecc_benny2007-11-111-27/+28
| | | | | case when TK_WHOLE_WORDS and TK_AT_LEAST_ONE are both set and maxLength is small. [Bug #1824638]
* * macosx/tkMacOSXButton.c: sync formatting, whitespace, copyrightdas2007-11-094-15/+16
| | | | | | | | | | * macosx/tkMacOSXDialog.c: with core-8-4-branch. * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXWm.c: * xlib/xgc.c * library/bgerror.tcl: * library/console.tcl: * library/menu.tcl:
* * macosx/tkMacOSXFont.c (TkpGetFontAttrsForChar): panic on false returndas2007-11-091-2/+5
| | | | from TkMacOSXSetupDrawingContext().
* fix warningsdas2007-11-082-7/+4
|
* move #includes for TkMacOSXGetNamedDebugSymbol() outside of TK_MAC_DEBUG #ifdefdas2007-11-081-4/+4
|
* * macosx/tkMacOSXCarbonEvents.cdas2007-11-081-59/+95
| | | | | | | | | | | | (InstallStandardApplicationEventHandler): on Mac OS X Leopard, replace the 2005-11-27 approach of installing the standard application handler by calling RAEL and immediately longjmping out of it from an event handler, as that now leads to crashes in -[NSView unlockFocus] whenever HIToolbox uses Cocoa in Leopard (Help menu, Nav Services, Color Picker). Instead call InstallStandardEventHandler() on the application and menubar event targets, as Leopard ISEH finally handles these correctly. Unfortunately need a HIToolbox-internal SPI to retrieve the menubar event target, no public API appears have that functionality.
* * macosx/tkMacOSXDebug.c: make TkMacOSXInitNamedDebugSymbol()das2007-11-082-6/+5
| | | | | * macosx/tkMacOSXDebug.h: available outside of debug builds as the new Leopard ISAEH needs it.
* * macosx/tkMacOSXButton.c: replace HiliteControl() by modern APIdas2007-11-082-130/+238
| | | | | | | | | | | | | * macosx/tkMacOSXMenubutton.c: for activation and enabling; distinguish inactive and disabled look&feel; correct activation handling to match that of container toplevel. * macosx/tkMacOSXMenubutton.c: correct size computation of bevelbutton variant to match that of buttons; fix crash with bitmap due to NULL GC; delay picParams setup until needed; formatting cleanup. [Bug 1824521]
* * macosx/tkMacOSXDefault.h: correct button & menubutton activedas2007-11-081-6/+7
| | | | | foreground and background colors and menubutton border width.
* * macosx/tkMacOSXWindowEvent.c: handle kEventWindowExpanding carbondas2007-11-081-5/+15
| | | | | | | | | | * macosx/tkMacOSXCarbonEvents.c: event instead of kEventWindowExpanded to ensure activate event arrives after window is remapped, also need to process all Tk events generated by remapping in the event handler to ensure children are remapped before activate event is processed.
* * macosx/tkMacOSXSubwindows.c: add pixmap size field to MacDrawabledas2007-11-085-26/+50
| | | | | | | * macosx/tkMacOSXInt.h: struct; add flag for B&W pixmaps. * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXMenu.c:
* * macosx/tkMacOSXPrivate.h: correct Leopard HIToolboxVersionNumber.das2007-11-081-2/+2
|
* * macosx/ttkMacOSXTheme.c: add error checking; cleanup formatting.das2007-11-081-137/+142
|
* Ttk_ElementSize: Fixed longstanding, subtle bug that caused element paddingjenglish2007-11-081-1/+3
| | | | | | to sometimes be counted twice in size computations. Fix ElementSizeProcs affected by previous change.
* * macosx/ttkMacOSXTheme.c(TreeitemLayout): Remove focus ringjenglish2007-11-051-3/+12
| | | | from treeview items on OSX (problem reported by Kevin Walzer).
* * macosx/tkMacOSXMenus.c: add "Run Widget Demo" menu item to thedas2007-11-041-54/+143
| | | | | | default Edit menu along with associated carbon event handler enabling the item only if demo files are installed; cleanup handling of "About" and "Source" menu items.