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