Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-12-10 | 44997: GLOB_COMPLETE fix for compctl file completion. | Peter Stephenson | 1 | -1/+21 | |
Dashes could cause problems in directory prefixes. | |||||
2019-12-04 | 44976: fixup describe-key-briefly for visual mode | Oliver Kiddle | 1 | -0/+4 | |
2019-10-28 | unposted: fix indentation (whitespace-only change) | romkatv | 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. | |||||
2019-10-04 | bug fix: infinite loop when tty disappears | romkatv | 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. | |||||
2019-07-26 | 44582: Fix foregoing commit to use DPUTS() better | Kamil Dudka | 1 | -6/+4 | |
2019-07-24 | 44566: make sure Zle doesn't crash if history entry not found | Kamil Dudka | 1 | -2/+12 | |
2019-06-20 | 44435: Handling digita arguments for :h and :t. | Peter Stephenson | 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. | |||||
2019-05-28 | fix cursor position with ZLE_RPROMPT_INDENT=0 | romkatv | 1 | -20/+20 | |
2019-05-08 | 44275: Fix compset -p/-s multibyte inconsistency and documentation | dana | 1 | -1/+1 | |
2019-05-07 | 44274: allow finer control of completion match soring with compadd's -o option | Oliver Kiddle | 3 | -27/+90 | |
2019-04-10 | 44168 (tweaked to remove change to errflag): Fix interrupt handling of zle -F. | Peter Stephenson | 1 | -1/+5 | |
If interrupted by irrelevant interrupt (EINTR only is set), don't set the local error flag, just retry. | |||||
2019-04-10 | 44215: Maintain LASTWIDGET across reset-prompt. | Roman Perepelitsa | 6 | -10/+18 | |
This avoids side effects of asynchronous notifications. | |||||
2019-04-10 | 44202: Rewrite to use memmove() for possibly overlapping copy | Peter Stephenson | 1 | -5/+3 | |
2019-02-14 | c.f. 44062: Back off clearflag change to ZLE line init. | Peter Stephenson | 1 | -1/+0 | |
This causes problems with failed ZLE reads that printed a message in the display area, in particular ignoreEOF warnings. It appears it's not needed for the overall effect of the fixes in zsh-workers/40302, commit 34656ec2. | |||||
2019-01-03 | 43969: untokenize Dash for compctl with GLOB_SUBST set | Peter Stephenson | 1 | -0/+9 | |
2018-11-09 | 43793: computil could overrun buffer | Kamil Dudka | 1 | -2/+2 | |
2018-11-05 | 43759: add support for true colour terminals | Oliver Kiddle | 4 | -24/+29 | |
2018-09-30 | 43531: Completion: Fix some false positives in the logic for "are these two ↵ | Daniel Shahaf | 1 | -3/+1 | |
candidates completions equivalent". | |||||
2018-09-03 | Don't handle ZLE functions for single key. | Peter Stephenson | 4 | -16/+16 | |
For read -k and read -q where we use ZLE, we just want a single key and not full ZLE processing. So don't handle timed ZLE functions when preforming the read. | |||||
2018-08-17 | 43294: Add ZLE_RECURSIVE parameter. | Peter Stephenson | 2 | -0/+19 | |
2018-07-31 | 43219 (except term{cap,info}.c): fix several memory leaks | Jun-ichi Takimoto | 1 | -0/+2 | |
2018-07-30 | 43225: Recalculate ZLE timeout. | Peter Stephenson | 1 | -0/+2 | |
Needed when looping owing to having handled a special fd. | |||||
2018-06-25 | 43084: Variable warning suppression enhancements. | Peter Stephenson | 1 | -3/+5 | |
Add vared -g option along the lines of typeset -g. Set reply safely in zsh_directory_name_cdr. | |||||
2018-06-06 | 42939: pm argument to set_registers is not unused | Eitan Adler | 1 | -1/+1 | |
2018-05-31 | 42870: another improvement of 'compset -q' | Jun-ichi Takimoto | 1 | -4/+6 | |
zlemetall need not count the 'x' added at the cursor in set_comp_sep() | |||||
2018-05-25 | 42809: slightly improve 'compset -q' | Jun-ichi Takimoto | 1 | -3/+6 | |
2018-05-13 | 42760: move stack variable outside while loop scope as it is accessed in the ↵ | Oliver Kiddle | 1 | -1/+1 | |
while condition | |||||
2018-05-11 | 42185: safety when removing separators in completion | dana | 1 | -1/+2 | |
2018-05-08 | 42751: Protect shell status in ZLE timed function handler. | Peter Stephenson | 1 | -0/+4 | |
Otherwise status from sched and other asynchronous functions could escape back to the main shell. | |||||
2018-04-07 | 42605: properly free the vi registers hash | Oliver Kiddle | 2 | -3/+14 | |
2018-04-07 | 42600: error paths for _values leaked the exclusion list array | Oliver Kiddle | 1 | -0/+4 | |
2018-04-05 | 42575: fix to not complete options in the argument to another option | Oliver Kiddle | 1 | -1/+1 | |
2018-03-24 | 42519, CVE-2018-1083: check bounds on PATH_MAX-sized buffer used for file ↵ | Oliver Kiddle | 1 | -0/+6 | |
completion candidates | |||||
2018-03-24 | 42501: avoid out of bound pointer (as 42487) | Jun-ichi Takimoto | 3 | -8/+7 | |
2018-03-21 | 42487: Fix pointer problems in compctl. | Peter Stephenson | 1 | -32/+32 | |
Pointing off the front of a string caused warnings with gcc 7.3.0 and is somewhat murky C anyway. | |||||
2018-02-26 | 23180: Fix expand-or-complete with ~[...]. | Peter Stephenson | 1 | -0/+9 | |
The square brackets shouldn't be treated as wildcards. | |||||
2018-01-04 | 42164: fix digits in format escapes in completion listings | dana | 1 | -3/+3 | |
2017-12-20 | dana: 42145: Fix additional completion cases with option arguments. | dana | 1 | -1/+3 | |
2017-12-18 | 42412: fix a bug in 42116 | Jun-ichi Takimoto | 1 | -4/+4 | |
Also fix a few widgets which were calling wrong function when negative numeric argument was given. | |||||
2017-12-18 | 42116: multibyte support for ZLE vi-mode word motion | Jun-ichi Takimoto | 3 | -77/+45 | |
2017-11-04 | 41983: fix exclusion of long options with (-) on a normal argument | Oliver Kiddle | 1 | -1/+1 | |
2017-10-11 | 41835: handle multibyte characters with compset -p and -s | Oliver Kiddle | 1 | -11/+37 | |
2017-10-07 | 41824: fix to not complete rest args from an _arguments set alongside the ↵ | Oliver Kiddle | 1 | -16/+16 | |
argument to and option in a separate set | |||||
2017-09-28 | 41772: fix bug in handling of long options with _arguments' -A option | Oliver Kiddle | 1 | -1/+1 | |
2017-09-24 | Updates for ksh array element syntax. | Peter Stephenson | 1 | -1/+1 | |
Move detection of key/value pairs down into prefork(). Detect normal array assignment and [key]=val array assignemnt separately. Mark key / value pairs with Marker and pass up flag. Deal with marked triads specially later on. | |||||
2017-07-04 | Avoid invalid access with isearch in completion list | Maxime de Roucy | 1 | -5/+7 | |
2017-06-27 | 41368: Add missing unqueue_signals() to compctl. | Peter Stephenson | 1 | -0/+2 | |
2017-06-17 | 41242: zstrbcmp(...) removed in favor of zstrcmp(..., ↵ | Barton E. Schaefer | 2 | -48/+3 | |
SORTIT_IGNORING_BACKSLASHES) This should make sorting consistent in completion listings vs. elsewhere. | |||||
2017-06-13 | 41275: Leave stdin open when executing widgets | Stephane Chazelas | 1 | -0/+7 | |
2017-06-12 | 41244: Add zmodload -s option. | Peter Stephenson | 1 | -1/+1 | |
Doesn't complain if module is unavailable, but prints more obscure errors. Use existing low-level silent flag by passing through intermediate module loading hierarchy. |