Fabian Homborg
7ea2dc4488
Disable vi-cursor on xterm < 282
...
Fixes #3499 .
@zanchey: This is for integration-2.4.0.
2016-10-27 10:16:57 +02:00
Fabian Homborg
56679d4776
Don't use open function if a command exists
...
Turns out this is also the case on Haiku.
It also eliminates a fork.
Closes #3487 .
2016-10-26 15:48:42 +02:00
Kurtis Rader
075be74cc4
fix regression introduced by commit 851e449
...
My earlier attempt with commit 851e449
to eliminate all the compiler
warnings about mixing signed and unsigned ints in an expression
introduced a subtle bug. This fixes that mistake.
Fixes #3488
2016-10-25 20:56:15 -07:00
Kurtis Rader
2bb52c65c2
fix bug introduced by 42458ff7
...
There was one block of code modified by commit 42458ff7
that had
convoluted, inverted, logic. In the process of collapsing nested
"if" blocks the logic was modified to avoid using "!" everywhere the
bool was tested. Unfortunately I neglected to modify two of the
conditions used to set that var to reflect the changed polarity.
2016-10-24 17:13:39 -07:00
Kurtis Rader
37d91d0c29
change name of the function
2016-10-23 15:02:14 -07:00
Kurtis Rader
8dfee7ff76
add new file to change
2016-10-23 14:56:18 -07:00
Kurtis Rader
07de13f61f
implement a fish_prompt_hostname function
...
Standardize how the host name is included in the prompts that do so.
Fixes #3480
2016-10-23 14:20:54 -07:00
Aaron Gyes
668de88e69
Supress fish_title only for Terminal.app
...
VTE terminals apparently do not use the OSC sequence to compose
title components.
2016-10-23 12:02:01 -07:00
Kurtis Rader
cdb82e45ac
lint: remove another "too few branches in switch statement"
2016-10-22 22:12:22 -07:00
Kurtis Rader
a90b521eb4
lint: remove unused function
2016-10-22 21:28:46 -07:00
Kurtis Rader
25e0a39165
fix bug introduced by lint cleanup commit 42458ff
2016-10-22 21:14:21 -07:00
Kurtis Rader
d982427216
remove unused function
...
The fish_key_reader program was the only user of the
`set_wait_on_escape_ms()` function and that use was removed with commit
0461743
. So remove it from the main fish code. This was found by `make
lint`.
2016-10-22 21:08:53 -07:00
Kurtis Rader
21521b2953
lint: too few branches in switch statement
...
Someone was way too enamored of the `switch` statement. Using it in
places where a simple `if...else if...else` was clearer and shorter.
2016-10-22 21:01:27 -07:00
Kurtis Rader
42458ff7ab
lint: "collapsible if statements" warnings
2016-10-22 19:09:40 -07:00
Aaron Gyes
a8c9019a39
Re-fix 'fix lexicon_filter verbosity'
2016-10-22 18:37:11 -07:00
Kurtis Rader
100a0ea549
Revert "Fix lexicon_filter verbosity"
...
This reverts commit dcb39af8c0
.
It breaks building the documentation because splitting the sed invocation
in the `lexicon_filter` target from the preceding `if` block means the
`WORDBL` and `WORDBR` shell vars aren't available.
2016-10-22 18:23:03 -07:00
Aaron Gyes
cbe2d4b5f1
defaults completions: shorten and improve brevity
...
At 80 columns the description obscured 'find' in 'default find'.
Improve others.
2016-10-22 12:37:00 -07:00
Fabian Weisshaar
7878dbc4f0
add defaults (macOS) completion
2016-10-22 20:13:18 +02:00
Fabian Weisshaar
e16f6ca2aa
add listFilesystems to diskutil completion
2016-10-22 20:13:18 +02:00
Aaron Gyes
c7e26e494e
Fix Terminal.app title
...
Defining fish_title here is too late because there will already be a
title set. Work around issue by clearing it at same time.
2016-10-22 10:47:46 -07:00
Kurtis Rader
6e6b294a3f
lint: deal with "double negative" warnings
2016-10-20 21:14:40 -07:00
Kurtis Rader
00303ed07f
lint cleanup: parameter reassignment
2016-10-20 18:53:31 -07:00
Kurtis Rader
345950ac1b
workaround broken groff man page config
...
Fixes #2673
2016-10-19 13:43:04 -07:00
David Adam
3eb7a8fa09
CHANGELOG: some grammar changes
2016-10-18 21:57:07 +08:00
Aaron Gyes
dcb39af8c0
Fix lexicon_filter verbosity
...
the `mv $@.tmp $@; test -x $@ || chmod a+x $@;` bit was printing out.
2016-10-17 18:48:47 -07:00
Kurtis Rader
8a2d6a9752
fix/unify tests for chars in fish reserved ranges
2016-10-17 18:46:53 -07:00
Aaron Gyes
cc31cda835
Update CHANGELOG.md
...
Tweak verbiage re: colors
2016-10-17 18:36:34 -07:00
Aaron Gyes
b560daac21
suspend.fish: print help on -h, --help
2016-10-17 15:31:27 -07:00
Aaron Gyes
8a7b30d3f0
Fix null pointer deref in job_reap()
...
Coverity believes in this one in job_reap().
Proactively apply same check to format_job_info().
2016-10-17 14:38:52 -07:00
Hunsu
d474368ea5
Add HTTPS and HSTS options to wget completions ( #3470 )
2016-10-17 08:31:35 -07:00
Kurtis Rader
7e962d6f22
update changelog with latest history changes
2016-10-17 08:25:50 -07:00
Kurtis Rader
a26f68d63f
handle multiline commands in history search output
...
Fixes #31
2016-10-16 21:33:12 -07:00
Kurtis Rader
bff6a6e66a
eliminate compile warnings and augment changelog
...
Update the CHANGELOG to more accurately reflect what will be included in
the 2.4.0 release vis-a-vis the `history` command behavior.
I noticed that the compiler was emitting some harmless warnings related
to the history changes so deal with those as well.
2016-10-16 21:15:40 -07:00
Kurtis Rader
f490b56378
make history searching case insensitive by default
...
Fixes #3236
2016-10-16 20:18:16 -07:00
Kurtis Rader
dc6b538f56
improve set PATH
warning message
...
This modifies the code path for `set PATH` and `set CDPATH` to emit an
easier to understand warning when an entry in those vars is invalid. For
example
$ set PATH $PATH /tmp/arglebargle
set: Warning: $PATH entry "/tmp/arglebargle": No such file or directory
$ mkdir /tmp/d
$ chmod 0 /tmp/d
$ set PATH $PATH /tmp/d
set: Warning: $PATH entry "/tmp/d": Permission denied
$ touch /tmp/x
$ set PATH $PATH /tmp/x
set: Warning: $PATH entry "/tmp/x": Not a directory
Fixes #3450
2016-10-16 19:58:57 -07:00
Kurtis Rader
4f397e86d7
fix use after free bug
...
Fixes #3466
2016-10-16 12:51:31 -07:00
Aaron Gyes
d5ca88d42d
Update CHANGELOG.md
...
Make it clear we now force UTF-8
2016-10-16 07:17:25 -07:00
David Adam
f48fec31d6
Travis: move ASan back to Linux for full features
...
Address Sanitiser on OS X does not support leak detection.
2016-10-16 21:06:52 +08:00
David Adam
0f65d9306b
Travis: install 32-bit development libraries
...
A 32-bit architecture will need 32-bit libraries.
2016-10-16 21:06:25 +08:00
David Adam
bb47dfcabc
Travis: remove some incorrect syntax
...
Introduced in 7b17d20099
2016-10-16 19:16:26 +08:00
David Adam
170a5ea31c
Travis: add a 32-bit build
...
This will help prevent build failures on 32-bit platforms; for example,
14efcb7cc5
worked on 64-bit platforms but not on 32-bit platforms.
2016-10-16 18:57:04 +08:00
David Adam
4f95c4b8ac
CHANGELOG: update to current git master
2016-10-16 18:44:34 +08:00
Olivier Perret
36352c0370
Add completions for connmanctl ( #3419 )
...
* Add completions for connmanctl
* Move connmanctl functions to completion file
* Add description for services completion in connmanctl
* Fix connmanctl services completion regex
* Also fix connmanctl vpnconnections regex
2016-10-16 11:02:12 +02:00
Aaron Gyes
6d322dff73
Update osx/config.h
...
Needs update or the undefined symbol should cause the fallback
Android behavior on xcode builds inadvertently.
2016-10-15 17:29:20 -07:00
Fredrik Fornwall
fe8727fb71
Fix building on Android by avoiding getpwent() ( #3441 )
...
* Fix building on Android by avoiding getpwent() if missing with autoconf check
The getpwent() function does not link when building for Android,
and user names on that platform are not interesting anyway.
2016-10-15 17:20:53 -07:00
Fabian Homborg
44baf0f9bd
docs: Correct history path.
...
Fixes #3462 .
2016-10-15 19:50:23 +02:00
Fabian Homborg
4acfdcb0a0
Remove CDPATH default from docs
...
This was overlooked in 0e4f2cca01
.
2016-10-15 19:40:17 +02:00
Anmol Sethi
e8ed45ecd3
docs: fixed incorrect phrasing in Variable expansion section
2016-10-14 19:03:33 -07:00
Anmol Sethi
3c0de01c07
docs: set should have -x for PATH in config.fish
2016-10-13 20:06:54 -07:00
Kurtis Rader
1d418365b5
fix misplaced backtick
2016-10-12 18:04:20 -07:00