summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Changed variable name for a better onefvogel2014-12-031-7/+7
| | |
| * | Checked dlineinfo caller of FindDLine, comments addedfvogel2014-12-031-0/+9
| | |
| * | Fixed indentation and typos in commentsfvogel2014-12-031-18/+16
| | |
| * | Fixed FindDLine again (the previous fix [575b376065] was an improvement ↵fvogel2014-11-301-48/+51
| | | | | | | | | | | | despite it did not fix all cases), see case 'C' in bug [7703f947aa]
| * | Fixed bbox caller of FindDLine, see case 'B' in bug [7703f947aa]fvogel2014-11-301-2/+16
| | |
| * | Fixing FindDLine was not enough in all cases, now fix its callers (see test ↵fvogel2014-11-231-2/+2
| | | | | | | | | | | | case 'A' in bug [7703f947aa])
| * | Fixed bug [7703f947aa] - Wrong refresh of display lines when tagging text as ↵fvogel2014-11-221-1/+3
| |/ | | | | | | elided
* | Remove Mac-specific idle handler in tkTextDisp.c that caused delay in text ↵Kevin Walzer2015-02-021-9/+0
| | | | | | | | redraw during scrolling; no longer needed
* | Stop `make test` segfaults.dgp2015-01-221-2/+11
| |
* | remove some unnecessary eol-spacingjan.nijtmans2015-01-151-2/+2
| |
* | Improved scrolling for text under Cocoa; thanks to Marc Culler for patch.Kevin Walzer2015-01-041-0/+34
| |
* | Fix typos in commentsfvogel2014-11-211-2/+2
|\ \ | |/
| * Fix typos in commentsfvogel2014-11-211-2/+2
| |
| * Fix for shimmering of buttons embedded when scrolled in text and canvas ↵Kevin Walzer2014-08-161-0/+10
| | | | | | | | widgets; improvements in scrolling smoothness in text widget. Thanks to Marc Culler for patches.
* | Fix for shimmering of buttons embedded when scrolled in text and canvas ↵Kevin Walzer2014-08-161-1/+10
| | | | | | | | widgets; improvements in scrolling smoothness in text widget. Thanks to Marc Culler for patches.
* | Eliminate all usage of __WIN32__ macro: Some compilers (e.g. Clang/LLVM) ↵jan.nijtmans2014-02-101-1/+1
| | | | | | | | | | don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
* | Eliminate all usage of functions Tcl_VarEval (deprecated) and Tcl_Eval (to ↵jan.nijtmans2013-03-071-2/+14
| | | | | | | | the prefered Tcl_EvalEx).
* | more places convertedjan.nijtmans2013-01-241-4/+4
| |
* | Much more cleaning up of result handling.dkf2012-07-231-4/+7
| |
* | Simpify determination whether we are running on cygwin.jan.nijtmans2012-05-311-0/+2
|\ \ | |/ | | Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll
| * Simpify determination whether we are running on cygwin. jan.nijtmans2012-05-301-0/+2
| |\ | | | | | | Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll.
| | * merge core-8-4-branch, still to be tested on Unixtobetestedjan.nijtmans2012-05-291-0/+2
| | |\
| | | * Simpify determination whether we are running on cygwin.jan.nijtmans2012-05-251-0/+2
| | | | | | | | | | | | | | | | Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll. Fix "make genstubs" when cross-compiling on UNIX
* | | | Bug 1630254: missing scrolling of text widget when from a -startline == ↵fvogel2012-05-281-2/+3
|\ \ \ \ | |/ / / | | | | | | | | -endline initial state it is configured to display a non-empty part of it
| * | | Better fix for bug-1630254bug_1630254fvogel2012-05-171-15/+3
| | | |
| * | | [Bug 1630254]: missing scrolling of text widget when from a -startline == ↵fvogel2012-05-171-2/+15
| |/ / | | | | | | | | | -endline initial state it is configured to display a non-empty part of it
* | | [Bug-1630262], [Bug-1615425]: segfault when deleting lines or tagging ↵fvogel2012-02-281-3/+3
|\ \ \ | |/ / | | | | | | outside of the -startline/-endline range with peer text widgets. [Bug-3487407]: Weird text indices.
| * | Bug-3487407: Weird text indicesbug_1630262fvogel2012-02-181-1/+1
| | |
| * | Better fix for bug-1630262, also fixing bug-1615425fvogel2012-02-021-28/+0
| | |
| * | [Bug-1630262]: segfault when deleting lines with peer text widgetsfvogel2012-01-311-2/+30
| | |
* | | [Bug-1754043] and [Bug-2321450]: When -blockcursor is true, the cursor ↵fvogel2012-01-261-0/+3
|\ \ \ | |/ / | | | | | | appears as a blinking bar which expands to the right edge of the widget.
| * | [Bug-1754043] and [Bug-2321450]: When -blockcursor is true, the cursor ↵patch_3479498fvogel2012-01-251-0/+3
| | | | | | | | | | | | appears as a blinking bar which expands to the right edge of the widget.
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * [Patch #3129527]: Fix buffer overflow w/ GCC 4.5 and -D_FORTIFY_SOURCE=2.nijtmans2011-01-251-2/+2
| | | | | | | | | | | | Just the strcpy->memcpy part, to prevent anything like [Bug #3164879]
| | * * generic/tkCanvas.c: allow -selectforeground option to be None; adddas2007-04-291-27/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/tkTextDisp.c (TkTextPixelIndex): Don't segfault on fullhobbs2006-04-051-2/+10
| | | | | | | | | | | | -elide text. [Bug 1442102]
| | * * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | [Bug 2677890]: Fix odd text widget update problem that had scrollbars beingdkf2010-01-071-3/+4
| | | | | | | | | | | | unable to cover the whole widget. Fix is to reify the range to update sooner.
| * | Fix word-wrapping of non-breaking spaces in the text widget to work reliably.dkf2009-08-041-2/+2
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-22/+21
| | | | | | | | | using useful casts internally.
* | | [Bug 3129527]: Fix buffer overflow w/ GCC 4.5 and -D_FORTIFY_SOURCE=2nijtmans2010-12-061-4/+4
| | |
* | | [Bug 2677890]: Fix odd text widget update problem that had scrollbars beingdkf2010-01-071-3/+9
| | | | | | | | | | | | unable to cover the whole widget. Fix is to reify the range to update sooner.
* | | 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-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* | | Fix word-wrapping of non-breaking spaces in the text widget to work reliably.dkf2009-08-041-7/+17
| | |
* | | * generic/tkInt.h: add assert macros for clang staticdas2009-06-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | analyzer and redefine Tcl_Panic to assert after panic in clang PURIFY builds. * generic/tkImgPhInstance.c: small fixes to make clang static * generic/tkTextDisp.c: analyzer happier. * generic/tkConfig.c: add clang assert for false positives * generic/tkUndo.c: from static analyzer.