summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * library/demos/pendulum.tcl: fix incorrect setting of toplevel title.das2006-10-172-4/+6
|
* * macosx/GNUmakefile: don't redo prebinding of non-prebound binaires.das2006-10-162-4/+9
|
* * doc/WindowId.3: Pat's commit on 2006-10-08 broke the .SH NAMEandreas_kupries2006-10-162-7/+9
| | | | | | information across several lines, breaking the cross-linking of manpages during installation for this one. Put everything back on a single line, unbreaking it.
* whitespacedas2006-10-161-5/+5
|
* * macosx/README: document CG antialiasing limit changes.das2006-10-162-11/+11
|
* * changes: updates for 8.5a5 release.das2006-10-167-861/+881
| | | | | | | | | | | | | * 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: Updates for 8.5a5 releasedgp2006-10-112-2/+19
|
* Implemented TIP #264 - Tk_Interppatthoyts2006-10-086-6/+66
|
* * unix/tkUnixFont.c (Ucs2beToUtfProc, UtfToUcs2beProc):hobbs2006-10-052-35/+52
| | | | | | (TkpFontPkgInit, encodingAliases): Correct alignment issues in encoding conversion. Call ucs-2be "unicode" on big-endian systems. [Bug 1122671]
* * unix/Makefile.in (install-binaries): Added a second guard to theandreas_kupries2006-09-274-4/+16
| | | | | | | | * win/Makefile.in: package index file to prevent older versions of * win/makefile.vc: Tcl from seeing version numbers which may contain a/b information, and then balking on them. This could otherwise happen when Tcl/Tk 8.4 and 8.5 are installed in the same directory, seeing each other. [SF Tk Bug 1566418].
* * generic/tkConsole.c: TIP #268 update regarding registered packageandreas_kupries2006-09-2213-25/+48
| | | | | | | | | | | | | | * 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:
* * win/tkWinMenu.c (TkpPostMenu): disable menu animation in menushobbs2006-09-212-2/+24
| | | | with images to avoid clipping bug. [Bug 1329198]
* Fix 1562528 in Tkdkf2006-09-212-1294/+1300
|
* fix logic bug in previous commitdas2006-09-111-9/+13
|
* * macosx/tkMacOSXWm.c (TkMacOSXMakeRealWindowExist): revert part ofdas2006-09-117-51/+106
| | | | | | | | | | | | | | | | 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-1018-44/+579
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXDefault.h: to retrieve platform std colors for text * macosx/tkMacOSXPort.h: selections, add "systemHighlightSecondary" color name for standard color of inactive selections, use this color as default for text widget -inactiveselectbackground to implement platform standard look for inactive text selections. * library/text.tcl (aqua): remove focus bindings to set selection color. * generic/tkTextBTree.c (TkTextIsElided): on TkAqua, don't show inactive * generic/tkTextDisp.c (GetStyle): text selection when text widget is in disabled state. * generic/tkEntry.c (DisplayEntry): change default TkAqua selection * macosx/tkMacOSXDefault.h: relief to "flat" (platform std). * generic/tkText.c (CreateWidget): 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/GNUmakefile: 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/Wish.xcodeproj/project.pbxproj: add new tclUnixCompat.c file. * macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): fix typo. * unix/tcl.m4: sync with tcl/unix/tcl.m4. * unix/configure: autoconf-2.59
* whitespacedas2006-09-101-2/+2
|
* * generic/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTIONhobbs2006-09-0610-50/+101
| | | | | | | | | | | * generic/tkInt.h: control of entry/text selection display * generic/tkText.c: based on focus to the Tcl level, * generic/tkWindow.c: controlled by ::tk::AlwaysShowSelection * library/tk.tcl: (boolean, private). [Bug 1553691] * macosx/tkMacOSXDefault.h: * unix/tkUnixDefault.h: * unix/tkUnixPort.h: * win/tkWinDefault.h:
* * 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.
* typo: s/Xcode 2.3/Xcode 2.4/das2006-08-211-1/+1
|
* sync with relevant core-8-4-branch additionsdas2006-08-211-1/+43
|
* * 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.
* Added test suggested by Sam <baudinm@yahoo.com> on c.l.tdkf2006-08-182-186/+12
|
* Style cleanupdkf2006-08-184-4520/+4497
| | | | Split older changelog entries into separate file
* * unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, fordas2006-08-1812-71/+225
| | | | | | | | | | | | | | | | | | | | | | | | | 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.59 * unix/tkConfig.h.in: autoheader-2.59 * macosx/Wish.xcodeproj/project.pbxproj: switch native release targets to use DWARF with dSYM, Xcode 3.0 changes. * macosx/README: updates for x86_64 and Xcode 2.3. * 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]
* sync whitespace with core-8-4-branchdas2006-08-181-5/+5
|
* fix typo in WmAttrGetNotifyStatushobbs2006-08-171-2/+2
|
* * macosx/tkMacOSXWm.c (WmAttributesCmd): correct OS X result forhobbs2006-08-172-59/+61
| | | | [wm attributes $top].
* * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): handle keydas2006-07-252-2/+9
| | | | | 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-3/+3
|
* cleanup quoting and whitespacedas2006-07-202-4/+4
|
* * macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): add supportdas2006-07-2018-1008/+430
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * generic/tkImgGIF.c (ReadImage):das2006-07-205-11/+11
| | | | | | | | * macosx/tkMacOSXCursor.c (TkMacOSXCursor): * macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): * macosx/tkMacOSXInit.c (Map): * xlib/xgc.c (XCreateGC): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra.
* * generic/tkWindow.c (Initialize): Modify change of 2006-05-25andreas_kupries2006-07-142-1/+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
|
* * library/bgerror.tcl (::tk::dialog::error::bgerror): remove ahobbs2006-06-222-7/+11
| | | | couple of unnecessary hardcoded options
* * 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-83/+150
| | | | | | | | | | 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/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].
* * win/tkWinEmbed.c (TkpGetOtherWindow): [Bug 1212056] do not panichobbs2006-05-294-7/+16
| | | | | | * unix/tkUnixEmbed.c (TkpGetOtherWindow): if no window is found - * unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo): handle it in the caller
* * tests/entry.test (entry-22.1):hobbs2006-05-294-41/+51
| | | | | | | * 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-273-75/+183
|
* * macosx/tkMacOSXButton.c (TkMacOSXDrawControl): correct redrawhobbs2006-05-262-22/+33
| | | | for direct transition from disabled to active state. [Bug 706446]