ridiculousfish
858b6aa257
Correct some mistakes in the fish grammar comment
2014-02-27 20:34:42 -08:00
Konrad Borowski
74135c0600
Merge pull request #1317 from pullreq/cpp
...
Fixup filenames in comments; remove dead code found with scan-build.
2014-02-27 17:18:18 +01:00
Geoff Nixon
18dd6f58e3
Fixes .c -> .cpp in comments. For doxygen.
2014-02-27 06:23:40 -08:00
Geoff Nixon
ddcd2b0810
Dead stores
2014-02-27 06:23:40 -08:00
Konrad Borowski
6d749789ce
Use 127.0.0.1 for fish config.
...
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.
2014-02-27 14:47:08 +01:00
ridiculousfish
3224062b32
Optimize some fast paths in autoload loading. Use an iterator to avoid
...
doing multiple set lookups, and cache the tokenized path to avoid
multiple memory allocations.
2014-02-24 13:06:54 -08:00
ridiculousfish
688ea28bed
Optimize the tokenize_variable_array hot spot to do less string copying
2014-02-24 09:54:30 -08:00
ridiculousfish
5e7c01c251
Rework color editing in fish_config. Bury customization mode a bit:
...
initially the user only sees the various themes, and has to activate
customization mode to change colors. Tweak the appearance as well.
2014-02-24 01:56:02 -08:00
ridiculousfish
de2eea05b4
Turn on the new pager by default, as described in #291
2014-02-22 22:24:23 -08:00
ridiculousfish
1de819e3de
Fix for busted tab completions in for loop arguments, switch statements,
...
and other syntactic constructs. Fixes #1309
2014-02-21 19:55:55 -08:00
ridiculousfish
bc43409624
Expand the variable name as an ordinary parameter in for loops. Added
...
test for it too.
2014-02-21 18:20:51 -08:00
ridiculousfish
a57077aba3
Correctly color "end" command, and variable name in for loop.
2014-02-21 18:01:40 -08:00
ridiculousfish
8eaabacf44
Allow double-tapping tab to fully disclose pager, per #291
2014-02-20 13:30:26 -08:00
ridiculousfish
adf5b036d6
Fix to stop reporting config.fish execution as coming from "standard
...
input" within backtraces
2014-02-20 10:57:13 -08:00
ridiculousfish
3ab954644f
Make fish install a command_not_found handler in non-interactive uses.
...
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.
2014-02-20 10:26:57 -08:00
ridiculousfish
64953e26fc
Clean up Xcode project and remove unnecessary ARCHS settings
2014-02-17 15:02:13 -08:00
ridiculousfish
2e1024d275
Tweak error reporting in new parser to use fewer lines
2014-02-17 14:52:08 -08:00
ridiculousfish
2253c57628
Remove the reader_selected_completion_changed callback. Fix a hang when
...
the pager gets empty, as reported in 291
2014-02-16 19:59:00 -08:00
ridiculousfish
9c7d1dbb6f
Make the pager search field allow searching on the prefix
2014-02-16 19:59:00 -08:00
Mandeep Sandhu
ef9f2ab31f
Add completions for git stash sub-commands
...
Closes #1102 .
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
2014-02-16 21:58:21 +08:00
Eric Mrak
64ca6c066c
Caching for pacman packages.
2014-02-16 18:09:55 +08:00
Eric Mrak
d1cf5ab286
adding completion for aura. adding pacman integration for __fish_print_packages
2014-02-16 18:09:55 +08:00
waterhouse
b1545c5ce2
'seq' should return 1, not exit 1, on bad arglist
2014-02-16 01:17:12 -08:00
ridiculousfish
de8bae3f0f
Ignore SIGPIPE in fishd. Fixes #1084
2014-02-14 16:38:44 -08:00
ridiculousfish
1fbf633817
Reimplement exec parsing. Instead of special-casing exec as a command,
...
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
2014-02-13 10:10:49 -08:00
ridiculousfish
f733dc5eae
Fix the build by including <algorithm> header
2014-02-12 21:08:22 -08:00
ridiculousfish
503bbd85b5
Test and fix issue where, if binding X is a prefix of binding Y, and X
...
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 .
2014-02-12 12:52:31 -08:00
ridiculousfish
29ddb68da4
Tests and fix to allow return to work correctly within if statements. Closes #1297 .
2014-02-12 01:39:06 -08:00
David Adam
dd49399e45
.travis.yml: reduce verbosity of IRC notifications
2014-02-11 09:47:29 +08:00
David Adam
3678f134d9
document Alt-F as well for accepting part of autosuggestion
...
Closes #1290 .
2014-02-10 17:28:47 +08:00
ridiculousfish
bbd784a2e8
Clean up old syntax highlighting code now that the new parser seems to work
2014-02-09 21:21:59 -08:00
ridiculousfish
77dbaf3aef
Fix for Python out-of-range exception when accessing Bindings tab
2014-02-09 20:19:04 -08:00
ridiculousfish
9b9ee338c1
Fix for miscoloring quote following variable name
2014-02-09 15:33:34 -08:00
ridiculousfish
5ea7f52df2
Don't complete variables when single quoted. Fixes #1023
2014-02-09 15:27:04 -08:00
ridiculousfish
414530c9c2
Partially rework profiling. Fix profiling crash with new parser. Fixes
...
1295
2014-02-09 14:04:43 -08:00
ridiculousfish
e632d39b1f
Make if statements always return success at the end, matching other
...
shells. Fixes #1061 .
2014-02-07 17:57:53 -08:00
David Adam
09054a09fa
README.md: document build and runtime dependencies better.
2014-02-06 17:51:18 +08:00
David Adam
01ec55366d
README.md: update build status image
...
(oops!)
2014-02-06 17:09:31 +08:00
ridiculousfish
e2388344b2
Use type int instead of type short
2014-02-05 19:28:27 -08:00
ridiculousfish
fd10844c2b
Unbreak C++11 due to narrowing; use non-conflicting declaration FISH_COLORS instead of COLORS; remove deprecated register type.
2014-02-05 19:23:13 -08:00
ridiculousfish
35f2302352
Pass --always to git describe to ensure we always get a version
...
number. Hopefully fixes travis-ci. See #1287
2014-02-05 16:20:09 -08:00
David Adam
e908b731ab
.travis.yml: add https://travis-ci.org/ automatic builds
2014-02-05 11:25:59 -08:00
glennj
b475325b5e
math.fish: exit if no output (e.g. from syntax error)
...
Closes #1175
2014-02-05 17:26:34 +08:00
ridiculousfish
7e769252e7
Make builtin_complete output escaped completions. Fixes #1127
2014-02-04 11:55:56 -08:00
ridiculousfish
699d78bcfe
Make the test harness output file diffs on failure
2014-02-04 11:28:29 -08:00
ridiculousfish
7d345018af
Redirect stderr of initial call to __fish_reload_key_bindings. Fixes ##1155
2014-02-03 16:46:01 -08:00
ridiculousfish
bac3b39227
Highlight the entire variable name, not just the dollar sign. Fixes #1201
2014-02-03 14:16:00 -08:00
David Adam
c168e6f870
Documented Alt-Right to accept a single word of an autosuggestion
...
See https://github.com/fish-shell/fish-shell/issues/1262
2014-02-02 21:45:03 +08:00
David Adam
27b6fe682d
Squashed commit of the following:
...
commit d81ae2665f
Author: Max Gonzih <gonzih@gmail.com>
Date: Sun Feb 2 16:22:18 2014 +0300
Check for command-not-found command on suse
commit 004b794c82
Author: Max Gonzih <gonzih@gmail.com>
Date: Sun Feb 2 14:04:41 2014 +0300
Fix cnf handler for Suse and Fedora
fixes #1208
2014-02-02 21:42:24 +08:00
Siteshwar Vashisht
a1b43b7a09
Fix for opening bindings tab as initial tab
...
'fish_config bindings' command should open bindings tab as initially active tab
2014-01-30 23:53:49 +05:30