Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 33876: etc.: Separate errors and keyboards interrupts | Peter Stephenson | 2014-12-11 | 2 | -4/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | 33785: Fix leaks of desthost in ztcp | Mikael Magnusson | 2014-11-24 | 1 | -0/+4 |
| | | | | Found by coverity. | ||||
* | 33743: use posix_openpt in zpty if it is available | Oliver Kiddle | 2014-11-24 | 1 | -0/+4 |
| | |||||
* | 33607: Fix some minor problems in zattr module | Mikael Magnusson | 2014-11-07 | 1 | -37/+30 |
| | | | | | | | | | | | | | | | | | | | Remove the listattr call in zgetattr, it only caused no error to be output when trying to retrieve an xattr from a file with no xattrs. When a file had xattrs, it would just add an extra syscall for no good reason. Always set an array parameter in zlistattr, this makes the returned value much easier to use; in fact the _zattr completer didn't account for this and zlistattr foo <tab> on a file with only one attribute did not work. Almost all of the patch is only reindent, the only modification that's not a pure deletions is: - ret = 1 + (attr_len > val_len || attr_len < 0); + ret = 1 + ((val_len > 0 && attr_len > val_len) || attr_len < 0); which makes sure we return the correct error in the new path due to the removed listattr call. (If val_len is -1 due to no attribute existing, it doesn't mean the user should retry the call because the attribute grew in size). | ||||
* | 33582: don't include tcp.mdh in zftp.c. | Peter Stephenson | 2014-10-31 | 1 | -1/+0 |
| | | | | | It's a private module definition header that doesn't need to be exposed. | ||||
* | 33566: quash null pointer constant compiler warning | Jun T | 2014-10-29 | 1 | -1/+1 |
| | |||||
* | 33294: $functions[func_with_redir] plus extra tests | Peter Stephenson | 2014-09-30 | 1 | -11/+44 |
| | |||||
* | users/19097: remove $functypetrace in favour of ref to $zsheval_context | Peter Stephenson | 2014-09-18 | 1 | -39/+0 |
| | |||||
* | Add $functypestack special parameter in zsh/parameter | Peter Stephenson | 2014-09-12 | 1 | -0/+39 |
| | |||||
* | 33122: typo from 32891 caused incorrect matches for pcre_match -n | Barton E. Schaefer | 2014-09-07 | 1 | -1/+1 |
| | |||||
* | 33047: use git to simplify massively source distribution file selection | Peter Stephenson | 2014-08-23 | 1 | -59/+0 |
| | |||||
* | missed updates to calls to ztrftime() | Peter Stephenson | 2014-07-30 | 2 | -2/+2 |
| | |||||
* | 32903: new empty (unset) elements in the special parameter hash tables are ↵ | Barton E. Schaefer | 2014-07-24 | 1 | -15/+15 |
| | | | | special themselves | ||||
* | 32898 (credit Jun T.): fix offset_start initialization bug in 32891 | Barton E. Schaefer | 2014-07-23 | 1 | -1/+1 |
| | |||||
* | 32891: CASE_MATCH for =~ when using pcre; fix pcre_match with empty string | Barton E. Schaefer | 2014-07-20 | 1 | -7/+6 |
| | |||||
* | 32468: save/restore match/mbegin/mend when doing pattern lookups against ↵ | Barton E. Schaefer | 2014-03-09 | 1 | -55/+61 |
| | | | | zstyle contexts | ||||
* | 32388: zparseopts -K preserves individual associative array elements | Barton E. Schaefer | 2014-02-15 | 1 | -2/+41 |
| | |||||
* | 32131: avoid infinite loop reading pty on platforms that do not buffer ↵ | Jun T | 2013-12-16 | 1 | -2/+2 |
| | | | | output after child exit | ||||
* | unposted, see 32054: Rationalise character encoding. | Peter Stephenson | 2013-11-27 | 2 | -10/+10 |
| | | | | | | | | | | Shell functions are strictly ASCII for maximum portability. Other files within the distribution may contain UTF-8 characters. Exception for test files: where they need single character input with the top bit set, ISO-8859-X is used (X doesn't matter as we don't need the Euro). | ||||
* | 31902: rationalise use of gamma function. | Jun T | 2013-10-27 | 1 | -0/+9 |
| | | | | | Make zsh/mathfunc consistent across systems and use tgamma() where available | ||||
* | 31805: Add $patchars and $dis_patchars to zsh/parameter module | Mikael Magnusson | 2013-10-11 | 2 | -1/+41 |
| | |||||
* | 31672: Add test that was failing and fix zpty set-up race | Peter Stephenson | 2013-08-26 | 1 | -2/+28 |
| | |||||
* | 31665: zpty should attach terminal on slave. | Peter Stephenson | 2013-08-25 | 1 | -0/+3 |
| | | | | Also add test. | ||||
* | 31419: Add time zone and year to string formatted time output from zstat | Peter Stephenson | 2013-05-21 | 1 | -2/+2 |
| | |||||
* | 30726: make shell options passed to emulate stick along with the emulation | Peter Stephenson | 2012-10-11 | 1 | -1/+1 |
| | |||||
* | 30722: fix some cases where emulations or options were not propagated properly | Peter Stephenson | 2012-10-07 | 1 | -3/+3 |
| | | | | from the emulate command | ||||
* | 30513: zsh/regex metafy fixes for widechar | Phil Pennock | 2012-06-16 | 1 | -7/+16 |
| | |||||
* | 30307 plus tweak suggsted by Wayne: use %lld for zlong when long long | Peter Stephenson | 2012-03-05 | 1 | -2/+18 |
| | |||||
* | unposted: fix uninitialised variable warning in pcre | Peter Stephenson | 2012-01-06 | 1 | -0/+1 |
| | |||||
* | 29907: Jun T.: remove declaration of unused variable | Peter Stephenson | 2011-11-17 | 1 | -1/+0 |
| | |||||
* | Jun T: 29883: cast resource types to types they should be anyway | Peter Stephenson | 2011-10-31 | 1 | -1/+1 |
| | |||||
* | 29865: don't compile pcre if no pcre-config | Peter Stephenson | 2011-10-26 | 1 | -1/+1 |
| | |||||
* | 29838: metafy/unmetafy strings for PCRE matching (UTF-8 fixes) | Phil Pennock | 2011-10-24 | 1 | -16/+45 |
| | |||||
* | unposted: use pm->node.nam to get names for parameters in errors | Peter Stephenson | 2011-08-15 | 1 | -4/+6 |
| | |||||
* | fix datetime autofeatures | Peter Stephenson | 2011-08-11 | 1 | -1/+1 |
| | |||||
* | 29674: add $epochtime to datetime | Peter Stephenson | 2011-08-11 | 1 | -1/+45 |
| | |||||
* | 29663: add $EPOCHREALTIME to zsh/datetime | Peter Stephenson | 2011-08-10 | 1 | -0/+27 |
| | |||||
* | 29491: remove some variables set but not used | Peter Stephenson | 2011-06-19 | 1 | -6/+4 |
| | |||||
* | 29382: apply 29374 to zccmd_input too. | Bart Schaefer | 2011-05-27 | 1 | -2/+2 |
| | |||||
* | 29312, users/16032: add "zparseopts -M" | Bart Schaefer | 2011-05-18 | 1 | -3/+68 |
| | |||||
* | Danek: 29254: fix some compiler warnings | Peter Stephenson | 2011-05-13 | 2 | -1/+2 |
| | |||||
* | 29165: use term.h globally if needed at all. | Peter Stephenson | 2011-05-09 | 3 | -33/+10 |
| | |||||
* | users/15986: handle EINTR in zccmd_input | Bart Schaefer | 2011-05-08 | 1 | -4/+44 |
| | |||||
* | 28638: add $usergroups parameter | Peter Stephenson | 2011-01-19 | 1 | -1/+138 |
| | |||||
* | 28510: add (z+c+) and (z+C+) parameter flags | Peter Stephenson | 2010-12-12 | 1 | -1/+1 |
| | |||||
* | 27990: don't use return value from setupterm() | Peter Stephenson | 2010-06-02 | 2 | -5/+13 |
| | | | | to decide if module booted OK | ||||
* | unposted: fix typo in previous commit | Peter Stephenson | 2010-05-12 | 1 | -1/+1 |
| | |||||
* | 27951: Add $ZSH_EVAL_CONTEXT and $zsh_eval_contxt | Peter Stephenson | 2010-05-12 | 2 | -7/+8 |
| | |||||
* | users/14902: another go at strftime | Peter Stephenson | 2010-02-26 | 1 | -1/+1 |
| | |||||
* | users/14900: ULONG_MAX is a valid return value from strotoul() | Peter Stephenson | 2010-02-26 | 1 | -1/+2 |
| |