Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 37914: reparse associative array subscripts in "unset" so keys with "[" or ↵ | Barton E. Schaefer | 2016-02-08 | 1 | -12/+18 |
| | | | | | | "]" may be backslash-escaped Also fix erroneous test case this revealed. | ||||
* | 37765: Use FS_FUNC on fucstack to find autoload -X target. | Peter Stephenson | 2016-01-25 | 1 | -7/+25 |
| | | | | | This is better than scriptname which can be updated due to e.g. intervening "eval". | ||||
* | 37722: test builtin should return status 2 on syntax error | Peter Stephenson | 2016-01-21 | 1 | -4/+4 |
| | |||||
* | 37646: Return non-zero status from typeset assigning readonly | Peter Stephenson | 2016-01-15 | 1 | -0/+2 |
| | |||||
* | 37551: Include the builtin's name in a "bad option" error message. | Daniel Shahaf | 2016-01-10 | 1 | -1/+1 |
| | | | | Example: «zsh -fc 'zle -z'» now prepends "zle:" to the error message. | ||||
* | unposted: Src/builtin.c: refine READ_MSTREAM to avoid unsequenced evaluation | Barton E. Schaefer | 2016-01-08 | 1 | -1/+1 |
| | |||||
* | 37513: fix typos; improve error cleanup and correct for signed/unsigned ↵ | Barton E. Schaefer | 2016-01-06 | 1 | -10/+14 |
| | | | | compiler warning | ||||
* | 37504: refactor code using/simulating memstream to capture output for "print -v" | Barton E. Schaefer | 2016-01-05 | 1 | -71/+102 |
| | |||||
* | 37503: detect incompatible "print" options, fix metafication and possible ↵ | Barton E. Schaefer | 2016-01-04 | 1 | -29/+53 |
| | | | | memory leak, miscellaneous cosmetics | ||||
* | 37501 (+ revise test): correct byte counts when simulating memstream via ↵ | Jun T | 2016-01-04 | 1 | -2/+2 |
| | | | | temp file | ||||
* | 37497: handle NUL bytes in "printf -v". | Barton E. Schaefer | 2016-01-02 | 1 | -4/+7 |
| | |||||
* | 37493: readonly + POSIX_BUILTINS == typeset -gr | Barton E. Schaefer | 2016-01-02 | 1 | -2/+6 |
| | |||||
* | unposted: enable WARN_CREATE_GLOBAL for print -v | Barton E. Schaefer | 2015-12-31 | 1 | -2/+2 |
| | |||||
* | 37467: add "print -v var" / "printf -v var" | Barton E. Schaefer | 2015-12-31 | 1 | -9/+25 |
| | |||||
* | 37364: "test" and "[" handling of parentheses. | Peter Stephenson | 2015-12-09 | 1 | -1/+7 |
| | | | | | | If three arguments, need to prefer binary operators if possible. Need to look for full string for parentheses. | ||||
* | 37187: infinite loop in "hash -m" | Peter Stephenson | 2015-11-22 | 1 | -0/+1 |
| | |||||
* | 20974: Bug with scalar assignment to special array in typeset | Peter Stephenson | 2015-11-20 | 1 | -4/+20 |
| | |||||
* | 37080: use paramtab abstraction more consistently, add explanatory comments | Barton E. Schaefer | 2015-11-08 | 1 | -4/+7 |
| | |||||
* | 37038: add -l option to emulate to list options in emulations | Peter Stephenson | 2015-11-01 | 1 | -8/+25 |
| | |||||
* | 37014: Improved internal parameter setting. | Peter Stephenson | 2015-10-29 | 1 | -16/+22 |
| | | | | | | | | Enhance WARNCREATEGLOBAL to work in many more cases. Don't create REPLY as an integer if it didn't previously exist as one, even if the value to be set is integral, as this is likely to mess up later uses of REPLY. | ||||
* | 36256: local options should remain in effect for "emulate -L" even if ↵ | Barton E. Schaefer | 2015-08-21 | 1 | -4/+7 |
| | | | | additional option settings are applied | ||||
* | 36262: Replace fix for missing unmeta in chdir(). | Peter Stephenson | 2015-08-21 | 1 | -1/+1 |
| | | | | | | | It was needed in the argument to one of a pair of lchdir()s rather than within zchdir(). Add tests for the case of a character with 0x83 within it. | ||||
* | 36227: attempt to fix metafication problem with ztrftime. | Peter Stephenson | 2015-08-18 | 1 | -2/+5 |
| | | | | | fmt is treated as metafied on entry; use returned length to ensure we metafy or output the correct length if there are embedded nulls. | ||||
* | 36083: set array value when consistently retying scalar and array | Peter Stephenson | 2015-08-10 | 1 | -0/+2 |
| | |||||
* | Fix retying variables in opposite order. | Peter Stephenson | 2015-08-09 | 1 | -1/+3 |
| | | | | | Now gives an error. Add test. | ||||
* | 36008: trap: Fix listing of traps created under non-alias non-canonical ↵ | Daniel Shahaf | 2015-08-08 | 1 | -1/+7 |
| | | | | signal spelling | ||||
* | unposted: Typo fix. | Daniel Shahaf | 2015-08-04 | 1 | -1/+1 |
| | |||||
* | 35635: a bit more consistency about making elements local | Peter Stephenson | 2015-06-27 | 1 | -1/+1 |
| | |||||
* | 35623: All is_array assignments should be treated as having a value. | Peter Stephenson | 2015-06-27 | 1 | -20/+26 |
| | |||||
* | 35613: Handle array slices in typeset | Peter Stephenson | 2015-06-26 | 1 | -1/+8 |
| | |||||
* | typeset silent on repeated typeset x=() | Peter Stephenson | 2015-06-25 | 1 | -1/+2 |
| | |||||
* | various posts: Implement assignment parsing for typeset. | Peter Stephenson | 2015-06-24 | 1 | -85/+224 |
| | | | | | | | | | | | | Typeset assignments now work like raw assignments except for no "+=" and no GLOB_ASSIGN. Documented in typeset builtin doc and mentioned in release notes. Tests to ensure basic sanity. Enabled by default, can be turned off by "disable -r" with typeset family of commands. | ||||
* | Add non-metafied character length handling. | Peter Stephenson | 2015-06-12 | 1 | -2/+2 |
| | | | | | | | Use this in regex module and add test using $'\ua0'. Rename mb_metacharinit() to mb_charinit() as it does not involve metafied characters. | ||||
* | 35412: fix for - flag when formating strings with printf | Oliver Kiddle | 2015-06-07 | 1 | -1/+1 |
| | |||||
* | 35350: extend "fc -I" to cover listing of "internal" history events only | Barton E. Schaefer | 2015-06-06 | 1 | -10/+14 |
| | |||||
* | 35386: expand tabs where useful in builtins outputing function. | Peter Stephenson | 2015-06-05 | 1 | -13/+37 |
| | | | | | | Also add to zed -f. Option is -x <numm>. | ||||
* | 35353: print -x and print -X expand tabs | Peter Stephenson | 2015-06-02 | 1 | -6/+35 |
| | |||||
* | users/20238: add "fc -L" to operate only on the local shell history | Barton E. Schaefer | 2015-05-30 | 1 | -10/+13 |
| | | | | Also avoid invoking the editor on empty results. | ||||
* | 35318: POSIX_BUILTINS behaviour for getopts. | Peter Stephenson | 2015-05-28 | 1 | -0/+4 |
| | | | | | It needs to keep OPTIND, as well as the index within the string pointed to by OPTIND, global in this case. | ||||
* | 35193: Add "unalias -a". | Peter Stephenson | 2015-05-18 | 1 | -7/+35 |
| | |||||
* | Ø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 |
| | |||||
* | users/20203: nested functions in always blocks when exit pending | Peter Stephenson | 2015-05-13 | 1 | -0/+6 |
| | |||||
* | 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 | 1 | -4/+33 |
| | | | | | With POSIXBUILTINS, variables can be marked readonly if unset. Also, variables can't have the readonly flag removed. | ||||
* | 34851: fix thinko from 34093 that short-circuited some "whence -m" searches | Barton E. Schaefer | 2015-04-06 | 1 | -5/+7 |
| | |||||
* | 34551: Avoid adding an extra "/" to the target path in cd_try_chdir() when ↵ | Barton E. Schaefer | 2015-02-15 | 1 | -2/+4 |
| | | | | the current directory is "/" | ||||
* | 34490: Fix leak on print -zf/-sf error | Mikael Magnusson | 2015-02-10 | 1 | -1/+17 |
| | |||||
* | 34488: Fix use-after-free for print -zf and print -sf | Mikael Magnusson | 2015-02-10 | 1 | -6/+12 |
| | |||||
* | 34331: better handling of NULL in cd. | Peter Stephenson | 2015-01-22 | 1 | -3/+5 |
| | | | | | Problem was return from symbolic link expander in weird cases where there file system isn't behaving itself properly. |