aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* history: Add option to show timestampsHEADmasterGravatar Benjamin Barenblat2016-06-27
| | | | Closes #677.
* don't allow f-k-r to run if stdin/stdout not a ttyGravatar Kurtis Rader2016-06-26
| | | | | | | | Another developer noticed that redirecting stdin of `fish_key_reader` results in weird behavior. Which is not at all surprising. So add checks to ensure stdin and stdout are attached to a tty. Add some rudimentary unit tests for this program.
* fix fish_key_reader.cpp so it builds on linuxGravatar Kurtis Rader2016-06-26
|
* add more ways to exit fish_key_readerGravatar Kurtis Rader2016-06-26
| | | | | | | | | | A discussion on Gitter proposed allowing the user to signal their desire to exit fish_key_reader by pressing \cC or \cD twice in a row. This implements that. I also decided to refactor how signals are handled. Most notably receiving a signal will no longer print a diagnostic message unless you've enabled debugging with `-d2` (or higher level).
* Reword variable expansion docsGravatar Fabian Homborg2016-06-26
|
* Document fish_mode_promptGravatar Fabian Homborg2016-06-26
|
* Rewrite error messages for incorrect TERMGravatar David Adam2016-06-26
|
* update osx/config.h to match current configure outputGravatar David Adam2016-06-26
|
* fix setting the fish_key_reader localeGravatar Kurtis Rader2016-06-25
| | | | | | | | | | In addition to fixing the setting of the locale to C/POSIX this also corrects several problems introduced by the commits made in the past couple of days. As a consequence of dealing with all of this I decided to refactor the code to simplify one of the overly long functions I introduced in my previous change. Fixes #3168
* Remove oopsies while pasting.Gravatar Aaron Gyes2016-06-25
| | | | | (also, last commit log had a typo. "3.4.0-Microsoft" is the string we should check for. Actual string in my code was correct.)
* Check for "Windows-3.4.0" as per MS's suggestion.Gravatar Aaron Gyes2016-06-25
| | | | | | | https://github.com/Microsoft/BashOnWindows/issues/545 Just looking for "Mirosoft" is rather general - we don't want to enforce this strange behavior for Windows 12 (or the next beta.)
* croak if gettimeofday() failsGravatar Kurtis Rader2016-06-24
| | | | | | | | | | There is no conceivable way in which timef()'s invocation of gettimeofday() can fail where it makes sense to continue running. Yes, one such, legitimate, failure mode is a 32-bit kernel and the date is greater than 2038-01-19 03:14:07. If you're running a fish binary on such a system it's time to upgrade. Otherwise, either the hardware or OS is broken. Fixes #3167.
* Style fixes.Gravatar Aaron Gyes2016-06-23
|
* history --merge to properly interleave itemsGravatar ridiculousfish2016-06-23
| | | | Fixes #2312
* fish_key_reader: ms were off by factor of ten.Gravatar Aaron Gyes2016-06-23
| | | | Improve output.
* std::isnan()Gravatar Aaron Gyes2016-06-23
|
* proc_init() doesn't need to be called.Gravatar Aaron Gyes2016-06-23
| | | | I don't know why I added that, that's how "bogosities" are born.
* Remove inadvertent change in fish_tests.cppGravatar Aaron Gyes2016-06-23
|
* Make IWYU output in lint.cpp less messyGravatar Aaron Gyes2016-06-23
| | | | And re-run IWYU, adjust #includes.
* Fix typoGravatar bgeron-g2016-06-23
|
* Fix up key_readerGravatar Aaron Gyes2016-06-23
| | | | | | | | | | * Correct notice about ^C * Move time deltas to end of the line away from the important info on left. * Use timef() instead of gettimteofday() ourselves * Show time in ms (is this even useful in any unit? Maybe testing escape delays...) * Make init more similar to other apps.
* Fix crash with empty $TERMGravatar Aaron Gyes2016-06-21
| | | | | | | | ``` ~ $ set -e TERM; fish Assertion failed: (!is_missing), function c_str, file src/env.cpp, line 690. fish: 'fish' terminated by signal SIGABRT (Abort) ```
* npm completions: Check command npm existenceGravatar Fabian Homborg2016-06-21
| | | | Really fixes #3158 and #3152.
* Document clipboard bindings.Gravatar Fabian Homborg2016-06-21
|
* Bind clipboard-copy to \cx, restore yank bindingGravatar Fabian Homborg2016-06-21
| | | | Fixes #3160.
* systemctl completions: Add reset-failed completionGravatar Fabian Homborg2016-06-21
| | | | Fixes #3153.
* npm completions: Call command npmGravatar Fabian Homborg2016-06-21
| | | | | | npm is often wrapped by a function. Fixes #3158.
* Merge branch 'master' of https://github.com/fish-shell/fish-shellGravatar Aaron Gyes2016-06-18
|\
* | Remove SHLVL check.Gravatar Aaron Gyes2016-06-18
| | | | | | | | Fixes #3154.
| * deal with broken ttys on MS WindowsGravatar Kurtis Rader2016-06-18
|/ | | | | | | | The tty device timestamps on MS Windows aren't usable because they're always the current time. So fish can't use them to decide if the entire prompt needs to be repainted. Fixes #2859
* Lossless recompress of images with pngcrush+zopfliGravatar Aaron Gyes2016-06-18
| | | | And tweak RTF.
* 'jobs.status' change missing from last commit.Gravatar Aaron Gyes2016-06-18
|
* bg had also had wrong exit code for some errorsGravatar Aaron Gyes2016-06-18
| | | | | Stop printing usage information when error isn't a usage problem. Add simple test for bg and fg
* fg: fix exit code (was 1 if success else 0)Gravatar Aaron Gyes2016-06-18
| | | | returning a C boolean for builtin_fg success was backwards
* implement custom cppcheck rulesGravatar Kurtis Rader2016-06-17
| | | | | | I recently noticed there were several invocations of `wcwidth()` that should have been `fish_wcwidth()`. This adds custom cppcheck rules to detect that mistake.
* Decrease minimum SHLVL for suspend without --forceGravatar Aaron Gyes2016-06-15
| | | | There is some discussion on #2269
* remove unset vars from the environmentGravatar Kurtis Rader2016-06-15
| | | | | | | Remove vars from the environment that are no longer set. Simplify the code by removing an unnecessary loop. Add some tests. Fixes #3124
* `string escape` some eval callsGravatar Aaron Gyes2016-06-15
|
* Refine reading ssh_config (#3146)Gravatar Boris Aranovich2016-06-15
| | | | | | | | | | | | https://www.freebsd.org/cgi/man.cgi?query=ssh_config&sektion=5 1. It is possible to add multiple whitespace characters between the keyword (i.e. Host) and the argument(s). 2. It is allowed to have a single = and whitespace between the keyword and the argument(s). 3. It is possible to add multiple host names under a single Host directive by spacing the names apart. 1. and 3. are actual conventions that we use in our team, and I couldn't get auto-complete working for fish without this modification. Modification explained: a. The space between Host(?:name)? and the \w.* was replaced by (?:\s+|\s*=\s*) to match any sequence of whitespace characters, or optional whitespaces with a single =, per spec. b. Result of first replacement is piped through another string replace to switch duplicate whitespace characters to a single space, and then piped to be split by that space. This allows specifying several aliases or host names in a single Host/Hostname definition, also per spec.
* trivial locale cleanupsGravatar Kurtis Rader2016-06-14
| | | | | Clarify the purpose of the `N_()` macro. Remove inconsistent capitalization of two strings in the parser module.
* Lint CleanupGravatar Aaron Gyes2016-06-14
| | | | | | | This remove some stores that clang assures me are very dead. And an assert() for an unlikely NULL pointer dereference I can't quite figure out.
* use fish_wcwidth rather than wcwidthGravatar Kurtis Rader2016-06-14
| | | | Minor cleanup related to issue #2199.
* Travis: clang 3.5.0 on LinuxGravatar Aaron Gyes2016-06-14
| | | | | | | | https://docs.travis-ci.com/user/trusty-ci-environment all trusty images have sudo, and actually it is required to use this new Travis environment per docs. This makes it actually do it. Clang is 3.5 now.
* Travis: restore clang with trusty & included clangGravatar Aaron Gyes2016-06-14
| | | | | | | | | Upgraded to using Tavis trusty dist (from precise) Ubuntu's clang is only 3.4 though. For fancy address, thread-sanitizer stuff, easier to do on OS X. We can use the clang that comes with xcode 8 beta.
* Quote `eval ... webconfig.py` in fish_config.fishGravatar Aaron Gyes2016-06-14
| | | | | | This was causing issues launching fish_config on OS X if fish.app is renamed to contain a space (noted, but likely not the actual problem, in issue #3140)
* Completion for string match --invertGravatar Aaron Gyes2016-06-13
| | | | Also adds descriptions for some other options which were absent.
* remove obsolete install targets in MakefileGravatar David Adam2016-06-14
| | | | | | | | | | | check-uninstall detects incompatible old installations of fish pre-2006; it seems unlikely that there are still from-source installations that will be incompatible in only this way. install-sh works around a limitation in darcs, the previous VCS, and is no longer required. install-force should be refactored at some point.
* make style targets in Makefile phonyGravatar David Adam2016-06-14
|
* Restyle touched .cpp filesGravatar Aaron Gyes2016-06-12
|
* Improve fish_indent -w error outputGravatar Aaron Gyes2016-06-12
| | | | Show small usage blurb, add newline to end.