aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* 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.
* Hand-build 256, 24-bit color esc strings same wayGravatar Aaron Gyes2016-06-12
| | | | | ... using snprintf() for the 256-color function in same manner as the 24-bit function.
* Improve comments, update DoxyfileGravatar Aaron Gyes2016-06-12
| | | | Some changes were cribbed from #1317
* Fix env_universal_common.cpp filesize comparisons.Gravatar Aaron Gyes2016-06-12
| | | | | | | | * if (result == ULLONG_MAX) is always false, likely a typo as result is unsigned long, and the comment says ULONG_MAX. * use off_t instead of size_t for file size where it can mismatch st_size's type in stat.h
* Don't allow specifying an fd with a caret redirectionGravatar ridiculousfish2016-06-12
| | | | | | | | For example, an argument 12345^ is a real argument, not a redirection There's no reason to use ^ here instead of >, and it's annoying to git users. Fixes #1873
* Error on -w without a path before reading stdinGravatar Aaron Gyes2016-06-12
| | | | | Oops, `fish_indent -w` just sits there waiting for input if nothing is pointing at it, only to give user the error afterwards.
* Update CONTRIBUTING.mdGravatar Aaron Gyes2016-06-11
| | | Mention Coverity
* Don't cppcheck the pcre sourcesGravatar ridiculousfish2016-06-11
|
* Avoid using chmod --reference in style.fishGravatar ridiculousfish2016-06-11
| | | | | | chmod --reference is not available on OS X Instead, we copy the source file into the temporary path, so that mode bits are preserved
* Merge pull request #3123 from moverest/completionGravatar Fabian Homborg2016-06-10
|\ | | | | Extend autocompletion support
* | Fix crash when fish_indent is using stdin with -wGravatar Aaron Gyes2016-06-10
| | | | | | | | | | | | | | | | | | | | | | When given no path, the logic was happy to try to use an unitialized output_location. $ fish_indent -w < test.fish Opening "(null)" failed: Bad address Initialize the string, and repair the logic to catch this case and report the problem correctly.
* | Allow compressed man pages in `help`Gravatar Fabian Homborg2016-06-10
| | | | | | | | | | | | | | | | It seems Fedora compresses our whopping 340k of man pages. Fixes #3130. Inspired by @TieDyedDevil's work there.