summaryrefslogtreecommitdiffstats
path: root/generic/tkEntry.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge core-8-6-branch. More surrogate handling, e.g. in HandleIMEComposition()jan.nijtmans2016-09-271-4/+4
|\
* \ Enhanced proposed fix [6c0d7aec67]: unicode text input Windows 8. More ↵jan.nijtmans2016-09-191-4/+4
|\ \ | |/ |/| | | places where Unicode surrogate handling could be improved.
| * More simplificationsjan.nijtmans2016-09-191-4/+4
| |
| * Rename TkUtfToUniChar32 to TkUtfToUniChar2, and various simplifications ↵jan.nijtmans2016-09-161-15/+1
| | | | | | | | needing less #ifdef's
| * Patch from Christian Werner, for evaluationjan.nijtmans2016-09-161-1/+15
| |
| * Fix use of XMaxTransChars in stead of TCL_UTF_MAX in some places. This ↵jan.nijtmans2016-08-311-2/+3
| |\ | |/ |/| | | | | should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry
| * Fixed bug [841280] - spinbox -from and -to defaults and behaviourbug_841280fffffvogel2016-02-251-7/+9
| |
* | Fix use of XMaxTransChars in stead of TCL_UTF_MAX in some places. This ↵jan.nijtmans2016-08-311-1/+2
|/ | | | | should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry
* Rebase to 8.6, getting rid of DEF_TEXT_SPACING[123]jan.nijtmans2016-01-101-13/+12
|\
| * Removed unused flags argument in Configure function since Tk_ConfigureWidget ↵fvogel2016-01-081-7/+6
| | | | | | | | is no longer used there since last century
| * Use TK_OPTION_NULL_OK instead of TK_CONFIG_NULL_OKfvogel2016-01-081-6/+6
| |
* | Fixed bug [793909] - Problem with nonexistent namespacesfvogel2015-12-191-6/+32
|\ \ | |/
| * Fixed bug [793909] - Problem with nonexistent namespacesbug_793909ffffvogel2015-12-121-6/+32
| |
* | Fixed bug [1700065] - error in trace proc on textvariable doesn't trigger ↵fvogel2015-12-191-30/+69
|\ \ | |/ | | | | bgerror
| * Updated header comments of EntryValueChanged, InsertChars and DeleteChars ↵bug_1700065ffffvogel2015-12-121-3/+6
| | | | | | | | since they now return a Tcl result
| * Fixed bug [1700065] - error in trace proc on textvariable doesn't trigger ↵fvogel2015-12-101-26/+62
| | | | | | | | bgerror
* | Fixed bug [1414025] - Thin insertion cursor not visible in entryfvogel2015-10-221-1/+1
|\ \ | |/
| * Fixed bug [1414025] - Thin insertion cursor not visible in entrybug_1414025fvogel2015-10-201-1/+1
| |
* | [2b6778efe8] handle sscanf() EOF errors.dgp2015-02-061-2/+2
|\ \ | |/
| * [2b6778efe8] handle sscanf() EOF errors.dgp2015-02-061-2/+2
| |
* | Fix [2100430]: ttk::entry widget index must be integerjan.nijtmans2013-06-051-2/+2
|\ \ | |/
| * Fix [2100430]: ttk::entry widget index must be integerjan.nijtmans2013-06-051-9/+2
| |
* | Eliminate all usage of functions Tcl_VarEval (deprecated) and Tcl_Eval (to ↵jan.nijtmans2013-03-071-2/+9
| | | | | | | | the prefered Tcl_EvalEx).
* | Revert [ac229dabaa]. There is a reason the Tcl_GetIndexFromObj wrapper jenglish2013-02-271-12/+12
| | | | | | exists and is used.
* | Eliminate all Tcl_GetIndexFromObj calls, which is only a thin wrapper around ↵jan.nijtmans2013-02-271-12/+12
| | | | | | | | Tcl_GetIndexFromObjStruct.
* | Replace all Tcl_TraceVar/Tcl_UntraceVar with Tcl_TraceVar2/Tcl_UntraceVar2 ↵jan.nijtmans2013-02-221-3/+3
| | | | | | | | calls: The former are just thin wrappers around the latter.
* | Use internalRep.twoPtrValue.ptr1 in stead of internalRep.otherValuePtr ↵jan.nijtmans2013-02-011-7/+7
|\ \ | |/ | | | | | | 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-38/+38
| |\ | | | | | | | | | make various other tables const (all backported from Tk 8.6)
| | * SetOptions.3: minor doc fixjan.nijtmans2012-06-191-4/+4
| | | | | | | | | | | | make various other tables CONST (All backported from Tk 8.6)
| * | make some internal tables constjan.nijtmans2012-04-181-2/+2
| |\ \ | | |/
| | * make some more internal tables CONSTjan.nijtmans2012-04-181-2/+2
| | |
* | | Use some more (void *)'s in FreeProc's, a step in the direction getting Tk ↵jan.nijtmans2013-01-261-4/+4
| | | | | | | | | | | | to work with "novem"
* | | Replace various functions calls, for functions which are small wrappers ↵jan.nijtmans2013-01-141-10/+10
| | | | | | | | | | | | around other functions, to call the wrapped function directly.
* | | Much more cleaning up of result handling.dkf2012-07-231-34/+56
| | |
* | | Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-8/+8
| | | | | | | | | ** WORK IN PROGRESS **
* | | frq-3536507: clientData field in Tk_OptionSpec should be "const void *"frq_3536507jan.nijtmans2012-06-201-24/+24
| | |
* | | [Bug 3315731] Fix [$entry -invcmd].dgp2011-06-131-3/+5
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * generic/tkCanvas.c: allow -selectforeground option to be None; adddas2007-04-291-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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()).
| | * * macosx/tkMacOSXColor.c (TkSetMacColor, TkpGetColor): use AppearanceMgrdas2006-09-101-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
| | * Add native drawing for Entry and Spinbox widgets.wolfsuit2005-03-251-348/+157
| | |
* | | Bug 2358545: Restore support for values "08" and "09"in a spinbox configureddgp2011-06-071-5/+4
|\ \ \ | |/ / | | | to use -from and -to values.
| * | Bug 2358545: Restore support for values "08" and "09"in a [spinbox] configureddgp2011-06-071-5/+4
| | | | | | | | | to use -from and -to values.
| * | * tests/canvText.test: Backport test updates in light of thedgp2008-10-091-3/+3
| | | | | | | | | | | | | | | | | | | | | 2008-10-05 commit. * generic/tkEntry.c: Fix missing space constructing the scroll command.
| * | Backport of fix for [Bug 2112563]dkf2008-10-051-8/+14
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-16/+16
| | | | | | | | | using useful casts internally.
* | | Eliminate tkpMenubuttonClassnijtmans2010-01-131-2/+4
| | | | | | | | | | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer