summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * README: Bump version number to 8.4.15dgp2006-10-231-3/+3
| | | | | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.13 * win/configure:
* * generic/tkPanedWindow.c: Cleaned up some code flagged by adgp2006-10-174-10/+10
| | | | | | * generic/tkText.c: `make checkexports` test. * generic/tkText.h * generic/tkTextTag.c:
* * changes: updates for 8.4.14 release.das2006-10-163-3/+29
| | | | | | | | | | | | | * 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).
* * generic/tkConsole.c: Complete reversal of the changes of Sep 22.andreas_kupries2006-09-253-8/+8
| | | | | | | | | | | | | | * 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-223-9/+9
| | | | | | | | | | | | | | * 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-221-10/+9
|
* * macosx/tkMacOSXColor.c (TkSetMacColor, TkpGetColor): use AppearanceMgrdas2006-09-104-9/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * generic/tkWindow.c: add #include "tclInt.h" now required due to usedas2006-09-071-1/+3
| | | | of tcl internal Tcl_CreateNamespace() in previous commit.
* * generic/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTIONhobbs2006-09-066-41/+82
| | | | | | | | | | * 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-061-1/+20
| | | | speedup that removes tags from deleted area first. [Bug 1456342]
* swap out of order "F34" and "R14"das2006-07-211-2/+2
|
* * generic/tkBind.c (TkBindInit): for REDO_KEYSYM_LOOKUP, changedas2006-07-211-7/+9
| | | | | | | | | 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).
* * generic/tkWindow.c (Initialize): Modify change of 2006-05-25andreas_kupries2006-07-141-2/+8
| | | | | | (jeffh). Release mutex a bit earlier, to prevent lock when OS X creates its console windows (recursively enters Tk_Init). Patch by JeffH.
* * generic/tkScale.c: Revised variable writing logic to accountdgp2006-06-141-5/+12
| | | | | for [scale]'s design that it deals with its value as a formatted string, and not as a double. [Bug 891141].
* * generic/tkMain.c: Added Tcl_Preserve() call on the masterdgp2006-06-091-1/+3
| | | | | interp as crash protection against any Tcl_DeleteInterp() call that might happen.
* * generic/tkInt.h: Thread safety for the data structures ofdgp2006-06-052-321/+456
| | | | * generic/tkConsole.c: the wish [console]. [Bug 1188340].
* * generic/tkConsole.c: Added Tcl_RegisterChannel() calls to bumpdgp2006-06-011-2/+11
| | | | | 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-291-24/+22
| | | | | | | * tests/listbox.test (listbox-6.15): * generic/tkListbox.c (ListboxInsertSubCmd, ListboxDeleteSubCmd): Ignore Tcl_SetVar2Ex failure of listVarName, similar to entry widget handling. [Bug 1424513]
* * 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]
* * generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock):hobbs2006-05-131-19/+29
| | | | | Fix opt added 2006-03 that caused slowdown for some common cases. [Bug 1409140]
* * generic/tkCanvWind.c (DisplayWinItem, WinItemRequestProc): ensuredas2006-05-121-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * README: Bump version number to 8.4.14dgp2006-05-041-3/+3
| | | | | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.13 * win/configure:
* Correction to 1432666 fix.pspjuth2006-04-121-6/+1
|
* * generic/tkGrid.c: Fixed handling of out of bounds row or column.dgp2006-04-121-7/+116
| | | | * tests/grid.test: [Bug 1432666]
* * generic/tkBind.c (Tk_BindEvent, ChangeScreen): replacehobbs2006-04-111-6/+9
| | | | Tcl_GlobalEval with more efficient Tcl_EvalEx.
* * tests/grid.test: fix segfault on empty index listhobbs2006-04-051-26/+31
| | | | * generic/tkGrid.c (GridRowColumnConfigureCommand): [Bug 1422430]
* * generic/tkText.c (DumpLine): stop dumping if we detect that thehobbs2006-04-051-100/+117
| | | | | | text widget state has changed while dumping. [Bug 1414171] (InsertChars, DeleteChars): fix undo with space-based path. * tests/text.test (text-25.14): [Bug 1452419]
* * generic/tkTextDisp.c (TkTextPixelIndex): Don't segfault on fullhobbs2006-04-051-2/+10
| | | | -elide text. [Bug 1442102]
* * generic/tkWindow.c (DeleteWindowsExitProc): added commentshobbs2006-03-302-4/+10
| | | | | * generic/tkOption.c (TkOptionDeadWindow): handle OptionThreadExitProc being called before DeleteWindowsExitProc.
* * generic/tkWindow.c (CreateTopLevelWindow): use thread exithobbs2006-03-291-6/+7
| | | | handler for DeleteWindowsExitProc.
* * generic/tkFont.h: added prototype for TkFontGetFirstTextLayout()das2006-03-281-1/+3
| | | | needed by tkMacOSXButton.c and tkMacOSXMenubutton.c.
* Fix (and add test for) [Bug 1458234]dkf2006-03-271-14/+14
|
* Fix [Bug 1380427] with [Patch 1391939]dkf2006-03-201-28/+8
|
* Hack to make photo-to-photo copies cheaper in the common case of no alphadkf2006-03-161-4/+26
|
* Squelch [Bug 1409140] by special-case-ing the single-pixel put case.dkf2006-03-151-3/+37
|
* * generic/tkCmds.c: Purged remaining references todgp2006-03-131-2/+1
| | | | | | | * macosx/tkMacOSXPort.h: errno, and errno.h. Standardized * macosx/tkMacOSXWm.c: the logic for using header files from * macosx/tkMacOSXWm.h: the compat directory. Thanks Joe * unix/tkUnixPort.h: English for the patch. [Patch 1445404]
* * READNE: Bump version number to 8.4.13 and updatedgp2006-03-071-3/+3
| | | | | | | | * changes: changes to start prep for an 8.4.13 release. * generic/tk.h: * unix/configure{.in}: * unix/tk.spec: * win/configure{.in}:
* Fix old thread-safety issue. [Bug 470322]dkf2006-02-271-2/+6
|
* Fix pixmap creation ordering issue [Bug 480862]dkf2006-02-271-16/+22
| | | | Stupid issue was fixed for the mask pixmap, but not the data pixmap!
* * generic/tk.decls: fix signature of TkMacOSXInvalClipRgnsdas2006-02-093-17/+6
| | | | | | | | | | * generic/tkPlatDecls.h: to use Tk_Window instead of internal * macosx/tkMacOSXSubwindows.c: type TkWindow (which led to any include * macosx/tkMacOSXWindowEvent.c: of public header tkMacOSX.h requiring * macosx/tkMacOSXWm.c: prior include of tkInt.h). * generic/tk.h: move TkAqua specific REDO_KEYSYM_LOOKUP define * macosx/tkMacOSXPort.h: out of tk.h into platform header.
* XIM fixes [See #905830, patch tk84-xim-fixes.patch]:jenglish2006-01-201-3/+5
| | | | | | + Revert 2005-12-05 patch disabling XIM when SCIM in use; + Make sure all X events get passed to XFilterEvent, including those without a corresponding Tk window.
* * generic/tkOldConfig.c (Tk_ConfigureWidget): fix the handling ofhobbs2005-12-051-13/+25
| | | | | | TK_CONFIG_OPTION_SPECIFIED to be flagged appropriately in original Tk_ConfigSpec. This is *not* thread safe, but will be retained for 8.4.x and left out of 8.5.x. [Bug 749908]
* update README filesdgp2005-12-021-2/+2
|
* * generic/tkImgGIF.c: cast calls to block_outhobbs2005-12-011-3/+3
|
* * generic/tkEvent.c: fix handling of ClientMessage handlers.hobbs2005-11-301-4/+4
| | | | [Bug 1289565 983920]
* * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-2710-57/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4, sync whitespace with HEAD. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tcl/unix/configure.in. * unix/Makefile.in: add CFLAGS to wish/tktest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of wish and compiling of tkTestInit.o during parallel make, fix dependencies and flags for building tkMacOSXInit.o (checkstubs, checkexports): dependency and Darwin fixes * macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent): * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): * macosx/tkMacOSXCarbonEvents.c: install standard application event handler, add & call functions to start and stop carbon even timer that runs the tcl event loop periodically during a nested carbon event loop in the toolbox (e.g. during menutracking) to ensure tcl timers etc continue to fire, register app event handler for menu tracking and HI command carbon events, move menu event handling to new handlers for those carbon events, no longer register for/handle appleevent carbon event (now dealt with by standard application event handler), event debugging code dynamically acquires carbon event debugging functions to allow use on Tiger where they are no longer exported from HIToolbox. * macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText): * macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout): * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: abstract common code to dynamically acquire address of a named symbol (from a loaded dynamic library) into new function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol. * macosx/tkMacOSXMenu.c (TkpNewMenu): * macosx/tkMacOSXMenubutton.c (MenuButtonInitControl): * macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to modern utf8 aware menu manager API, remove obsolete code, add error handling. * macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants if necessary to allow compilation on OSX 10.2 * macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never executed. * generic/tk.h: add/correct location of version numbers in macosx files. * generic/tkInt.h: clarify fat compile comment. * macosx/Wish.pbproj/default.pbxuser (new file): * macosx/Wish.pbproj/jingham.pbxuser: * macosx/Wish.pbproj/project.pbxproj: sync with HEAD. * macosx/buildTkConfig.tcl (removed): remove obsolete build files. * macosx/README: clarification/cleanup, sync with HEAD, document universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time). * macosx/Makefile: add support for reusing configure cache, build target fixes. * generic/tkMenu.c: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXXStubs.c: * macosx/tkMacOSXSubwindows.c: * xlib/xgc.c: declare functions and globals used only in own file as static, #ifdef out a few Xlib and aqua functions that are never called (sync with HEAD). * macosx/tkMacOSXPort.h: * generic/tkInt.decls: correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua Xlib stubs. * generic/tkTest.c: #ifdef unix only declarations. (TestmetricsCmd): unify win and mac implementation. * generic/tkTextDisp.c: * generic/tkTextBTree.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXXStubs.c: fix gcc 4 warnings. * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXTest.c: sync with HEAD. * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkStubInit.c: * unix/configure: regen.
* Fix [Bug 1151523] by making the code conform to the docs.dkf2005-11-221-15/+22
|
* Backport of fixes for [Bug 1353414]dkf2005-11-221-12/+15
|