summaryrefslogtreecommitdiffstats
path: root/generic/tkTextTag.c
Commit message (Collapse)AuthorAgeFilesLines
* Change more refCount checks to the form "(...refCount-- <= 1)", so no ↵jan.nijtmans2017-01-181-3/+2
| | | | separate decrement and compare is necessary. This allows (in the future) the same code to work when refCount becomes unsigned (which at least doubles the range). No functional change.
* Fixed typo in commentfvogel2016-09-301-1/+1
|
* Backed out anything dealing with stippling, in accordance with discussion ↵fvogel2016-03-081-8/+0
| | | | about TIP #443
* -rmargincolor tag configuration option: implementationfvogel2016-02-101-1/+5
|
* -lmargincolor tag configuration option: implementationfvogel2016-02-101-1/+5
|
* -overstrikefg tag configuration option: implementationfvogel2016-02-091-1/+7
|
* -underlinefg tag configuration option: implementationfvogel2016-02-091-1/+5
|
* -selectfgstipple tag configuration option: implementationfvogel2016-02-091-0/+4
|
* -selectbgstipple tag configuration option: implementationfvogel2016-02-091-0/+4
|
* -selectforeground tag configuration option: implementationfvogel2016-02-091-1/+9
|
* -selectbackground tag configuration option: implementationfvogel2016-02-091-1/+9
|
* Bring back DEF_TEXT_SPACING[123], since "0" is not exactly equal to NULL ↵bug_2049429fffjan.nijtmans2016-01-121-2/+2
| | | | (just to be 100% sure there will not be a behavioral change)
* Merge trunk. jan.nijtmans2016-01-111-2/+2
| | | | ttkButton.c: Invalid use of TK_OPTION_DONT_SET_DEFAULT, should have been TK_OPTION_NULL_OK as in normal button. tkTextTag.c: Use of TK_OPTION_DONT_SET_DEFAULT means that the default value "0" is ignored, so better use NULL.
* Fixed failing textDisp-19.11.20 and textDisp-19.11.23 - Bug [810c43d789]fvogel2014-10-111-0/+8
|\
| * Fixed failing textDisp-19.11.20 and textDisp-19.11.23 [810c43d789]bug_810c43d789fvogel2014-09-271-0/+8
| |
* | Use some more (void *)'s in FreeProc's, a step in the direction getting Tk ↵jan.nijtmans2013-01-261-1/+1
| | | | | | | | to work with "novem"
* | more places convertedjan.nijtmans2013-01-241-2/+2
| |
* | merge trunkdkf2012-08-141-13/+21
|\ \
| * \ Fixed [Bug 3554273]: Test textDisp-32.2 failedfvogel2012-08-111-0/+5
| |\ \ | | |/
| | * Fixed [Bug 3554273]: Test textDisp-32.2 failedbug_3554273fvogel2012-08-041-0/+5
| | |
| | * make some internal tables constjan.nijtmans2012-04-181-2/+2
| | |\
* | | | more auditing of error codesdkf2012-07-301-1/+2
| | | |
* | | | Purged Tcl_AppendElement from all non-test code.dkf2012-07-291-6/+17
| | | |
* | | | Much more cleaning up of result handling.dkf2012-07-231-11/+13
|/ / /
* | | frq-3536507: clientData field in Tk_OptionSpec should be "const void *"frq_3536507jan.nijtmans2012-06-201-2/+2
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * generic/tkPanedWindow.c: Cleaned up some code flagged by adgp2006-10-171-2/+2
| | | | | | | | | | | | | | | | | | * generic/tkText.c: `make checkexports` test. * generic/tkText.h * generic/tkTextTag.c:
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-14/+15
| | | | | | | | | using useful casts internally.
* | | fix more gcc warnings: missing initializernijtmans2010-01-181-2/+2
| | | | | | | | | | | | | | | Apply patch [#2932808]: Canvas items not updating on widget state change
* | | SMALL FIX: Remove useless explicit casts now that we require C89 or later.dkf2010-01-021-2/+2
| | |
* | | * 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 some unnessary type castsnijtmans2009-02-031-3/+3
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | Add "const" to many internalnijtmans2008-10-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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-3/+3
| | |
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-21/+21
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | header cleanupdgp2007-09-071-2/+1
| |
* | Less of that K&R or wrongly indented function header style!dkf2007-02-221-39/+28
| |
* | various "const" additions, in line with TIP #27nijtmans2007-01-031-2/+2
| |
* | * generic/tkTextTag.c (TkTextTagCmd): use correct arraySize forhobbs2005-12-081-2/+2
| | | | | | | | peered text widgets in [$text tag names]. [Bug 1375069 1374935]
* | Lots of ANSIfying of function decls.dkf2005-11-171-84/+93
| | | | | | | | Also a few spots where code has been cleaned up more completely.
* | tip256 implementationvincentdarley2005-10-101-9/+17
| |
* | Getting more systematic about styledkf2005-08-101-877/+905
| | | | | | | | | | Also start removing _ANSI_ARGS_; the core's required ANSI C for a while now Also fix [Bug 1252702]; size_t doesn't mix with Tcl_GetStringFromObj
* | fix init warningshobbs2004-10-051-2/+2
| |
* | text widget 'peer' subcommand -- TIP#169 implementationvincentdarley2004-09-101-122/+364
| |
* | off-by-one error in recent cleanup fixvincentdarley2003-12-101-2/+2
| |
* | fix to memory leaks and reading of freed memoryvincentdarley2003-12-091-1/+15
| |
* | performance of lines containing 10000+ charactersvincentdarley2003-12-051-2/+2
| |