summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * 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.