about summary refs log tree commit diff
path: root/Test/C04funcdef.ztst
Commit message (Collapse)AuthorAgeFilesLines
* unposted: Fix typosDaniel Shahaf2021-09-261-1/+1
|
* 48810: fix potential name clash in test case for autoloadingBart Schaefer2021-05-151-2/+4
|
* Copy functions using functions -c old new.Peter Stephenson2019-08-031-1/+68
| | | | Documentation and test.
* 42624 (plus test): avoid freeing memory that's still neededOliver Kiddle2018-04-121-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 Stephenson2017-12-151-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 Stephenson2017-10-021-0/+8
| | | | Initialised from existing configuration value.
* 40622 with typos fixed: functions -Ms.Peter Stephenson2017-03-011-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 Stephenson2017-01-301-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 Stephenson2017-01-281-2/+2
| | | | This allows you to find out where a function was loaded from.
* 43080: a few more tests for autoload with absolute pathPeter Stephenson2017-01-181-0/+25
|
* 40342: Add directory name cache for autoload file paths.Peter Stephenson2017-01-121-0/+39
| | | | | This renders "autoload /blah/blah/*" as efficient as use of fpath.
* 40335: More care with autoload function path.Peter Stephenson2017-01-121-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 absolutePeter Stephenson2017-01-111-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 Stephenson2016-10-051-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 Shahaf2016-08-051-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 Stephenson2016-01-251-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 Stephenson2015-08-211-0/+13
|
* test for alias expansion in command substitutionPeter Stephenson2015-01-101-0/+12
|
* 33345: fix anonymous function complex command handling.Peter Stephenson2014-10-031-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 Stephenson2014-10-031-0/+6
| | | | Don't expand arguments as if in command position. Test.
* 32552 (updated by 32560): fix segfault when using process substitution in ↵Andrew Waldron2014-04-181-0/+5
| | | | | | anonymous function argument list Also disallow process substitution in function name position.
* 30718: emulate command evaluations should apply sticky emulationPeter Stephenson2012-10-071-0/+17
| | | | to autoloads, too
* 29633: more care with anonymous and other functionsPeter Stephenson2011-08-031-0/+6
|
* 29626: arguments to anonymous functions shouldn't be parsed as command wordsPeter Stephenson2011-07-281-0/+17
|
* 29492: add argument handling to anonymous functionsPeter Stephenson2011-06-191-1/+28
|
* 27129: fix status at start of function, command subst, etc.Peter Stephenson2009-07-111-0/+7
|
* 27126: a few more contexts where executing empty lists gives status zeroPeter Stephenson2009-07-101-0/+15
|
* clean up test temporary filesGeoff Wing2008-12-291-0/+4
|
* 25255: add anonymous function capabilityPeter Stephenson2008-06-301-0/+79
|
* 23680: tests for 23671Peter Stephenson2007-07-131-0/+29
|
* 22416, tweaked: math functions via shell functionsPeter Stephenson2006-04-191-0/+59
| | | | unposted: add styles to pick-web-browser
* moved from ./Test/09funcdef.ztstSven Wischnowsky2001-04-021-0/+13