aboutsummaryrefslogtreecommitdiffhomepage
path: root/tokenizer.cpp
Commit message (Collapse)AuthorAge
* Add 'bigword' vi key bindingsGravatar Michael Steed2015-06-04
| | | | | | | | | | - Add four new functions: forward-bigword, backward-bigword, kill-bigword, backward-kill-bigword - Add new enum move_word_style_whitespace and related state machine method - Change vi key bindings to operate on bigwords: B, gE, W, E, dW, diW, daW, dE, dB, dgE, cW, ciW, caW, cE, cB, cgE, yW, yiW, yaW, yE, yB, ygE
* Ignore comments for backslash newlineGravatar Sanne Wouda2015-04-05
| | | | | | | | | | | | | | | | | Works also if tok->show_comments (for highlighting and auto completion) and with multi-line comments: function my_function echo "hello" | \ #remove 'l' #and more tr -d 'l' end $ my_function heo Fixes #983
* Clean up the last token when receiving TOK_ENDGravatar ridiculousfish2014-12-23
|
* Fix for issue where fish_indent would lose blank linesGravatar ridiculousfish2014-11-25
|
* Hack the tokenizer to compress multiple adjacent newlines into oneGravatar ridiculousfish2014-11-24
| | | | | This slightly reduces the size of parse trees, and is otherwise a minor optimization
* Allow # within string tokensGravatar ridiculousfish2014-11-01
| | | | | | | This means that # must be the first character of the string to start a comment, in line with other shells Fixes #953
* Remove a bunch of dead code identified by cppcheckGravatar ridiculousfish2014-10-31
|
* Set of fixes for issues identified by cppcheckGravatar ridiculousfish2014-10-30
|
* Update style and formatting to conform to fish style guide.Gravatar ridiculousfish2014-01-15
|
* Fix issues related to redirections and block level IO with new parserGravatar ridiculousfish2013-12-28
|
* Very early work in adopting new parser for actual execution of commands.Gravatar ridiculousfish2013-12-23
| | | | Not turned on yet.
* Initial work towars improved error reporting. Tests currently fail.Gravatar ridiculousfish2013-12-08
|
* Fix for off-by-one error in tokenizer error message reportingGravatar ridiculousfish2013-12-08
|
* Merge branch 'master' into astGravatar ridiculousfish2013-10-27
|\ | | | | | | | | Conflicts: complete.cpp
| * Fix formattingGravatar ridiculousfish2013-10-26
| |
* | Syntax highlighting for file redirectionsGravatar ridiculousfish2013-10-13
| |
* | Clean up redirection parsing in the tokenizer.Gravatar ridiculousfish2013-10-13
| |
* | Merge branch 'master' into ast_no_templatesGravatar ridiculousfish2013-10-06
|\| | | | | | | | | | | Conflicts: configure.ac exec.cpp
| * Better error messages for `EDITOR=vim git...` type commands.Gravatar ridiculousfish2013-09-30
| | | | | | | | https://github.com/fish-shell/fish-shell/issues/809
| * Make tok_last_type return an enum token_type instead of intGravatar ridiculousfish2013-09-30
| |
| * Improve error messages for double square brackets -Gravatar ridiculousfish2013-09-11
| | | | | | | | https://github.com/fish-shell/fish-shell/issues/875
* | Improvements to new parser. All functions and completions now parse.Gravatar ridiculousfish2013-07-22
|/
* FormattingGravatar ridiculousfish2012-12-22
|
* Changes to work recognition per ↵Gravatar ridiculousfish2012-12-20
| | | | | | | https://github.com/fish-shell/fish-shell/issues/384 Word movement should be very similar to fish 1.x backward-kill-word remains more liberal, but now stops at any of {,'"=}
* Remove tokenizer_test target and codeTGravatar ridiculousfish2012-12-11
|
* forward-word should accept a word of an autosuggestionGravatar ridiculousfish2012-12-10
| | | | https://github.com/fish-shell/fish-shell/issues/435
* Further fixes to newline escapingGravatar ridiculousfish2012-11-23
| | | | Addresses issue described in https://github.com/fish-shell/fish-shell/issues/347#issuecomment-10650443
* Replaced some usage of wchar_t * with wcstring in complete(). Some style fixes.Gravatar ridiculousfish2012-11-23
|
* Implement new newline-escaping behavior. Backslashes at the end of lines now ↵Gravatar ridiculousfish2012-11-22
| | | | | | | essentially delete the newline, within normal text or double quotes. Backslashes are retained within single quotes. Fixes https://github.com/fish-shell/fish-shell/issues/347 Fixes https://github.com/fish-shell/fish-shell/issues/52
* Make tok_first return a wcstring instead of a wchar_t*Gravatar ridiculousfish2012-11-21
|
* Remove tok_destroyGravatar ridiculousfish2012-11-21
|
* Modify tokenizer to store last token in a wcstringGravatar ridiculousfish2012-11-21
|
* Work towards refactoring tokenizer to be a real objectGravatar ridiculousfish2012-11-21
|
* Fix for buffer overrun in tokenizer for strings that end with backslashGravatar ridiculousfish2012-11-20
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/389
* Changes to make word movement less aggressiveGravatar ridiculousfish2012-11-19
| | | | https://github.com/fish-shell/fish-shell/issues/384
* Fix indentation of switch statementsGravatar ridiculousfish2012-11-19
|
* Apply new indentation, brace, and whitespace styleGravatar ridiculousfish2012-11-18
|
* Remove trailing whitespaces and change tabs to spacesGravatar Łukasz Niemier2012-11-18
|
* Fix to restore an optimization from parse_util_get_line_from_offset in a ↵Gravatar ridiculousfish2012-08-04
| | | | more thread-safe way
* Lots of work towards making fish build without warnings on Mountain Lion, ↵Gravatar ridiculousfish2012-08-04
| | | | mostly in terms of using size_t instead of int
* Warning cleanupGravatar 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
* Fix for https://github.com/fish-shell/fish-shell/issues/168Gravatar ridiculousfish2012-07-10
| | | | Make ^ only act as a redirect at the beginning of a token
* Fix lots of bugs related to the static analyzerGravatar ridiculousfish2012-03-26
| | | | Improved how screen.cpp interacts with output_set_writer()
* Added some const correctnessGravatar ridiculousfish2012-02-24
|
* Enhanced directory detection in a way we don't actually need yetGravatar ridiculousfish2012-02-18
|
* Fix a crash when using quotes due to wgettext thread safety issues.Gravatar ridiculousfish2012-02-17
|
* Initial work towards making autosuggestion smarter by recognizing pathsGravatar ridiculousfish2012-02-15
|
* More const and signed correctness. Warnings now fit on one page!Gravatar Peter Ammon2012-01-14
|
* Some changes to migrate towards C++ and a multithreaded modelGravatar ridiculousfish2011-12-26
|