aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Prefer swap() member function to std::swap. We were hitting theGravatar ridiculousfish2014-03-25
| | | | inefficient generic std::swap for some derived types.
* Turn on the new "ast" parser by default for execution.Gravatar ridiculousfish2014-03-25
| | | | | | | | | | | | | | | | | | | This change replaces fish's execution model, and obviates much of parser_t. Instead of parsing fish code into a sequence of commands-arguments, this reifies syntactic constructs into a grammar, builds a parse tree, and executes that. This provides a big simplification and (sometimes) performance boost. fish while loops become C++ while loops, etc. There are some known regressions in error reporting, which ought to be fixed in the soon-to-be-merged parser_cleanup branch. There's also legitimate changes in edge cases. For example, `command builtin ...` now executes a command called "builtin" instead of doing something else weird. The most significant change is that syntactic elements must be unexpected: for example, single quoting 'command' will now cause it to not be recognized. This should be fixed soon. Please open issues for any regressions you find!
* Stop linking iconv, now that we have our own utf8 conversion routinesGravatar ridiculousfish2014-03-23
|
* Naive reimplementation of utf2wcs and wcs2utf inGravatar ridiculousfish2014-03-23
| | | | | env_universal_common.cpp. These use the new utf8 functions exposed in utf8.h. This will allow us to drop the iconv dependency.
* Included missing stdint.h header in utf8.cppGravatar Siteshwar Vashisht2014-03-23
|
* Incorporate a modified UTF8 <-> wchar_t implementation from AlexeyGravatar ridiculousfish2014-03-22
| | | | | Vatchenko (http://www.bsdua.org/libbsdua.html) in preparation for eliminating our dependency on iconv
* Changes full_escape to not generate \x escapes for non-ASCII characters.Gravatar ridiculousfish2014-03-22
| | | | Partially reverts 51de269 . Fixes #1225
* Check for libtinfo after libncursesGravatar jer-gentoo2014-03-19
| | | | | | See Gentoo bug 459768 (https://bugs.gentoo.org/show_bug.cgi?id=459768) Closes #1322 (https://github.com/fish-shell/fish-shell/pull/1322).
* Fix for issue where pager contents may stay around if you executed aGravatar ridiculousfish2014-03-16
| | | | command with pager contents visible
* Remove support for input IO_BUFFERs, which were only used by fish_pagerGravatar ridiculousfish2014-03-15
|
* Remove old pager remnants, including documentation and references in theGravatar ridiculousfish2014-03-15
| | | | build system
* Remove old fish_pager source and implementationGravatar ridiculousfish2014-03-15
|
* Remove support for invoking old pagerGravatar ridiculousfish2014-03-15
|
* Fix for extra newline that gets appended if a command is not found inGravatar ridiculousfish2014-03-15
| | | | the new parser
* ignore (generated) messages.potGravatar David Adam2014-03-13
|
* translations: update new strings, convert all to UTF-8Gravatar David Adam2014-03-13
|
* translations: correct strings for fish_greeting default messageGravatar David Adam2014-03-13
|
* Makefile: assume UTF-8 in our codebase for translation generationGravatar David Adam2014-03-13
|
* Makefile: separate messages.pot error linesGravatar David Adam2014-03-13
|
* Make `contains` take the string by const reference again, for performance ↵Gravatar ridiculousfish2014-03-11
| | | | reasons
* README.md: document build and runtime dependencies even better.Gravatar David Adam2014-03-10
|
* Reorganize keyword recognition in the parser to use a single tableGravatar ridiculousfish2014-03-10
|
* Fixed various Undefined Behavior occurrences.Gravatar Daniel J. Hofmann2014-03-07
| | | | | | | | | | | | | | | | | Conditionally uninitialized: - builtin_commandline.cpp:577 - expand.cpp:869 - parse_util.cpp:1036 Initialization of POD structs: - event.cpp:61 - autoload.cpp:22 References used with va_start: - common.cpp:608:18 Found with clang-3.4's awesome -Wconditional-uninitialized, -Wmissing-field-initializers and -Wvarargs.
* Support for error detection in arguments in new parser. Restores errorGravatar ridiculousfish2014-03-04
| | | | reporting for bad arguments (e.g. with bad variable names)
* Allow the caller to specify the goal node when parsing a string via theGravatar ridiculousfish2014-03-04
| | | | new parser. This enables parsing either a job list or an argument list.
* Force at least one line of output for `set_color`.Gravatar Konrad Borowski2014-03-03
| | | This should fix #1323.
* Implement status -n (line number) with new parserGravatar ridiculousfish2014-03-01
|
* Revert "Merge pull request #1317 from pullreq/cpp"Gravatar ridiculousfish2014-02-28
| | | | | | | This reverts commit 74135c0600d5dcc40d396d0e7293c17b8d4bdaa7, reversing changes made to 6d749789ce240a3e6f1447777db63fd8e7525560. See discussion in #1317
* Correct some mistakes in the fish grammar commentGravatar ridiculousfish2014-02-27
|
* Merge pull request #1317 from pullreq/cppGravatar Konrad Borowski2014-02-27
|\ | | | | Fixup filenames in comments; remove dead code found with scan-build.
| * Fixes .c -> .cpp in comments. For doxygen.Gravatar Geoff Nixon2014-02-27
| |
| * Dead storesGravatar Geoff Nixon2014-02-27
|/
* Use 127.0.0.1 for fish config.Gravatar Konrad Borowski2014-02-27
| | | | | | | | Before this change, fish config used 0 as its address. However, this isn't a good idea from security point of view, as web service can be accessed from everywhere, and do anything on the account it was ran on. This also deals with firewalls which block the access to 0 even from the host machine itself. It possibly might fix #673, but I'm not sure.
* Optimize some fast paths in autoload loading. Use an iterator to avoidGravatar ridiculousfish2014-02-24
| | | | | doing multiple set lookups, and cache the tokenized path to avoid multiple memory allocations.
* Optimize the tokenize_variable_array hot spot to do less string copyingGravatar ridiculousfish2014-02-24
|
* Rework color editing in fish_config. Bury customization mode a bit:Gravatar ridiculousfish2014-02-24
| | | | | initially the user only sees the various themes, and has to activate customization mode to change colors. Tweak the appearance as well.
* Turn on the new pager by default, as described in #291Gravatar ridiculousfish2014-02-22
|
* Fix for busted tab completions in for loop arguments, switch statements,Gravatar ridiculousfish2014-02-21
| | | | and other syntactic constructs. Fixes #1309
* Expand the variable name as an ordinary parameter in for loops. AddedGravatar ridiculousfish2014-02-21
| | | | test for it too.
* Correctly color "end" command, and variable name in for loop.Gravatar ridiculousfish2014-02-21
|
* Allow double-tapping tab to fully disclose pager, per #291Gravatar ridiculousfish2014-02-20
|
* Fix to stop reporting config.fish execution as coming from "standardGravatar ridiculousfish2014-02-20
| | | | input" within backtraces
* Make fish install a command_not_found handler in non-interactive uses.Gravatar ridiculousfish2014-02-20
| | | | | | | | | | | Previously, fish's command_not_found handler would be installed in __fish_config_interactive. Errors that occured early in startup (e.g. in config.fish) or in non-interactive mode would therefore not be reported. With this change, fish now exposes its default cnf handler as __fish_default_command_not_found_handler . config.fish then installs a cnfh that invokes the default. When fish goes interactive, the initial cnfh is overwritten with a fancier one, that may in turn fall back to invoking the default.
* Clean up Xcode project and remove unnecessary ARCHS settingsGravatar ridiculousfish2014-02-17
|
* Tweak error reporting in new parser to use fewer linesGravatar ridiculousfish2014-02-17
|
* Remove the reader_selected_completion_changed callback. Fix a hang whenGravatar ridiculousfish2014-02-16
| | | | the pager gets empty, as reported in 291
* Make the pager search field allow searching on the prefixGravatar ridiculousfish2014-02-16
|
* Add completions for git stash sub-commandsGravatar Mandeep Sandhu2014-02-16
| | | | | | Closes #1102. Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
* Caching for pacman packages.Gravatar Eric Mrak2014-02-16
|
* adding completion for aura. adding pacman integration for __fish_print_packagesGravatar Eric Mrak2014-02-16
|