Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 50736: silence use-after-free warning (gcc-12.2) | Wesley Schwengle | 2022-10-17 | 1 | -4/+4 |
| | |||||
* | 50325: revert 38150 and fix in calling function cfp_matcher_range() instead | Bart Schaefer | 2022-06-03 | 2 | -2/+2 |
| | |||||
* | 50042: Another fix for 49915 | Mikael Magnusson | 2022-04-11 | 1 | -1/+1 |
| | | | | If the last element in the list is a duplicate, we would walk off the end | ||||
* | 49989: Single byte versions of nice quoting. | Peter Stephenson | 2022-04-05 | 1 | -4/+2 |
| | | | | | Align interfaces for "nice" printing of characters with those for multibyte to make more available in single-byte compilation. | ||||
* | unposted: Fix typo from 49955 | Bart Schaefer | 2022-04-04 | 1 | -1/+1 |
| | |||||
* | 49955: Src/glob.c: fix bad free in incremental-pattern-search matching | Bart Schaefer | 2022-04-04 | 1 | -0/+2 |
| | |||||
* | 49957: Brown paper bag for 49915 | Mikael Magnusson | 2022-04-03 | 1 | -2/+2 |
| | | | | | | The code would crash when n == 0. There's not really any point doing any of this when n is 0 so just skip everything. It also tried to NULL terminate a list a little to eagerly. | ||||
* | 49926: remove unused variable from 49915 | Mikael Magnusson | 2022-03-30 | 1 | -1/+1 |
| | |||||
* | 49820: Fix a crash when completing with combination of -Q and braces | Mikael Magnusson | 2022-03-30 | 1 | -3/+4 |
| | | | | | | | | | minimal reproducer .zshrc: zstyle ':completion:*' completer _oldlist _complete setopt nolistambiguous autoload compinit; compinit compdef _foo foo;_foo() { compadd -Q -- stash@{{0,1}} } | ||||
* | 49915: Efficient dedup for unsorted completions | Mikael Magnusson | 2022-03-30 | 2 | -20/+35 |
| | |||||
* | 49893: Fix comments for UNIQCON/ALL | Mikael Magnusson | 2022-03-30 | 2 | -4/+10 |
| | |||||
* | 49890: Avoid scanning unallocated memory in saved command line. | Peter Stephenson | 2022-03-28 | 1 | -1/+1 |
| | |||||
* | 38150: fix off-by-one error in matcher spec parsing | m0viefreak | 2021-12-24 | 1 | -1/+1 |
| | |||||
* | 49653: fix array indexing issue introduced with 49518 due to using decimal ↵ | Oliver Kiddle | 2021-12-16 | 1 | -3/+5 |
| | | | | | | | rather than hex 20 Also avoid comparing the current word against all options when the word doesn't start with - or +. | ||||
* | 49518: fix exclusions for mixed - and + stacked options | Oliver Kiddle | 2021-12-14 | 1 | -10/+29 |
| | |||||
* | github #82: Fix typos | Dimitris Apostolou | 2021-11-12 | 1 | -4/+4 |
| | |||||
* | 49535: fix completion for ${<TAB> and ${(a)<TAB> | Jun-ichi Takimoto | 2021-11-01 | 1 | -11/+3 |
| | |||||
* | 49528: allow multiple -D options to compadd | Oliver Kiddle | 2021-10-30 | 3 | -22/+60 |
| | |||||
* | 49516: bail out early from matching control if command line content is too ↵ | Oliver Kiddle | 2021-10-26 | 1 | -2/+3 |
| | | | | short for the coanchor | ||||
* | 49499 based on 49496 by Jun T.: fixes to option -A of _arguments | Oliver Kiddle | 2021-10-23 | 1 | -8/+19 |
| | |||||
* | 49450: don't display explanation with compadd -x if any of -D, -A or -O are ↵ | Oliver Kiddle | 2021-09-28 | 1 | -1/+1 |
| | | | | also used | ||||
* | 49387: suffix highlight with "compadd -R" | Bart Schaefer | 2021-09-08 | 1 | -6/+3 |
| | |||||
* | unposted: add/remove UNUSED() for some function parameters | Jun-ichi Takimoto | 2021-09-08 | 1 | -1/+1 |
| | |||||
* | 49377: fix segfault by 'bindkey -d' with reordered keymapnamtab | Jun-ichi Takimoto | 2021-09-08 | 1 | -1/+21 |
| | |||||
* | 49292: Src/Zle/complist.c: turn off colors before clearing to end of line | Marlon Richert | 2021-09-06 | 1 | -14/+19 |
| | |||||
* | unposted (cf. 49202 and 49217): insertlastword ignores blank/missing history ↵ | Bart Schaefer | 2021-09-06 | 1 | -2/+7 |
| | | | | entries when repeating | ||||
* | 48954: avoid crash in reverse-menu-complete from menuselect without 'menu' ↵ | Oliver Kiddle | 2021-06-03 | 1 | -3/+2 |
| | | | | in $compstate[insert] | ||||
* | users/26736: avoid infinite loop in getbyte from exit hook | Bart Schaefer | 2021-05-15 | 1 | -0/+4 |
| | |||||
* | 48790: COMPLETE_IN_WORD inside brace-param | Bart Schaefer | 2021-05-15 | 1 | -4/+24 |
| | |||||
* | 48391: fix display problem in menu-complete | Jun-ichi Takimoto | 2021-04-06 | 1 | -1/+1 |
| | | | | | Take account of the trailing file type character even when '-d disp' is given to compadd. | ||||
* | 47997: Disable XTRACE around user-defined completion widgets. | Bart Schaefer | 2021-02-11 | 1 | -0/+3 |
| | |||||
* | 47744: Fix vi repeats with hooks in use. | GammaFunction | 2021-01-27 | 1 | -0/+2 |
| | |||||
* | unposted (after 46068): Fix a compiler warning. | Daniel Shahaf | 2020-06-27 | 1 | -1/+1 |
| | | | | | | | The warning was: . warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | ||||
* | 46072 + 46136: Add the 'zle $widget -f nolast' syntax, to improve ↵ | Daniel Shahaf | 2020-06-27 | 1 | -2/+17 |
| | | | | | | add-zle-hook-widget support for multiple hook functions. See workers/46004 for the use-case. | ||||
* | 46068 (tweaked) (was: github #57): region_highlight: Add memo= support. | Daniel Shahaf | 2020-06-25 | 3 | -6/+81 |
| | | | | | | | | | | | | | | | | This is useful when multiple plugins add region_highlight entries and subsequently want to remove only their own entries. Without this functionality, recognizing one's region_highlight entries is not trivial because the 'start' and 'end' offsets are modified by editing of $BUFFER and the highlight specification may not be unique or distinctive. The tweaks are as follows: - Change zfree() to zsfree() per workers/46070. - Remove the mem.c hunk, as it changed the signature of only one out of two alternative definitions of zsfree(). (The definition that hunk touched is the one that's not used by default.) | ||||
* | 45730: _arguments: Add the -0 flag, which makes $opt_args be populated sanely. | Daniel Shahaf | 2020-05-03 | 1 | -5/+35 |
| | | | | Also, write/extend docstrings for sepjoin() and zjoin(). | ||||
* | 45729: internal: Add a second parameter to zlinklist2array(), analogously to ↵ | Daniel Shahaf | 2020-05-03 | 2 | -4/+4 |
| | | | | | | hlinklist2array(). Will be used in the next commit. | ||||
* | 45487: Missing mod_export declarations for AIX | Peter Stephenson | 2020-02-24 | 3 | -3/+3 |
| | |||||
* | Fix typos reported by codespell in Src/ | Mikael Magnusson | 2020-01-09 | 1 | -1/+1 |
| | |||||
* | 45269: Fix misspellings in completions and elsewhere. | Jens Schleusener | 2020-01-09 | 9 | -11/+11 |
| | |||||
* | 24581: Fix array assignments in shell word splitting and completion. | Peter Stephenson | 2019-12-31 | 1 | -1/+3 |
| | | | | | | Assignments after the first were not recognised as such as without the full parser the state didn't return to command position. Fix this in bufferwords() and the completion miniparser. | ||||
* | 45058: internal: Add symbolic names to possible values of zexit()'s ↵ | Daniel Shahaf | 2019-12-17 | 1 | -2/+2 |
| | | | | "from_where" parameter. No functional change. | ||||
* | 44997: GLOB_COMPLETE fix for compctl file completion. | Peter Stephenson | 2019-12-10 | 1 | -1/+21 |
| | | | | Dashes could cause problems in directory prefixes. | ||||
* | 44976: fixup describe-key-briefly for visual mode | Oliver Kiddle | 2019-12-04 | 1 | -0/+4 |
| | |||||
* | unposted: fix indentation (whitespace-only change) | romkatv | 2019-10-28 | 1 | -30/+30 |
| | | | | | | | Indentatin in moveto was broken by 3eea35d0 (my bad), making it difficult to read. This commit reverts it to what it used ot be. While at it, fix indentation in a few other places in the same file. | ||||
* | bug fix: infinite loop when tty disappears | romkatv | 2019-10-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | When TTY disappears and there is at least one fd watcher, raw_getbyte() can enter an infinite loop where it keeps calling poll() over and over again. To reproduce, open a terminal, start zsh and type this: rm -f /tmp/fifo mkfifo /tmp/fifo exec 3<>/tmp/fifo do-nothing() {} zle -F 3 do-nothing Then make TTY disappear. For example, kill the parent with `kill -9 $PPID` and close the terminal window if it's still there. Observe that zsh is consiming 100% CPU. Note that do-nothing() never gets called. This patch makes the poll() loop in raw_getbyte() terminate when TTY is signalling POLLHUP. This makes the behavior consistent with the case where TTY disappears while no fd watchers are installed. | ||||
* | 44582: Fix foregoing commit to use DPUTS() better | Kamil Dudka | 2019-07-26 | 1 | -6/+4 |
| | |||||
* | 44566: make sure Zle doesn't crash if history entry not found | Kamil Dudka | 2019-07-24 | 1 | -2/+12 |
| | |||||
* | 44435: Handling digita arguments for :h and :t. | Peter Stephenson | 2019-06-20 | 1 | -1/+1 |
| | | | | | | | Pick number of leading or trailing path components to substitute. Active in history, brace parameters, glob qualifiers. Add tests for all three environments. | ||||
* | fix cursor position with ZLE_RPROMPT_INDENT=0 | romkatv | 2019-05-28 | 1 | -20/+20 |
| |