summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | patch 3476698: Patch for failing test text-31.11jan.nijtmans2012-01-251-0/+1
| |\ \ \ | | |/ / | |/| |
| | * | applied patch-3476698bug_3475627jan.nijtmans2012-01-221-0/+1
| |/ /
* | | [Bug-3021557]: Moving the cursor in elided text freezes Tkjan.nijtmans2012-01-191-11/+3
|\ \ \ | |/ /
| * | bug-3021557 Moving the cursor in elided text freezes Tkbug_3021557jan.nijtmans2012-01-171-11/+3
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * Apply (upgraded) version of [Patch 1469210].dkf2009-10-221-20/+58
| | |
| | * * generic/tkText.c (DeleteChars, TextEditCmd, updateDirtyFlag):hobbs2007-12-131-39/+48
| | | | | | | | | | | | | | | | | | | | | * tests/text.test (text-25.10.1,25.11.[12]): Don't require [update idle] to trigger Modified event [Bug 1809538] Modified virtual event should only fire on state change [Bug 1799782] Make sure we delete chars before triggering <<Modified>> [Bug 1737288]
| | * * generic/tkCanvas.c: allow -selectforeground option to be None; adddas2007-04-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkCanvText.c: fallback to fgColor when selFgColor is None * generic/tkEntry.c: (new default on aqua to match native L&F). * generic/tkListbox.c: * generic/tkText.c: * generic/tkCanvas.c: add support for bypassing all of Tk's double * generic/tkEntry.c: buffered drawing into intermediate pixmaps * generic/tkFrame.c: (via TK_NO_DOUBLE_BUFFERING #define), it is * generic/tkListbox.c: unnecessary & wasteful on aqua where all * generic/tkPanedWindow.c: drawing is already double-buffered by the * generic/tkTextDisp.c: window server. (Use of this on other * unix/tkUnixScale.c: platforms would only require implementation of TkpClipDrawableToRect()).
| | * * generic/tkPanedWindow.c: Cleaned up some code flagged by adgp2006-10-171-3/+3
| | | | | | | | | | | | | | | | | | * generic/tkText.c: `make checkexports` test. * generic/tkText.h * generic/tkTextTag.c:
| | * * macosx/tkMacOSXColor.c (TkSetMacColor, TkpGetColor): use AppearanceMgrdas2006-09-101-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTIONhobbs2006-09-061-19/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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]
| | * * 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/tkText.c (DumpLine): s/segPtr->size/currentSize/hobbs2010-08-271-6/+6
| | | | | | | | | | | | | | | throughout, but particularly in if lineChanged block where segPtr may no longer be valid. [Bug 3053347]
| * | * generic/tkText.c (DumpLine): [Bug 2968379]: When peers are about,dkf2010-03-111-5/+10
| | | | | | | | | | | | | | | | | | there can be unnamed marks present during a dump. Ignore them as they will just be for the peers' insert and current marks, which aren't very important.
| * | Refix [Bug 1799782].dkf2010-02-211-3/+12
| | |
| * | Fix various gcc-4.4 warnings and formatting, allnijtmans2010-01-291-18/+20
| | | | | | | | | | | | backported from HEAD.
| * | Apply (slight cleaner, tested) version of [Patch 1469210].dkf2009-10-221-16/+53
| | |
| * | * generic/tkImgPhoto.c: fix numerous leaks discovered with thedas2009-02-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: Mac OS X Instruments.app Leaks tool. * generic/tkText.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkUndo.c: * generic/ttk/ttkFrame.c: * macosx/tkMacOSXWm.c:
| * | Backport of the Millipeter patch [1813597,2218964]ferrieux2008-12-211-5/+3
| | |
| * | Fix leaks flagged by clang static analyzerdas2008-12-071-2/+2
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-31/+28
| | | | | | | | | using useful casts internally.
* | | * generic/tkText.c (DumpLine): s/segPtr->size/currentSize/hobbs2010-08-271-6/+6
| | | | | | | | | | | | | | | throughout, but particularly in if lineChanged block where segPtr may no longer be valid. [Bug 3053347]
* | | Fix some gcc strict-aliasing warnings (discovered with "-Wstrict-aliasing=2"nijtmans2010-05-261-4/+4
| | |
* | | Removed lame reliance on the leading letters of the names of segment types whendkf2010-03-111-4/+6
| | | | | | | | | | | | | | | dumping a text widget. Entailed expanding the scope of the declarations of the types of embedded images and windows.
* | | * generic/tkText.c (DumpLine): [Bug 2968379]: When peers are about,dkf2010-03-111-8/+13
| | | | | | | | | | | | | | | | | | there can be unnamed marks present during a dump. Ignore them as they will just be for the peers' insert and current marks, which aren't very important.
* | | Use @EXEEXT@ in stead of @EXT_SUFFIX@nijtmans2010-02-221-2/+2
| | | | | | | | | | | | | | | Use -DBUILD_tk in Makefile Make internal Tk_ObjCustomOption const
* | | Re-fix [Bug 1799782].dkf2010-02-211-7/+17
| | |
* | | fix more gcc warnings: missing initializernijtmans2010-01-181-2/+2
| | | | | | | | | | | | | | | Apply patch [#2932808]: Canvas items not updating on widget state change
* | | Eliminate tkpMenubuttonClassnijtmans2010-01-131-2/+4
| | | | | | | | | | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer
* | | SMALL FIX: Remove useless explicit casts now that we require C89 or later.dkf2010-01-021-8/+7
| | |
* | | Apply (slight cleaner, tested) version of [Patch 1469210].dkf2009-10-221-16/+53
| | |
* | | * generic/tkFocus.c: fix potential null dereference flagged by clangdas2009-09-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: static analyzer. * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextIndex.c: * generic/tkConsole.c: silence false positives from clang static * generic/tkTest.c: analyzer about potential null dereference. * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextTag.c: * generic/tkVisual.c:
* | | Eliminate various gcc warningsnijtmans2009-08-091-17/+17
| | | | | | | | | | | | include <vssym32.h> only when available
* | | * generic/tkImgPhInstance.c: fix numerous leaks discovered with thedas2009-02-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: Mac OS X Instruments.app Leaks tool. * generic/tkText.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkUndo.c: * generic/tkUtil.c: * generic/ttk/ttkFrame.c: * macosx/tkMacOSXWm.c:
* | | - eliminate some unnessary type castsnijtmans2009-02-031-2/+2
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | Fix leaks flagged by clang static analyzerdas2008-12-071-2/+2
| | |
* | | Implementation of TIP #197.dkf2008-12-061-3/+27
| | |
* | | Millimeter patch. Fixes [1813597,2218964] by eliminating the functional ↵ferrieux2008-11-271-5/+3
| | | | | | | | | | | | redundancy and unnecessary loss of precision of the {pixel,mm}ObjType tandem.
* | | Lots of small changes to make code more pretty and C89-like.dkf2008-11-081-56/+52
| | |
* | | more internal -Wwrite-strings warning fixesnijtmans2008-10-301-7/+7
| | |
* | | Add "const" to many internalnijtmans2008-10-171-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries.
* | | fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-8/+8
| | |
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-94/+94
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/tkText.c (DeleteIndexRange, TextEditCmd, UpdateDirtyFlag):hobbs2007-12-131-40/+48
| | | | | | | | | | | | | | * tests/text.test (text-25.10.1,25.11.[12]): Don't require [update idle] to trigger Modified event [Bug 1809538] Modified virtual event should only fire on state change [Bug 1799782] Make sure we delete chars before triggering <<Modified>> [Bug 1737288]
* | Added code to rebuild the from index after the deletion phase so that thedkf2007-12-111-10/+20
| | | | | | | | linePtr field is valid for the insertion phase. [Bug 1602537]
* | header cleanupdgp2007-09-071-2/+1
| |