summary refs log tree commit diff
path: root/Src/Zle/compresult.c
Commit message (Collapse)AuthorAgeFilesLines
* 39590: zle: Call zle-line-pre-redraw after inserting a completion resultm0viefreak2016-10-181-0/+1
| | | | | This is necessary to make sure redrawhook() is called while cycling results in menu completion.
* 35627: make reverse-menu-complete start with the last match inOliver Kiddle2015-06-291-53/+30
| | | | menu selection
* 34322: bug with interface to parsestr() etc.Peter Stephenson2015-01-181-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.
* 34121: compresult: Remove unneeded NULL checkMikael Magnusson2015-01-061-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).
* 33876: etc.: Separate errors and keyboards interruptsPeter Stephenson2014-12-111-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.
* m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixesm0viefreak2014-03-231-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
* 29267: add -enable-zsh-debug and use for debugging completion matcher groupsPeter Stephenson2011-05-141-6/+73
|
* 29165: use term.h globally if needed at all.Peter Stephenson2011-05-091-34/+39
|
* 28772: Update regions in region highlight dynamicallyPeter Stephenson2011-02-181-2/+7
|
* 28167: reset more variables on invalidating completion listPeter Stephenson2010-08-151-0/+2
|
* 26876 with updated documentation: add ZLE_{REMOVE,SPACE}_SUFFIX_CHARSPeter Stephenson2009-04-241-4/+4
|
* Back off 26270 (accept-and-menu-complete).Peter Stephenson2009-01-131-13/+11
| | | | Was causing memory corruption
* 26270: allow accept-and-menu-complete work with _vallues as wellAndrey Borzenkov2009-01-091-11/+13
|
* 24959: crash with ^D in compctlPeter Stephenson2008-05-071-6/+6
|
* 24808: initial support for combining characters in zlePeter Stephenson2008-04-131-6/+6
|
* 24551: Free heap memory after every ZLE commandPeter Stephenson2008-02-141-0/+1
|
* 23794: fix crash completing on "foo$" (quotes significant)Peter Stephenson2007-08-221-1/+1
|
* 23478: crash in reverse-menu-complete if no completionPeter Stephenson2007-05-281-0/+3
|
* 22924: a couple more metafy_line()/unmetafy_line() problemsPeter Stephenson2006-10-301-2/+11
|
* obscure crash with hasbrpsfx()Peter Stephenson2006-10-301-2/+12
|
* 22831: use CM_SPACE in compdescribeAndrey Borzenkov2006-10-071-4/+0
|
* 22820: this time, fix handling of long accumulated completion linePeter Stephenson2006-10-061-2/+2
|
* 10791: fix handling of long accumulated completion linePeter Stephenson2006-10-061-1/+1
|
* 22599: use wide character widths in completionPeter Stephenson2006-08-111-14/+23
|
* 22594: Attempt to fix some off-by-one errors for completion listsPeter Stephenson2006-08-091-0/+1
| | | | that exactly fit the display width
* 22575: multibyte fixes for bslashquote(), getzlequery()Peter Stephenson2006-08-011-1/+1
|
* Changed some structures to avoid gcc's type-punned warnings.Wayne Davison2006-03-071-1/+1
|
* Got rid of some unsigned-char/char pointer casts.Wayne Davison2005-11-151-5/+5
|
* users/9638: tweaks for FCEDIT etc.Peter Stephenson2005-11-071-8/+22
| | | | 21986: rewrite completion suffixes for wide characters
* 21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;Peter Stephenson2005-10-281-4/+4
| | | | use multibyte versions of nicechar wherever possible.
* 21784: Improved character widths for formatted multibyte character outputPeter Stephenson2005-09-291-2/+10
|
* 21664: unmetafy ztat() argumentAndrey Borzenkov2005-08-181-11/+17
|
* 21596: fix run-help, which-command, accept-and-menu-completePeter Stephenson2005-08-101-6/+14
|
* c.f. 21590: metafy_line()/unmetafy_line() now support wide charactersPeter Stephenson2005-08-101-127/+148
|
* 20162: in printlist() don't output new line if we haven't printed anythingGeoff Wing2005-04-221-4/+3
|
* c.f. 20675: improve zle as a basis for Unicode.Peter Stephenson2005-01-141-123/+123
| | | | unposted: update version to 4.2.3-dev-1
* unposted: improve 20150 by setting pointer to NULLPeter Stephenson2004-07-121-0/+3
|
* 20149: improve prompt-reset codePeter Stephenson2004-07-111-0/+3
| | | | 20150: commit ancient memory leak fix(?) in completion
* Marked unused parameters with the new UNUSED() macro.Wayne Davison2004-06-021-5/+5
|
* 19474: fix a calculation when displaying completions which areGeoff Wing2004-03-051-2/+2
| | | | screen width or multiples of that wide, and ALWAYS_LAST_PROMPT
* 18191: from Greg Klanderman: compctl -y didn't respect list arrangementPeter Stephenson2003-02-061-0/+7
| | | | options listpacked and listrowsfirst.
* 18059: allow compadd -r and -R with default space suffixPeter Stephenson2003-01-131-1/+1
|
* make sure invalidatelist() isn't called hwen we are inside menu selection ↵Sven Wischnowsky2002-07-301-1/+1
| | | | and there's only one match left (17489)
* two new modes for menu selection: incremental search and interactive (17366)Sven Wischnowsky2002-06-261-6/+11
|
* fix for file-type-tests in nested quotes and don't count space ↵Sven Wischnowsky2002-05-211-50/+37
| | | | file-type-character (17195)
* add new generic fake style and changes to the C-code for that (different ↵Sven Wischnowsky2002-01-221-6/+9
| | | | implementation of compadd -x) (16483)
* fix calculation of number of columns needed with list_packed (15946)Sven Wischnowsky2001-10-051-1/+4
|
* Got rid of unused variables.Wayne Davison2001-08-081-1/+1
|
* (15509)Sven Wischnowsky2001-07-271-195/+123
|
* make display for groups in _describe nicer; improve packing with ↵Sven Wischnowsky2001-07-251-11/+39
| | | | list_packed; leave space for type character (list_types) only in groups with at least one file name (15477)