Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-09-18 | 53093: silence compiler warning when USE_LSEEK is not defined | Oliver Kiddle | 1 | -7/+4 | |
2023-10-26 | 52244: Fix a batch of minor defects reported by Coverity. | Bart Schaefer | 1 | -12/+0 | |
Coverity defects 1547831, 1547826 (remove unused function), 1521551, 1500752, 1500747, 1401549, 1372423, 1270645, 1255799, 1255792, 1255789, 1255787, 1255782, 1255750 | |||||
2023-10-03 | 52198: put back incorrectly removed zfree() | Bart Schaefer | 1 | -0/+1 | |
2023-09-16 | 52153: mapfile without HAVE_MMAP should not trim newlines | Bart Schaefer | 1 | -7/+37 | |
2023-02-02 | 51307: Improve error on attempt to define function from aliased name | Peter Stephenson | 1 | -2/+3 | |
2023-01-10 | 51258, 51272: refactor handling of terminal attributes, removing OFF flags ↵ | Oliver Kiddle | 1 | -1/+1 | |
in zattr | |||||
2022-12-16 | 51212: remove STOUC() macro | Oliver Kiddle | 1 | -4/+4 | |
This served as a workaround for ancient compilers where casts to unsigned char were broken. | |||||
2022-04-28 | 50133: use read-ahead and lseek-rewind for efficient line-buffered input | Bart Schaefer | 1 | -1/+23 | |
2022-03-03 | 49792: Non-interative shell input is line buffered. | Peter Stephenson | 1 | -7/+14 | |
2021-09-08 | unposted: add 'static' to shinsavestack | Jun-ichi Takimoto | 1 | -1/+1 | |
2021-08-27 | 49290: Replace stdio for buffered shell input. | Peter Stephenson | 1 | -11/+111 | |
The previous method allowed memory management to interact with signal handlers, causing occasional crashes on some system. Instead, use a simple pre-allocated buffer and raw system calls. | |||||
2021-04-11 | 48504: use SEEK_ macros in fseek() calls | Oliver Kiddle | 1 | -2/+2 | |
2018-09-21 | 43511: Initialiase alias entry on input stack. | Peter Stephenson | 1 | -0/+2 | |
This didn't happen if neither history nor alias expansion was in use. | |||||
2017-06-19 | 41322: reduce number of changes in signal queuing/blocking state during ↵ | Barton E. Schaefer | 1 | -3/+5 | |
shingetline() to improve read speed | |||||
2017-01-10 | 40306 with doc tweaks: Change behaviour expanding alias in () function ↵ | Peter Stephenson | 1 | -0/+27 | |
definition. Now an error unless the () is part of the same error as the name. Add ALIAS_FUNC_DEF option to allow it again. | |||||
2016-12-09 | 40117: Revert a hunk of 40035 that changed semantics incorrectly. | Daniel Shahaf | 1 | -1/+1 | |
2016-11-29 | 40035: Cosmetic fixes for comments and documentation. | Eitan Adler | 1 | -1/+1 | |
Mostly fixes to doubled words. | |||||
2015-08-09 | 36022 fix bug that some loop constructs could not be interrupted, revise ↵ | Barton E. Schaefer | 1 | -2/+10 | |
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. | |||||
2015-07-25 | 35910: Don't add to raw lex buffer if lex stopped. | Peter Stephenson | 1 | -1/+2 | |
This was causing a segmentation violation in completion when parsing an incomplete math expression, e.g. 'echo $((3*4)<TAB>'. | |||||
2015-07-02 | 35668: Improved fix for command/proc subst starting in alias. | Peter Stephenson | 1 | -1/+1 | |
Use input flag to suppress the unwanted backtracking. Add test for the extra case covered. | |||||
2015-03-26 | 34784: fix old bug with history word selection | Peter Stephenson | 1 | -9/+18 | |
2015-03-20 | 34752: another fix for history expansion in cmd subst | Peter Stephenson | 1 | -2/+14 | |
2015-02-17 | Fix up memory allocation for previous patch | Peter Stephenson | 1 | -4/+5 | |
2015-02-16 | 34560: Fix $(( that's actually a multiline cmd subst. | Peter Stephenson | 1 | -2/+31 | |
2015-02-14 | 34543: Prevent crash on garbage bytes inside $(...) | Barton E. Schaefer | 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. | |||||
2015-01-10 | 34220: new $(...) handling needs to back up over alias expansion | Peter Stephenson | 1 | -0/+6 | |
2015-01-08 | Fix command substitutions to parse contents as they are read in. | Peter Stephenson | 1 | -5/+8 | |
Do this by refactoring misnamed lexsave()/lexrestore() to allow continuity of history and input. Add test. | |||||
2014-12-11 | 33876: etc.: Separate errors and keyboards interrupts | Peter Stephenson | 1 | -1/+2 | |
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. | |||||
2013-10-21 | 31869: reduce WINCH-twaddling in shingetline() | Barton E. Schaefer | 1 | -2/+4 | |
2013-04-30 | 31350: block SIGWINCH nearly all the time, except | Bart Schaefer | 1 | -0/+2 | |
when about to calculate prompts or do synchronous read, so syscalls are not interrupted by window size changes. | |||||
2010-12-20 | Paul 28538 / me 28540 / couple of unposted casts: | Peter Stephenson | 1 | -1/+1 | |
use char * for pointer arithmetic rather than void * | |||||
2010-03-25 | 27827: fix infinite loop in recursive alias at end of parsed string | Peter Stephenson | 1 | -9/+12 | |
2010-01-13 | Joakim Rosqvist: 27591 as modified in 27594: | Peter Stephenson | 1 | -14/+26 | |
KEYBOARD_HACK variable | |||||
2009-12-16 | Check the return value of all pipe(), read(), and write() calls. | Wayne Davison | 1 | -1/+1 | |
Gets rid of all the remaining "ignoring return value" compiler warnings, and makes some read/write operations safer by ensuring that an EINTR is handled. | |||||
2008-07-31 | 25345, 25347: neaten interface from main shell to zle | Peter Stephenson | 1 | -1/+2 | |
2008-05-12 | 25002: only ZLE should update attributes resulting from prompt expansion | Peter Stephenson | 1 | -1/+1 | |
2008-03-08 | 24699: bug with ${(Q)...} on initial ">" | Peter Stephenson | 1 | -0/+12 | |
bug with ${(z)...} on string with unterminated "(" | |||||
2006-05-30 | 22474: use variable argument lists to improve error message handling | Peter Stephenson | 1 | -2/+2 | |
2005-11-15 | Got rid of some unsigned-char/char pointer casts. | Wayne Davison | 1 | -2/+1 | |
2005-01-14 | c.f. 20675: improve zle as a basis for Unicode. | Peter Stephenson | 1 | -2/+2 | |
unposted: update version to 4.2.3-dev-1 | |||||
2004-07-11 | 20149: improve prompt-reset code | Peter Stephenson | 1 | -6/+7 | |
20150: commit ancient memory leak fix(?) in completion | |||||
2003-12-15 | 19295: $CONTEXT zle parameter | Peter Stephenson | 1 | -1/+4 | |
2003-10-29 | a la 19209: zcalloc -> zshcalloc | Peter Stephenson | 1 | -1/+1 | |
2003-08-11 | 18941: history wrong after parse error during alias expansion | Peter Stephenson | 1 | -0/+14 | |
2003-02-17 | 18252: pass ignoreeof as flag to zleread | Peter Stephenson | 1 | -2/+4 | |
2002-01-31 | 16492: add RPROMPT2 variable for right prompts in multi-line commands | Oliver Kiddle | 1 | -1/+4 | |
2001-12-18 | 16361: include <stdio.h> to avoid implicit declarations. | Clint Adams | 1 | -0/+4 | |
2001-01-16 | remove 13108 (trap queues); replace with signal queueing to ensure that user ↵ | Sven Wischnowsky | 1 | -3/+1 | |
signal handlers are only executed when it is safe to run them (13365) | |||||
2000-11-11 | Sven: 13108: Handle traps synchronously | Peter Stephenson | 1 | -1/+3 | |
pws: 13109, 13111: clear up zle display when output produced in trap. | |||||
2000-07-18 | Removed the spaceflag variable. | Wayne Davison | 1 | -29/+41 | |