summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
...
* 44271: Fix breaks propagated from until or return.Peter Stephenson2019-05-031-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.
* 44284: Mark SIGQUIT as ignore if ignored on entry to shell.Peter Stephenson2019-04-251-0/+9
| | | | | This prevents us from re-enabling it after a fork if it is being ignored.
* 44254: Handle error case in zgetdir().Peter Stephenson2019-04-251-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.
* 43288: fix line-broken promptsdana2019-04-181-3/+8
| | | | Without re-breaking the case where a newline character lands in column 0.
* 44198: Add cd_silent option to suppress all cd outputdana2019-04-123-2/+4
|
* 44168 (tweaked to remove change to errflag): Fix interrupt handling of zle -F.Peter Stephenson2019-04-101-1/+5
| | | | | If interrupted by irrelevant interrupt (EINTR only is set), don't set the local error flag, just retry.
* 44214: <(...) substitutions shouldn't grab the terminalEric Freese2019-04-101-1/+1
|
* 44215: Maintain LASTWIDGET across reset-prompt.Roman Perepelitsa2019-04-106-10/+18
| | | | This avoids side effects of asynchronous notifications.
* 44202: Rewrite to use memmove() for possibly overlapping copyPeter Stephenson2019-04-101-5/+3
|
* 44176: warn only if off_t is longer than longJun-ichi Takimoto2019-03-251-1/+2
|
* 44162 (tweaked): Avoid format-overflow warning in zftp.cWesley Schwengle2019-03-251-8/+2
|
* 44164: Avoid stringop-truncation warningWesley Schwengle2019-03-251-1/+1
|
* 44153: rm: Accept -R as equivalent to -rMatthew Martin2019-03-211-3/+4
|
* 44132: don't hash commands beginning with /Charles Blake2019-03-191-0/+2
|
* 44142: Fix hist_reduce_spaces bug.Peter Stephenson2019-03-191-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.
* 44135: Add chmod builtinMatthew Martin2019-03-181-0/+41
|
* 44122: turn int into long to avoid overflowKamil Dudka2019-03-141-2/+2
|
* 44100: zparseopts: Add -F option, completion, tests; improve documentationdana2019-03-121-1/+13
| | | | | | | * Enable zparseopts to perform basic usage validation (aborting on an unrecognised option-like parameter) * Officially document the resolution of ambiguous option specs
* 44067: Make history read safer on interrupt.Yutian Li2019-02-181-3/+9
| | | | | Record if a read was interrupted and if so process it in full next time a read is needed.
* c.f. 44062: Back off clearflag change to ZLE line init.Peter Stephenson2019-02-141-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.
* 44030: prompt: Return error for unrecognised colour namedana2019-02-031-0/+2
|
* 44011: Only use fg_start_code for non-truecolorMikael Magnusson2019-01-231-10/+23
| | | | The sequence for truecolor uses a different prefix from palette colors
* 43969: untokenize Dash for compctl with GLOB_SUBST setPeter Stephenson2019-01-031-0/+9
|
* users/23809: ZLE_HIGHLIGHT extensions.Peter Stephenson2018-12-301-4/+26
| | | | | Allow non-termcap use of colours > 7. Add tests.
* 43945 (tweaked to remove test failure, noted in test):Martijn Dekker2018-12-301-10/+13
| | | | | Fix exit statuses from wait for POSIX_BUILTINS mode. Also add tests.
* 43944: apply NO_UNSET consistently to arithmeitcMartijn Dekker2018-12-301-0/+2
|
* unposted (per 43938): Avoid segfault when unmetafying empty stringdana2018-12-301-1/+1
|
* 43953: Fix rounding/truncation error in %. time-format specifierdana2018-12-291-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
* 43935: Reject too-large nanosecond values given to strftimedana2018-12-241-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.
* 43921: ${\var} should be an errorBart Schaefer2018-12-211-1/+1
|
* 43854: Set tok to LEXERR on generic parse error.Peter Stephenson2018-11-291-0/+1
| | | | Needed by main loop which detects an error this way.
* 43837 plus test from Daniel: Empty string in nested subst.Peter Stephenson2018-11-211-0/+2
| | | | Skip Nularg or there is a bogus character at the start.
* 43829: nearcolor.c: use double instead of floatJun-ichi Takimoto2018-11-191-19/+19
|
* 43823: remove unnecessary metafy() in stattimeprint()Ivan Tkachenko2018-11-151-3/+1
|
* 43800: Add nanosecond support to strftime built-indana2018-11-131-18/+46
|
* 43790: failed mailstat could leak memoryKamil Dudka2018-11-091-3/+13
|
* 43789: possible use after free clearing up math func from moduleKamil Dudka2018-11-091-2/+0
|
* 43723: file descriptor could leak on fork errorKamil Dudka2018-11-091-1/+2
|
* 43793: computil could overrun bufferKamil Dudka2018-11-091-2/+2
|
* 43791: File descriptor could be closed twice in cloneKamil Dudka2018-11-091-1/+2
|
* 43805: make nearcolor module use the default colour rather than black as a ↵Oliver Kiddle2018-11-082-4/+7
| | | | fallback
* 43804: also need to be able to turn colour attributes back into hex triples ↵Oliver Kiddle2018-11-081-4/+12
| | | | for region_highlight variable
* unposted: add usual copyright header to nearcolor module sourcesOliver Kiddle2018-11-081-0/+29
|
* 43759: add support for true colour terminalsOliver Kiddle2018-11-058-80/+122
|
* 43747: new module to map colours from hex triplets to the nearest matching ↵Oliver Kiddle2018-11-055-1/+209
| | | | colour
* 43695: minor but simple optmiisation to use existing string lengthSebastian Gniazdowski2018-10-231-4/+4
|
* unposted: internals: Document sepjoin().Daniel Shahaf2018-10-141-0/+8
|
* 43674: Split more PM_ flags for variables and functions.Peter Stephenson2018-10-121-20/+19
| | | | | | This avoids using sign bit. Also bump dev version because of wordcode incompatibility.
* 43669: ensure explicit exit status is used over implicitPeter Stephenson2018-10-102-3/+3
|
* 43660: extend 43653 when final exit is implicit.Peter Stephenson2018-10-093-30/+67
| | | | | | | Combine logic for case after committed to exit (shell_exiting) with case where exit occurred in a function we nee to unwind (exit_pending). Add sarky note for future generations to be confused at.