| Commit message (Collapse) | Author | Age |
|
|
|
| |
inefficient generic std::swap for some derived types.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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!
|
| |
|
|
|
|
|
| |
env_universal_common.cpp. These use the new utf8 functions exposed in
utf8.h. This will allow us to drop the iconv dependency.
|
| |
|
|
|
|
|
| |
Vatchenko (http://www.bsdua.org/libbsdua.html) in preparation for
eliminating our dependency on iconv
|
|
|
|
| |
Partially reverts 51de269 . Fixes #1225
|
|
|
|
|
|
| |
See Gentoo bug 459768 (https://bugs.gentoo.org/show_bug.cgi?id=459768)
Closes #1322 (https://github.com/fish-shell/fish-shell/pull/1322).
|
|
|
|
| |
command with pager contents visible
|
| |
|
|
|
|
| |
build system
|
| |
|
| |
|
|
|
|
| |
the new parser
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
reasons
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
reporting for bad arguments (e.g. with bad variable names)
|
|
|
|
| |
new parser. This enables parsing either a job list or an argument list.
|
|
|
| |
This should fix #1323.
|
| |
|
|
|
|
|
|
|
| |
This reverts commit 74135c0600d5dcc40d396d0e7293c17b8d4bdaa7, reversing
changes made to 6d749789ce240a3e6f1447777db63fd8e7525560.
See discussion in #1317
|
| |
|
|\
| |
| | |
Fixup filenames in comments; remove dead code found with scan-build.
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
doing multiple set lookups, and cache the tokenized path to avoid
multiple memory allocations.
|
| |
|
|
|
|
|
| |
initially the user only sees the various themes, and has to activate
customization mode to change colors. Tweak the appearance as well.
|
| |
|
|
|
|
| |
and other syntactic constructs. Fixes #1309
|
|
|
|
| |
test for it too.
|
| |
|
| |
|
|
|
|
| |
input" within backtraces
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
the pager gets empty, as reported in 291
|
| |
|
|
|
|
|
|
| |
Closes #1102.
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
|
| |
|
| |
|