Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 40439: PAT_HEAPDUP definition just for clarity | Barton E. Schaefer | 2017-01-28 | 1 | -0/+1 |
| | |||||
* | 40440: Add $functions_source hash to zsh/parameter. | Peter Stephenson | 2017-01-28 | 2 | -0/+105 |
| | | | | This allows you to find out where a function was loaded from. | ||||
* | 40425: HAVE_* tests for getutxent etc. | Peter Stephenson | 2017-01-27 | 1 | -3/+6 |
| | | | | | Not yet 100% clear where the #if's go, depends on how various systems implement the old or new formats. | ||||
* | 40423: WARN_NESTED_VARS, conversion the other way | Peter Stephenson | 2017-01-26 | 1 | -8/+8 |
| | |||||
* | 40422: More WARN_NESTED_VAR cases. | Peter Stephenson | 2017-01-26 | 1 | -8/+9 |
| | | | | | Converting type when using a calling scope was broken in the original patch. | ||||
* | 40413: WARN_NESTED_VAR subscripted variable fix. | Peter Stephenson | 2017-01-25 | 1 | -1/+5 |
| | | | | | No warning needed on paramter that's created temporarily to help assignment. | ||||
* | 40404: Only quote command in whence output with -v. | Peter Stephenson | 2017-01-24 | 1 | -4/+8 |
| | |||||
* | 40391: Add WARN_NESTED_VAR option and functions -W. | Peter Stephenson | 2017-01-23 | 5 | -31/+71 |
| | | | | | These are companions to WARN_CREATED_GLOBAL, warning when a variable from an enclosing scope is altered. | ||||
* | 40375: autoload with explicit path mustn't trash already loaded function. | Peter Stephenson | 2017-01-18 | 2 | -4/+29 |
| | | | | | Also remove unnecessary dupstring() on already duplicated string when expanding =cmd. | ||||
* | 40369: code should have been committed with 0a2d92f98 | Peter Stephenson | 2017-01-17 | 1 | -2/+2 |
| | |||||
* | 40353 with tweaks to whence -v: extend directory cache use. | Peter Stephenson | 2017-01-16 | 3 | -31/+85 |
| | | | | | | Now used for all autoloaded functions after load, including those where the file was found along fpath, reducing duplication of directory names. | ||||
* | 40362: Fix setting of parameter values in compvalues | Peter Stephenson | 2017-01-15 | 1 | -2/+2 |
| | |||||
* | unposted: one missing *name = NULL | Peter Stephenson | 2017-01-12 | 1 | -0/+1 |
| | |||||
* | 40342: Add directory name cache for autoload file paths. | Peter Stephenson | 2017-01-12 | 4 | -12/+155 |
| | | | | | This renders "autoload /blah/blah/*" as efficient as use of fpath. | ||||
* | 40335: More care with autoload function path. | Peter Stephenson | 2017-01-12 | 3 | -6/+13 |
| | | | | | | If doing "autoload -X", the path present might actually be location of file containing the function with the autoload -X. Add an explicit flag to say it's a directory for autoload. | ||||
* | 40333: Fix the watch interface for utmpx | Jens Elkner | 2017-01-12 | 1 | -54/+42 |
| | |||||
* | 40321: _arguments option groups | Oliver Kiddle | 2017-01-11 | 1 | -71/+120 |
| | |||||
* | unposted: more care with shell function filename. | Peter Stephenson | 2017-01-11 | 2 | -1/+5 |
| | | | | | | | When updating shfunc structure to change filename we should be careful to free whatever's there already, we may now be the directory in which to find the function definition. After loading the field contains the full name of the file. | ||||
* | Add features associated with autoloading a function using an absolute | Peter Stephenson | 2017-01-11 | 5 | -67/+187 |
| | | | | | | | | | | | | | 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. | ||||
* | 40305: fix some problems redisplaying command line after interrupt. | Peter Stephenson | 2017-01-10 | 4 | -6/+27 |
| | | | | | | | | | | | | Back off previous fix as this only covered some subset of problems. Remaining problems happend after reset-prompt in TRAPINT. One was in complist and is fixed by not attempting to list after an error or interrupt. The other was owing to not resetting clearflag when ZLE was re-entered. | ||||
* | 40306 with doc tweaks: Change behaviour expanding alias in () function ↵ | Peter Stephenson | 2017-01-10 | 4 | -0/+43 |
| | | | | | | | definition. Now an error unless the () is part of the same error as the name. Add ALIAS_FUNC_DEF option to allow it again. | ||||
* | 40285: Be more careful with pattern allocation in history isearch. | Peter Stephenson | 2017-01-06 | 1 | -4/+7 |
| | | | | | | If there are ZLE hooks to be called, they may use patterns, in which case it's not safe to allocate the isearch pattern in the static buffer. | ||||
* | 40270 (after 39995): Add cross-reference for robustness. | Daniel Shahaf | 2017-01-05 | 1 | -0/+2 |
| | |||||
* | 40269: handle option exclusion within current word for clumped options | Oliver Kiddle | 2017-01-05 | 1 | -13/+13 |
| | | | | This replaces the change made in 13999 with an alternative approach. | ||||
* | 40227: handle _arguments sets and rest arguments starting with a dash | Oliver Kiddle | 2017-01-04 | 1 | -11/+26 |
| | | | | | This is a new approach to the problem first covered by 39611: checking to see if an option-like argument belongs to one of the other sets. | ||||
* | 40226: tidy up some of the _arguments set code | Oliver Kiddle | 2017-01-04 | 1 | -70/+29 |
| | | | | | | Remove old code for applying explicit exclusions between sets which fixes some odd behaviour. Some struct members were unused. Also added some comments and test cases. | ||||
* | users/22319: ${ary1:^ary2} should not change isarr state of expansion of ary1 | Barton E. Schaefer | 2017-01-03 | 1 | -2/+4 |
| | | | | Unless ary1 is made from a scalar, semantics of (@) in double quotes is lost. | ||||
* | 40248: suppress errors from zshaddhistoryhook | Barton E. Schaefer | 2017-01-03 | 1 | -1/+2 |
| | | | | and do not call it if no history entry will be written | ||||
* | 40265: Fix problems with pure string in patterns with Meta. | Peter Stephenson | 2017-01-03 | 1 | -7/+1 |
| | | | | | | Copy instead of relying on jiggery pokery with memory reallocation. Problem was triggering with string ending with Dash converted to -. | ||||
* | 40260: zero new space allocated in prompt buffer | Paulo Andrade | 2017-01-03 | 1 | -0/+1 |
| | |||||
* | 40231: Optimise setarrvalue(). | Sebastian Gniazdowski | 2016-12-28 | 1 | -16/+34 |
| | |||||
* | 40162: _arguments support for a match spec in combination with sets | Oliver Kiddle | 2016-12-22 | 1 | -1/+1 |
| | |||||
* | 40179: fix handling of "printf -" and "printf --" | Barton E. Schaefer | 2016-12-14 | 1 | -1/+1 |
| | | | | unposted: regression test for 40179 / 37467 | ||||
* | 40134: silence spurious compiler warnings. | Barton E. Schaefer | 2016-12-10 | 2 | -2/+2 |
| | |||||
* | 40117: Revert a hunk of 40035 that changed semantics incorrectly. | Daniel Shahaf | 2016-12-09 | 1 | -1/+1 |
| | |||||
* | 40129: revert 39611, add code comments and test cases for _arguments | Oliver Kiddle | 2016-12-09 | 1 | -33/+58 |
| | |||||
* | 40119: correct typo in comment | Oliver Kiddle | 2016-12-08 | 1 | -2/+2 |
| | |||||
* | Additional case for ERR_RETURN and ERR_EXIT. | Peter Stephenson | 2016-12-05 | 1 | -0/+1 |
| | | | | | Don't trigger just because status is non-zero at end of current shell group. | ||||
* | Extra case for ERR_RETURN and ERR_EXIT. | Peter Stephenson | 2016-12-05 | 3 | -1/+16 |
| | | | | | | Don't trigger just because status is non-zero at end of complex shell construct as this may be a case we've already suppressed. | ||||
* | 40071: change Dash back to "-" before evaluating named directory expansions | Barton E. Schaefer | 2016-12-03 | 1 | -0/+2 |
| | |||||
* | 40068: Abort execution when setuid/setgid fail. | Daniel Shahaf | 2016-12-03 | 1 | -4/+4 |
| | | | | | | | | | | | The incumbent code would print an error message and continue execution with the previous uid/gid values, not even setting lastval: % UID=42 id -u; echo $? zsh: failed to change user ID: operation not permitted 1000 0 % | ||||
* | 40067: internal: Document 'cmatcher', parse_cmatcher(), 'comptoend', ↵ | Daniel Shahaf | 2016-12-03 | 3 | -4/+30 |
| | | | | unsetparam_pm(), and getindex(). | ||||
* | 40050: prepend /**/ to global functions and #ifdefs | Jun-ichi Takimoto | 2016-12-01 | 1 | -0/+35 |
| | |||||
* | 40043: fix computil.c indentation (cosmetic) | Peter Stephenson | 2016-11-30 | 1 | -4/+4 |
| | |||||
* | 40034: clear badcshglob when ignoring errors | Barton E. Schaefer | 2016-11-29 | 1 | -1/+3 |
| | |||||
* | 40032: consistency in handling of subscript slices outside the bounds of an ↵ | Barton E. Schaefer | 2016-11-29 | 1 | -2/+9 |
| | | | | | | array parameter unposted: README: example describing 40032 | ||||
* | 40037: Unicode 9 character width support. | Joshua Rubin | 2016-11-29 | 3 | -2/+1336 |
| | | | | Enable with --enable-unicode9. | ||||
* | 40035: Cosmetic fixes for comments and documentation. | Eitan Adler | 2016-11-29 | 6 | -6/+6 |
| | | | | Mostly fixes to doubled words. | ||||
* | 40026: Fix for completion after redirection. | Peter Stephenson | 2016-11-29 | 1 | -5/+19 |
| | | | | | | | This could get confused about where we were in the command line word array e.g. after the > of "!> .". Also take more care if does confused, with debug output. Also neaten up one obscure test. | ||||
* | 40010: builtins: Say 'bad option: +x', not 'bad option: -x', when +x was passed. | Daniel Shahaf | 2016-11-28 | 1 | -2/+3 |
| |