| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/tkUnixSend.c (Tk_GetUserInactiveTime): for weakly
importing symbols not available on OSX 10.2 or 10.3, enables binaires
built on later OSX versions to run on earlier ones.
* macosx/Wish.xcodeproj/project.pbxproj: enable weak-linking; turn on
extra warnings.
* macosx/README: document how to enable weak-linking; cleanup.
* unix/configure.in: add check on Darwin-X11 for ld support of -weak-l
* unix/tcl.m4: flag and weak-link libXss if possible as it is not
available before OSX 10.4; enforce requirement of OSX 10.2 for TkAqua;
move Darwin specific checks & defines that are only relevant to the tcl
build out of tcl.m4; restrict framework option to Darwin; cleanup
quoting and help messages.
* unix/configure: autoconf-2.59
* unix/tkConfig.h.in: autoheader-2.59
* macosx/GNUmakefile: enable xft for TkX11 build.
* macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw):
verify validity of context returned from QDBeginCGContext() before use.
* macosx/tkMacOSXKeyEvent.c: ifdef out diagnostic messages to stderr.
* macosx/tkMacOSXEvent.h: standardize MAC_OS_X_VERSION_MAX_ALLOWED
* macosx/tkMacOSXMenu.c: checks per QA1316, ensure define can be
* macosx/tkMacOSXMenubutton.c: overriden on command line (from default
* macosx/tkMacOSXMenus.c: of current OS version).
* macosx/tkMacOSXMouseEvent.c:
* macosx/tkMacOSXWm.c:
* macosx/tkMacOSXFont.c (TkpMeasureCharsInContext): fix
signed-with-unsigned comparison and other warnings from gcc4 -Wextra.
|
|
|
|
|
|
| |
(jeffh). Release mutex a bit earlier, to prevent lock when OS X
creates its console windows (recursively enters Tk_Init). Patch
by JeffH.
|
| |
|
|
|
|
| |
couple of unnecessary hardcoded options
|
|
|
|
|
| |
for [scale]'s design that it deals with its value as a formatted
string, and not as a double. [Bug 891141].
|
|
|
|
|
|
|
|
|
|
| |
clip regions are recreated via TkMacOSXUpdateClipRgn() before they are
used; correct call order of TkMacOSXInvalidateWindow() and
TkMacOSXInvalClipRgns() throughout. [Bug 1501922]
* macosx/tkMacOSXDraw.c (TkPutImage): implement drawing of very wide
images in slices of less than 4096 pixels to workaround CopyBits
limitation. [Bug 950121]
|
|
|
|
|
| |
interp as crash protection against any Tcl_DeleteInterp() call
that might happen.
|
|
|
|
|
| |
the refcount of channels passed to Tcl_SetStdChannel(). This prevents
early free-ing of the channels that leads to crashes. [Bug 912571].
|
|
|
|
|
|
| |
* unix/tkUnixEmbed.c (TkpGetOtherWindow): if no window is found -
* unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo): handle it
in the caller
|
|
|
|
|
|
|
| |
* tests/listbox.test (listbox-6.15):
* generic/tkListbox.c (ListboxInsertSubCmd, ListboxDeleteSubCmd):
Ignore Tcl_SetVar2Ex failure of listVarName, similar to entry
widget handling. [Bug 1424513]
|
|
|
|
| |
for direct transition from disabled to active state. [Bug 706446]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
focus events to windows of class help or to overrideredirect windows.
[Bug 1472624]
* macosx/tkMacOSXWm.c: set overrideredirect windows to not become
activated by the window manager and to not receive OS activate events
(should make them behave more like on other platforms); use modern
window class API for overrideredirect and transient windows; set the
default class of overrideredirect windows to 'simple' rather than
'plain' (i.e. no window frame); add missing Panther and Tiger window
attributes to [::tk::unsupported::MacWindowStyle].
|
|
|
|
|
| |
Fix opt added 2006-03 that caused slowdown for some common cases.
[Bug 1409140]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
canvas window items are unmapped when canvas is unmapped. [Bug 940117]
* macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): empty clip region
of unmapped windows to prevent any drawing into them or into their
children from becoming visible. [Bug 940117]
* macosx/tkMacOSXInt.h: revert Jim's attempt of 2005-03-14 to
* macosx/tkMacOSXSubwindows.c: fix Bug 940117 as it disables Map/Unmap
event propagation to children. [Bug 1480105]
* macosx/tkMacOSXDraw.c (TkPutImage): handle tkPictureIsOpen flag, fixes
incorrect positioning of images with complex alpha on native buttons;
actual alpha blending is still broken in this situation. [Bug 1155596]
* macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent):
* macosx/tkMacOSXMenus.c (TkMacOSXInitMenus): workaround carbon bug with
key shortcut for 'Preferences' app menu item. [Bug 1481503]
* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only check
for HICommand menu item shortcuts in the application menu.
* macosx/tkMacOSXInt.h: initialize keyboard layout setup in
* macosx/tkMacOSXInit.c: TkpInit() rather than during handling of
* macosx/tkMacOSXKeyEvent.c: first key down event.
* macosx/tkMacOSXDraw.c: add optional debug code to flash clip
* macosx/tkMacOSXSubwindows.c: regions during update or draw.
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
potentially stale window position in initial configure event on first
map of a window. [Bug 1476443]
(TkMacOSXWindowOffset): use modern GetWindowStructureWidths API.
* macosx/tkMacOSXInt.h:
* macosx/tkMacOSXMouseEvent.c (TkGenerateButtonEventForXPointer): new
internal function to generate button events for current pointer
directly, without requiring prior call to XQueryPointer().
* macosx/tkMacOSXMouseEvent.c (XQueryPointer): implement return of
window-local pointer position.
* macosx/tkMacOSXInt.h: use improvements above to avoid calls to
* macosx/tkMacOSXKeyEvent.c: GlobalToLocal() when the current port might
* macosx/tkMacOSXMenu.c: not be set correctly. May fix [Bug 1243318]
* macosx/tkMacOSXMenus.c:
* macosx/tkMacOSXScale.c:
* macosx/tkMacOSXScrlbr.c:
* tkAboutDlg.r: update copyright.
* macosx/tkMacOSXDebug.h: sync #includes with core-8-4-branch.
* macosx/tkMacOSXEvent.h:
* macosx/tkMacOSXFont.h:
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Tk_NameToWindow. This fixes TkGetWindowFromObj which promises to
handle NULL but didn't.
* generic/tkGrid.c: Fixed handling of out of bounds row or column.
* tests/grid.test: [Bug 1432666]
|
|
|
|
|
| |
message catalogs for the widget demo get packaged into the source
code distribution. [Bug 1466509]
|
|
|
|
| |
key binding for msgbox cancel buttons [Patch 1193614], whitespace.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXCarbonEvents.c: handle kEventCommandUpdateStatus
* macosx/tkMacOSXEvent.c: carbon event to dynamically enable
the 'Preferences' app menu item when proc [::tk::mac::ShowPreferences]
is defined. [Bug 700316]
* macosx/tkMacOSXHLEvents.c: call ::tk::mac::* procs for all
* macosx/tkMacOSXWindowEvent.c: registered appleevents [FR 1105284],
implement print applevent handling, style/whitespace cleanup.
* macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): prevent multiple init.
* macosx/tkMacOSXFont.c: remove #ifdef'd text measuring codepaths now
* macosx/tkMacOSXInit.c: known to be incorrect, cleanup obsolete text
* macosx/README: antialiasing control code, document ATSUI
text antialiasing changes.
|
|
|
|
|
|
| |
* macosx/tkMacOSXWindowEvent.c: handling for TkAqua, via titlebar
* macosx/tkMacOSXWm.c: widget clicks as well as [wm state].
* doc/wm.n: [Bug 1073456]
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXFont.c (MeasureStringWidth): Use implementation
based on ATSUGetGlyphBounds (TK_MAC_USE_GETGLYPHBOUNDS), so we can
use kATSUseFractionalOrigins. This in turn corrects bug #1461650.
* (InitFont): Use "." and "W" instead of "i" and "w" to determine the
"-fixed" attribute. This prevents "Apple Chancery" from being
classified as fixed.
* (InitFontFamilies): Only get the font families once.
|
|
|
|
|
| |
allow empty name for toplevels, remove bogus initial window name.
[Bug 1450800]
|
| |
|
|
|
|
| |
changes to Carbon window manager. [FR 1467004]
|
| |
|
|
|
|
|
|
|
|
|
| |
values, implement window dragging & growing in background (with Command
key down) and by fronting clicks, use correct button & modifier state
API when application is in background (also in TkMacOSXButtonKeyState).
* macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): ensure QD port is set
correctly before using API relying on it.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
in setting/removing window proxy icons via [wm attributes -titlepath]
and [wm iconbitmap], use HIWindow API on Tiger or later. [Bug 1455241]
* unix/tcl.m4: remove TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING
define on Darwin. [Tcl Bug 1457515]
* unix/configure: autoconf-2.59
* unix/tkConfig.h.in: autoheader-2.59
|
| |
|
| |
|
| |
|
|
|
|
| |
OptionThreadExitProc being called before DeleteWindowsExitProc.
|
|
|
|
| |
path-as-escape issue.
|
| |
|
|
|
|
|
| |
"#ffffff" to work around the (broken?) X servers that do not accept
those color names. [Bug 917433]
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* macosx/Wish.xcodeproj/default.pbxuser: tcltest to ease test debugging.
* macosx/Wish.xcode/project.pbxproj: removed $prefix/share from
* macosx/Wish.xcodeproj/project.pbxproj: TCL_PACKAGE_PATH as per change
to tcl/unix/configure.in of 2006-03-13.
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXEvent.h: with core-8-4-branch.
* macosx/tkMacOSXFont.h:
* macosx/tkMacOSXMenu.c:
* macosx/tkMacOSXNotify.c:
|
| |
|
|
|
|
| |
end of string. [Bugs 1325998, 1456157]
|
| |
|