summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* * macosx/tkMacOSXDraw.c (XDrawLines, XDrawSegments): correcthobbs2005-07-291-98/+101
| | | | | drawing of CoordModePrevious style (each point based on last). Exposed by tktable -drawmode fast.
* * macosx/tkMacOSXWm.c (TkpWmSetState): add IsWindowCollapsed checkhobbs2005-07-282-248/+315
| | | | | | | | | | | | before calling CollapseWindow. (WmResizableCmd): adjust kWindow*Attributes according to resize parameters. * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): handle inToolbarButton action (generates <<ToolbarButton>> virtual event) and correct inCollapseBox to properly track the event (waiting for buttonrelease) and generate the Unmap event (Map event on redisplay still missing).
* * generic/tkFrame.c (DisplayFrame):hobbs2005-07-281-5/+88
| | | | | | | | | | | * generic/tkInt.decls: add TkpDrawFrame to allow for * generic/tkIntDecls.h: platform-specific drawing into the frame/ * generic/tkStubInit.c: toplevel area. Currently only differs on * generic/tkFrame.c: OS X (Aqua), which will draw a themed bg * win/tkWinDraw.c: if tk::mac::useThemedToplevel == 1. * unix/tkUnixDraw.c: Normal frames left alone until we can * mac/tkMacDraw.c: better factor out frame drawing to be * macosx/tkMacDraw.c: widget-specific.
* * generic/tkInt.h: Swap TkUnsupported1Cmd for TkUnsupported1ObjCmd.hobbs2005-07-283-408/+389
| | | | | | | | | | | | * generic/tkWindow.c: Ditto. (neil madden) * macosx/tkMacOSXInt.h: Added TkMacOSXWindowClass decl * macosx/tkMacOSXWm.c (TkMacOSXWinStyle) New function. (TkUnsupported1ObjCmd): New function, replaces the un-objectified version of the command, recognizes more classes and attributes. (TkMacOSXWindowClass): private function to return OS X class of a Tk window. * macosx/tkMacOSXSubwindows.c (XMapWindow, XUnmapWindow): recognize special show/hide functions for sheets
* * macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): sethobbs2005-07-211-1/+1
| | | | oldWidth to avoid warning
* * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent):hobbs2005-07-211-1/+1
| | | | corrected if expression error (use of = instead of ==)
* * macosx/tkMacOSXDefault.h: change ENTRY_BORDER defaults to from 5 to 2das2005-06-231-4/+4
| | | | | to make default entry widgets in TkAqua look like in other aqua apps (and have same border dimensions as other platforms). [Bug 1176610]
* *** 8.4.11 TAGGED FOR RELEASE ***das2005-06-181-2/+4
| | | | | | | | | | * macosx/Makefile: for X11 build, add -X11 suffix to unversioned wish symbolic link. * unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to ensure we can always relocate binaries with install_name_tool. * unix/configure: autoconf-2.13
* * README: Bump version number to 8.4.11dgp2005-06-181-4/+4
| | | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproc: * unix/configure.in: * win/configure.in: * unix/configure.in: Updated LOCALES to cover all msgs catalogs. * unix/configure: autoconf * win/configure:
* * macosx/Makefile: fixed 'embedded' target.core_8_4_10das2005-06-031-4/+3
|
* 2005-06-02 Jim Ingham <jingham@apple.com>wolfsuit2005-06-031-23/+41
| | | | | | | | | | | Another patch from M. Kirkham. * macosx/tkMacOSXScrlbr.c (ThumbActionProc, ScrollBarBindProc): Record the first mouse down point, and compute differences from that, rather than getting the mouse down each time through the loop. The old method would get fooled if you moved the mouse less than a text line height in the text widget. [Bug 1083728]
* * macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap, ↵mdejong2005-06-011-6/+9
| | | | | | | | | | | TkWmStackorderToplevel): * unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): * win/tkWinWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Fix panic in wm stackorder when a toplevel is created on another diplay. The code now ignores toplevels that have a display that does not match the display of the parent window. [Bug 1152809]
* * macosx/Wish.pbproj/project.pbxproj: added missing FRAMEWORK definesdas2005-05-291-1/+1
| | | | introduced with configure/make based build.
* * macosx/tkMacOSXInit.c:das2005-05-292-4/+4
| | | | * macosx/tkMacOSXNotify.c: fixed warnings.
* * README: Bumped patchlevel to 8.4.10hobbs2005-05-271-4/+4
| | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure, unix/configure.in, unix/tk.spec: * win/configure, win/configure.in:
* * macosx/tkMacOSXInit.c (TkpInit): fixed resource file extractiondas2005-05-262-18/+23
| | | | | | | | | | | | | from __tk_rsrc section to work with non-prebound .dylib and .bundle. * macosx/Makefile: corrected EMBEDDED_BUILD check, use separate tcl and tk version vars to properly support tk/x11 framework version overriding, rewrite tkConfig.sh when overriding tk version, corrected Wish.app symlink in tk build dir. * unix/configure.in: corrected framework finalization to softlink stub library to Versions/8.x subdir instead of Versions/Current. * unix/configure: autoconf-2.13
* * macosx/Makefile:das2005-05-245-116/+378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/README: * macosx/Tk-Info.plist.in (new file): * macosx/Wish-Info.plist.in (new file): * unix/Makefile.in: * unix/configure.in: * unix/tcl.m4: * unix/tkUnixInit.c: moved all Darwin framework and TkAqua build support from macosx/Wish.pbproj and macosx/Makefile into the standard unix configure/make buildsystem, the project and macosx/Makefile are no longer required to build Tk.framework and/or TkAqua. TkAqua is now enabled by the --enable-aqua configure option, and static and non-framework builds of TkAqua are now available via the standard configure switches. Tk/X11 can also be built as a framework. The macosx/Makefile now wraps the unix buildsystem and no longer uses the projects, embedded builds are still only available via this Makefile, but for other builds it is not longer required (but its current functionality is still available for backwards compatibility). The projects currently do not call through to the Makefile to build (unlike Tcl.pbproj) so project builds may differ from makefile builds. Due to issues with spaces in pathnames, 'Wish Shell.app' has been renamed to 'Wish.app', the macosx/Makefile installs backwards compatibility symlinks for the old name. * macosx/tkMacOSXInit.c (TkpInit): added support for Tk resource file in non-framework and static builds: the resource file is copied into a __tk_rsrc MachO segment of the library or executable at link time and extracted into a temporary location at initialization. * unix/configure: autoconf-2.13
* * macosx/Wish.pbproj/project.pbxproj:das2005-05-242-10/+8
| | | | * macosx/tkAboutDlg.r: updated copyright years to 2005.
* 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.