summaryrefslogtreecommitdiff
path: root/Src/Zle/complist.c
AgeCommit message (Collapse)AuthorFilesLines
2025-02-1253360: domenuselect() fails if the previous completion did not generate a listBart Schaefer1-0/+3
(fix for segfault)
2024-03-0552646: extend support for highlight groups to completion explanation strings ↵Oliver Kiddle1-0/+7
and WATCHFMT
2023-02-0951320, 51383: fixes to prevent later reappearance of old attributesOliver Kiddle1-0/+2
Also associated test updates and a test fix for TERM=dumb.
2023-01-1051258, 51272: refactor handling of terminal attributes, removing OFF flags ↵Oliver Kiddle1-33/+27
in zattr
2022-12-1651212: remove STOUC() macroOliver Kiddle1-6/+6
This served as a workaround for ancient compilers where casts to unsigned char were broken.
2021-09-0649292: Src/Zle/complist.c: turn off colors before clearing to end of lineMarlon Richert1-14/+19
2021-06-0348954: avoid crash in reverse-menu-complete from menuselect without 'menu' ↵Oliver Kiddle1-3/+2
in $compstate[insert]
2018-11-0543759: add support for true colour terminalsOliver Kiddle1-4/+5
2018-01-0442164: fix digits in format escapes in completion listingsdana1-3/+3
2017-07-04Avoid invalid access with isearch in completion listMaxime de Roucy1-5/+7
2017-01-1040305: fix some problems redisplaying command line after interrupt.Peter Stephenson1-1/+2
Back off previous fix as this only covered some subset of problems. Remaining problems happend after reset-prompt in TRAPINT. One was in complist and is fixed by not attempting to list after an error or interrupt. The other was owing to not resetting clearflag when ZLE was re-entered.
2016-10-2539725: more metafication of patterns.Barton E. Schaefer1-2/+3
2016-10-2539723: metafy string passed to pattern in complist.Peter Stephenson1-0/+1
Also additional safety tokenizing a string with Meta characters.
2016-10-2339715: Handle multibyte characters in complist listingPeter Stephenson1-5/+12
2016-03-0738043: allow any completion widget to cycle matches for menu completion to ↵Oliver Kiddle1-1/+1
fix reverse menu completion
2016-02-1437961: fix crash on bad memory accessBarton E. Schaefer1-8/+22
In interactive menuselection, use of "compadd -x" (e.g. the "warnings" zstyle) may have replaced the completion list, so skip highlighting of the current selection until a subsequent keystroke has regenerated the original listing
2016-02-1337927: recreate local keymaps as necessary in case the user has deleted themBarton E. Schaefer1-21/+34
2016-02-0337868: add 'static' to file local variablesJun-ichi Takimoto1-1/+1
2016-01-1537643: Reset interrupt on key input in menu selection.Peter Stephenson1-0/+6
We don't need to propagate the interrupt further as the interrupt causes the key to be empty, which will exit the widget. We need to reset the condition as zrefresh() is now more sensitive to errors since 36416 / 32f5d3d8.
2015-10-2736974: fix some functions with empty argument listsPeter Stephenson1-3/+3
2015-09-2836682: expand pattern interface to optimise unmetaficationPeter Stephenson1-2/+3
2015-09-2636641: fix multibyte handling in incremental search during menu selectionBarton E. Schaefer1-1/+1
2015-09-06unposted: typo in commentMikael Magnusson1-1/+1
2015-07-2235826: add getsparam_u() to return unmetafied string, use it for a number of ↵Barton E. Schaefer1-2/+2
references to non-special params
2015-06-2935627: make reverse-menu-complete start with the last match inOliver Kiddle1-0/+1
menu selection
2015-06-2935623: fix menu-selection where initial selectionOliver Kiddle1-0/+3
would not be displayed without scrolling
2015-06-2535550: fix backspace in interactive menu-selectJun-ichi Takimoto1-2/+2
2015-06-1935474, 35492: support the bracketed paste mode of newer terminal emulatorsOliver Kiddle1-35/+44
2015-06-1935487, 35496: don't reinstate previous incremental search stringOliver Kiddle1-1/+3
when search direction changes
2015-06-12Add non-metafied character length handling.Peter Stephenson1-1/+1
Use this in regex module and add test using $'\ua0'. Rename mb_metacharinit() to mb_charinit() as it does not involve metafied characters.
2015-01-0734144: allocate origline by ztrdup(), not by dupstring()Jun-ichi Takimoto1-2/+4
If origline is allocated in heap, it will have been freed when menuselect() is called directly as a widget.
2015-01-0634119: complist: Fix leak of string in clnicezputsMikael Magnusson1-0/+2
Found by Coverity (Issue 1255808).
2014-12-1833978: avoid infinite loop in interactive modeJun-ichi Takimoto1-1/+3
Update command line when accept-and-hold is called in the interactive mode of menu select.
2014-11-3033818: fix types passed to sizeof detected by coverity as being wrongOliver Kiddle1-2/+2
2014-10-2933563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko ↵Barton E. Schaefer1-6/+6
in status message for INT/QUIT signals; check errflag in output loops Two semi-related patches for keyboard interrupt handling in completion, most importantly so that unexpectedly long completion listings can be interrupted.
2014-03-0332436: allow = to be used in ZLS_COLORS patterns if it is quoted or inside ↵Oliver Kiddle1-2/+15
parentheses
2014-01-1832283: fix crash in menu selection when number of terminal lines is smallBarton E. Schaefer1-1/+1
2011-09-18users/16375: initialise nrefs on each loop in match testsPeter Stephenson1-4/+6
2011-06-1929491: remove some variables set but not usedPeter Stephenson1-5/+3
2011-05-1429267: add -enable-zsh-debug and use for debugging completion matcher groupsPeter Stephenson1-0/+20
2011-05-0929165: use term.h globally if needed at all.Peter Stephenson1-64/+68
2011-04-24Jun T.: 29031: increment global minfo state when inserting charactersBart Schaefer1-0/+2
on the line during interactive menu selection.
2010-08-3128202: unmetafy line for reversemenucompletePeter Stephenson1-0/+2
2009-11-3027441: add "sa" for suffix alias completion highlightingPeter Stephenson1-6/+24
2009-07-0127085: add accept-search handling to scrollist keymapPeter Stephenson1-0/+2
2009-07-0127080: it wasnt possible to exit menu selection cleanlyPeter Stephenson1-2/+18
2009-01-2026373: initialise variable in menu completion in attempt to prevent crashPeter Stephenson1-0/+1
2008-08-0625389: rearrange precedence of ZLS_COLORS alternatives.Bart Schaefer1-15/+15
2008-07-0525266: always use EXTENDED_GLOB for patterns in ZLS_COLORSPeter Stephenson1-0/+6
2008-05-1625051: add colour sequences to formatting strings in completionPeter Stephenson1-0/+30