| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
drawing of CoordModePrevious style (each point based on last).
Exposed by tktable -drawmode fast.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/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/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
|
|
|
|
| |
oldWidth to avoid warning
|
|
|
|
| |
corrected if expression error (use of = instead of ==)
|
|
|
|
|
| |
to make default entry widgets in TkAqua look like in other aqua apps
(and have same border dimensions as other platforms). [Bug 1176610]
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
| |
introduced with configure/make based build.
|
|
|
|
| |
* macosx/tkMacOSXNotify.c: fixed warnings.
|
|
|
|
|
|
|
| |
* generic/tk.h:
* macosx/Wish.pbproj/project.pbxproj:
* unix/configure, unix/configure.in, unix/tk.spec:
* win/configure, win/configure.in:
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/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/tkAboutDlg.r: updated copyright years to 2005.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
versions + other small fixes/cleanup.
|
|
|
|
| |
constants present only in 10.3 headers so that we can build on 10.2.
|
|
|
|
| |
tkEntry.h that confused 10.2 PBX.
|
| |
|
| |
|
| |
|
|
|
|
| |
* macosx/tkMacOSXNotify.c: corrected included headers.
|
|
|
|
|
|
| |
fixed encoding problems with -initialfile & -filetypes and
corrected potential buffer overrun with -initialdir/-initialfile.
[Bug 1146057]
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
| |
sure that the lastSubFontPtr remains valid even when the subfont
array is reallocated. [Bug 618872]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
|
|
|
|
|
|
|
| |
* 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/tkMacOSXDraw.c (TkMacOSXSetUpCGContext): performance
improvements: removed slow & unnecessary calls.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
menus working again.
|
| |
|
|
|
|
|
| |
Add support for returning values for the wm attributes commands, and
use FSRef's rather than FSSpec's.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
|
| |
* unix/configure, unix/configure.in, unix/tk.spec: patchlevel 8.4.7
* win/configure, win/configure.in:
|
|
|
|
|
|
|
|
|
| |
* 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]
|
| |
|
|
|
|
| |
down to their children.
|