Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fixed various Undefined Behavior occurrences. | Daniel J. Hofmann | 2014-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 error | ridiculousfish | 2014-03-04 |
| | | | | reporting for bad arguments (e.g. with bad variable names) | ||
* | Revert "Merge pull request #1317 from pullreq/cpp" | ridiculousfish | 2014-02-28 |
| | | | | | | | This reverts commit 74135c0600d5dcc40d396d0e7293c17b8d4bdaa7, reversing changes made to 6d749789ce240a3e6f1447777db63fd8e7525560. See discussion in #1317 | ||
* | Fixes .c -> .cpp in comments. For doxygen. | Geoff Nixon | 2014-02-27 |
| | |||
* | Reimplement exec parsing. Instead of special-casing exec as a command, | ridiculousfish | 2014-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 | ||
* | Highlight the entire variable name, not just the dollar sign. Fixes #1201 | ridiculousfish | 2014-02-03 |
| | |||
* | Update style and formatting to conform to fish style guide. | ridiculousfish | 2014-01-15 |
| | |||
* | Fix for issue where unterminated quotes would attempt to be executed, | ridiculousfish | 2014-01-14 |
| | | | | instead of continuing edit onto the next line. | ||
* | Correctly report errors for 'and' and 'or' in pipelines with new parser | ridiculousfish | 2014-01-13 |
| | |||
* | Improve the 'This command can not be used in a pipeline' message to | ridiculousfish | 2014-01-13 |
| | | | | actually name the command | ||
* | Eliminate class parse_t | ridiculousfish | 2014-01-12 |
| | |||
* | Hook up for statements, if statements, and function definition in new | ridiculousfish | 2013-12-27 |
| | | | | parser | ||
* | Clean up some error messages. Don't show the line in the error message | ridiculousfish | 2013-12-16 |
| | | | | if it's the first line and we're interactive, since then it's obvious | ||
* | Initial work on backtrace support with new parser | ridiculousfish | 2013-12-15 |
| | |||
* | Better support for parse errors in indenting | ridiculousfish | 2013-12-08 |
| | |||
* | Rewriting indenting functionality to use new parser | ridiculousfish | 2013-12-08 |
| | |||
* | Merge branch 'master' into ast | ridiculousfish | 2013-10-27 |
|\ | | | | | | | | | Conflicts: complete.cpp | ||
| * | Fix formatting | ridiculousfish | 2013-10-26 |
| | | |||
* | | Merge branch 'master' into ast | ridiculousfish | 2013-10-16 |
|\| | | | | | | | | | Conflicts: parse_util.cpp | ||
| * | Fix for buffer overflows identified by libgmalloc | ridiculousfish | 2013-10-16 |
| | | |||
* | | Syntax highlighting for command substitutions | ridiculousfish | 2013-10-08 |
| | | |||
* | | Merge branch 'master' into ast_no_templates | ridiculousfish | 2013-10-06 |
|\| | | | | | | | | | | | Conflicts: configure.ac exec.cpp | ||
| * | Make tok_last_type return an enum token_type instead of int | ridiculousfish | 2013-09-30 |
| | | |||
| * | Fix for parse_util_token_extent doing the wrong thing inside a command | ridiculousfish | 2013-09-21 |
| | | | | | | | | substitution. Fixes https://github.com/fish-shell/fish-shell/issues/833 | ||
* | | Improvements to new parser. All functions and completions now parse. | ridiculousfish | 2013-07-22 |
|/ | |||
* | Next stab at abbreviations. Highlighting should work. | ridiculousfish | 2013-07-19 |
| | |||
* | Make parse_util_locate_cmdsubst return the innermost command substitution ↵ | ridiculousfish | 2013-07-17 |
| | | | | | | instead of the outermost. Fixes https://github.com/fish-shell/fish-shell/issues/913 | ||
* | More cleanup based on static analysis | ridiculousfish | 2013-02-16 |
| | | | | https://github.com/fish-shell/fish-shell/issues/575 | ||
* | Remove tok_destroy | ridiculousfish | 2012-11-21 |
| | |||
* | Work towards refactoring tokenizer to be a real object | ridiculousfish | 2012-11-21 |
| | |||
* | 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 |
| | |||
* | Additional warnings cleanup, effective C++ violations, dead code removal | ridiculousfish | 2012-08-05 |
| | |||
* | Fix for inability to go backwards through history | ridiculousfish | 2012-08-04 |
| | |||
* | Cleaned up lots of typecasts, simplified some string handling | ridiculousfish | 2012-08-04 |
| | |||
* | Additional warning fixes and migration from int to size_t or long where ↵ | ridiculousfish | 2012-08-04 |
| | | | | appropriate | ||
* | Lots of work towards making fish build without warnings on Mountain Lion, ↵ | ridiculousfish | 2012-08-04 |
| | | | | mostly in terms of using size_t instead of int | ||
* | Warning cleanup | ridiculousfish | 2012-08-04 |
| | |||
* | Untangle unescaping responsibilities in highlight.cpp. Fix cd ↵ | ridiculousfish | 2012-07-06 |
| | | | | | | autosuggestions to properly handle quotes. Factor out some of the quote unescaping behavior from reader.cpp to parse_util.cpp. Add some autosuggestion tests | ||
* | Return the previous logic for '\\'. | maxfl | 2012-07-05 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The following expression now works: ```sh switch '\\' case '\\' echo 1 end ``` Due to ambiguity, the following expression also works: ```sh switch '\a' case '\\a' echo 1 end ``` By the way, the following expression now doesn't work, which was not the case before, because of wrong escaping: ```sh switch 'nn' case '\n' echo 1 end ``` | ||
* | Fixed case behaviour | maxfl | 2012-07-05 |
| | | | | | | | | | | | | | | | | | | | | | * case no properly handles -h and --help flags, i.e. treats it as pattern * fixed case escaping: The following expressions now work correctly: switch '*' echo '*' echo Match any string end switch '*' echo '\*' echo Match asterix end switch '\\' echo '\\\\' echo Match slash end The same for '?' sign | ||
* | Fix for crash while editing multiple lines requested in issue #143 | Siteshwar Vashisht | 2012-06-21 |
| | |||
* | Fix lots of bugs related to the static analyzer | ridiculousfish | 2012-03-26 |
| | | | | Improved how screen.cpp interacts with output_set_writer() | ||
* | Removed a lot of string_buffer_t | ridiculousfish | 2012-02-22 |
| | |||
* | Fix a crash when using quotes due to wgettext thread safety issues. | ridiculousfish | 2012-02-17 |
| | |||
* | Final removal of halloc. It's like Christmas Morning. | ridiculousfish | 2012-02-09 |
| | |||
* | Const correctness changes | ridiculousfish | 2012-02-06 |
| | |||
* | A bunch of work to move towards a sane memory model in job_t | ridiculousfish | 2012-01-29 |
| | |||
* | Move autoload class into autoload.h and cpp | ridiculousfish | 2012-01-25 |
| |