Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | users/23809: ZLE_HIGHLIGHT extensions. | Peter Stephenson | 2018-12-30 | 1 | -4/+26 |
| | | | | | Allow non-termcap use of colours > 7. Add tests. | ||||
* | 43945 (tweaked to remove test failure, noted in test): | Martijn Dekker | 2018-12-30 | 1 | -10/+13 |
| | | | | | Fix exit statuses from wait for POSIX_BUILTINS mode. Also add tests. | ||||
* | 43944: apply NO_UNSET consistently to arithmeitc | Martijn Dekker | 2018-12-30 | 1 | -0/+2 |
| | |||||
* | unposted (per 43938): Avoid segfault when unmetafying empty string | dana | 2018-12-30 | 1 | -1/+1 |
| | |||||
* | 43953: Fix rounding/truncation error in %. time-format specifier | dana | 2018-12-29 | 1 | -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 strftime | dana | 2018-12-24 | 1 | -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 error | Bart Schaefer | 2018-12-21 | 1 | -1/+1 |
| | |||||
* | 43854: Set tok to LEXERR on generic parse error. | Peter Stephenson | 2018-11-29 | 1 | -0/+1 |
| | | | | Needed by main loop which detects an error this way. | ||||
* | 43837 plus test from Daniel: Empty string in nested subst. | Peter Stephenson | 2018-11-21 | 1 | -0/+2 |
| | | | | Skip Nularg or there is a bogus character at the start. | ||||
* | 43829: nearcolor.c: use double instead of float | Jun-ichi Takimoto | 2018-11-19 | 1 | -19/+19 |
| | |||||
* | 43823: remove unnecessary metafy() in stattimeprint() | Ivan Tkachenko | 2018-11-15 | 1 | -3/+1 |
| | |||||
* | 43800: Add nanosecond support to strftime built-in | dana | 2018-11-13 | 1 | -18/+46 |
| | |||||
* | 43790: failed mailstat could leak memory | Kamil Dudka | 2018-11-09 | 1 | -3/+13 |
| | |||||
* | 43789: possible use after free clearing up math func from module | Kamil Dudka | 2018-11-09 | 1 | -2/+0 |
| | |||||
* | 43723: file descriptor could leak on fork error | Kamil Dudka | 2018-11-09 | 1 | -1/+2 |
| | |||||
* | 43793: computil could overrun buffer | Kamil Dudka | 2018-11-09 | 1 | -2/+2 |
| | |||||
* | 43791: File descriptor could be closed twice in clone | Kamil Dudka | 2018-11-09 | 1 | -1/+2 |
| | |||||
* | 43805: make nearcolor module use the default colour rather than black as a ↵ | Oliver Kiddle | 2018-11-08 | 2 | -4/+7 |
| | | | | fallback | ||||
* | 43804: also need to be able to turn colour attributes back into hex triples ↵ | Oliver Kiddle | 2018-11-08 | 1 | -4/+12 |
| | | | | for region_highlight variable | ||||
* | unposted: add usual copyright header to nearcolor module sources | Oliver Kiddle | 2018-11-08 | 1 | -0/+29 |
| | |||||
* | 43759: add support for true colour terminals | Oliver Kiddle | 2018-11-05 | 8 | -80/+122 |
| | |||||
* | 43747: new module to map colours from hex triplets to the nearest matching ↵ | Oliver Kiddle | 2018-11-05 | 5 | -1/+209 |
| | | | | colour | ||||
* | 43695: minor but simple optmiisation to use existing string length | Sebastian Gniazdowski | 2018-10-23 | 1 | -4/+4 |
| | |||||
* | unposted: internals: Document sepjoin(). | Daniel Shahaf | 2018-10-14 | 1 | -0/+8 |
| | |||||
* | 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 |
| |