summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
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
2018-08-1743294: Add ZLE_RECURSIVE parameter.Peter Stephenson2-0/+19
2018-08-1343275: Add log2 to match funcdana1-0/+10
2018-08-0943264: fix ${+assoc[nonexistent]} with KSH_ARRAYSPeter Stephenson1-1/+1
2018-08-0843261: Fix unary minus with base.Peter Stephenson1-2/+13
Apply unary minus to a complete lexical constant rather than the first component that comes along.
2018-08-0143227: fix memory leaks in term{cap,info}.cJun-ichi Takimoto3-20/+45
2018-07-3143219 (except term{cap,info}.c): fix several memory leaksJun-ichi Takimoto6-4/+11
2018-07-3043225: Recalculate ZLE timeout.Peter Stephenson1-0/+2
Needed when looping owing to having handled a special fd.
2018-07-1043156, 43157: Need to allow for extra space in gethere().Peter Stephenson1-3/+5
The point can now increment twice per iteration.
2018-07-09users/23531: Error exit/return fixes.Peter Stephenson1-0/+17
Fix regression with trap on left hand side of pipe. Fix forced return from shell structure within nested function. Fix tests exiting too early. Add new test case.
2018-06-2543091: In the (u) glob qualifier, expand and correct "unknown user" error ↵Daniel Shahaf1-2/+4
messages.
2018-06-2543084: Variable warning suppression enhancements.Peter Stephenson1-3/+5
Add vared -g option along the lines of typeset -g. Set reply safely in zsh_directory_name_cdr.
2018-06-2043075: Support nanosecond-precision time formattingdana6-59/+81
* Teach ztrftime() %9. and %N for nanoseconds * Update prompt expansion to pass sub-second times for time formatting * Update zsh/stat to pass sub-second times for atime/mtime/ctime Patch heavily based on Oliver's earlier work @ workers/24059
2018-06-2043077: Fix shift builtin status.Peter Stephenson1-1/+6
If the math evaulation to get the shift count failed the status wasn't passed back from the builtin.
2018-06-18433029: Testing signal return type is no longer neededEitan Adler3-3/+3
2018-06-1743039: Mark functions_source (et al.) for auto-loadingdana2-1/+2
2018-06-15users/23472: Add $sysparams[procsubstpid] to zsh/systemPeter Stephenson3-0/+15
2018-06-1543008: Improve code to remove privileges.Peter Stephenson1-7/+24
Remove warnings of unused values as we always check the finally result later. Put segid before setuid as the setgid could fail if UID no longer privileged.
2018-06-0642938: name argument to math_func is not unusedEitan Adler1-1/+1
2018-06-0642939: pm argument to set_registers is not unusedEitan Adler1-1/+1
2018-05-3142870: another improvement of 'compset -q'Jun-ichi Takimoto1-4/+6
zlemetall need not count the 'x' added at the cursor in set_comp_sep()
2018-05-2542809: slightly improve 'compset -q'Jun-ichi Takimoto1-3/+6
2018-05-1742790: make [[:blank:]] match non-ASCII blanksStephane Chazelas1-2/+17
2018-05-1742793: Always define FDT_PROC_SUBST even if not needed.Peter Stephenson2-8/+3
This avoids proliferating #ifdef's.
2018-05-1742785: Allow redefining math function to work silently.Peter Stephenson1-9/+4
Previously it failed with an error message that the function was already defined. This is inconsistent with most other aspects of shell usage.
2018-05-1442297: (e) subscript flag needs extra work with scalarsdana1-3/+17
2018-05-1442234: Stephane: don't kill a process if not running.Peter Stephenson1-3/+15
This could happen when kiiling a job. The processs might be reused.
2018-05-1342488: test cases for 42369 and address some issues in the codeOliver Kiddle3-54/+44
2018-05-13Nelson H. F. Beebe: 19597 (rebased 42369): return Inf, NaN etc from floating ↵Oliver Kiddle3-51/+58
point operations instead of errors to allow non-stop IEEE 754 arithmetic
2018-05-1342760: move stack variable outside while loop scope as it is accessed in the ↵Oliver Kiddle1-1/+1
while condition
2018-05-1142185: safety when removing separators in completiondana1-1/+2
2018-05-1142101 (tweaked): assigning shell status to array was brokendana1-2/+6
2018-05-0842751: Protect shell status in ZLE timed function handler.Peter Stephenson1-0/+4
Otherwise status from sched and other asynchronous functions could escape back to the main shell.