summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
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
2018-11-0943793: computil could overrun bufferKamil Dudka1-2/+2
2018-11-0943791: File descriptor could be closed twice in cloneKamil Dudka1-1/+2
2018-11-0843805: make nearcolor module use the default colour rather than black as a ↵Oliver Kiddle2-4/+7
fallback
2018-11-0843804: also need to be able to turn colour attributes back into hex triples ↵Oliver Kiddle1-4/+12
for region_highlight variable
2018-11-08unposted: add usual copyright header to nearcolor module sourcesOliver Kiddle1-0/+29
2018-11-0543759: add support for true colour terminalsOliver Kiddle8-80/+122
2018-11-0543747: new module to map colours from hex triplets to the nearest matching ↵Oliver Kiddle5-1/+209
colour
2018-10-2343695: minor but simple optmiisation to use existing string lengthSebastian Gniazdowski1-4/+4
2018-10-14unposted: internals: Document sepjoin().Daniel Shahaf1-0/+8
2018-10-1243674: Split more PM_ flags for variables and functions.Peter Stephenson1-20/+19
This avoids using sign bit. Also bump dev version because of wordcode incompatibility.
2018-10-1043669: ensure explicit exit status is used over implicitPeter Stephenson2-3/+3
2018-10-0943660: extend 43653 when final exit is implicit.Peter Stephenson3-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.
2018-10-0943656: special tied arrays don't have tieddataPeter Stephenson1-1/+1
2018-10-0943653: explicit exit from EXIT trap overrides exit statusPeter Stephenson1-4/+10
2018-10-0843616: Various parameter setting and display fixes.Peter Stephenson7-139/+262
Mostly to do with typeset -p and tied variables and their interaction. Some general tied variable fixes.
2018-10-0343589: Further improved subjob reporting.Peter Stephenson1-9/+5
Show subjob status instead of user-visible superjob any time the subjob still has associated processes.
2018-09-3043531: Completion: Fix some false positives in the logic for "are these two ↵Daniel Shahaf1-3/+1
candidates completions equivalent".
2018-09-2843570: Start documenting jobs.c, in particular superjobs.Daniel Shahaf1-3/+24
2018-09-2643564: improve job control report about stopped subjobPeter Stephenson1-5/+37
2018-09-2543489: Add error checking on a new write() call.Daniel Shahaf1-1/+4
Silences a compiler warning (write(2) is declared with warn_unused_result in current Debian Unstable).
2018-09-2543543: Further improvements to fg/bg of superjob/subjob.Peter Stephenson1-22/+25
Attempt to keep STAT_STOPPED correct for superjob, rendering additional "stopped = 1" unnecessary. Wait for subjob before superjob.
2018-09-2543546: "typeset -p" should show -U flagStephane Chazelas1-0/+7
2018-09-2443535: Fixes for bg / fg handling of superjobs.Peter Stephenson2-19/+46
Be more consistent about marking both superjob and subjob as running when sending SIGCONT. Send SIGCONT to superjob / subjob combination any time it is put in foreground, even if thought running, since subjob may invisibly have suspended. When waiting for superjob, wait for subjob, too.
2018-09-2143511: Initialiase alias entry on input stack.Peter Stephenson1-0/+2
This didn't happen if neither history nor alias expansion was in use.
2018-09-1643464: Another attachtty() fix.Peter Stephenson4-8/+24
If list_pipe_job triggered more than once we need to know the most recent process group leader, so record that both if the attach happened in the main shell on in entersubsh(). Also don't pass back proocess group for ESUB_ASYNC subshells.
2018-09-12Fix windowsize when reattaching to terminal on process exitPeter Stephenson1-0/+1
2018-09-1243446: More entersubsh() / addproc() wiring.Peter Stephenson3-19/+40
Fix additional races by passing back use of list_pipe_job from subshell.
2018-09-10GitHub #28: Add missing math.h include for builtinsJörg Thalheim1-0/+2
math.h is required for isnan/isinf
2018-09-0743409: Fix process group setting in main shell.Peter Stephenson2-21/+37
A newly forked subshell now reports back the process group it will be using for the main shell to record. This prevents an error where the shell incorrectly thought an exiting process owned the terminal and so grabbed it back, putting the foreground process into the background.
2018-09-03CVE-2018-0502, CVE-2018-13259: Fix two security issues in shebang line parsing.Anthony Sottile1-16/+20
See NEWS for more information. Patch by Anthony Sottile and Buck Evan.
2018-09-03Don't handle ZLE functions for single key.Peter Stephenson4-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-3143358: enforce consistent patchlevel formOliver Kiddle1-2/+2