aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_tests.cpp
Commit message (Collapse)AuthorAge
* Run restyle.sh to enforce style rules.Gravatar ridiculousfish2014-03-31
|
* Allow appending path hints to history items after they have been added,Gravatar ridiculousfish2014-03-28
| | | | | allowing us to avoid the delay before items appear in history. Should fix #984
* Merge branch 'master' into parser_cleanupGravatar ridiculousfish2014-03-26
|\ | | | | | | | | | | Conflicts: parse_constants.h parse_tree.h
| * 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
* | 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.
* | Rewrite parser_t::test_args and parser_t::eval_args to use new parserGravatar ridiculousfish2014-03-20
| |
* | Add some tests for parse_util_detect_errors_in_argumentGravatar ridiculousfish2014-03-20
| |
* | Rewrite parser_t::eval_args to use new AST parserGravatar ridiculousfish2014-03-20
|/
* Remove support for input IO_BUFFERs, which were only used by fish_pagerGravatar ridiculousfish2014-03-15
|
* 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
* Fixes .c -> .cpp in comments. For doxygen.Gravatar Geoff Nixon2014-02-27
|
* Correctly color "end" command, and variable name in for loop.Gravatar ridiculousfish2014-02-21
|
* Reimplement exec parsing. Instead of special-casing exec as a command,Gravatar ridiculousfish2014-02-13
| | | | | | promote it to a decoration (like 'command' or 'builtin'). This makes tab completion and syntax highlighting treat exec's first argument as a command and is otherwise a nice simplification. Fixes #1300
* Test and fix issue where, if binding X is a prefix of binding Y, and XGravatar ridiculousfish2014-02-12
| | | | | | | is specified before Y, then Y will never be invoked because X will always get there first. Now instead we order bindings in descending order by length, so that we always test the binding before any others that prefixes it. Fixes #1283.
* Don't complete variables when single quoted. Fixes #1023Gravatar ridiculousfish2014-02-09
|
* Highlight the entire variable name, not just the dollar sign. Fixes #1201Gravatar ridiculousfish2014-02-03
|
* Merge branch 'master' into pagerGravatar ridiculousfish2014-01-24
|\
| * Replace assertions with new do_test macro in fish_tests.cppGravatar ridiculousfish2014-01-23
| |
| * Fix for tab-completing arguments. Closes #1261Gravatar ridiculousfish2014-01-23
| |
* | Improved navigation of pager list. Added tests for it too.Gravatar ridiculousfish2014-01-19
|/
* fish_tests.cpp: set return value if tests failGravatar David Adam2014-01-15
|
* Replace size_t with unsigned long.Gravatar Konrad Borowski2014-01-15
| | | | size_t is not compatible type for `%lu`.
* Update style and formatting to conform to fish style guide.Gravatar ridiculousfish2014-01-15
|
* Change highlight colors from a bitmask into a combination enum / bitmaskGravatar ridiculousfish2014-01-15
| | | | so that we can support more than 16 color specifications.
* Fix for issue where 'function' would not define a function if theGravatar ridiculousfish2014-01-14
| | | | arguments came before its name. Fixes #1240
* Fix for issue in new parser where no error would be reported if the veryGravatar ridiculousfish2014-01-14
| | | | first token is an error. Fixes #1239.
* Fix for issue where unterminated quotes would attempt to be executed,Gravatar ridiculousfish2014-01-14
| | | | instead of continuing edit onto the next line.
* Correctly report errors for 'and' and 'or' in pipelines with new parserGravatar ridiculousfish2014-01-13
|
* Support for special && and || error messages in new parserGravatar ridiculousfish2014-01-13
|
* Rename highlight_shell_magic to highlight_shell_new_parserGravatar ridiculousfish2014-01-13
|
* Eliminate class parse_tGravatar ridiculousfish2014-01-12
|
* Fix for wrong syntax highlighting in the face of tokenizer errors, e.g.Gravatar ridiculousfish2014-01-03
| | | | "echo 'hi"
* Fix for cross-test interference where cancellation from one test wouldGravatar ridiculousfish2014-01-03
| | | | lead to failure in expansion test
* Support for Ctrl-C cancellation in new parser. Added tests for it too.Gravatar ridiculousfish2014-01-02
|
* Support for stack overflow and infinite recursion detection in newGravatar ridiculousfish2014-01-01
| | | | parser
* Fix for issue where last job_list in tree would have a -1 production_idxGravatar ridiculousfish2013-12-26
| | | | because we never actually sent the terminal token type
* Make the tests compile againGravatar ridiculousfish2013-12-16
|
* Finish rewriting detect_errors to use new parser. All tests now pass (!)Gravatar ridiculousfish2013-12-12
|
* Initial work towars improved error reporting. Tests currently fail.Gravatar ridiculousfish2013-12-08
|
* Remove the indentation part of parser_t::test(). Rename it toGravatar ridiculousfish2013-12-08
| | | | detect_errors().
* Better support for parse errors in indentingGravatar ridiculousfish2013-12-08
|
* Rewriting indenting functionality to use new parserGravatar ridiculousfish2013-12-08
|
* Merge branch 'master' into astGravatar ridiculousfish2013-12-07
|\ | | | | | | | | | | | | Conflicts: complete.cpp fish_tests.cpp highlight.cpp
| * Replace autosuggestions "completions to load" mechanism with moderatelyGravatar ridiculousfish2013-11-29
| | | | | | | | less hackish and far simpler "perform on main thread" mechanism
| * Implemented iothread_perform_on_main() to support background threadsGravatar ridiculousfish2013-11-27
| | | | | | | | scheduling work on main thread
| * Fix for annoying error message when converting out of range escapeGravatar ridiculousfish2013-11-26
| | | | | | | | https://github.com/fish-shell/fish-shell/issues/1107
* | Update some testsGravatar ridiculousfish2013-11-26
| |
| * Fix %lu for size_t in fish_tests.cppGravatar Konrad Borowski2013-11-25
| |
* | Correctly detect unbalanced 'end' in syntax highlightingGravatar ridiculousfish2013-11-25
| |
* | Merge branch 'master' into astGravatar ridiculousfish2013-11-24
|\| | | | | | | | | | | Conflicts: complete.cpp fish_tests.cpp