| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
change it for them...
|
|
|
|
|
|
| |
Mac OS X.
Also contains some more work on tkMacOSXScale.c, but this doesn't work all
the way yet, so it's not currently built.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is cleanup thanks to Neil Madden <nem@cs.nott.ac.uk>.
* macosx/tkMacOSXWm.c (TkMacOSXWinStyle) New function.
(TkUnsupported1ObjCmd): New function, replaces the un-objectified
version of the command.
* generic/tkInt.h: Swap TkUnsupported1Cmd for TkUnsupported1ObjCmd.
* generic/tkWindow.c (): Ditto.
This adds a "-notify" flag to "wm attributes" that will bounce the
dock icon on Mac OS X. This is from Revar Desmera <revarbat@gmail.com>
* macosx/tkMacOSXWm.c (WmAttrGetNotifyStatus, WmAttrSetNotifyStatus):
New functions.
(WmAttributesCmd): Add the -notify.
* doc/wm.n: Document -notify.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXScrlbr.c (ThumbActionProc): No need to use
"update idletasks" here, TclServiceIdle will do as well and it
is simpler.
These changes implement a change on the Mac OS X side. When we
unmap a window we mark all its children as unmapped (not following
toplevels. But we preserve whether they had been mapped before,
and when the parent is remapped, we remap the children as well.
[Bug 940117]
* macosx/tkMacOSXInt.h: Added TK_MAPPED_IN_PARENT
* macosx/tkMacOSXSubwindows.c (FixMappingFlags): New function.
(XMapWindow): Call FixMappingFlags.
(XUnMapWindow): Ditto.
* tkMacOSXSubWindows.c (XMoveResizeWindow): Update the xOff & yOff
data in the Macdrawable even if the native window hasn't been
created yet. [Bug 700305]
(XMoveWindow): Ditto.
(XResizeWindow): Ditto.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Xcode requires
that stdin & stdout be closed or you won't be able to interrupt the running program. So
I added a check for XCNOSTDIN environment variable in the startup, and I force them
closed if it is set. With that, remote debugging works pretty well.
|
|
|
|
| |
* 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.57
|
|
|
|
| |
completed a full toplevel -use option configuration for Windows
|
| |
|
| |
|
|
|
|
| |
tclConfig.h changes to tcl, since those have been reverted for now.
|
|
|
|
| |
tclConfig.h changes to tcl, since those have been reverted for now.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/buildTkConfig.tcl: fixes for tclConfig.h changes.
* macosx/Wish.pbproj/project.pbxproj: fixed references to renamed
bitmap files.
* macosx/Wish.xcode/project.pbxproj (new):
* macosx/Wish.xcode/default.pbxuser (new):
* macosx/Wish-Info.plist (new):
* macosx/Tk-Info.plist (new): added new Xcode 1.5 project using
native targets, made possible by tclConfig.h changes.
* generic/tk.h: added version number change comments for new files.
|
| |
|
|
|
|
|
|
|
|
| |
* doc/text.n: fixed *roff errors uncovered by running 'make html'.
* macosx/tkMacOSXFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Make
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/tkMacOSXSubwindows.c: synced spacing/formatting with
core-8-4-branch.
* generic/tkRectOval.c:
* macosx/README:
* macosx/tkMacOSXDefault.h:
* macosx/tkMacOSXDraw.c:
* macosx/tkMacOSXInit.c:
* macosx/tkMacOSXInt.h:
* macosx/tkMacOSXMenu.c:
* macosx/tkMacOSXWm.c: forward port from core-8-4-branch of Jim's
and my changes for CG drawing and [wm attributes] (corresponds to
8.4 changes dating from 09-18, 07-27, 07-24).
* 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.
|
| |
|
| |
|
|
|
|
| |
much more knowledge of the platform functions available to it.
|
|
|
|
| |
Thanks to Brian Griffin for developing these! [Patch 983886]
|
|
|
|
|
|
|
|
| |
* 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]
|
| |
|
|
|
|
| |
* win/tkWinMenu.c: appropriate spots.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXXStubs.c: to being implemented in a platform
* unix/tkUnixEvent.c: specific manner. The cleanup order was
* win/tkWinX.c: bad at least on Windows, where we
reset/cleared display info that was still needed for the clipboard
to render. [Bug #939389, #822002, #732662]
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
File menu.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h:
* macosx/Wish.pbproj/project.pbxproj:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf-2.57
* win/configure:
|
|
|
|
| |
to the children of the moved or resized window.
|
| |
|
|
|
|
| |
Wish.pbproj project even if a .xcode project is also present.
|
|
|
|
|
| |
* macosx/Wish.pbproj/project.pbxproj:
* macosx/tkAboutDlg.r: changed year in copyright strings to 2004.
|
|
|
|
|
|
|
|
| |
* 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.
[Bug 809157]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/radiobutton.n: Tristate Checkbutton and Radiobuttons
* generic/tkButton.c:
* generic/tkButton.h:
* library/demos/check.tcl:
* library/demos/radio.tcl:
* macosx/tkMacOSXButton.c:
* macosx/tkMacOSXDefault.h:
* tests/button.test:
* unix/tkUnixButton.c:
* unix/tkUnixDefault.h:
* win/tkWinButton.c:
* win/tkWinDefault.h:
|
|
|
|
| |
for <Command> and <Option> for now.
|
|
|
|
|
|
| |
pass in Mac OS Classic.
Add the tkMacOSXCarbonEvents.c - just a skeleton right now.
A bunch of formatting nits fixed.
|
| |
|
|
|
|
| |
Pascal string interfaces.
|
|
|
|
| |
of Latin-1.
|
|
|
|
|
|
|
|
|
|
| |
code uses the TclUtfToUniChar macro from that file. [Bug 874745]
* macosx/Wish.pbproj/project.pbxproj: removed erroneous reference
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.
|