Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 49994: Single-byte equivalence of users/22601 and workers/40891 | Bart Schaefer | 2022-04-05 | 1 | -2/+2 | |
| | ||||||
* | 49989: Single byte versions of nice quoting. | Peter Stephenson | 2022-04-05 | 3 | -40/+142 | |
| | | | | | Align interfaces for "nice" printing of characters with those for multibyte to make more available in single-byte compilation. | |||||
* | 49992: further unify single- and multi-byte implementations of nicechar() | Bart Schaefer | 2022-04-04 | 1 | -62/+0 | |
| | ||||||
* | 49991: single-byte brace expansion handles $'\0' and control character ↵ | Bart Schaefer | 2022-04-04 | 2 | -12/+14 | |
| | | | | output aligns with multibyte | |||||
* | 49990: casemodify() avoids metafying characters that it otherwise did not touch | Bart Schaefer | 2022-04-04 | 1 | -5/+14 | |
| | ||||||
* | 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 | 2 | -3/+12 | |
| | ||||||
* | 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. | |||||
* | 49933: Add nonblock to sysopen | Matthew Martin | 2022-03-31 | 1 | -1/+4 | |
| | ||||||
* | 49926: remove unused variable from 49915 | Mikael Magnusson | 2022-03-30 | 1 | -1/+1 | |
| | ||||||
* | 49906 (Bart), 49911: Fixes to querying jobs in subshell. | Peter Stephenson | 2022-03-30 | 2 | -0/+21 | |
| | | | | | | | | Don't attempt to query invalid job off end of table, resulting in crashes from $jobtstates. If background task started in subshell, look at tatsks within subshell instead of main shell. Document and add test. | |||||
* | 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}} } | |||||
* | 49813: <<<: Document newline behavior and fix optimization | Mikael Magnusson | 2022-03-30 | 1 | -1/+3 | |
| | | | | | The =(<<<foo) optimization forgot to add a newline, but =(cat<<<foo) always did, make the behavior consistent, and document it. | |||||
* | 49870: Fix NULL reference in match code more | Mikael Magnusson | 2022-03-30 | 1 | -2/+6 | |
| | | | | | | | | | | | This reverts "49658: Fix NULL reference in match code." and adds a check inside the block, as well as a failsafe check at the end. The above commit (49658) causes a crash due to ll being calculated as 0 which leads to rr being an invalid pointer. Only adding a check for when ll is 0 just leads to bck-i-search pattern not working at all (the final hunk). Restoring the condition and adding an explicit NULL check for replstr seems to make matters work as intended. | |||||
* | 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 | |
| | ||||||
* | 49853 + 49882/49883: make "${arr[*]:off}" compatible with ksh/bash | Jun-ichi Takimoto | 2022-03-29 | 1 | -3/+18 | |
| | ||||||
* | 49890: Avoid scanning unallocated memory in saved command line. | Peter Stephenson | 2022-03-28 | 1 | -1/+1 | |
| | ||||||
* | 49792: Non-interative shell input is line buffered. | Peter Stephenson | 2022-03-03 | 1 | -7/+14 | |
| | ||||||
* | 49783: Consistently use old job table in parameter module | Peter Stephenson | 2022-03-01 | 2 | -48/+82 | |
| | ||||||
* | unposted: Fix some typos and markup. | Daniel Shahaf | 2022-02-22 | 3 | -3/+6 | |
| | ||||||
* | security/41: Don't perform PROMPT_SUBST evaluation on %F/%K arguments | Oliver Kiddle | 2022-02-12 | 1 | -0/+10 | |
| | | | | | | Mitigates CVE-2021-45444 (cherry picked from commit c187154f47697cdbf822c2f9d714d570ed4a0fd1) | |||||
* | 49694 + doc: Allow using empty STTY= to freeze tty for a single command | Mikael Magnusson | 2022-01-30 | 1 | -2/+4 | |
| | | | | | Previously, doing this would just run stty with no arguments, which normally causes it to print some terminal settings to stdout. | |||||
* | 38150: fix off-by-one error in matcher spec parsing | m0viefreak | 2021-12-24 | 1 | -1/+1 | |
| | ||||||
* | 49658: Fix NULL reference in match code. | Peter Stephenson | 2021-12-21 | 1 | -1/+1 | |
| | | | | | | A test when acquiring the replacement pattern match in the globbing code erroneously allowed the use of a NULL pointer. This appears to be an unnecessary test case added alongside other surgery back in 2008. | |||||
* | 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 | |
| | ||||||
* | 49646: allow colors in WATCHFMT with %F/%K | Oliver Kiddle | 2021-12-13 | 2 | -4/+40 | |
| | ||||||
* | 49612: avoid startup error with clashing non-local module parameter name | Oliver Kiddle | 2021-11-30 | 1 | -1/+1 | |
| | ||||||
* | 49611 based on 49590 (Martijn Dekker): disable Inf and NaN in math ↵ | Oliver Kiddle | 2021-11-30 | 1 | -1/+1 | |
| | | | | expressions for sh emulation | |||||
* | 49606: remove old NIS-specific code for retrieving user data | Oliver Kiddle | 2021-11-28 | 2 | -124/+1 | |
| | ||||||
* | 49602: only set LOGCHECK from the watch module | Oliver Kiddle | 2021-11-28 | 1 | -2/+1 | |
| | ||||||
* | 49601: don't create ambiguous history file entries for lines ending with a ↵ | Oliver Kiddle | 2021-11-28 | 1 | -8/+11 | |
| | | | | backslash | |||||
* | 49586: fix :a and :A modifiers (with PWD="/") on Cygwin | Jun-ichi Takimoto | 2021-11-22 | 1 | -1/+5 | |
| | ||||||
* | 49563: fix build problem of watch module on Cygwin | Jun-ichi Takimoto | 2021-11-15 | 1 | -2/+6 | |
| | ||||||
* | github #82: Fix typos | Dimitris Apostolou | 2021-11-12 | 3 | -7/+7 | |
| | ||||||
* | 49561: add zformat -F option, similar to -f but ternary expressions check ↵ | Oliver Kiddle | 2021-11-12 | 1 | -16/+32 | |
| | | | | for existence instead of doing math evaluation | |||||
* | 49544: only tie watch/WATCH if both come from the module | Oliver Kiddle | 2021-11-07 | 1 | -7/+11 | |
| | ||||||
* | 49534, 49539: separate watch/log functionality out into a module | Oliver Kiddle | 2021-11-02 | 7 | -42/+117 | |
| | ||||||
* | 49535: fix completion for ${<TAB> and ${(a)<TAB> | Jun-ichi Takimoto | 2021-11-01 | 1 | -11/+3 | |
| | ||||||
* | 49533: add null check for preprompt functions list that could occur ↵ | Oliver Kiddle | 2021-10-30 | 1 | -0/+3 | |
| | | | | following an error when loading a module | |||||
* | 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 | |
| | ||||||
* | 49433: Don't assume EPROG references are bounded by function depth. | Peter Stephenson | 2021-10-05 | 1 | -4/+0 | |
| | | | | We use references for efficient function copy, so there is no useful limit any more. | |||||
* | 49456: clean up detection of private params in nested scopes, update doc | Bart Schaefer | 2021-10-04 | 2 | -5/+12 | |
| | ||||||
* | 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 | |||||
* | 49422: improve support of --disable-dynamic-nss | Jun-ichi Takimoto | 2021-09-22 | 5 | -14/+29 | |
| | | | | see also 49392 (Vincent) and 49412 (Axel) | |||||
* | 49353: Fix comments in sourced file. | Peter Stephenson | 2021-09-09 | 1 | -1/+1 | |
| | | | | | | | | If the file was sourced from an interactive shell with INTERACTIVE_COMMENTS not set, comments were not parsed. Note there is a remaining edge case where the sourced file is in fact entered at the comment line. | |||||
* | 49387: suffix highlight with "compadd -R" | Bart Schaefer | 2021-09-08 | 1 | -6/+3 | |
| |