summaryrefslogtreecommitdiff
path: root/Src/Zle/compresult.c
AgeCommit message (Collapse)AuthorFilesLines
2025-01-3053332, 53334: Avoid strlen calls after sprintfOliver Kiddle1-5/+5
2023-10-2652244: Fix a batch of minor defects reported by Coverity.Bart Schaefer1-8/+4
Coverity defects 1547831, 1547826 (remove unused function), 1521551, 1500752, 1500747, 1401549, 1372423, 1270645, 1255799, 1255792, 1255789, 1255787, 1255782, 1255750
2022-04-0549989: Single byte versions of nice quoting.Peter Stephenson1-4/+2
Align interfaces for "nice" printing of characters with those for multibyte to make more available in single-byte compilation.
2022-03-3049820: Fix a crash when completing with combination of -Q and bracesMikael Magnusson1-3/+4
minimal reproducer .zshrc: zstyle ':completion:*' completer _oldlist _complete setopt nolistambiguous autoload compinit; compinit compdef _foo foo;_foo() { compadd -Q -- stash@{{0,1}} }
2021-04-0648391: fix display problem in menu-completeJun-ichi Takimoto1-1/+1
Take account of the trailing file type character even when '-d disp' is given to compadd.
2020-01-0945269: Fix misspellings in completions and elsewhere.Jens Schleusener1-1/+1
2016-11-2139981: Make compstate[to_end] skip suffix and hidden suffix, but not ignored ↵Daniel Shahaf1-0/+4
suffix. Motivated by 39930.
2016-10-1839590: zle: Call zle-line-pre-redraw after inserting a completion resultm0viefreak1-0/+1
This is necessary to make sure redrawhook() is called while cycling results in menu completion.
2015-06-2935627: make reverse-menu-complete start with the last match inOliver Kiddle1-53/+30
menu selection
2015-01-1834322: bug with interface to parsestr() etc.Peter Stephenson1-1/+2
Was showing up in places like ${(e)...} where command substitution could reallocate the token string, but actually there was never any guarantee that the lexer wouldn't do that, so this was always a bit iffy.
2015-01-0634121: compresult: Remove unneeded NULL checkMikael Magnusson1-1/+1
The variable is set to if NULL at the start of the function, and derefed on the previous line. Found by Coverity (Issue 1255843).
2014-12-1133876: etc.: Separate errors and keyboards interruptsPeter Stephenson1-1/+1
Combination of 12 commits from interrupt_abort branch. Basic strategy is to introduce bits to errflag and to set and reset them separately. Remove interrupt status on return to main keymap. Turn off ERRFLAG_INT for always block. Restore bit thereafter: we probably need a new variable in order to allow user interrupts to be reset in the always block. Add TRY_BLOCK_INTERRUPT This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too. Ensure propagation of SIGINT from exited job. If received by foreground job, shell uses ERRFLAG_INT, not ERRFLAG_ERROR, to set the new state. Reset errflag before precmd() Add always block in _main_completion to fix ZLS_COLORS Ensures we get the right state of $ZLS_COLORS at the end of _main_complete even if there's an interrupt. However, the "right state" is a bit messy as it depends on styles.
2014-03-23m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixesm0viefreak1-1/+1
Src/Zle/compresult.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix auto-removable suffix highlighting Completion/Unix/Command/_git: fix compadd for auto-removable suffix in _git_commit_ranges and _git_stash
2011-05-1429267: add -enable-zsh-debug and use for debugging completion matcher groupsPeter Stephenson1-6/+73
2011-05-0929165: use term.h globally if needed at all.Peter Stephenson1-34/+39
2011-02-1828772: Update regions in region highlight dynamicallyPeter Stephenson1-2/+7
2010-08-1528167: reset more variables on invalidating completion listPeter Stephenson1-0/+2
2009-04-2426876 with updated documentation: add ZLE_{REMOVE,SPACE}_SUFFIX_CHARSPeter Stephenson1-4/+4
2009-01-13Back off 26270 (accept-and-menu-complete).Peter Stephenson1-13/+11
Was causing memory corruption
2009-01-0926270: allow accept-and-menu-complete work with _vallues as wellAndrey Borzenkov1-11/+13
2008-05-0724959: crash with ^D in compctlPeter Stephenson1-6/+6
2008-04-1324808: initial support for combining characters in zlePeter Stephenson1-6/+6
2008-02-1424551: Free heap memory after every ZLE commandPeter Stephenson1-0/+1
2007-08-2223794: fix crash completing on "foo$" (quotes significant)Peter Stephenson1-1/+1
2007-05-2823478: crash in reverse-menu-complete if no completionPeter Stephenson1-0/+3
2006-10-3022924: a couple more metafy_line()/unmetafy_line() problemsPeter Stephenson1-2/+11
2006-10-30obscure crash with hasbrpsfx()Peter Stephenson1-2/+12
2006-10-0722831: use CM_SPACE in compdescribeAndrey Borzenkov1-4/+0
2006-10-0622820: this time, fix handling of long accumulated completion linePeter Stephenson1-2/+2
2006-10-0610791: fix handling of long accumulated completion linePeter Stephenson1-1/+1
2006-08-1122599: use wide character widths in completionPeter Stephenson1-14/+23
2006-08-0922594: Attempt to fix some off-by-one errors for completion listsPeter Stephenson1-0/+1
that exactly fit the display width
2006-08-0122575: multibyte fixes for bslashquote(), getzlequery()Peter Stephenson1-1/+1
2006-03-07Changed some structures to avoid gcc's type-punned warnings.Wayne Davison1-1/+1
2005-11-15Got rid of some unsigned-char/char pointer casts.Wayne Davison1-5/+5
2005-11-07users/9638: tweaks for FCEDIT etc.Peter Stephenson1-8/+22
21986: rewrite completion suffixes for wide characters
2005-10-2821943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;Peter Stephenson1-4/+4
use multibyte versions of nicechar wherever possible.
2005-09-2921784: Improved character widths for formatted multibyte character outputPeter Stephenson1-2/+10
2005-08-1821664: unmetafy ztat() argumentAndrey Borzenkov1-11/+17
2005-08-1021596: fix run-help, which-command, accept-and-menu-completePeter Stephenson1-6/+14
2005-08-10c.f. 21590: metafy_line()/unmetafy_line() now support wide charactersPeter Stephenson1-127/+148
2005-04-2220162: in printlist() don't output new line if we haven't printed anythingGeoff Wing1-4/+3
2005-01-14c.f. 20675: improve zle as a basis for Unicode.Peter Stephenson1-123/+123
unposted: update version to 4.2.3-dev-1
2004-07-12unposted: improve 20150 by setting pointer to NULLPeter Stephenson1-0/+3
2004-07-1120149: improve prompt-reset codePeter Stephenson1-0/+3
20150: commit ancient memory leak fix(?) in completion
2004-06-02Marked unused parameters with the new UNUSED() macro.Wayne Davison1-5/+5
2004-03-0519474: fix a calculation when displaying completions which areGeoff Wing1-2/+2
screen width or multiples of that wide, and ALWAYS_LAST_PROMPT
2003-02-0618191: from Greg Klanderman: compctl -y didn't respect list arrangementPeter Stephenson1-0/+7
options listpacked and listrowsfirst.
2003-01-1318059: allow compadd -r and -R with default space suffixPeter Stephenson1-1/+1
2002-07-30make sure invalidatelist() isn't called hwen we are inside menu selection ↵Sven Wischnowsky1-1/+1
and there's only one match left (17489)