Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 45900: Fix issues with escaped newline in $-substitution. | Peter Stephenson | 2020-05-23 | 1 | -0/+21 |
| | |||||
* | Add SHORT_REPEAT option | Mikael Magnusson | 2020-04-02 | 1 | -1/+1 |
| | |||||
* | 45004: Fix typos in comments | Martijn Dekker | 2019-12-11 | 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. | ||||
* | 43695: minor but simple optmiisation to use existing string length | Sebastian Gniazdowski | 2018-10-23 | 1 | -4/+4 |
| | |||||
* | 42581(?): Fix ZLE inline history expansion. | Peter Stephenson | 2018-04-04 | 1 | -1/+1 |
| | | | | | | | Seen with magic-space. If there's a parse error in command subtitution we need to complete reading history to ensure the command line buffer is finished. | ||||
* | 42245: Abort last word on interactve comment. | Peter Stephenson | 2018-01-08 | 1 | -1/+1 |
| | | | | Last recorded word should be the previous one. | ||||
* | 41902: ${(z)...} continues parsing on unmatched quote when CSH_JUNKIE_QUOTES ↵ | Barton E. Schaefer | 2017-10-17 | 1 | -4/+10 |
| | | | | | | is set Tests for 41902 and 41873 | ||||
* | 41873: temporarily disable effects of ${(Z:n:)...} for parsing $(...) within ↵ | Barton E. Schaefer | 2017-10-13 | 1 | -1/+5 |
| | | | | | | the parameter value Also fix minor typo in commit b3fa5c52 ChangeLog. | ||||
* | 41504: make empty strings work in case patterns with no leading parenthesis | Peter Stephenson | 2017-08-09 | 1 | -3/+3 |
| | |||||
* | 40995: Don't disable alias expansion when finding command substitution limits | Peter Stephenson | 2017-04-23 | 1 | -3/+0 |
| | | | | | This is needed in some unusual cases in order to identify the exit condition without encountering a parse error. | ||||
* | 40760: Always tokenize unquoted - to Dash. | Peter Stephenson | 2017-03-07 | 1 | -10/+6 |
| | | | | | | This fixes use of pattern match character ranges in unusual contexts. Attempt to detect a tokenized - in cases where we don't care. | ||||
* | 39815: Read input to end on parse error in $(...) inside a string. | Peter Stephenson | 2016-11-03 | 1 | -2/+11 |
| | | | | | This allows ${(z)} to output the whole string, although we can't do word splitting from the error onwards. | ||||
* | 39185: Only set word begin for completion word if not alias. | Peter Stephenson | 2016-09-07 | 1 | -1/+1 |
| | | | | | This is consistent with other ZLE code in lex.c and fixes a crash in some completions involving aliases, e.g. if uncompleted quotes. | ||||
* | unposted: remove flag unneded from previous fix | Peter Stephenson | 2016-06-22 | 1 | -2/+1 |
| | |||||
* | 38746: Fix suffix alias expansion recursion. | Peter Stephenson | 2016-06-22 | 1 | -3/+4 |
| | | | | | | | | This was problematic if the expansion landed you back in command position. Delay marking the alias as out of use until the text that caused the expansion is finished. | ||||
* | 38468: wb,we values in gotword() needed assignment in additional case to ↵ | Barton E. Schaefer | 2016-05-10 | 1 | -0/+4 |
| | | | | | | | | avoid core dump Bug introduced by 38248. Also fix ChangeLog entry for 38248 to correctly reference Src/lex.c | ||||
* | 38248: fix word position calculation when completing on or just before a ↵ | Barton E. Schaefer | 2016-04-07 | 1 | -3/+7 |
| | | | | | | | | | redirection operator The completion result is still in need of some repair; e.g., if the first thing on the line is the redirection, completion before it is not taken to be in command position, and in this and other cases a necessary space is not inserted between the completed word and the redirection. | ||||
* | 37700: Teach ${(z)} the 'repeat WORD SUBLIST' syntax. | Daniel Shahaf | 2016-01-29 | 1 | -2/+7 |
| | |||||
* | 37705: don't turn - to Dash after start of brace parameter | Peter Stephenson | 2016-01-20 | 1 | -2/+4 |
| | |||||
* | 37682: when SH_GLOB is set, do not parse bare parentheses in arguments as a ↵ | Barton E. Schaefer | 2016-01-19 | 1 | -1/+1 |
| | | | | pattern grouping. | ||||
* | 37689: ! and ^ need to be tokenised in character sets | Peter Stephenson | 2016-01-19 | 1 | -11/+20 |
| | |||||
* | 37678: Now possible to quote "-" in pattern range | Peter Stephenson | 2016-01-19 | 1 | -6/+24 |
| | |||||
* | 37145: suppress alias expansion in skipcomm() | Barton E. Schaefer | 2015-11-18 | 1 | -0/+3 |
| | | | | Thus defer parsing aliases in $(...) et al. into the subshell | ||||
* | 37128: work around alias expansion trashing subscript parsing | Peter Stephenson | 2015-11-17 | 1 | -6/+22 |
| | |||||
* | 36669: fix ${(z)...} of an an incomplete math expression by restoring "((" ↵ | Barton E. Schaefer | 2015-09-27 | 1 | -0/+9 |
| | | | | at the front of the token | ||||
* | 35953: fix handling of command substitution in math context | Barton E. Schaefer | 2015-07-29 | 1 | -1/+5 |
| | |||||
* | 35668: Improved fix for command/proc subst starting in alias. | Peter Stephenson | 2015-07-02 | 1 | -10/+16 |
| | | | | | | Use input flag to suppress the unwanted backtracking. Add test for the extra case covered. | ||||
* | 35667: fix command substitution that starts but doesn't finish in alias | Peter Stephenson | 2015-07-01 | 1 | -4/+10 |
| | |||||
* | 35615: fix completion after tyepset | Peter Stephenson | 2015-06-26 | 1 | -0/+1 |
| | |||||
* | various posts: Implement assignment parsing for typeset. | Peter Stephenson | 2015-06-24 | 1 | -2/+2 |
| | | | | | | | | | | | | 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. | ||||
* | 35248: treat fully parenthised zsh patterns as complete case patterns again | Peter Stephenson | 2015-05-21 | 1 | -2/+0 |
| | |||||
* | 35168: Improve parsing of case patterns. | Peter Stephenson | 2015-05-18 | 1 | -0/+2 |
| | | | | | | | | | | | | | | "|" 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 |
| | |||||
* | 35046: unwind cmdstack when erroring out of lexing a parameter expansion in ↵ | Barton E. Schaefer | 2015-05-06 | 1 | -1/+4 |
| | | | | braces | ||||
* | 34905: no parse error after keyboard interrupt. | Peter Stephenson | 2015-04-17 | 1 | -4/+6 |
| | | | | | | | | 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. | ||||
* | 34817: Catch some errors earlier when reading history. | Peter Stephenson | 2015-03-29 | 1 | -0/+2 |
| | | | | | | | | 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. | ||||
* | 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 |
| | |||||
* | 34759: improve implementation of last commit | Peter Stephenson | 2015-03-22 | 1 | -6/+6 |
| | |||||
* | 34758: fix yet more history / command subst interaction. | Peter Stephenson | 2015-03-22 | 1 | -0/+19 |
| | | | | | | In general we need to wind back over the history text input inside command substitution because there's no level of the input mechanism between history and the lexer. | ||||
* | 34734: further aliasing adjustments and doc | Barton E. Schaefer | 2015-03-18 | 1 | -2/+8 |
| | | | | | | | | restrict token aliasing (34641) to global aliases; tighten up POSIX_ALIASES to better match spec; update Aliasing doc to cover this and clarify older behavior 2015-03-18 Peter Stephenson <p.stephenson@samsung.com> * 34723: configure.ac: turn off fixed site function directory if | ||||
* | 34651: Avoid core dump if no lexical token | Peter Stephenson | 2015-03-05 | 1 | -0/+3 |
| | |||||
* | 34641: make it possible to alias tokens | Peter Stephenson | 2015-03-04 | 1 | -30/+41 |
| | |||||
* | 34570: Another nasty command / math substituion thing. | Peter Stephenson | 2015-02-19 | 1 | -19/+45 |
| | | | | | | Mark arithmetic substitutions with tokens to make sure the substitution go knows what to do. Before it was guessing by counting the parentheses at the end. | ||||
* | 34560: Fix $(( that's actually a multiline cmd subst. | Peter Stephenson | 2015-02-16 | 1 | -0/+4 |
| | |||||
* | 34543: Prevent crash on garbage bytes inside $(...) | Barton E. Schaefer | 2015-02-14 | 1 | -2/+4 |
| | | | | | | Garbage input (nul bytes, etc.) can cause the $(...) parser to become confused during look-ahead and attempt to back up the input too far. This commit catches the error but does not fix the underlying cause. | ||||
* | 34322: bug with interface to parsestr() etc. | Peter Stephenson | 2015-01-18 | 1 | -9/+21 |
| | | | | | | | Was showing up in places like ${(e)...} where command substitution could reallocate the token string, but actually there was never any guarantee that the lexer wouldn't do that, so this was always a bit iffy. | ||||
* | 34319: fix alias expansion in history for command substitution | Peter Stephenson | 2015-01-18 | 1 | -1/+1 |
| |