Aaron Gyes
f4f9ed56ee
Move PCRE2 to pcre2
2016-10-30 12:38:45 -07:00
David Adam
9f23f619c9
Makefile: pass correct version macro
...
Fixes display of version in documentation header. A shell-style variable
instead of a Makefile-style variable left it displayed as
ISH_BUILD_VERSION.
(cherry picked from commit 1e234f492c
)
2016-10-30 14:27:11 +08:00
David Adam
1e234f492c
Makefile: pass correct version macro
...
Fixes display of version in documentation header. A shell-style variable
instead of a Makefile-style variable left it displayed as
ISH_BUILD_VERSION.
2016-10-30 14:26:11 +08:00
Kurtis Rader
f0ab1331a5
lint: Use early exit/continue
2016-10-29 21:46:11 -07:00
Kurtis Rader
99b729eb4d
lint: Use early exit/continue
2016-10-29 21:20:29 -07:00
Kurtis Rader
9af0797334
lint: Use early exit/continue
2016-10-29 20:51:03 -07:00
Kurtis Rader
6bef7b7be9
lint: constant if expression
2016-10-29 19:01:19 -07:00
Kurtis Rader
b0b2182535
lint: missing default in switch statements
2016-10-29 18:27:51 -07:00
Aaron Gyes
fb979922b3
Update alias docs
2016-10-29 13:57:05 -07:00
Aaron Gyes
c4bd110fca
List alias-created functions on alias
sans args
...
The previous change I made here makes this not hard to do, but
kind of lame in implementation.
2016-10-28 22:31:58 -07:00
Kurtis Rader
b663b0e818
lint: redundant if statement
2016-10-28 19:15:05 -07:00
Kurtis Rader
41f1232cf9
disable oclint BitwiseOperatorInConditional warning
2016-10-28 17:52:56 -07:00
Kurtis Rader
4a2aed1f8e
lint: unnecessary else statement
2016-10-28 17:43:20 -07:00
Aaron Gyes
2d46969d3e
alias: identify as alias in description.
...
Like so:
~ $ alias foo=bar
~ $ functions foo
function foo --description 'alias foo=bar'
bar $argv;
end
2016-10-28 14:44:55 -07:00
Kurtis Rader
f382fa8e8a
lint: multiple unary operator
2016-10-27 21:21:54 -07:00
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
070ef6fd5b
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
(cherry picked from commit 075be74cc4
)
2016-10-26 18:28:49 +08: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
Aaron Gyes
5a8be61954
defaults completions: shorten and improve brevity
...
At 80 columns the description obscured 'find' in 'default find'.
Improve others.
(cherry picked from commit cbe2d4b5f1
)
2016-10-25 08:55:03 +08:00
Fabian Weisshaar
7fdbbe0711
add defaults (macOS) completion
...
(cherry picked from commit 7878dbc4f0
)
2016-10-25 08:55:02 +08:00
Fabian Weisshaar
8af6bb4436
add listFilesystems to diskutil completion
...
(cherry picked from commit e16f6ca2aa
)
2016-10-25 08:55:02 +08: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
31432c3535
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.
(cherry picked from commit 100a0ea549
)
2016-10-23 20:54:29 +08: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
e9543617f6
Bump version for 2.4b1
2016-10-18 22:17:06 +08:00
David Adam
9c85dce863
CHANGELOG: last minute addition
2016-10-18 22:17:05 +08:00
David Adam
bf3466d82c
Update osx/config.h
...
Regenerated with current autoconf tests for OS X El Capitan.
This avoids portability problems introduced with
8b9102d9fe
and partially reverts that
commit.
2016-10-18 22:02:56 +08: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