summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
2019-05-2844361: Initialise variables in pattern matching.Peter Stephenson1-10/+12
These are used recursively and it's a bit obscure if there are case where the value can leak.
2019-05-28fix cursor position with ZLE_RPROMPT_INDENT=0romkatv1-20/+20
2019-05-2344345: fix wordcode traversal where ! without a following command could ↵Oliver Kiddle1-2/+7
result in a crash
2019-05-2044307: allow for atoi() returning a negative numberOliver Kiddle4-6/+9
2019-05-1444284: combination of -T and -p to typeset crashed the shell.Oliver Kiddle1-4/+2
2019-05-1444290: job number exceeding int range and wrapping to a negative number ↵Oliver Kiddle1-1/+1
crashed the shell
2019-05-1444291: printf with argument specifier out of range for an int crashed the shellOliver Kiddle1-2/+1
2019-05-1444296: "typeset Q= {X}" crashed the shell.Peter Stephenson1-0/+8
2019-05-1344259: Ensure we can set signals to default even if ignored.Peter Stephenson1-4/+0
Previously the shell didn't take account of signals marked as ignored on entry, which was inconsistent with other behaviour.
2019-05-0844275: Fix compset -p/-s multibyte inconsistency and documentationdana1-1/+1
2019-05-0744274: allow finer control of completion match soring with compadd's -o optionOliver Kiddle3-27/+90
2019-05-0344267: sort: Restore option to ignore backslashesdana1-1/+24
Fix regression introduced by workers/41242
2019-05-0344271: Fix breaks propagated from until or return.Peter Stephenson1-2/+6
If the until or return test caused continuation but there was a pending return, breaks didn't get cancelled causing enclosing scope to skip commands.
2019-04-2544284: Mark SIGQUIT as ignore if ignored on entry to shell.Peter Stephenson1-0/+9
This prevents us from re-enabling it after a fork if it is being ignored.
2019-04-2544254: Handle error case in zgetdir().Peter Stephenson1-1/+11
When retrieving path to current directory by looking for /, ensure we have actually reached / by comparing inode. If the current directory became invalid on some OSes including Linux the parent directory is valid but is the same as the current one.
2019-04-1843288: fix line-broken promptsdana1-3/+8
Without re-breaking the case where a newline character lands in column 0.
2019-04-1244198: Add cd_silent option to suppress all cd outputdana3-2/+4
2019-04-1044168 (tweaked to remove change to errflag): Fix interrupt handling of zle -F.Peter Stephenson1-1/+5
If interrupted by irrelevant interrupt (EINTR only is set), don't set the local error flag, just retry.
2019-04-1044214: <(...) substitutions shouldn't grab the terminalEric Freese1-1/+1
2019-04-1044215: Maintain LASTWIDGET across reset-prompt.Roman Perepelitsa6-10/+18
This avoids side effects of asynchronous notifications.
2019-04-1044202: Rewrite to use memmove() for possibly overlapping copyPeter Stephenson1-5/+3
2019-03-2544176: warn only if off_t is longer than longJun-ichi Takimoto1-1/+2
2019-03-2544162 (tweaked): Avoid format-overflow warning in zftp.cWesley Schwengle1-8/+2
2019-03-2544164: Avoid stringop-truncation warningWesley Schwengle1-1/+1
2019-03-2144153: rm: Accept -R as equivalent to -rMatthew Martin1-3/+4
2019-03-1944132: don't hash commands beginning with /Charles Blake1-0/+2
2019-03-1944142: Fix hist_reduce_spaces bug.Peter Stephenson1-2/+3
When there were as an unstripped comment on the line the pointer for stripping spaces could be bogus. Don't do any editing in that case.
2019-03-1844135: Add chmod builtinMatthew Martin1-0/+41
2019-03-1444122: turn int into long to avoid overflowKamil Dudka1-2/+2
2019-03-1244100: zparseopts: Add -F option, completion, tests; improve documentationdana1-1/+13
* Enable zparseopts to perform basic usage validation (aborting on an unrecognised option-like parameter) * Officially document the resolution of ambiguous option specs
2019-02-1844067: Make history read safer on interrupt.Yutian Li1-3/+9
Record if a read was interrupted and if so process it in full next time a read is needed.
2019-02-14c.f. 44062: Back off clearflag change to ZLE line init.Peter Stephenson1-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-02-0344030: prompt: Return error for unrecognised colour namedana1-0/+2
2019-01-2344011: Only use fg_start_code for non-truecolorMikael Magnusson1-10/+23
The sequence for truecolor uses a different prefix from palette colors
2019-01-0343969: untokenize Dash for compctl with GLOB_SUBST setPeter Stephenson1-0/+9
2018-12-30users/23809: ZLE_HIGHLIGHT extensions.Peter Stephenson1-4/+26
Allow non-termcap use of colours > 7. Add tests.
2018-12-3043945 (tweaked to remove test failure, noted in test):Martijn Dekker1-10/+13
Fix exit statuses from wait for POSIX_BUILTINS mode. Also add tests.
2018-12-3043944: apply NO_UNSET consistently to arithmeitcMartijn Dekker1-0/+2
2018-12-30unposted (per 43938): Avoid segfault when unmetafying empty stringdana1-1/+1
2018-12-2943953: Fix rounding/truncation error in %. time-format specifierdana1-6/+15
Also fixes an issue where %. couldn't be used more than once in a format string without strange results Tweaked very slightly per workers/43954
2018-12-2443935: Reject too-large nanosecond values given to strftimedana1-1/+1
... and, in so doing, fix an error in the tests on 32-bit machines. The value for the new too-large test is changed slightly from the patch posted to the ML to make it test for the right thing on 32-bit machines as well.
2018-12-2143921: ${\var} should be an errorBart Schaefer1-1/+1
2018-11-2943854: Set tok to LEXERR on generic parse error.Peter Stephenson1-0/+1
Needed by main loop which detects an error this way.
2018-11-2143837 plus test from Daniel: Empty string in nested subst.Peter Stephenson1-0/+2
Skip Nularg or there is a bogus character at the start.
2018-11-1943829: nearcolor.c: use double instead of floatJun-ichi Takimoto1-19/+19
2018-11-1543823: remove unnecessary metafy() in stattimeprint()Ivan Tkachenko1-3/+1
2018-11-1343800: Add nanosecond support to strftime built-indana1-18/+46
2018-11-0943790: failed mailstat could leak memoryKamil Dudka1-3/+13
2018-11-0943789: possible use after free clearing up math func from moduleKamil Dudka1-2/+0
2018-11-0943723: file descriptor could leak on fork errorKamil Dudka1-1/+2