aboutsummaryrefslogtreecommitdiffhomepage
path: root/expand.h
Commit message (Collapse)AuthorAge
* Rework error messages to be shorter and to handle more special bash-ismsGravatar ridiculousfish2015-04-29
| | | | | | Example: we can point $* to argv Fixes #1288
* Remove EXPAND_SKIP_PROCESS, which did not actually workGravatar ridiculousfish2014-10-15
|
* Revert "Prepend ./ to "flag-like file" wildcard expansions and completions"Gravatar ridiculousfish2014-09-25
| | | | | | | | | This reverts commit 316d7004a3d4f6905f36301b6d5c9ebd934f11fa. Reverts fix for 1519 in light of #1713 Conflicts: fish_tests.cpp
* Prepend ./ to "flag-like file" wildcard expansions and completionsGravatar ridiculousfish2014-09-24
| | | | | | | | If a wildcard or completion expands to a file that begins with one or more dashes, prepend a ./ to it so that it doesn't get parsed as an option. Fixes #1519
* Fix double expansions (`$$foo`)Gravatar Kevin Ballard2014-08-20
| | | | | | | | | | | | | | | | | | | | | | Double expansions of variables had the following issues: * `"$$foo"` threw an error no matter what the value of `$foo` was. * `set -l foo ''; echo $$foo` threw an error because of the expansion of `$foo` to `''`. With this change, double expansion always works properly. When double-expanding a multi-valued variable, in a double-quoted string the first word of the inner expansion is used for the outer expansion, and outside of a quoted string every word is used for the double-expansion in each of the arguments. > set -l foo bar baz > set -l bar one two > set -l baz three four > echo "$$foo" one two baz > echo $$foo one two three four
* Excise use of parser_t's error() functionality. Thread aGravatar ridiculousfish2014-03-21
| | | | | | parse_error_list_t through all of the expand functions, enabling them to report errors more directly. Improve aspects of error reporting for expansion failures.
* Various cleanup and tweaking of backtrace messagesGravatar ridiculousfish2013-12-16
|
* Large cleanup and refactoring of unescape() function.Gravatar ridiculousfish2013-11-24
|
* Initial abbreviation work. Tests currently fail.Gravatar ridiculousfish2013-07-19
|
* FormattingGravatar ridiculousfish2013-06-02
|
* Support for fuzzy completionsGravatar ridiculousfish2013-05-25
| | | | | https://github.com/fish-shell/fish-shell/issues/568 https://github.com/fish-shell/fish-shell/issues/528
* FormattingGravatar ridiculousfish2013-01-12
|
* Don't call expand_home_directory from within parser_t::test - it may hangGravatar ridiculousfish2013-01-12
| | | | https://github.com/fish-shell/fish-shell/issues/512
* Hack around xdm's dumb assumption that the login shell is POSIX compliant so ↵Gravatar ridiculousfish2013-01-04
| | | | | | | we no longer kill OpenSUSE https://github.com/fish-shell/fish-shell/issues/367 Also fix some formatting
* Eliminate str2wcsGravatar ridiculousfish2012-12-19
|
* Apply new indentation, brace, and whitespace styleGravatar ridiculousfish2012-11-18
|
* Remove trailing whitespaces and change tabs to spacesGravatar Łukasz Niemier2012-11-18
|
* Fix bug where underlining was failing for paths prefixed with ~Gravatar ridiculousfish2012-08-23
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/292
* Added some limited support for autosuggesting processesGravatar ridiculousfish2012-08-07
|
* More warning fixes and switching from int to long or size_tGravatar ridiculousfish2012-08-04
|
* Implemented process expansion on OS XGravatar ridiculousfish2012-07-16
| | | | | Also fixed issue where process expansion would always fail for processes with spaces Fixes https://github.com/fish-shell/fish-shell/issues/56
* Disable process expansion in autosuggestionsGravatar ridiculousfish2012-06-29
| | | | Addresses https://github.com/fish-shell/fish-shell/issues/39
* Restore implicit cd for paths starting with ., .., or ~Gravatar ridiculousfish2012-06-02
|
* Lots of modernization changedGravatar ridiculousfish2012-05-09
| | | | Removed wcsdupcat
* Some work to allow completions to be evaluated off of the main threadGravatar ridiculousfish2012-02-24
|
* Cleanup expand_escape_variableGravatar ridiculousfish2012-02-08
|
* Work on new history implementationGravatar ridiculousfish2012-02-05
|
* Clean up uses of completion_tGravatar ridiculousfish2012-02-01
|
* Migrated off of old variant of expand_one that used hallocGravatar ridiculousfish2012-01-31
|
* Yet more un-hallocingGravatar ridiculousfish2012-01-30
|
* buggy-auto-complete is not so buggy now. Merged branch 'buggy-auto-complete' ↵Gravatar Siteshwar Vashisht2012-01-29
|\ | | | | | | into CPlusPlus
* | More work on the instanced parserGravatar ridiculousfish2012-01-22
| |
* | More work towards instanced parserGravatar ridiculousfish2012-01-20
| |
| * Converted all auto completion calls (on pressing tab) to use ↵Gravatar Siteshwar Vashisht2012-01-16
|/ | | | std::vector<completion_t>, bugs are yet to be fixed
* Redesign new environment variables to use env_var_t instead of wcstringGravatar Peter Ammon2012-01-14
| | | | Migrate uses of empty() to missing() to distinguish between empty variable and unset variable
* More migration to the STLGravatar ridiculousfish2011-12-26
|
* Some changes to migrate towards C++ and a multithreaded modelGravatar ridiculousfish2011-12-26
|
* remove trailing spacesGravatar Grissiom2010-09-18
| | | | | This is done by `sed -i -e 's/[ \t]*$//' *.[c,h]`, which should not introduce any functionality change.
* Fix bug causing flood of error messages in terminal when trying to highlight ↵Gravatar axel2008-02-05
| | | | | | an invalid command, reported by Denilson F. de Sa. darcs-hash:20080204230905-ac50b-0829b69835347e5875656ae735181b724f10de2a.gz
* Add compiler warnings for some common incorrect usage of functions, such as ↵Gravatar axel2006-10-20
| | | | | | forgetting to cast null pointers to variadic functions darcs-hash:20061019151947-ac50b-4043638a7a830fa80fd918f92365f5afe3ff208a.gz
* Fix incorrect usage of the term subshell when command substitution was meantGravatar axel2006-08-23
| | | | darcs-hash:20060822143831-ac50b-cb5267a6434adcbd5bafb452d688bee06c23d4d6.gz
* Minor duplicate code removalGravatar axel2006-07-20
| | | | darcs-hash:20060720130246-ac50b-b41daebb302e1cbadf2a4cf812d936edbda85926.gz
* Large number of sourcecode comment edits, and some minor code polishGravatar axel2006-06-20
| | | | darcs-hash:20060620005010-ac50b-eaeae9a6242a37c1e34831e1a0b2ee2b4e7a012e.gz
* Minor comment edits, reindentation and other code formating changesGravatar axel2006-06-15
| | | | darcs-hash:20060615103706-ac50b-ad9f7060e40f5a786877e95f027688c90f43b6ec.gz
* Make it possible to specify scope of a variable to be erased or tested. Also ↵Gravatar axel2006-06-05
| | | | | | make sure set exits with a non-zero exit status when erasing fails. darcs-hash:20060604201451-ac50b-4ea0212c513b33be40559dfe8d65c1446c53f682.gz
* Rename function expand_variable_array to tokenize_variable_array and move it ↵Gravatar axel2006-05-29
| | | | | | from expand.c to common.c, since it is used by fish_pager, which should not depend on expand.o darcs-hash:20060529111342-ac50b-315d7dcf04e05fa8f32e16801e6793ac4e4e022e.gz
* Add validator check to make sure the second argument to 'for' is 'in'Gravatar axel2006-05-22
| | | | darcs-hash:20060521221604-ac50b-5bc4ce217a08304f68b97b20e908ea1279fe26e9.gz
* Major update to the ahead-of-time syntax checkerGravatar axel2006-05-22
| | | | darcs-hash:20060521192524-ac50b-48713f826558e66ef21046d1bb779623cc2fd97a.gz
* Another halloc:ification of fish. Halloc has been extended to allow ↵Gravatar axel2006-02-10
| | | | | | registering function calls, this has allowed the creation of halloc-handled arraylists, stringbuffers, etc. More job parsing halloc-ification has reduced the error handling code to only a shadow of it's former self darcs-hash:20060209155020-ac50b-e119c5293ce2368e252cfc01b98ab7c629fdd678.gz
* Minor code cleanup, don't use expand_escape and expand_unescape any moreGravatar axel2006-02-07
| | | | darcs-hash:20060206151552-ac50b-e2229d096926461f643fdcdfc79ef1ff01344a35.gz