summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* From Michael Kirkham:wolfsuit2005-05-153-7/+11
| | | | | | | | | | | | | * macosx/tkMacOSXMenu.c (TkpConfigureMenuEntry): Thinko in clearing the ENTRY_ACCEL_MASK before re-parsing it. [Tk Bug 1012852] * macosx/tkMacOSXScrlbr.c (UpdateControlValues): Don't set the control value BEFORE setting the min and max or the control manager will reset it for you. [Tk Bug 1202181] * macosx/tkMacOSXXStubs.c (TkMacOSXXGetPixel, TkMacOSXXPutPixel): Restore the port to what it was before putting we were called. [Tk Bug 1202223]
* * macosx/tkMacOSXInit.c:das2005-05-1413-1078/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXNotify.c: introduction of new tcl notifier based on CFRunLoop allows replacement of the custom TkAqua notifier by a standard tcl event source. Removes requirement of threaded tcl core for TkAqua, allows to stub-link TkAqua against Tcl by removing use of the unstubbed TclInitNotifier & TclFinalizeNotifier. [Tcl Patch 1202052] * macosx/Wish.pbproj/project.pbxproj: stub-link TkAqua: build with USE_TCL_STUBS and link against libtclstub instead of Tcl.framework, unexport libtclstub symbols from Tk to avoid duplicate symbol warnings when linking with both Tcl and Tk, fixes for gcc4.0 warnings. * macosx/tkMacOSXBitmap.c: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: fixed gcc 4.0 warnings. * unix/tcl.m4: sync with tcl * unix/configure: autoconf-2.13
* * macosx/tkMacOSXNotify.c: syncd with tclUnixNotfy.c changes sincedas2005-04-261-205/+157
| | | | | | | | | | | | | | | | | | | | 2004-06-22, added compile time check for threaded tcl core, removed unthreaded code paths as they are never used anyway, fixed TkMacOSXAlertNotifier() implementation. * unix/Makefile.in: added TCL_STUB_LIB_FILE, needed for unexporting of symbols from libtclstub to avoid duplicate symbol warnings. * unix/tcl.m4 (Darwin): added configure checks for recently added linker flags -single_module and -search_paths_first to allow building with older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS definition for Mac OS X. (SC_MISSING_POSIX_HEADERS): added caching of dirent.h check. (SC_TCL_64BIT_FLAGS): fixed 'checking for off64_t' message output. * unix/configure: autoconf-2.13
* * macosx/README: updated requirements for OS & developer tooldas2005-04-091-12/+12
| | | | versions + other small fixes/cleanup.
* * macosx/tkMacOSXEntry.c (ComputeIncDecParameters): manually definedas2005-04-091-0/+6
| | | | constants present only in 10.3 headers so that we can build on 10.2.
* * macosx/Wish.pbproj/project.pbxproj: fixed absolute path todas2005-04-091-5/+5
| | | | tkEntry.h that confused 10.2 PBX.
* Add native drawing for Entry and Spinbox widgets.wolfsuit2005-03-254-66/+1740
|
* Fix for 1124237 and the mysterious "sometimes buttons don't draw" bug.wolfsuit2005-03-125-33/+54
|
* Fix for bug 1160025.wolfsuit2005-03-101-12/+24
|
* * macosx/tkMacOSX.h: fixed incorrect inclusion of internal header.das2005-02-242-10/+8
| | | | * macosx/tkMacOSXNotify.c: corrected included headers.
* * macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd, NavServicesGetFile):das2005-02-221-44/+24
| | | | | | 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.13
* bumped patchlevel to 8.4.9hobbs2004-11-251-4/+4
|
* * macosx/tkMacOSXXStubs.c: implemented XGetGeometry().das2004-11-131-4/+24
|
* * macosx/tkMacOSXFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Makedas2004-11-121-48/+75
| | | | | sure that the lastSubFontPtr remains valid even when the subfont array is reallocated. [Bug 618872]
* * generic/tkMain.c:das2004-11-1111-367/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/tkMacOSXButton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXSubwindows.c: synced spacing/formatting with HEAD. * 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. Ensure that xcodebuild will use Wish.pbproj project even if a .xcode project is also present.
* Fix for 1055023 from mikek@muonics.com.wolfsuit2004-11-101-11/+15
|
* * README: Bumped to patch level 8.4.8dgp2004-10-281-4/+4
| | | | | | | | | | | * generic/tk.h: to prepare for next patch * macosx/Wish.pbproj/project.pbxproj: release. * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* Backport of 8.5 wm iconphoto that 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]
* * macosx/README: typosdas2004-09-182-11/+12
| | | | | * macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext): performance improvements: removed slow & unnecessary calls.
* * generic/tkRectOval.c (ComputeRectOvalBbox): Mac OS X specificdas2004-07-271-2/+2
| | | | | | | | | fix to rounding in bounding box 'bloat' calculation to avoid drawing outside of bounding box when CG drawing enabled. Fix probably correct on other platforms as well? * macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): fixed LinkVar type for tkMacOSXCGAntiAliasLimit.
* Fix the doco's for the anti-aliasing limit variable to be more helpfulwolfsuit2004-07-271-3/+3
|
* Change the default menu -tearoff value to 0 until we actually get tearoffwolfsuit2004-07-251-2/+7
| | | | menus working again.
* Forgot this one in the last checkin...wolfsuit2004-07-251-221/+526
|
* Finish the implementation of the CG version of the X Drawing layer.wolfsuit2004-07-254-60/+174
| | | | | Add support for returning values for the wm attributes commands, and use FSRef's rather than FSSpec's.
* [merge from trunk version 1.9]cc_benny2004-07-231-48/+338
| | | | | | | | | | | | Fix several problems with Icelandic (and Faroese) keyboards 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.
* * 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]
* * README, macosx/Wish.pbproj/project.pbxproj: bumped tohobbs2004-07-131-4/+4
| | | | | * unix/configure, unix/configure.in, unix/tk.spec: patchlevel 8.4.7 * win/configure, win/configure.in:
* * generic/tkClipboard.c: Move TkClipCleanup from tkClipboard.chobbs2004-05-031-8/+44
| | | | | | | | | * mac/tkMacXStubs.c: to being implemented in a platform * macosx/tkMacOSXXStubs.c: specific manner. The cleanup order was * unix/tkUnixEvent.c: bad at least on Windows, where we * win/tkWinX.c: reset/cleared display info that was still needed for the clipboard to render. [Bug #939389, #822002, #732662]
* Fix for Bug 220871.wolfsuit2004-04-011-10/+16
|
* XMoveWindow and XMoveResizeWindow need to propagate configure notify eventswolfsuit2004-03-211-4/+50
| | | | down to their children.
* Trivial bug in tracking Hide/Show pairs.wolfsuit2004-03-171-2/+2
|
* Get the "Command-H" -> hide binding working. Also remove the spuriouswolfsuit2004-03-173-46/+109
| | | | Quit menu item from the File command.
* * (TkpInitKeymapInfo): Don't make <Alt> and <Meta> synonymscc_benny2004-02-251-1/+15
| | | | for <Command> and <Option> for now. (Copied from 1.17)
* * 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. * generic/tkImgPhoto.c (ImgPhotoDisplay): enabled alpha blending for images with partial transparency on MacOSX. [Bug 809157]
* * macosx/tkMacOSXMouseEvent.c: fixed modifiers for MouseWheel events.das2004-02-173-3/+4
| | | | | | | | | | | * library/listbox.tcl: * library/text.tcl: * library/scrlbar.tcl: on Mac OS, add bindings for MouseWheel with modifiers, according to platform convention: Option increases scrolling speed 10 fold; Space scrolls horizontally. * macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: changed year in copyright strings to 2004.
* Backport Mac OS X specific fixes from TOT. See ChangeLog for details.wolfsuit2004-02-1622-577/+1216
| | | | | | | In tk_getOpenFile filters, handle the case where you have a Macintosh file type and the files have no filetype. Fix various formatting nits.
* Applying Patch 112997, and hunting down a couple more places where we werewolfsuit2004-02-143-70/+65
| | | | still using Pascal interfaces.
* update to patchlevel 8.4.6hobbs2004-02-131-4/+4
|
* * macosx/Wish.pbproj/project.pbxproj: removed erroneous referencedas2004-01-272-9/+7
| | | | | | | 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.
* * 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
* Import fix for jerky scrollbar behavior from TOT.wolfsuit2003-12-171-50/+84
|
* * generic/tk.h: Bumped patch level to 8.4.5.1 to distinguishdgp2003-12-031-4/+4
| | | | | | | | | * unix/configure.in: CVS snapshots from the 8.4.5 release. * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* * README: Bumped patch level to 8.4.6 to distinguishdgp2003-12-031-4/+4
| | | | | | | | | | | * generic/tk.h: CVS snapshots from the 8.4.5 release. * unix/configure.in: * unix/tk.spec: * win/configure.in: * macosx/Wish.pbproj/project.pbxproj: * unix/configure: autoconf (2.13) * win/configure:
* * keyArray: Add 0x34 as <Return>. Add notes. (Merge fromcc_benny2003-11-211-1/+13
| | | | trunk 1.6)
* * macosx/tkMacOSXClipboard.c (TkSuspendClipboard, TkSelGetSelection):hobbs2003-11-111-3/+44
| | | | add unicode clipboard support. [Patch #840107] (senn)
* * mac/tkMacButton.c (TkpDisplayButton):hobbs2003-10-101-4/+4
| | | | | | * macosx/tkMacOSXButton.c (TkpDisplayButton): * unix/tkUnixButton.c (TkpDisplayButton): correct imageYOffset for buttons with just images.
* * README: Bumped to patch level 8.4.5dgp2003-10-031-4/+4
| | | | | | | | | | | * generic/tk.h: to prepare for next patch * macosx/Wish.pbproj/project.pbxproj: release. * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* * 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.