Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 47300: Document the EC_NODUP, EC_DUP, EC_DUPTOK triplet. | Daniel Shahaf | 2020-08-08 | 1 | -0/+7 |
| | | | | All uses reviewed; no functional change. | ||||
* | Add SHORT_REPEAT option | Mikael Magnusson | 2020-04-02 | 1 | -1/+1 |
| | |||||
* | 45583/0009: Add end-of-options guard support to 'function -T'. | Daniel Shahaf | 2020-03-22 | 1 | -4/+12 |
| | |||||
* | 45583/0008: Add the 'function -T' syntax. | Daniel Shahaf | 2020-03-22 | 1 | -2/+9 |
| | | | | Config/version.mk was bumped in the previous commit. | ||||
* | 45583/0007: WC_FUNCDEF: Add a placeholder element. | Daniel Shahaf | 2020-03-22 | 1 | -0/+5 |
| | |||||
* | 45583/0006: internal: Add some comments for orientation. No functional change. | Daniel Shahaf | 2020-03-22 | 1 | -8/+8 |
| | |||||
* | 45583/0005: internal: Document the WC_FUNCDEF data layout for anonymous ↵ | Daniel Shahaf | 2020-03-22 | 1 | -2/+8 |
| | | | | functions with arguments (follow-up to 29492) | ||||
* | 45583/0004: internal: Add some comments around wordcodes. No functional change. | Daniel Shahaf | 2020-03-22 | 1 | -0/+7 |
| | |||||
* | 45583/0003: internal: Add some comments around Eccstr. No functional change. | Daniel Shahaf | 2020-03-22 | 1 | -4/+27 |
| | |||||
* | 45583/0002: internal: Reduce some variables' visibility. No functional change. | Daniel Shahaf | 2020-03-22 | 1 | -8/+7 |
| | |||||
* | 45004: Fix typos in comments | Martijn Dekker | 2019-12-11 | 1 | -1/+1 |
| | |||||
* | 44446: Fix here document with file descriptor declarator. | Peter Stephenson | 2019-06-24 | 1 | -1/+2 |
| | | | | Add unit test. | ||||
* | 44296: "typeset Q= {X}" crashed the shell. | Peter Stephenson | 2019-05-14 | 1 | -0/+8 |
| | |||||
* | 44122: turn int into long to avoid overflow | Kamil Dudka | 2019-03-14 | 1 | -2/+2 |
| | |||||
* | Allow short loops with "while" | Peter Stephenson | 2018-04-23 | 1 | -1/+3 |
| | |||||
* | 42365: Use .zwc file if timestamp identical to source. | Martijn Dekker | 2018-03-05 | 1 | -4/+4 |
| | | | | This can happen if the files are bundled together. | ||||
* | 42110: Fix redirections between variable assignments at start of line | Peter Stephenson | 2017-12-12 | 1 | -0/+4 |
| | |||||
* | 41802 (minor tweaks): use heap during shell function call. | Peter Stephenson | 2017-10-04 | 1 | -1/+2 |
| | | | | | | Replaces stack for more efficient memory management. Also fix debug message when FUNCNEST is increased. | ||||
* | 41633: Fix problem backgrounding function definitions. | Peter Stephenson | 2017-09-04 | 1 | -1/+6 |
| | | | | | Owing to being marked as simple sublists the instruction to background was ignored. This applied to anonymous functions. | ||||
* | 41504: make empty strings work in case patterns with no leading parenthesis | Peter Stephenson | 2017-08-09 | 1 | -10/+38 |
| | |||||
* | 41402: Delay has_tokens() in ecstrcode as may not be needed | Sebastian Gniazdowski | 2017-07-09 | 1 | -1/+5 |
| | |||||
* | 41402: Add hasher to ecstrcode to reduce string comparisons | Sebastian Gniazdowski | 2017-07-09 | 1 | -1/+5 |
| | |||||
* | 40173: Off-by-one error checking for {varid}. | Peter Stephenson | 2017-05-08 | 1 | -1/+1 |
| | | | | | This caused a single unprintable character in braces before a redirection to be treated as an indentifier. | ||||
* | users/22688: Allow mixing redirs and arguments after anon functions. | Peter Stephenson | 2017-05-08 | 1 | -4/+15 |
| | | | | | These are parsed differently from the case of normal functions which can't take normal arguments at that point. | ||||
* | Fix combination of HERE document and |&. | Peter Stephenson | 2017-05-08 | 1 | -1/+1 |
| | | | | | | | | A missing flag setting up the HERE document mean that the size of the wordcode needed to append the 2>&1 was counted incorrectly, so the resulting wordcode was garbled. Add test. | ||||
* | 40760: Always tokenize unquoted - to Dash. | Peter Stephenson | 2017-03-07 | 1 | -14/+27 |
| | | | | | | This fixes use of pattern match character ranges in unusual contexts. Attempt to detect a tokenized - in cases where we don't care. | ||||
* | 40453: signal handler safety for callers of patcompile(PAT_STATIC), which is ↵ | Barton E. Schaefer | 2017-01-29 | 1 | -0/+1 |
| | | | | not re-entrant. | ||||
* | Add features associated with autoloading a function using an absolute | Peter Stephenson | 2017-01-11 | 1 | -9/+15 |
| | | | | | | | | | | | | | path. -d defaults to normal fpath -r remembers the path without actually loading. May be combined with -d. -R does the same but it's an error if not found -X can now take a directory path: this is used to output not yet loaded functions that have an associated path. | ||||
* | 40306 with doc tweaks: Change behaviour expanding alias in () function ↵ | Peter Stephenson | 2017-01-10 | 1 | -0/+14 |
| | | | | | | | definition. Now an error unless the () is part of the same error as the name. Add ALIAS_FUNC_DEF option to allow it again. | ||||
* | 39777: $() is a valid empty command substitution | Peter Stephenson | 2016-10-30 | 1 | -1/+1 |
| | |||||
* | 39332: support ksh's [[ -v varname ]] condition for checking if variables ↵ | Oliver Kiddle | 2016-09-16 | 1 | -2/+2 |
| | | | | are set | ||||
* | unposted: remove duplicated assignment | Oliver Kiddle | 2016-09-15 | 1 | -1/+0 |
| | |||||
* | 39292: Distinguish "=" and "==" tests in output. | Peter Stephenson | 2016-09-13 | 1 | -2/+7 |
| | | | | | This is both in xtrace output and shell code rebuilt from internal structures. | ||||
* | 38111: Remove redundant return values in parsing. | Peter Stephenson | 2016-03-07 | 1 | -11/+4 |
| | | | | Return values from par_list() and par_list1() are no longer used. | ||||
* | 38106: if...then if...else should be a parse error. | Barton E. Schaefer | 2016-03-06 | 1 | -1/+1 |
| | |||||
* | 37700: Teach ${(z)} the 'repeat WORD SUBLIST' syntax. | Daniel Shahaf | 2016-01-29 | 1 | -0/+10 |
| | |||||
* | 37469: do NOT allow semicolons in place of line breaks in conditionals | Barton E. Schaefer | 2015-12-31 | 1 | -14/+16 |
| | |||||
* | 37468: allow line breaks in more places in [[ ... ]] | Barton E. Schaefer | 2015-12-31 | 1 | -8/+12 |
| | |||||
* | 36974: fix some functions with empty argument lists | Peter Stephenson | 2015-10-27 | 1 | -1/+1 |
| | |||||
* | 36566: check for regular file before lseek() | Barton E. Schaefer | 2015-09-19 | 1 | -0/+3 |
| | |||||
* | unposted: fix up for 5.0.8-test-2 zsh-5.0.8-test-2 | Peter Stephenson | 2015-08-21 | 1 | -1/+1 |
| | |||||
* | 36265 plus FAQ: fix alias expansion after "function" | Peter Stephenson | 2015-08-21 | 1 | -2/+3 |
| | | | | | | | Owing to interesting historical parsing, names after the first were treated as command words so had non-global aliases expanded. Add an FAQ note that use of the function keyword works around other alias problems | ||||
* | 36022 fix bug that some loop constructs could not be interrupted, revise ↵ | Barton E. Schaefer | 2015-08-09 | 1 | -0/+8 |
| | | | | | | | | | | | signal queueing There are two underlying ideas here: (1) Keeping signals queued around anything that's doing memory management (including push/pop of the heap) has become crucial. (2) Anytime the shell is going to run a command, be it buitin or external, it must be both safe and necessary to process any queued signals, so that the apparent order of signal arrival and command execution is preserved. | ||||
* | 35643: Redirections after typeset assignments were broken. | Peter Stephenson | 2015-06-28 | 1 | -0/+2 |
| | |||||
* | various posts: Implement assignment parsing for typeset. | Peter Stephenson | 2015-06-24 | 1 | -21/+110 |
| | | | | | | | | | | | | 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. | ||||
* | 35306: "test -z \(" failed due to parse confusion | Peter Stephenson | 2015-05-27 | 1 | -8/+17 |
| | |||||
* | 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 | 1 | -10/+85 |
| | |||||
* | 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 | 1 | -66/+23 |
| | | | | | | | | | | | | | | "|" 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. |