summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tkUnixMenu.c (DrawMenuUnderline): bound Tcl_UtfAtIndex usagehobbs2006-11-244-22/+43
| | | | * tests/menu.test (menu-36.1): [Bug 1599877]
* * win/tkWinMenu.c (TkWinHandleMenuEvent, DrawMenuUnderline):hobbs2006-11-242-41/+53
| | | | handle unichar underlining correctly and safely. [Bug 1599877]
* comment typodas2006-11-021-2/+2
|
* * macosx/tkMacOSXWindowEvent.c (GenerateUpdateEvent): fix handling ofdas2006-11-022-31/+44
| | | | | | Carbon Update events: the QuickDraw window update region was being ignored and all child TkWindows were sent an Expose XEvent even when they did not need to be redrawn. [Patch 1589226]
* * macosx/tkMacOSXDebug.c: add TkMacOSX prefix to leftover macosx-privatedas2006-10-319-53/+70
| | | | | | | | | | * macosx/tkMacOSXDebug.h: global symbols without Tk prefix; ifdef out * macosx/tkMacOSXEmbed.c: currently unused debug procs. * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXCarbonEvents.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c:
* sync whitespace with HEADdas2006-10-311-301/+301
|
* Fix bug #1582769 build with VC2003 and correct i386 arch.patthoyts2006-10-312-3/+10
|
* * README: Bump version number to 8.4.15dgp2006-10-238-14/+25
| | | | | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.13 * win/configure:
* advance 8.4.14 tagdgp2006-10-181-2/+2
|
* Ensure builds with VC6 without Platform SDK and pickup MACHINE from environmentpatthoyts2006-10-183-13/+25
| | | | to make life easier on Windows non-x86 platforms.
* * generic/tkPanedWindow.c: Cleaned up some code flagged by adgp2006-10-175-10/+17
| | | | | | * generic/tkText.c: `make checkexports` test. * generic/tkText.h * generic/tkTextTag.c:
* Set release date.dgp2006-10-161-2/+2
|
* * macosx/Makefile: don't redo prebinding of non-prebound binaires.das2006-10-162-4/+9
|
* whitespacedas2006-10-161-5/+5
|
* * macosx/README: document CG antialiasing limit changes.das2006-10-162-11/+11
|
* * changes: updates for 8.4.14 release.das2006-10-167-561/+581
| | | | | | | | | | | | | * macosx/tkMacOSXDraw.c: fix numerous issues in CG and QD drawing procs so that they now match X11 drawing much more closely [Bug 1558051]; use Tiger ellipse drawing API when available; fix comments & whitespace. * macosx/tkMacOSXInit.c: set default linewidth limit for CG antialiasing to 0 as thin horizontal/vertical lines look good now. * generic/tkCanvLine.c (ConfigureLine): on TkAqua, pass outline * generic/tkCanvPoly.c (ConfigurePolygon): linewidth in gc even for * generic/tkRectOval.c (ConfigureRectOval): fills (as it controls AA).
* * changes: changes updated for 8.4.14 release.dgp2006-10-102-2/+19
|
* Remove the /RTCc flagpatthoyts2006-10-062-7/+3
|
* * unix/tkUnixFont.c (Ucs2beToUtfProc, UtfToUcs2beProc):hobbs2006-10-052-35/+56
| | | | | | (TkpFontPkgInit, encodingAliases): Correct alignment issues in encoding conversion. Call ucs-2be "unicode" on big-endian systems. [Bug 1122671]
* * win/makefile.vc: Support MSVC8 and AMD64 target. Also try usingpatthoyts2006-09-264-115/+344
| | | | | * win/rules.vc: sed to generate the manifest (cross-compile cannot * win/nmakehlp.c: execute tclsh). If no sed, use the tclsh exe.
* * generic/tkConsole.c: Complete reversal of the changes of Sep 22.andreas_kupries2006-09-258-21/+35
| | | | | | | | | | | | | | * generic/tkMain.c: For compat reason the Tcl core will not change * generic/tkWindow.c: the registered version to include the patchlevel, * library/tk.tcl: making the changes to Tk unnecessary. * unix/configure: * unix/Makefile.in: * unix/tcl.m4: * win/configure: * win/Makefile.in: * win/makefile.vc: * win/rules.vc: * win/tcl.m4:
* * generic/tkConsole.c: TIP #268 update regarding registered packageandreas_kupries2006-09-2213-262/+285
| | | | | | | | | | | | | | * generic/tkMain.c: version, now using full patchlevel instead of * generic/tkWindow.c: major.minor * library/tk.tcl: * unix/configure: * unix/Makefile.in: * unix/tcl.m4: * win/configure: * win/Makefile.in: * win/makefile.vc: * win/rules.vc: * win/tcl.m4:
* Fix [Bug 1562528]dkf2006-09-222-10/+15
|
* * 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
|