summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate all usage of functions Tcl_VarEval (deprecated) and Tcl_Eval (to ↵jan.nijtmans2013-03-071-3/+14
| | | | the prefered Tcl_EvalEx).
* some more int -> size_t changesjan.nijtmans2013-02-011-12/+16
|
* Use internalRep.twoPtrValue.ptr1 in stead of internalRep.otherValuePtr ↵jan.nijtmans2013-02-011-1/+1
|\ | | | | | | | | everywhere. Change some internal "length" variables from type int to type size_t, so it could handle bigger string sizes (for "novem")
| * SetOptions.3: minor doc fixjan.nijtmans2012-06-191-97/+97
| |\ | | | | | | | | | make various other tables const (all backported from Tk 8.6)
| * \ make some internal tables constjan.nijtmans2012-04-181-3/+3
| |\ \ | | |/
* | | more places convertedjan.nijtmans2013-01-241-16/+16
| | |
* | | more auditing of error codesdkf2012-07-301-5/+5
| | |
* | | Working towards making the error codes more consistent.dkf2012-07-301-57/+46
| | |
* | | Purged Tcl_AppendElement from all non-test code.dkf2012-07-291-29/+22
| | |
* | | Much more cleaning up of result handling.dkf2012-07-231-61/+75
| | |
* | | frq-3536507: clientData field in Tk_OptionSpec should be "const void *"frq_3536507jan.nijtmans2012-06-201-14/+14
| | |
* | | [Bug-1630262], [Bug-1615425]: segfault when deleting lines or tagging ↵fvogel2012-02-281-2/+45
|\ \ \ | |/ / | | | | | | outside of the -startline/-endline range with peer text widgets. [Bug-3487407]: Weird text indices.
| * | Bug-3487407: Weird text indicesbug_1630262fvogel2012-02-181-0/+4
| | |
| * | [Bug-1630262]: segfault when deleting lines with peer text widgetsfvogel2012-01-311-2/+41
| | |
* | | Don't increase the epoch twice.fvogel2012-01-251-1/+0
|\ \ \ | |/ /
| * | Don't increase the epoch twice.fvogel2012-01-251-1/+0
| | |
* | | [Bug-1630271]: segfault/infinite loop when a mark is before -startlinejan.nijtmans2012-01-251-3/+29
|\ \ \ | |/ /
| * | [Bug-1630271]: segfault/infinite loop when a mark is before -startlinejan.nijtmans2012-01-251-3/+29
| |\ \
| | * | patch-3477449: segfault when mark out of -startline/-endline rangebug_1630271jan.nijtmans2012-01-231-3/+29
| | | |
* | | | patch 3476698: Patch for failing test text-31.11jan.nijtmans2012-01-251-0/+1
|\ \ \ \ | |/ / /
| * | | 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
| | |