Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add new `functions` flag -V/--inherit-variable | Kevin Ballard | 2014-10-02 |
| | | | | | | | | | | --inherit-variable takes a variable name and snapshots its current value. When the function is executed, it will have a local variable with this value already defined. Printing the function source will include synthesized `set -l` lines for the values. This is primarily useful for functions that are created on the fly, such as in `psub`. | ||
* | Fix line number reporting in new parser | ridiculousfish | 2014-03-20 |
| | |||
* | Merge branch 'master' into ast | ridiculousfish | 2013-10-16 |
|\ | | | | | | | | | Conflicts: parse_util.cpp | ||
| * | Fix #213. You can now remove autoloaded functions. | Konrad Borowski | 2013-10-12 |
| | | | | | | | | Oddly enough, the code is here, but is internal function. | ||
* | | Beef up completion tests | ridiculousfish | 2013-10-12 |
|/ | |||
* | Apply new indentation, brace, and whitespace style | ridiculousfish | 2012-11-18 |
| | |||
* | Remove trailing whitespaces and change tabs to spaces | Łukasz Niemier | 2012-11-18 |
| | |||
* | Renamed env_vars to env_vars_snapshot_t | ridiculousfish | 2012-07-20 |
| | | | | Cleanup of non-wcstring version of path_get_path | ||
* | Got function.h and function.cpp off of shared_ptr (hooray) | ridiculousfish | 2012-05-18 |
| | |||
* | More work towards getting function.h off of shared_ptr | ridiculousfish | 2012-05-17 |
| | |||
* | Work towards getting function.h off of shared_ptr | ridiculousfish | 2012-05-17 |
| | |||
* | Put fish on a diet. Tracked down the biggest memory hogs and fixed them. ↵ | ridiculousfish | 2012-03-03 |
| | | | | Total allocations down by a factor of 3 or so, live allocations a few KB. | ||
* | Modified functions in function.h/.cpp to use wcstring instead wchar_t*, ↵ | Siteshwar Vashisht | 2012-02-19 |
| | | | | other files also modified to use wcstring. | ||
* | Removed some more halloc | ridiculousfish | 2012-02-09 |
| | |||
* | Fixed named_arguments to be wcstring_list_t instead of al_list | ridiculousfish | 2012-02-08 |
| | |||
* | Get event_t off of halloc (!) | ridiculousfish | 2012-02-08 |
| | |||
* | Excised some more halloc and array_list_t | ridiculousfish | 2012-02-08 |
| | |||
* | LRU work to load functions off of the main thread. | ridiculousfish | 2012-01-28 |
| | | | | We'll have to reevaluate this after we fix function autocomplete | ||
* | Implemented LRU cache for autoloading. | ridiculousfish | 2012-01-25 |
| | |||
* | Migrate function.cpp to scoped_lock and shared_ptr | ridiculousfish | 2012-01-23 |
| | |||
* | Get some basic function signatures right for new instanced parser | ridiculousfish | 2012-01-16 |
| | |||
* | Some const correctness | ridiculousfish | 2012-01-16 |
| | |||
* | Migrate function.cpp to STL types. | ridiculousfish | 2012-01-13 |
| | |||
* | Some changes to migrate towards C++ and a multithreaded model | ridiculousfish | 2011-12-26 |
| | |||
* | Merge remote branch 'origin/otherchirps-dev' | Grissiom | 2010-09-19 |
|\ | |||
* | | remove trailing spaces | Grissiom | 2010-09-18 |
| | | | | | | | | | | This is done by `sed -i -e 's/[ \t]*$//' *.[c,h]`, which should not introduce any functionality change. | ||
| * | replaced the functions '--rename' option with '--copy'. | Christopher Nilsson | 2010-09-09 |
| | | | | | | | | | | Copying the function implementation was the main point. Actually removing the original isn't necessary, as that functionality already exists (functions -e). | ||
| * | Adding '--rename' option to 'functions' builtin. | Christopher Nilsson | 2010-09-08 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | Aim is to allow an existing function to be renamed, allowing some basic function chaining. Example: > function foo echo Hello end > foo Hello > functions --rename foo bar > foo fish: Unknown command 'foo' > bar Hello > functions --rename fish_prompt old_prompt > function fish_prompt printf "{Boo!}%s" (old_prompt) end {Boo!}> Note in the last case, the new fish_prompt is calling its old definition. | ||
* | Improve code comment | liljencrantz | 2008-01-16 |
| | | | | darcs-hash:20080116010601-75c98-fc7e940543424479bf1016cec26af619f177f5fd.gz | ||
* | Add lots of new code comments. | liljencrantz | 2008-01-14 |
| | | | | darcs-hash:20080113164747-75c98-9d0cefd27be7aef7ba60772616d9da7e6bb52912.gz | ||
* | Add the possibility for functions which do not shadow the arguments of the ↵ | axel | 2007-04-23 |
| | | | | | | calling function darcs-hash:20070422221033-ac50b-d9544c87d0ddab10f7f503b5a1707292f266efe4.gz | ||
* | Allow named arguments to function instead of only $argv. Philip Ganchev once ↵ | axel | 2007-04-17 |
| | | | | | | suggested this, and it was suggested again by Egil Möller. darcs-hash:20070416200611-ac50b-5eb42c94a65a4e72cae12cd9c04424bdc3b2b4f8.gz | ||
* | Use halloc to simplyfy allocations in function.c | axel | 2006-11-16 |
| | | | | darcs-hash:20061115141649-ac50b-aff0e3369bb19d6d88130781b13e598c9445b138.gz | ||
* | Remove the --key-binding switch for fish | axel | 2006-10-26 |
| | | | | darcs-hash:20061025202836-ac50b-682015e2f5830a85ff520e89b0a951ca9d2913dc.gz | ||
* | Make sure dynamically loaded functions are completable, even if they have ↵ | axel | 2006-02-09 |
| | | | | | | not yet been loaded darcs-hash:20060208173718-ac50b-40c93b82f3b8a717d220642e22c4b4005d8871d0.gz | ||
* | Add function stack trace to error output | axel | 2006-01-27 |
| | | | | darcs-hash:20060126144810-ac50b-3426191f596674504ce49dd61fcfa3c2c0c0f2bb.gz | ||
* | Make the not builtin work with shellscript functions | axel | 2005-11-30 |
| | | | | darcs-hash:20051129195030-ac50b-7ada30d327f2dcc8ad23f56b0a36c975cb90c481.gz | ||
* | Initial update for new event subsystem | axel | 2005-10-06 |
| | | | | darcs-hash:20051005223708-ac50b-8a8d7e003e1c24747f3f154cb66b6c1a1015c35b.gz | ||
* | Add header guards to the header files. | James Vega | 2005-10-05 |
| | | | | darcs-hash:20051004151139-35ec8-7af69b9d7647d145dc621f7eaea726e729cff554.gz | ||
* | Key binding functions | axel | 2005-09-21 |
| | | | | darcs-hash:20050920234200-ac50b-3895a97cb024368258cd1562bdcc9fda2c84f521.gz | ||
* | Initial revision | axel | 2005-09-20 |
darcs-hash:20050920132639-ac50b-fa3b476891e1f5f67207cf4cc7bf623834cc5edc.gz |