Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tweaks to MULTI_FUNC_DEF | Peter Stephenson | 2022-06-07 | 1 | -0/+20 |
| | | | | | | Output multiple function definitions using "function" form. Note exceptions to errors with NO_MULTI_FUNC_DEF | ||||
* | unposted: Fix typos | Daniel Shahaf | 2021-09-26 | 1 | -1/+1 |
| | |||||
* | 48810: fix potential name clash in test case for autoloading | Bart Schaefer | 2021-05-15 | 1 | -2/+4 |
| | |||||
* | Copy functions using functions -c old new. | Peter Stephenson | 2019-08-03 | 1 | -1/+68 |
| | | | | Documentation and test. | ||||
* | 42624 (plus test): avoid freeing memory that's still needed | Oliver Kiddle | 2018-04-12 | 1 | -0/+10 |
| | | | | | This was occurring in a multiple function definition where a function name is duplicated. | ||||
* | 42123 (tweaked): take account of Dash in function names. | Peter Stephenson | 2017-12-15 | 1 | -0/+9 |
| | | | | | | Needed when comparing word code function name with autoload request. Add test. | ||||
* | 41787 (plus minor tweaks): use $FUNCSTACK for function nesting depth. | Peter Stephenson | 2017-10-02 | 1 | -0/+8 |
| | | | | Initialised from existing configuration value. | ||||
* | 40622 with typos fixed: functions -Ms. | Peter Stephenson | 2017-03-01 | 1 | -0/+18 |
| | | | | | | This adds the capability for mathematical functions based on shell functions to have a string argument. Module functions have had this for a long time. | ||||
* | 40465: update methods to output $PWD in tests. | Peter Stephenson | 2017-01-30 | 1 | -3/+7 |
| | | | | | Use method from B01cd.tst which resolves symbolic links and matches against parameter in output. | ||||
* | 40440: Add $functions_source hash to zsh/parameter. | Peter Stephenson | 2017-01-28 | 1 | -2/+2 |
| | | | | This allows you to find out where a function was loaded from. | ||||
* | 43080: a few more tests for autoload with absolute path | Peter Stephenson | 2017-01-18 | 1 | -0/+25 |
| | |||||
* | 40342: Add directory name cache for autoload file paths. | Peter Stephenson | 2017-01-12 | 1 | -0/+39 |
| | | | | | This renders "autoload /blah/blah/*" as efficient as use of fpath. | ||||
* | 40335: More care with autoload function path. | Peter Stephenson | 2017-01-12 | 1 | -0/+10 |
| | | | | | | 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. | ||||
* | Add features associated with autoloading a function using an absolute | Peter Stephenson | 2017-01-11 | 1 | -0/+89 |
| | | | | | | | | | | | | | 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. | ||||
* | 39566: Improve usefulness of command_not_found_handler. | Peter Stephenson | 2016-10-05 | 1 | -3/+2 |
| | | | | | | | Don't behave as if command not found if return status is non-zero as this may simply be the return status of the replacement command. Let the function report a command not found instead. | ||||
* | 38991: Make 'whence -v autoloaded-function' shows the defining filename. | Daniel Shahaf | 2016-08-05 | 1 | -0/+10 |
| | | | | | | This may also fix a problem whereby the %x prompt escape evaluated to a function name rather than a filename, since %x is also backed by scriptfilename. | ||||
* | 37765: Use FS_FUNC on fucstack to find autoload -X target. | Peter Stephenson | 2016-01-25 | 1 | -0/+13 |
| | | | | | This is better than scriptname which can be updated due to e.g. intervening "eval". | ||||
* | Test for 36265, no alias expansion after "function" | Peter Stephenson | 2015-08-21 | 1 | -0/+13 |
| | |||||
* | test for alias expansion in command substitution | Peter Stephenson | 2015-01-10 | 1 | -0/+12 |
| | |||||
* | 33345: fix anonymous function complex command handling. | Peter Stephenson | 2014-10-03 | 1 | -0/+4 |
| | | | | | | Longstanding problem caused simple anonymous function incorrectly to reset the overall "complext" state, causing wordcode to be diverted into execsimple(), which caused a crash 'cos ist wasn't simple. | ||||
* | 33343: Variant anonymous function synax with arguments. | Peter Stephenson | 2014-10-03 | 1 | -0/+6 |
| | | | | Don't expand arguments as if in command position. Test. | ||||
* | 32552 (updated by 32560): fix segfault when using process substitution in ↵ | Andrew Waldron | 2014-04-18 | 1 | -0/+5 |
| | | | | | | anonymous function argument list Also disallow process substitution in function name position. | ||||
* | 30718: emulate command evaluations should apply sticky emulation | Peter Stephenson | 2012-10-07 | 1 | -0/+17 |
| | | | | to autoloads, too | ||||
* | 29633: more care with anonymous and other functions | Peter Stephenson | 2011-08-03 | 1 | -0/+6 |
| | |||||
* | 29626: arguments to anonymous functions shouldn't be parsed as command words | Peter Stephenson | 2011-07-28 | 1 | -0/+17 |
| | |||||
* | 29492: add argument handling to anonymous functions | Peter Stephenson | 2011-06-19 | 1 | -1/+28 |
| | |||||
* | 27129: fix status at start of function, command subst, etc. | Peter Stephenson | 2009-07-11 | 1 | -0/+7 |
| | |||||
* | 27126: a few more contexts where executing empty lists gives status zero | Peter Stephenson | 2009-07-10 | 1 | -0/+15 |
| | |||||
* | clean up test temporary files | Geoff Wing | 2008-12-29 | 1 | -0/+4 |
| | |||||
* | 25255: add anonymous function capability | Peter Stephenson | 2008-06-30 | 1 | -0/+79 |
| | |||||
* | 23680: tests for 23671 | Peter Stephenson | 2007-07-13 | 1 | -0/+29 |
| | |||||
* | 22416, tweaked: math functions via shell functions | Peter Stephenson | 2006-04-19 | 1 | -0/+59 |
| | | | | unposted: add styles to pick-web-browser | ||||
* | moved from ./Test/09funcdef.ztst | Sven Wischnowsky | 2001-04-02 | 1 | -0/+13 |