Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 35168: Improve parsing of case patterns. | Peter Stephenson | 2015-05-18 | 1 | -37/+51 |
| | | | | | | | | | | | | | | "|" 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. | ||||
* | select: Fix leak of 256 bytes on every loop when zle is not used | Mikael Magnusson | 2015-01-10 | 1 | -1/+1 |
| | | | | | | | Reproduce by yes | head -n 1000000 | zsh -c 'select foo in a b c; do done; sleep 30; echo' Found by Coverity (Issue 439082). | ||||
* | 34065: following an "if" condition, do not test lastval for ERR_EXIT until a ↵ | Barton E. Schaefer | 2014-12-27 | 1 | -5/+11 |
| | | | | | | new command is run Includes unposted regression tests. | ||||
* | 33876: etc.: Separate errors and keyboards interrupts | Peter Stephenson | 2014-12-11 | 1 | -4/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Combination of 12 commits from interrupt_abort branch. Basic strategy is to introduce bits to errflag and to set and reset them separately. Remove interrupt status on return to main keymap. Turn off ERRFLAG_INT for always block. Restore bit thereafter: we probably need a new variable in order to allow user interrupts to be reset in the always block. Add TRY_BLOCK_INTERRUPT This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too. Ensure propagation of SIGINT from exited job. If received by foreground job, shell uses ERRFLAG_INT, not ERRFLAG_ERROR, to set the new state. Reset errflag before precmd() Add always block in _main_completion to fix ZLS_COLORS Ensures we get the right state of $ZLS_COLORS at the end of _main_complete even if there's an interrupt. However, the "right state" is a bit messy as it depends on styles. | ||||
* | 33791: fatal errors in an "always" construct yield nonzero status | Barton E. Schaefer | 2014-11-25 | 1 | -2/+3 |
| | | | | | | Fatal errors in the try-block part of an "always" construct cause the entire construct to have nonzero status, even when TRY_BLOCK_ERROR is used to suppress the error. | ||||
* | 32569: lastval ($?) should not be reset between word list substitution and ↵ | Barton E. Schaefer | 2014-04-20 | 1 | -3/+3 |
| | | | | | | loop body execution in for/select Remove one other redundant and therefore confusing assignment to lastval. | ||||
* | 32568: consistency in handling of errflag condition during substitutions | Barton E. Schaefer | 2014-04-20 | 1 | -2/+12 |
| | | | | | Affects for/select word lists, function definition name position, and anonymous function argument lists. | ||||
* | 29165: use term.h globally if needed at all. | Peter Stephenson | 2011-05-09 | 1 | -3/+3 |
| | |||||
* | 25345, 25347: neaten interface from main shell to zle | Peter Stephenson | 2008-07-31 | 1 | -2/+3 |
| | |||||
* | 25002: only ZLE should update attributes resulting from prompt expansion | Peter Stephenson | 2008-05-12 | 1 | -2/+2 |
| | |||||
* | 24996: improve xtrace output for patterns | Peter Stephenson | 2008-05-11 | 1 | -3/+3 |
| | |||||
* | users/12848: return, break, continue in always block override try block | Peter Stephenson | 2008-05-11 | 1 | -7/+7 |
| | |||||
* | 23670: rationalise some linked list functions | Peter Stephenson | 2007-06-27 | 1 | -8/+2 |
| | |||||
* | 23115: ";|" at end of case clause causes later patterns to be tested | Peter Stephenson | 2007-01-19 | 1 | -3/+4 |
| | |||||
* | 22474: use variable argument lists to improve error message handling | Peter Stephenson | 2006-05-30 | 1 | -1/+1 |
| | |||||
* | 21814: error handling for traps in "always" constructs. | Bart Schaefer | 2005-12-15 | 1 | -1/+10 |
| | |||||
* | Got rid of some unsigned-char/char pointer casts. | Wayne Davison | 2005-11-15 | 1 | -1/+1 |
| | |||||
* | c.f. 20675: improve zle as a basis for Unicode. | Peter Stephenson | 2005-01-14 | 1 | -2/+2 |
| | | | | unposted: update version to 4.2.3-dev-1 | ||||
* | 20149: improve prompt-reset code | Peter Stephenson | 2004-07-11 | 1 | -1/+1 |
| | | | | 20150: commit ancient memory leak fix(?) in completion | ||||
* | 20076, 20084: { ... } always { ... } syntax. | Peter Stephenson | 2004-06-22 | 1 | -0/+65 |
| | |||||
* | Marked unused parameters with the new UNUSED() macro. | Wayne Davison | 2004-06-02 | 1 | -3/+3 |
| | |||||
* | Made a variable (t2) size_t so that it matched the size of the | Wayne Davison | 2004-05-28 | 1 | -1/+2 |
| | | | | other variable it gets compared with (fw). | ||||
* | 19295: $CONTEXT zle parameter | Peter Stephenson | 2003-12-15 | 1 | -1/+1 |
| | |||||
* | 18252: pass ignoreeof as flag to zleread | Peter Stephenson | 2003-02-17 | 1 | -3/+1 |
| | |||||
* | 18251: Fix select and make it respect EOF | Peter Stephenson | 2003-02-17 | 1 | -1/+3 |
| | |||||
* | allow nterruption of empty while-loops with ^C (16711) | Sven Wischnowsky | 2002-02-25 | 1 | -31/+47 |
| | |||||
* | Fix infinite loop on `case' with xtrace. | Bart Schaefer | 2001-10-23 | 1 | -3/+2 |
| | |||||
* | for caching of compiled patterns: remember that singsub() might modify the ↵ | Sven Wischnowsky | 2001-10-15 | 1 | -2/+2 |
| | | | | string it gets, compare with unmodified string (16041) | ||||
* | 15030: multi-parameter `for' loops | Peter Stephenson | 2001-06-25 | 1 | -24/+43 |
| | |||||
* | 11956: Fix off-by-one error. | Bart Schaefer | 2000-06-17 | 1 | -1/+1 |
| | |||||
* | Small doc fix and AIX dependency fix | Oliver Kiddle | 2000-05-05 | 1 | -1/+1 |
| | |||||
* | Updated from list as far as 10376 | Peter Stephenson | 2000-04-01 | 1 | -109/+271 |
| | |||||
* | Initial revision | Tanaka Akira | 1999-04-15 | 1 | -0/+421 |