Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tweak test for function level of exit. | Peter Stephenson | 2015-05-22 | 1 | -1/+1 |
| | | | | | Sometimes local level jumps so we need an inequality instead of an equality. | ||||
* | 35250: Fix case documentation (SH_GLOB) | Peter Stephenson | 2015-05-21 | 1 | -2/+2 |
| | |||||
* | 35248: treat fully parenthised zsh patterns as complete case patterns again | Peter Stephenson | 2015-05-21 | 2 | -12/+85 |
| | |||||
* | 35231: make mkevnstr() safe for NULL value | Barton E. Schaefer | 2015-05-20 | 1 | -5/+9 |
| | |||||
* | 35193: Add "unalias -a". | Peter Stephenson | 2015-05-18 | 2 | -7/+38 |
| | |||||
* | 35184: Additional case fix for 35168. | Peter Stephenson | 2015-05-18 | 1 | -2/+0 |
| | | | | | Lexical analysis flags got screwed up after a "|", so we didn't parse patterns properly, in particular those with parentheses. | ||||
* | 35168: Improve parsing of case patterns. | Peter Stephenson | 2015-05-18 | 4 | -111/+96 |
| | | | | | | | | | | | | | | "|" is now found properly by looking for words that come from the lexical analyser, rather than hacking a pattern returned in one dollop. Update some completion functions that need extra quoting as a result. Add test for new parsing. Update version number to 5.0.8-dev-3 because of wordcode incompatibility. | ||||
* | 35155: cmdpop() could be called erroneously on error | Peter Stephenson | 2015-05-15 | 1 | -2/+4 |
| | |||||
* | 35153: nested math substitution | Peter Stephenson | 2015-05-15 | 1 | -2/+11 |
| | |||||
* | 35151: improved check for parameter q and b flags | Peter Stephenson | 2015-05-15 | 1 | -1/+2 |
| | |||||
* | 35131: allow "[]" to match empty character set. | Peter Stephenson | 2015-05-15 | 1 | -1/+10 |
| | | | | | This only works if there's no further "]" in the pattern, since if there is the first "]" has to match a literal character. | ||||
* | Øystein Walle: 34841 (tweaked): allow grouping of thousands in printf ↵ | Oliver Kiddle | 2015-05-14 | 1 | -3/+3 |
| | | | | format string | ||||
* | 35110: don't implicitly initialize restricted integers to zero | Peter Stephenson | 2015-05-14 | 1 | -1/+6 |
| | |||||
* | 35092: fix for numeric arguments from vi operator pending mode | Oliver Kiddle | 2015-05-13 | 1 | -1/+1 |
| | |||||
* | 35114: zformat -a multibyte char widths | Peter Stephenson | 2015-05-13 | 1 | -0/+36 |
| | |||||
* | users/20203: nested functions in always blocks when exit pending | Peter Stephenson | 2015-05-13 | 2 | -1/+15 |
| | |||||
* | 35078: Add backslash quoting to parameter (b) flag from 35067. | Peter Stephenson | 2015-05-11 | 1 | -1/+1 |
| | |||||
* | 35067: Add (b) parameter flag for pattern char backslashing. | Peter Stephenson | 2015-05-10 | 4 | -6/+42 |
| | | | | | | Doc tweak from Daniel in 35071. Includes test. | ||||
* | Don't treat NUL as a combining character | Mikael Magnusson | 2015-05-10 | 1 | -2/+2 |
| | |||||
* | 35064: rename ISPRINT to ZISPRINT to avoid conflict | Jun-ichi Takimoto | 2015-05-09 | 3 | -5/+5 |
| | |||||
* | 35059: fix, document, test readonly -p. | Peter Stephenson | 2015-05-08 | 1 | -70/+108 |
| | | | | | | Don't output specials as can't be reconstructed. Output arrays in a useful order. | ||||
* | 35054: readonly -p + POSIXBUILTINS fix. | Peter Stephenson | 2015-05-07 | 1 | -2/+13 |
| | | | | Now displays unset variables marekd readonly | ||||
* | 35046: unwind cmdstack when erroring out of lexing a parameter expansion in ↵ | Barton E. Schaefer | 2015-05-06 | 1 | -1/+4 |
| | | | | braces | ||||
* | 35032: Handle SIGCONT for process better. | Peter Stephenson | 2015-05-05 | 1 | -1/+3 |
| | | | | Update job status as well as process status. | ||||
* | 35029: improvements to newline handling for vi-mode word movement | Oliver Kiddle | 2015-05-04 | 1 | -18/+33 |
| | |||||
* | Fix two bugs in typeset_setbase | Mikael Magnusson | 2015-05-04 | 1 | -3/+4 |
| | |||||
* | 34992: POSIX fix for readonly variables. | Peter Stephenson | 2015-04-29 | 2 | -5/+38 |
| | | | | | With POSIXBUILTINS, variables can be marked readonly if unset. Also, variables can't have the readonly flag removed. | ||||
* | 34989: AUTO_CD needs to call cd --. | Peter Stephenson | 2015-04-28 | 1 | -0/+1 |
| | | | | Otherwise directories looking like options do the wrong thing. | ||||
* | 34979: Preserve job text when doing shell job fix. | Peter Stephenson | 2015-04-28 | 1 | -1/+14 |
| | | | | | | This handles list_pipe_text in execlist() along with other variables that are saved and restored and, in the special case of source, cleared. | ||||
* | 34977: more reliable test if preprocessor is GNU | Peter Stephenson | 2015-04-28 | 1 | -2/+2 |
| | |||||
* | 34966: "whence -v" for a function reports whether the function is autoloaded ↵ | Barton E. Schaefer | 2015-04-25 | 1 | -3/+11 |
| | | | | or its source file when known | ||||
* | 34965: consistent use of zalloc/zrealloc/zfree | Barton E. Schaefer | 2015-04-25 | 1 | -3/+3 |
| | |||||
* | 34961: $TZ is implicitly local in builtin strftime (originally workers/34602 ↵ | Barton E. Schaefer | 2015-04-25 | 1 | -1/+20 |
| | | | | from workers/34596) | ||||
* | 34961: clean up declarations of quote() and quotebreak() | Barton E. Schaefer | 2015-04-25 | 1 | -3/+3 |
| | |||||
* | 34961: replace a couple of free() with zfree() for consistency | Barton E. Schaefer | 2015-04-25 | 2 | -2/+2 |
| | |||||
* | 34955: save and restore list_pipe_job with its friends | Peter Stephenson | 2015-04-24 | 1 | -2/+4 |
| | | | | This is needed to stop source() messing up job control. | ||||
* | 34921: handle error in recursive par_event(). | Peter Stephenson | 2015-04-17 | 1 | -0/+1 |
| | | | | Here documents in an interrupted list caused bad juju. | ||||
* | 34919: update interrupt parse error for ZLE cases. | Peter Stephenson | 2015-04-17 | 2 | -2/+2 |
| | | | | Covers both send-break and push-input. | ||||
* | 34905: no parse error after keyboard interrupt. | Peter Stephenson | 2015-04-17 | 3 | -6/+9 |
| | | | | | | | | Handled generally, though only showing up in special nested cases. Also fix ZLE so it doesn't cancel the interrupt flag when not actually returning from a local keymap. | ||||
* | 34900: assignment before an "exec". | Peter Stephenson | 2015-04-15 | 1 | -7/+14 |
| | | | | | | Without POSXIBUILTIN: restore after, so we only get side effects. With POSXIBUILTIN: keep set variable | ||||
* | unposted: rewrite Nularg math handling to be like other cases | Peter Stephenson | 2015-04-15 | 1 | -2/+6 |
| | |||||
* | 34892 (slightly tweaked): math evaluation fix | Peter Stephenson | 2015-04-15 | 1 | -2/+2 |
| | | | | | An empty expression resulting from substitution includes a Nularg, which needs handling the same as an empty string. | ||||
* | 34887: Fix POSIX_BUILTINS with assignment. | Peter Stephenson | 2015-04-15 | 1 | -7/+21 |
| | | | | | | | | | | | In the form var=val command special-builtin-or-func the var is restored after execution, unlike the case where "command" is absent. Clear up case in code that handles this. Add tests. | ||||
* | 34851: fix thinko from 34093 that short-circuited some "whence -m" searches | Barton E. Schaefer | 2015-04-06 | 1 | -5/+7 |
| | |||||
* | 34837: avoid loss of original file path when applying colon-modifiers in ↵ | Barton E. Schaefer | 2015-04-03 | 1 | -2/+2 |
| | | | | glob qualifiers | ||||
* | 34817: Catch some errors earlier when reading history. | Peter Stephenson | 2015-03-29 | 2 | -1/+7 |
| | | | | | | | | Mostly for the case of an interrupt. Don't try to process words when we know something's gone wrong. Also abort history reading earlier on an interrupt. | ||||
* | 34792: langinfo: Fix pointer type | Theo Buehler | 2015-03-29 | 1 | -1/+2 |
| | |||||
* | 34781: add implicit space after alias expansion of tokens that form words ↵ | Barton E. Schaefer | 2015-03-28 | 1 | -0/+10 |
| | | | | | | without spacing fixes crash when using completion immediately following such an alias | ||||
* | 34804: refine POSIX_ALIAS change to preserve old behavior of [[ ]] conditionals | Barton E. Schaefer | 2015-03-28 | 1 | -4/+1 |
| | |||||
* | 34788: refine errflag handling in cmd_or_math() | Barton E. Schaefer | 2015-03-27 | 1 | -1/+1 |
| |