Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 43674: Split more PM_ flags for variables and functions. | Peter Stephenson | 2018-10-12 | 1 | -20/+19 | |
| | | | | | | This avoids using sign bit. Also bump dev version because of wordcode incompatibility. | |||||
* | 43669: ensure explicit exit status is used over implicit | Peter Stephenson | 2018-10-10 | 2 | -3/+3 | |
| | ||||||
* | 43660: extend 43653 when final exit is implicit. | Peter Stephenson | 2018-10-09 | 3 | -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. | |||||
* | 43656: special tied arrays don't have tieddata | Peter Stephenson | 2018-10-09 | 1 | -1/+1 | |
| | ||||||
* | 43653: explicit exit from EXIT trap overrides exit status | Peter Stephenson | 2018-10-09 | 1 | -4/+10 | |
| | ||||||
* | 43616: Various parameter setting and display fixes. | Peter Stephenson | 2018-10-08 | 7 | -139/+262 | |
| | | | | | | Mostly to do with typeset -p and tied variables and their interaction. Some general tied variable fixes. | |||||
* | 43589: Further improved subjob reporting. | Peter Stephenson | 2018-10-03 | 1 | -9/+5 | |
| | | | | | Show subjob status instead of user-visible superjob any time the subjob still has associated processes. | |||||
* | 43531: Completion: Fix some false positives in the logic for "are these two ↵ | Daniel Shahaf | 2018-09-30 | 1 | -3/+1 | |
| | | | | candidates completions equivalent". | |||||
* | 43570: Start documenting jobs.c, in particular superjobs. | Daniel Shahaf | 2018-09-28 | 1 | -3/+24 | |
| | ||||||
* | 43564: improve job control report about stopped subjob | Peter Stephenson | 2018-09-26 | 1 | -5/+37 | |
| | ||||||
* | 43489: Add error checking on a new write() call. | Daniel Shahaf | 2018-09-25 | 1 | -1/+4 | |
| | | | | | Silences a compiler warning (write(2) is declared with warn_unused_result in current Debian Unstable). | |||||
* | 43543: Further improvements to fg/bg of superjob/subjob. | Peter Stephenson | 2018-09-25 | 1 | -22/+25 | |
| | | | | | | | Attempt to keep STAT_STOPPED correct for superjob, rendering additional "stopped = 1" unnecessary. Wait for subjob before superjob. | |||||
* | 43546: "typeset -p" should show -U flag | Stephane Chazelas | 2018-09-25 | 1 | -0/+7 | |
| | ||||||
* | 43535: Fixes for bg / fg handling of superjobs. | Peter Stephenson | 2018-09-24 | 2 | -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. | |||||
* | 43511: Initialiase alias entry on input stack. | Peter Stephenson | 2018-09-21 | 1 | -0/+2 | |
| | | | | This didn't happen if neither history nor alias expansion was in use. | |||||
* | 43464: Another attachtty() fix. | Peter Stephenson | 2018-09-16 | 4 | -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. | |||||
* | Fix windowsize when reattaching to terminal on process exit | Peter Stephenson | 2018-09-12 | 1 | -0/+1 | |
| | ||||||
* | 43446: More entersubsh() / addproc() wiring. | Peter Stephenson | 2018-09-12 | 3 | -19/+40 | |
| | | | | | Fix additional races by passing back use of list_pipe_job from subshell. | |||||
* | GitHub #28: Add missing math.h include for builtins | Jörg Thalheim | 2018-09-10 | 1 | -0/+2 | |
| | | | | math.h is required for isnan/isinf | |||||
* | 43409: Fix process group setting in main shell. | Peter Stephenson | 2018-09-07 | 2 | -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. | |||||
* | CVE-2018-0502, CVE-2018-13259: Fix two security issues in shebang line parsing. | Anthony Sottile | 2018-09-03 | 1 | -16/+20 | |
| | | | | | | See NEWS for more information. Patch by Anthony Sottile and Buck Evan. | |||||
* | Don't handle ZLE functions for single key. | Peter Stephenson | 2018-09-03 | 4 | -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. | |||||
* | 43358: enforce consistent patchlevel form | Oliver Kiddle | 2018-08-31 | 1 | -2/+2 | |
| | ||||||
* | 43294: Add ZLE_RECURSIVE parameter. | Peter Stephenson | 2018-08-17 | 2 | -0/+19 | |
| | ||||||
* | 43275: Add log2 to match func | dana | 2018-08-13 | 1 | -0/+10 | |
| | ||||||
* | 43264: fix ${+assoc[nonexistent]} with KSH_ARRAYS | Peter Stephenson | 2018-08-09 | 1 | -1/+1 | |
| | ||||||
* | 43261: Fix unary minus with base. | Peter Stephenson | 2018-08-08 | 1 | -2/+13 | |
| | | | | | Apply unary minus to a complete lexical constant rather than the first component that comes along. | |||||
* | 43227: fix memory leaks in term{cap,info}.c | Jun-ichi Takimoto | 2018-08-01 | 3 | -20/+45 | |
| | ||||||
* | 43219 (except term{cap,info}.c): fix several memory leaks | Jun-ichi Takimoto | 2018-07-31 | 6 | -4/+11 | |
| | ||||||
* | 43225: Recalculate ZLE timeout. | Peter Stephenson | 2018-07-30 | 1 | -0/+2 | |
| | | | | Needed when looping owing to having handled a special fd. | |||||
* | 43156, 43157: Need to allow for extra space in gethere(). | Peter Stephenson | 2018-07-10 | 1 | -3/+5 | |
| | | | | The point can now increment twice per iteration. | |||||
* | users/23531: Error exit/return fixes. | Peter Stephenson | 2018-07-09 | 1 | -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. | |||||
* | 43091: In the (u) glob qualifier, expand and correct "unknown user" error ↵ | Daniel Shahaf | 2018-06-25 | 1 | -2/+4 | |
| | | | | messages. | |||||
* | 43084: Variable warning suppression enhancements. | Peter Stephenson | 2018-06-25 | 1 | -3/+5 | |
| | | | | | | Add vared -g option along the lines of typeset -g. Set reply safely in zsh_directory_name_cdr. | |||||
* | 43075: Support nanosecond-precision time formatting | dana | 2018-06-20 | 6 | -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 | |||||
* | 43077: Fix shift builtin status. | Peter Stephenson | 2018-06-20 | 1 | -1/+6 | |
| | | | | | If the math evaulation to get the shift count failed the status wasn't passed back from the builtin. | |||||
* | 433029: Testing signal return type is no longer needed | Eitan Adler | 2018-06-18 | 3 | -3/+3 | |
| | ||||||
* | 43039: Mark functions_source (et al.) for auto-loading | dana | 2018-06-17 | 2 | -1/+2 | |
| | ||||||
* | users/23472: Add $sysparams[procsubstpid] to zsh/system | Peter Stephenson | 2018-06-15 | 3 | -0/+15 | |
| | ||||||
* | 43008: Improve code to remove privileges. | Peter Stephenson | 2018-06-15 | 1 | -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. | |||||
* | 42938: name argument to math_func is not unused | Eitan Adler | 2018-06-06 | 1 | -1/+1 | |
| | ||||||
* | 42939: pm argument to set_registers is not unused | Eitan Adler | 2018-06-06 | 1 | -1/+1 | |
| | ||||||
* | 42870: another improvement of 'compset -q' | Jun-ichi Takimoto | 2018-05-31 | 1 | -4/+6 | |
| | | | | zlemetall need not count the 'x' added at the cursor in set_comp_sep() | |||||
* | 42809: slightly improve 'compset -q' | Jun-ichi Takimoto | 2018-05-25 | 1 | -3/+6 | |
| | ||||||
* | 42790: make [[:blank:]] match non-ASCII blanks | Stephane Chazelas | 2018-05-17 | 1 | -2/+17 | |
| | ||||||
* | 42793: Always define FDT_PROC_SUBST even if not needed. | Peter Stephenson | 2018-05-17 | 2 | -8/+3 | |
| | | | | This avoids proliferating #ifdef's. | |||||
* | 42785: Allow redefining math function to work silently. | Peter Stephenson | 2018-05-17 | 1 | -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. | |||||
* | 42297: (e) subscript flag needs extra work with scalars | dana | 2018-05-14 | 1 | -3/+17 | |
| | ||||||
* | 42234: Stephane: don't kill a process if not running. | Peter Stephenson | 2018-05-14 | 1 | -3/+15 | |
| | | | | This could happen when kiiling a job. The processs might be reused. | |||||
* | 42488: test cases for 42369 and address some issues in the code | Oliver Kiddle | 2018-05-13 | 3 | -54/+44 | |
| |