summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * win/tkWinMenu.c (TkpPostMenu): disable menu animation in menushobbs2006-09-212-4/+26
| | | | with images to avoid clipping bug. [Bug 1329198]
* fix logic bug in previous commitdas2006-09-112-10/+14
|
* * macosx/tkMacOSXWm.c (TkMacOSXMakeRealWindowExist): revert part ofdas2006-09-117-48/+102
| | | | | | | | | | | | | | | | 2006-05-16 change that had set overrideredirect windows to not become activated by the window manager, as this prevented interaction with native widgets in such windows [Bug 1472624]; apply changes to carbon window attributes even if native window has already been created. * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): fix app * macosx/tkMacOSXMenu.c (DrawMenuBarWhenIdle): menu item key shortcuts * macosx/tkMacOSXInt.h: when custom ".apple" menu is installed. * library/demos/widget: on TkAqua, don't install file menu with single quit menu item, as the application menu already has a quit item. * macosx/tkMacOSXColor.c: fix building on Mac OS X 10.2.
* * macosx/tkMacOSXColor.c (TkSetMacColor, TkpGetColor): use AppearanceMgrdas2006-09-1016-37/+561
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXDefault.h: to retrieve platform std colors for text * macosx/tkMacOSXPort.h: selections, add "systemHighlightSecondary" color name for standard color of inactive selections. * library/text.tcl (aqua): change focus bindings to implement platform standard look for inactive text selections using this new color. * generic/tkTextBTree.c (TkTextIsElided): on TkAqua, don't show text * generic/tkTextDisp.c (GetStyle): selection when text widget * generic/tkText.c (TextEventProc): is in disabled state. * generic/tkEntry.c (DisplayEntry): change default TkAqua selection * macosx/tkMacOSXDefault.h: relief to "flat" (platform std). * generic/tkText.c (Tk_TextCmd): fix bug leading to default text selection relief string DEF_TEXT_SELECT_RELIEF being ignored. * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): allow mouse event delivery to background windows with kWindowNoActivatesAttribute (e.g. overrideredirect windows), as these never come to the foreground they would not receive any mouse events otherwise. [Bug 1472624] * macosx/tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): do not send focus events to any windows with kWindowNoActivatesAttribute. * macosx/tkMacOSXXStubs.c (XQueryColor, XQueryColors): implement basic XColor computation from pixel values, enough to make tkImg's window.c happy, fixes img::window failures reported on tcl-mac. * macosx/tkMacOSXMenu.c (DrawMenuEntryLabel): fix leak. [Bug 1554672] * macosx/Makefile: workaround bug in 'cp -pRH' on Darwin 6 and earlier, fixes 'make embedded' failure reported on tcl-mac; fix error from 'make deploy' with same build tree as previous 'make embedded'. * macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): fix typo. * unix/tcl.m4: sync with tcl/unix/tcl.m4.
* whitespacedas2006-09-101-2/+2
|
* * generic/tkWindow.c: add #include "tclInt.h" now required due to usedas2006-09-072-1/+8
| | | | of tcl internal Tcl_CreateNamespace() in previous commit.
* * generic/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTIONhobbs2006-09-069-52/+98
| | | | | | | | | | * generic/tkInt.h: control of entry/text selection display * generic/tkText.c: based on focus to the Tcl level, * generic/tkTextBTree.c: controlled by ::tk::AlwaysShowSelection * generic/tkTextDisp.c: (boolean, private). [Bug 1553691] * generic/tkWindow.c: * library/tk.tcl * unix/tkUnixPort.h:
* * generic/tkText.c (DeleteChars): backport of 8.5 text deletehobbs2006-09-062-1/+25
| | | | speedup that removes tags from deleted area first. [Bug 1456342]
* * win/tkWinKey.c: Add WM_UNICHAR window message support (used byhobbs2006-08-303-2/+56
| | | | * win/tkWinX.c: virtual keyboard apps). [Bug 1518677] (petasis)
* * macosx/tkMacOSXScrlbr.c (UpdateControlValues): set native scrollbardas2006-08-242-7/+14
| | | | | control bounds only once all size adjustments have been computed. Fixes issue with grow icon obscuring scrollbar reported on tcl-mac.
* update with recent Aqua changesdas2006-08-211-2/+14
|
* * macosx/tkMacOSXCarbonEvents.c (CarbonTimerProc): avoid starving maindas2006-08-212-4/+14
| | | | | event loop: limit the number of tcl events processed per invocation. Fixes bug reported on tcl-mac by Kevan Hashemi.
* * unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, fordas2006-08-1810-203/+319
| | | | | | | | | | | | | | | | | | | | | | universal builds including x86_64, for 64-bit CoreFoundation on Leopard and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET. * unix/configure.in (Darwin): remove 64-bit arch flags from CFLAGS for combined 32-bit and 64-bit universal builds, as neither TkAqua nor TkX11 can be built for 64-bit at present. * unix/configure: autoconf-2.13 * macosx/README: updates for x86_64 support in Tcl. * macosx/tkMacOSXInit.c (TkpInit): when available, use public TransformProcessType() API instead of CPSEnableForegroundOperation() SPI to notify the window server that we are a GUI application. * macosx/tkMacOSXWm.c (WmAttrGetTitlePath): use HIWindow API on >=Tiger. * macosx/tkMacOSXMouseEvent.c (GenerateToolbarButtonEvent): * macosx/tkMacOSXMenus.c (GenerateEditEvent): * macosx/tkMacOSXMenu.c (MenuSelectEvent): bzero XVirtualEvent structure before use to ensure all fields are initialized. [Bug 1542205]
* * macosx/tkMacOSXWm.c (WmAttributesCmd): correct OS X result forhobbs2006-08-172-45/+49
| | | | [wm attributes $top].
* * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): handle keydas2006-07-252-1/+8
| | | | | shortcut for kHICommandQuit in the same way as other application menu item key shortcuts. [Bug 1516950]
* * macosx/tkMacOSXWm.c (TkWmMapWindow): fix incorrect values of wmInfodas2006-07-242-10/+29
| | | | | | parentWidth/Height for toplevels by recalculating them once the window is mapped (i.e. once the window&structure sizes are known). [Bug 1358663] (ParseGeometry): sync with ParseGeometry in tkUnixWm.c/tkWinWm.c.
* fix typo: visable -> visibledas2006-07-243-7/+7
|
* swap out of order "F34" and "R14"das2006-07-211-2/+2
|
* typodas2006-07-211-1/+1
|
* * generic/tkBind.c (TkBindInit): for REDO_KEYSYM_LOOKUP, changedas2006-07-213-17/+32
| | | | | | | | | keysym-to-string mapping hash to use first name in ks_names.h instead of last (if there are multiple possibilities), e.g. "F11" instead of "L1". * macosx/tkMacOSXKeyboard.c (TkpGetKeySym): correct keysyms for pure modifier key presses [Bugs 700311, 1525905]; correct keysym for Enter key; add keysyms for new NumLock and Fn modifiers (added 2005-08-09).
* typosdas2006-07-211-4/+2
|
* cleanup quoting and whitespacedas2006-07-201-2/+2
|
* * macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): add supportdas2006-07-2012-592/+329
| | | | | | | | | | | | | | | | | | | | 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/README: document how to enable weak-linking; cleanup. * unix/configure.in: enforce requirement of OSX 10.2 for TkAqua; move * unix/tcl.m4: Darwin specific checks & defines that are only relevant to the tcl build out of tcl.m4; restrict framework option to Darwin; cleanup quoting. * unix/configure: autoconf-2.13 * 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/tkMacOSXCursor.c (TkMacOSXCursor):das2006-07-203-6/+6
| | | | | | * macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): * macosx/tkMacOSXInit.c (Map): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra.
* * generic/tkWindow.c (Initialize): Modify change of 2006-05-25andreas_kupries2006-07-142-2/+15
| | | | | | (jeffh). Release mutex a bit earlier, to prevent lock when OS X creates its console windows (recursively enters Tk_Init). Patch by JeffH.
* catch scrollbar use of highlightthicknesshobbs2006-07-072-3/+7
|
* see changeshobbs2006-06-221-5/+10
|
* * library/bgerror.tcl (::tk::dialog::error::bgerror): remove ahobbs2006-06-221-4/+3
| | | | couple of unnecessary hardcoded options
* add refs to aqua fixesdas2006-06-151-2/+18
|
* * changes: changes to start prep for an 8.4.14 release.dgp2006-06-152-1/+25
|
* Sync with tcl to enable building with VC8 (VS2005 C compiler)patthoyts2006-06-144-208/+185
|
* * generic/tkScale.c: Revised variable writing logic to accountdgp2006-06-142-5/+18
| | | | | for [scale]'s design that it deals with its value as a formatted string, and not as a double. [Bug 891141].
* * macosx/tkMacOSXSubwindows.c (TkMacOSXInvalidateWindow): ensure invaliddas2006-06-143-93/+160
| | | | | | | | | | 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]
* * generic/tkMain.c: Added Tcl_Preserve() call on the masterdgp2006-06-092-1/+9
| | | | | interp as crash protection against any Tcl_DeleteInterp() call that might happen.
* * generic/tkInt.h: Thread safety for the data structures ofdgp2006-06-053-321/+461
| | | | * generic/tkConsole.c: the wish [console]. [Bug 1188340].
* * generic/tkConsole.c: Added Tcl_RegisterChannel() calls to bumpdgp2006-06-012-2/+17
| | | | | the refcount of channels passed to Tcl_SetStdChannel(). This prevents early free-ing of the channels that leads to crashes. [Bug 912571].
* * tests/entry.test (entry-22.1):hobbs2006-05-294-26/+56
| | | | | | | * tests/listbox.test (listbox-6.15): * generic/tkListbox.c (ListboxInsertSubCmd, ListboxDeleteSubCmd): Ignore Tcl_SetVar2Ex failure of listVarName, similar to entry widget handling. [Bug 1424513]
* sync with tcldas2006-05-272-214/+270
|
* * macosx/tkMacOSXButton.c (TkMacOSXDrawControl): correct redrawhobbs2006-05-262-26/+37
| | | | for direct transition from disabled to active state. [Bug 706446]
* autoconf-2.13das2006-05-261-1/+1
|
* sync 2006-05-24 change to tcl HEADdas2006-05-261-1/+1
|
* see changeshobbs2006-05-251-0/+11
|
* * generic/tkMenu.c (DeleteMenuCloneEntries): Modify entry indexhobbs2006-05-251-5/+6
| | | | changes to work around VC6 optimization bug. [Bug 1224330]
* * generic/tkMessage.c (MessageWidgetObjCmd): Correct msgPtrhobbs2006-05-251-8/+9
| | | | preserve/release pairing. [Bug 1485750] (afredd)
* * generic/tkWindow.c (Initialize): Correct mutex (un)lockhobbs2006-05-251-16/+14
| | | | pairing. [Bug 1479587]
* fix building on Jaguar: move defines of newer OS constants to top, fix warningsdas2006-05-161-13/+16
|
* reverted erroneous removal of tclInt.h #includedas2006-05-161-1/+3
|
* * macosx/tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): don't senddas2006-05-163-15/+79
| | | | | | | | | | | | | 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].
* comment typodas2006-05-161-2/+2
|
* * generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock):hobbs2006-05-132-19/+35
| | | | | Fix opt added 2006-03 that caused slowdown for some common cases. [Bug 1409140]