summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent): fix boolean argdas2007-11-041-2/+2
|
* * macosx/Wish.xcodeproj/project.pbxproj: add new demo file.das2007-11-042-2/+6
| | | | * macosx/Wish.xcode/project.pbxproj:
* * macosx/tkMacOSXColor.c (GetThemeColor): improve translation of RGBdas2007-11-011-4/+7
| | | | pixel values into RGBColor.
* * generic/ttk/ttkWidget.c: Split up RedisplayWidget()jenglish2007-10-301-22/+10
| | | | | | | | | | | | | to factor out double-buffering related code. * macosx/ttkMacOSXAquaTheme.c: Use SetThemeBackGround/ kThemeBrushModelessDialogBackground{Active|Inactive} instead of ApplyThemeBackground/kThemeBackgroundWindowHeader (advice from DAS). * library/ttk/aquaTheme.tcl: Use darker shade for inactive and disabled text, to match typical values of most kThemeXXXTextColorInactive values.
* use Monaco 11 (was 9) as Aqua TkFixedFonthobbs2007-10-301-3/+2
|
* * tests/listbox.test, tests/panedwindow.test, tests/scrollbar.test:hobbs2007-10-301-25/+22
| | | | | | | | | | | | | | | | * library/bgerror.tcl, library/dialog.tcl, library/listbox.tcl: * library/msgbox.tcl, library/optMenu.tcl, library/tclIndex: * library/tkfbox.tcl, library/demos/floor.tcl, library/demos/rmt: * library/demos/tcolor, library/demos/text.tcl: * library/demos/twind.tcl, library/demos/widget: Buh-bye Motif look * library/ttk/fonts.tcl: Update of Tk default look in 8.5 * macosx/tkMacOSXDefault.h: Trims border sizes, cleaner X11 look * unix/tkUnixDefault.h: with minor modifications for Win32/Aqua. * win/tkWinDefault.h: Uses Tk*Font definitions throughout for * win/tkWinFont.c: classic widgets. [Bug #1820344] * library/obsolete.tcl (::tk::classic::restore): This restores changes made to defaults in 8.5 using the 'option' command, segmented into logical groups.
* * library/ttk/combobox.tcl: Make popdown window [wm resizable 0 0]jenglish2007-10-281-38/+33
| | | | | | | on OSX, to prevent TkAqua from shrinking the scrollbar to make room for a grow box that isn't there. * macosx/ttkMacOSXTheme.c, library/ttk/aquaTheme.tcl: Reworked combobox layout.
* * macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): fix window class ofdas2007-10-261-14/+17
| | | | transient toplevels that are not also overrideredirect. [Bug 1816252]
* whitespacedas2007-10-261-7/+7
|
* * macosx/tkMacOSXDialog.c: TIP#242 cleanup.das2007-10-261-29/+28
| | | | * library/demos/filebox.tcl: demo TIP#242 -typevariable.
* * doc/getOpenFile.n: TIP#242 implementation of -typevariable tohobbs2007-10-251-23/+74
| | | | | | | | | * library/tkfbox.tcl: return type of selected file in file dialogs. * library/xmfbox.tcl: [Bug #1156388] * macosx/tkMacOSXDialog.c: * tests/filebox.test: * tests/winDialog.test: * win/tkWinDialog.c:
* Move widget layout registration from TtkElements_Init()jenglish2007-10-251-25/+25
| | | | | to widget *_Init() routines. Renaming/consistency: s/...ElementGeometry()/...ElementSize()/
* * macosx/Wish.xcodeproj/project.pbxproj: add new demo files.das2007-10-232-5/+25
| | | | * macosx/Wish.xcode/project.pbxproj:
* * macosx/Wish.xcodeproj/project.pbxproj: add new demo files.das2007-10-212-7/+15
| | | | * macosx/Wish.xcode/project.pbxproj:
* * macosx/tkMacOSXFont.c: register named fonts for TIP #145 fontsdas2007-10-211-2/+132
| | | | and all theme font IDs.
* * macosx/ttkMacOSXTheme.c: adjust button and separator geometry.das2007-10-171-3/+3
|
* * macosx/tkMacOSXWm.c: fix warnings.das2007-10-171-8/+8
|
* * macosx/Wish.xcodeproj/project.pbxproj: add new demo files.das2007-10-172-2/+10
| | | | * macosx/Wish.xcode/project.pbxproj:
* * generic/tkFocus.c, generic/tkFrame.c, generic/tkInt.h:hobbs2007-10-153-19/+202
| | | | | | | | * macosx/tkMacOSXButton.c, macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXWm.c, unix/tkUnixWm.c, win/tkWinWm.c: * doc/wm.n, tests/wm.test: TIP #125 implementation [Bug 998125] Adds [wm manage|forget] for dockable frames. Finished X11 and Windows code, needs OS X completion.
* * macosx/Wish-Common.xcconfig: add 'tktest-X11' target.das2007-10-155-6/+2048
| | | | | | | * macosx/Wish.xcode/project.pbxproj: * macosx/Wish.xcode/default.pbxuser: * macosx/Wish.xcodeproj/default.pbxuser: * macosx/Wish.xcodeproj/project.pbxproj:
* * macosx/tkMacOSXDraw.c: replace all (internal) use of QD regiondas2007-10-1214-431/+1050
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXSubwindows.c: API by HIShape API, with conversion to * macosx/tkMacOSXWindowEvent.c QD regions only when required by legacy * macosx/tkMacOSXPrivate.h: Carbon or Tk API. * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXInt.h: replace MacDrawable's QD RgnHandles * macosx/tkMacOSXEmbed.c: clipRgn, aboveClipRgn & drawRgn by * macosx/tkMacOSXMenu.c: HIShapeRefs visRgn & aboveVisRgn and * macosx/tkMacOSXSubwindows.c: CGRect drawRect. * macosx/tkMacOSXWindowEvent.c: remove use of QD port vis rgn in window * macosx/tkMacOSXSubwindows.c: update rgn calculation, manually excise * macosx/tkMacOSXWm.c: growbox from toplevel clip rgn instead. * macosx/tkMacOSXDraw.c: replace use of QD port clip rgn by new * macosx/tkMacOSXPrivate.h: clipRgn fld in TkMacOSXDrawingContext; handle QD/CG drawing mismatches in XCopyArea, XCopyPlane and TkPutImage; cleanup/speedup CGContext setup in TkMacOSXSetupDrawingContext(). * macosx/tkMacOSXDraw.c: change TkMacOSXSetupDrawingContext() to * macosx/tkMacOSXEntry.c: return boolean indicating whether * macosx/tkMacOSXFont.c: drawing is allowed (and was setup) or * macosx/tkMacOSXMenu.c: not (e.g. when clipRgn is empty). * macosx/ttkMacOSXTheme.c: * macosx/tkMacOSXSubwindows.c: signal that drawable is a pixmap via * macosx/tkMacOSXInt.h: new explicit TK_IS_PIXMAP flag instead of a NULL cligRgn field. * macosx/tkMacOSXRegion.c: add wrappers for missing/buggy HIShape * macosx/tkMacOSXPrivate.h: API, and private helpers to operate on HIShapeRefs & convert to/from TkRegion. * macosx/tkMacOSXRegion.c: add Tkp{Retain,Release}Region() API for * macosx/tkMacOSXInt.h: TkRegion.
* * xlib/xgc.c: factor out alloc/free of GC clip_mask;das2007-10-121-10/+3
| | | | | * macosx/tkMacOSXXStubs.c: manage clip rgn lifetime with new Tkp{Retain,Release}Region().
* * macosx/tkMacOSXButton.c: delay picParams setup until needed.das2007-10-121-25/+16
|
* * macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): manually constrain resizedas2007-10-111-2/+13
| | | | | limitBounds to maxBounds, works around SectRect() mis-feature (return zero rect if input rect has zero height/width). [Bug 1810818]
* * macosx/Wish-Common.xcconfig: enable Tcl DTrace support.das2007-09-142-3/+7
| | | | * macosx/Wish.xcodeproj/project.pbxproj:
* cleanupdas2007-09-111-11/+7
|
* remove references to tkInitScript.hdas2007-09-072-6/+2
|
* * generic/tkWindow.c (Initialize): Moved common Tk initializationdgp2007-09-061-8/+2
| | | | | | | | | | | * generic/tkInitScript.h (removed): script out of tkInitScript.h * macosx/tkMacOSXInit.c: and multiple TkpInit() routines and * unix/Makefile.in: into the common Initialize() routine in * unix/tkUnixInit.c: generic code. Also removed constraint on * win/tkWinInit.c: ability to define a custom [tkInit] before calling Tk_Init(). Until now the custom [tkInit] had to be a proc. Now it can be any command. Removal of tkInitScript.h also fixes [Bug 1656283].