Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix wildcard expansion in directories without read permissions | ridiculousfish | 2015-06-20 |
| | | | | | | | | | | | | When performing wildcard expansion with a literal path segment, instead of enumerating the files in the directory, simply apply the path segment as if we found the directory and continue on. This enables us to expand strings that contain unreadable directory components (common with $HOME) and also improves performance, since we don't waste time enumerating directories unnecessarily. Adds a test too. Fixes #2099 | ||
* | Revert "Prepend ./ to "flag-like file" wildcard expansions and completions" | ridiculousfish | 2014-09-25 |
| | | | | | | | | | This reverts commit 316d7004a3d4f6905f36301b6d5c9ebd934f11fa. Reverts fix for 1519 in light of #1713 Conflicts: fish_tests.cpp | ||
* | Make escape() return a wcstring | Kevin Ballard | 2014-09-25 |
| | | | | This avoids the potential for leaking the resulting string. | ||
* | Prepend ./ to "flag-like file" wildcard expansions and completions | ridiculousfish | 2014-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 | ||
* | Don't include child directories of $PATH in completions | Kevin Ballard | 2014-09-20 |
| | | | | | | | | | Directories are completed like commands, because of implicit cd. However, directories found inside $PATH entries should not be completed, as implicit cd doesn't work there. Similarly, directories should not be completed after the `command` builtin. Fixes #1695. | ||
* | Clean up variable expansion, and properly handle embedded NULs | ridiculousfish | 2014-08-24 |
| | |||
* | Enhance file_id_t to have richer information, to guard against inode | ridiculousfish | 2014-04-28 |
| | | | | recycling on Linux filesystems | ||
* | Fix formatting | ridiculousfish | 2013-10-26 |
| | |||
* | Fix certain wildcard tab completions - | ridiculousfish | 2013-09-11 |
| | | | | https://github.com/fish-shell/fish-shell/issues/929 | ||
* | Formatting | ridiculousfish | 2013-06-02 |
| | |||
* | Support for fuzzy completions | ridiculousfish | 2013-05-25 |
| | | | | | https://github.com/fish-shell/fish-shell/issues/568 https://github.com/fish-shell/fish-shell/issues/528 | ||
* | Formatting and style updates | ridiculousfish | 2013-05-05 |
| | |||
* | Fix for reported "out of memory" for filesystems that return -1 as _PC_NAME_MAX | ridiculousfish | 2013-04-26 |
| | |||
* | Don't block "hidden files" for wildcard expansions that aren't files (like case) | ridiculousfish | 2013-04-20 |
| | | | | https://github.com/fish-shell/fish-shell/issues/667 | ||
* | Teach case-insensitive completions about tildes. Fixes ↵ | ridiculousfish | 2013-04-07 |
| | | | | https://github.com/fish-shell/fish-shell/issues/647 | ||
* | Break out COMPLETE_NO_CASE and COMPLETE_REPLACES_TOKEN into separate flags, ↵ | ridiculousfish | 2013-03-05 |
| | | | | in preparation for upcoming fuzzy completion work | ||
* | More cleanup based on static analysis | ridiculousfish | 2013-02-16 |
| | | | | https://github.com/fish-shell/fish-shell/issues/575 | ||
* | merge branch 'bug-537' and branch 'bug-read-ctrlC'. This should fix both ↵ | Jan Kanis | 2013-02-05 |
|\ | | | | | | | #537 and #516 | ||
| * | rename reader_cancel_thread to reader_thread_job_is_stale, update comments | Jan Kanis | 2013-02-05 |
| | | |||
* | | Make subcommands modify $status, and make builtin_set not modify status ↵ | ridiculousfish | 2013-01-31 |
| | | | | | | | | | | | | | | unless it fails https://github.com/fish-shell/fish-shell/issues/547 https://github.com/fish-shell/fish-shell/issues/214 | ||
| * | implement reader_cancel_thread using __thread thread-local storage | Jan Kanis | 2013-01-23 |
| | | |||
| * | reader_interrupted() should only be called on the main thread. fixes #537 | Jan Kanis | 2013-01-22 |
|/ | |||
* | More work towards incremental history. Added some tests. | ridiculousfish | 2012-12-02 |
| | |||
* | Fix indentation of switch statements | ridiculousfish | 2012-11-19 |
| | |||
* | Apply new indentation, brace, and whitespace style | ridiculousfish | 2012-11-18 |
| | |||
* | Remove trailing whitespaces and change tabs to spaces | Łukasz Niemier | 2012-11-18 |
| | |||
* | Make wildcards beginning with dots not match . and .. | ridiculousfish | 2012-10-15 |
| | | | | https://github.com/fish-shell/fish-shell/issues/270 | ||
* | Properly handle empty completions (e.g. tab-complete 'foo' with extant files ↵ | ridiculousfish | 2012-08-20 |
| | | | | | | 'foo' and 'foobar' should offer both) Fixes issue described in https://github.com/fish-shell/fish-shell/issues/290 | ||
* | Disable file completion descriptions per ↵ | ridiculousfish | 2012-08-15 |
| | | | | https://github.com/fish-shell/fish-shell/issues/279 | ||
* | Better handle symlink loops in recursive wildcards (**) | ridiculousfish | 2012-08-07 |
| | | | | https://github.com/fish-shell/fish-shell/issues/268 | ||
* | Warning cleanup | ridiculousfish | 2012-08-04 |
| | |||
* | Various changes to reduce fish's compiled code size | ridiculousfish | 2012-07-17 |
| | | | | OS X release build executable size dropped from 672k to 511k | ||
* | Work towards getting function.h off of shared_ptr | ridiculousfish | 2012-05-17 |
| | |||
* | Lots of modernization changed | ridiculousfish | 2012-05-09 |
| | | | | Removed wcsdupcat | ||
* | Fix lots of bugs related to the static analyzer | ridiculousfish | 2012-03-26 |
| | | | | Improved how screen.cpp interacts with output_set_writer() | ||
* | removed some string_buffer | ridiculousfish | 2012-03-03 |
| | |||
* | Some work to allow completions to be evaluated off of the main thread | ridiculousfish | 2012-02-24 |
| | |||
* | Removed array_list_t (!) | ridiculousfish | 2012-02-21 |
| | |||
* | Modified functions in function.h/.cpp to use wcstring instead wchar_t*, ↵ | Siteshwar Vashisht | 2012-02-19 |
| | | | | other files also modified to use wcstring. | ||
* | Removing some unnecessary calls to c_str(), and added ↵ | Siteshwar Vashisht | 2012-02-18 |
| | | | | str2wcstring(std::string) in common.cpp. | ||
* | Modified most functions in wutil.h/.cpp to use wcstring instead of wchar_t*, ↵ | Siteshwar Vashisht | 2012-02-18 |
| | | | | removing calls to c_str() while calling these functions in other files. | ||
* | Clean up make_path and some memory allocations | ridiculousfish | 2012-02-13 |
| | |||
* | Fix for busted completions (tab completion of directories was failing) | ridiculousfish | 2012-02-13 |
| | |||
* | Final removal of halloc. It's like Christmas Morning. | ridiculousfish | 2012-02-09 |
| | |||
* | Cleanup of wildcard.cpp, removing ad-hoc hash table and halloc | ridiculousfish | 2012-02-09 |
| | |||
* | Get rid of some string buffer | ridiculousfish | 2012-02-09 |
| | |||
* | Clean up exec_subshell, removing al_list from it | ridiculousfish | 2012-02-07 |
| | |||
* | Removed discriminated union from block_t type, allowing us to store ↵ | ridiculousfish | 2012-02-07 |
| | | | | wcstrings in it | ||
* | Migrate some al_list to std::vector | ridiculousfish | 2012-02-02 |
| | |||
* | Fixed a crash doing completion of commands | ridiculousfish | 2012-02-02 |
| |