Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
0.5.10.2:
Bug fixes.
|
|
## v0.4.3
- Avoid bell when accepting suggestions with `autosuggest-accept` (#228)
- Don't fetch suggestions after [up,down]-line-or-beginning-search (#227, #241)
- We are now running CI against new 5.5.1 version
- Fix partial-accept in vi mode (#188)
- Fix suggestion disappearing on fast movement after switching to `vicmd` mode (#290)
- Fix issue rotating through kill ring with `yank-pop` (#301)
- Fix issue creating new pty for async mode when previous pty is not properly cleaned up (#249)
|
|
0.5.10.1:
jobs - Do not block when waiting on SIGCHLD
0.5.10:
eval: Variable assignments on functions are no longer persistent
parser: Fix parameter expansion inside inner double quotes
parser: Fix parsing of ${}
man: correct typos, iff -> if
expand: Do not quote backslashes in unquoted parameter expansion
shell: Add subdir-objects to AM_INIT_AUTOMAKE
eval: Restore input files in evalcommand
eval: Reap zombies after built-in commands and functions
redir: Fix typo in noclobber code
expand: Fix glibc glob(3) support
expand: Fix buffer overflow in expandmeta
builtin: Move echo space/nl handling into print_escape_str
builtin: Fix echo performance regression
expand: Fix ghost fields with unquoted $@/$*
parser: Allow newlines within parameter substitution
expand: Fix bugs with words connected to the right of $@
Revert "[BUILTIN] Remove unnecessary restoration of format string in printf"
parser: Fix backquote support in here-document EOF mark
shell: provide .gitignore
parser: Fix single-quoted patterns in here-documents
parser: Add syntax stack for recursive parsing
parser: use pgetc_eatbnl() in more places
builtin: Greater resolution in test -nt / test -ot
|
|
Changelog:
Changes from %.5 to 5.5.1
-------------------------
Apart from a fix for a configuration problem finding singal names from
(some) recent versions of glibc, there are only minor changes.
Changes from 5.4.2 to 5.5
-------------------------
The effect of the NO_INTERACTIVE_COMMENTS option extends into $(...) and
`...` command substitutions when used on the command line. Previously,
comments were always recognized within command substitutions unless the
comment character "#" was disabled via reset of $histchars.
An alternative assignment syntax for indicating indices for arrays
and keys for associative arrays:
typeset -a array=([1]=first [2]=second)
typeset -A assoc=([key1]=val1 [key2]=val2)
is allowed for compatibility with other shells. In the case of normal
arrays the new syntax can be mixed with the old.
|
|
|
|
Make a copy of the basename() result, so as to avoid a fortify
abort due to overlapping memcpy() when the result from basename()
is subsequently passed to basename().
Bump PKGREVISION.
|
|
Changelog:
Bug-Description:
With certain values for PS1, especially those that wrap onto three or more
lines, readline will miscalculate the number of invisible characters,
leading to crashes and core dumps.
|
|
and CVE-2018-7549 from the zsh repo. one pullup less, w00t. :-P
|
|
|
|
Enable scp support.
Bump PKGREVISION.
|
|
Bugfixes.
|
|
|
|
R56c is a bugfix-only release everyone must upgrade to:
- [komh] Remove redundant OS/2-specific code, clean up others
- [komh, tg] Fix drive-qualified (absolute and relative) DOS-style path support
in realpath functionality, partially other places
- [tg] Don't substitute ${ENV:-~/.mkshrc} result again
- [tg] Improve OS/2 $PATH (et al.) handling, drive-relative paths
- [tg] Add MKSH_ENVDIR compile-time option for Jehanne and Plan 9
- [tg] Limit nesting when parsing malformed code (Debian #878947)
- [tg] Update wcwidth data with bugfixed script (still Unicode 10; resulting
values are identical to glibc git master for extant chars)
- [Dr. Werner Fink] Raise some time limits in the testsuite
- [Shamar] Add support for the Jehanne operating system
- [komh] Set stdin to text mode before executing child processes on OS/2
- [komh] Pass arguments via a resonse file if executing a child fails
- [Dr. Werner Fink] Early locale tracking as a compile-time option
- [tg] Fix regressions introduced with new fast character classes
|
|
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:
pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
|
|
pkgsrc changes: add doxygen dependency for building docs.
this is unusual as doxygen is heavy, but fish is meant to
be beginner-friendly shell, so documentation is important.
remove now unneeded patch, that getcwd is called with a size
argument now.
# fish 2.7.1 (released December 23, 2017)
This release of fish fixes an issue where iTerm 2 on macOS would display a warning about paste bracketing being left on when starting a new fish session (#4521).
If you are upgrading from version 2.6.0 or before, please also review the release notes for 2.7.0 and 2.7b1 (included below).
--
# fish 2.7.0 (released November 23, 2017)
There are no major changes between 2.7b1 and 2.7.0. If you are upgrading from version 2.6.0 or before, please also review the release notes for 2.7b1 (included below).
Xcode builds and macOS packages could not be produced with 2.7b1, but this is fixed in 2.7.0.
--
# fish 2.7b1 (released October 31, 2017)
## Notable improvements
- A new `cdh` (change directory using recent history) command provides a more friendly alternative to prevd/nextd and pushd/popd (#2847).
- A new `argparse` command is available to allow fish script to parse arguments with the same behavior as builtin commands. This also includes the `fish_opt` helper command. (#4190).
- Invalid array indexes are now silently ignored (#826, #4127).
- Improvements to the debugging facility, including a prompt specific to the debugger (`fish_breakpoint_prompt`) and a `status is-breakpoint` subcommand (#1310).
- `string` supports new `lower` and `upper` subcommands, for altering the case of strings (#4080). The case changing is not locale-aware yet.
- `string escape` has a new `--style=xxx` flag where `xxx` can be `script`, `var`, or `url` (#4150), and can be reversed with `string unescape` (#3543).
- History can now be split into sessions with the `fish_history` variable, or not saved to disk at all (#102).
- Read history is now controlled by the `fish_history` variable rather than the `--mode-name` flag (#1504).
- `command` now supports an `--all` flag to report all directories with the command. `which` is no longer a runtime dependency (#2778).
- fish can run commands before starting an interactive session using the new `--init-command`/`-C` options (#4164).
- `set` has a new `--show` option to show lots of information about variables (#4265).
## Other significant changes
- The `COLUMNS` and `LINES` environment variables are now correctly set the first time `fish_prompt` is run (#4141).
- `complete`'s `--no-files` option works as intended (#112).
- `echo -h` now correctly echoes `-h` in line with other shells (#4120).
- The `export` compatibility function now returns zero on success, rather than always returning 1 (#4435).
- Stop converting empty elements in MANPATH to "." (#4158). The behavior being changed was introduced in fish 2.6.0.
- `count -h` and `count --help` now return 1 rather than produce command help output (#4189).
- An attempt to `read` which stops because too much data is available still defines the variables given as parameters (#4180).
- A regression in fish 2.4.0 which prevented `pushd +1` from working has been fixed (#4091).
- A regression in fish 2.6.0 where multiple `read` commands in non-interactive scripts were broken has been fixed (#4206).
- A regression in fish 2.6.0 involving universal variables with side-effects at startup such as `set -U fish_escape_delay_ms 10` has been fixed (#4196).
- Added completions for:
- `as` (#4130)
- `cdh` (#2847)
- `dhcpd` (#4115)
- `ezjail-admin` (#4324)
- Fabric's `fab` (#4153)
- `grub-file` (#4119)
- `grub-install` (#4119)
- `jest` (#4142)
- `kdeconnect-cli`
- `magneto` (#4043, #4108)
- `mdadm` (#4198)
- `passwd` (#4209)
- `pip` and `pipenv` (#4448)
- `s3cmd` (#4332)
- `sbt` (#4347)
- `snap` (#4215)
- Sublime Text 3's `subl` (#4277)
- Lots of improvements to completions.
- Updated Chinese and French translations.
|
|
|
|
Fish shell-like syntax highlighting for Zsh. This package provides
syntax highlighing for the shell zsh. It enables highlighing of
commands whilst they are typed at a zsh prompt into an interactive
terminal. This helps in reviewing commands before running them,
particularly in catching syntax errors.
|
|
This change makes shells/zsh build on Ubuntu Linux.
|
|
|
|
Fish-like fast/unobtrusive autosuggestions for zsh. It suggests
commands as you type, based on command history.
|
|
|
|
Pure is a pretty, minimal, and fast Zsh prompt.
|
|
|
|
zsh-completions aims at gathering/developing new completion scripts
that are not available in Zsh yet. The scripts may be contributed to
the Zsh project when stable enough.
|
|
remove conflict with non-existent package.
PR pkg/51519
|
|
|
|
|
|
unneeded file (from pcre2 configure)
bump pkgrevision
|
|
don't mess with the declaration of tparm_solaris_kludge unnecessarily.
uwe thinks the non-variadic tparm is wrong (so might be broken for
solaris curses), but I'm not sure how to correct it.
PR pkg/52649
bump PKGREVISION
|
|
force ncurses because auto-completion is broken with netbsd curses.
bump pkgrevision
|
|
pkgsrc changes:
- Use PRINT_PLIST_AWK to aid future upgrades.
- Support the "static" option on Darwin and SunOS.
Upstream changes from 5.3.1 to 5.4:
The 'exec' and 'command' precommand modifiers, and options to them, are
now parsed after parameter expansion. Previously, both the modifier and
any options to it were parsed between alias expansion and parameter
expansion (see zshexpn(1)), so they could neither be quoted nor be the
result of parameter expansion. Examples: 's=command; $s -V ls' and
'\command -V ls' now work as expected.
Functions executed by ZLE widgets no longer have their standard input
closed, but redirected from /dev/null instead. That still guards
against user defined widgets inadvertently reading from the tty device.
There is an option WARN_NESTED_VAR, a companion to the existing
WARN_CREATE_GLOBAL that causes a warning if a function updates a
variable from an enclosing scope without using typeset -g. It can be
turned on for an individual function with "functions -W".
zmodload now has an option -s to be silent on a failure to find a module
but still print other errors.
|
|
|
|
R56b is a bugfix-only release everyone should upgrade to:
- [tg] Reference the FAQ webpage
- [panpo, Riviera] Fix documentation bug wrt. Esc+Ctrl-L
- [tg, Larry Hynes] Fix '0' movement in vi mode
- [tg] Replace broken libcs' offsetof macro with MirBSD's
R56 is a bugfix release with some experimental fixes:
- [tg, Seb] Do not apply alias name restrictions to hash/tilde tracking
- [tg] Restore '.', ':' and '[' in alias names ('[[' is still forbidden)
- [tg] Fix accidentally defanged $PATHSEP test
- [tg] On ^C (INTR and QUIT edchars), shove edit line into history
- [iSKUNK, tg] Begin porting to z/OS using EBCDIC encoding, incomplete
- [tg] Redo fast character classes code, adding POSIX and other helpers
- [tg] bind parses backslash-escaped '^' (and '\') as escaped
- [tg] Building with -DMKSH_ASSUME_UTF8=0 no longer causes a known failure in
the testsuite
- [tg] New test.sh option -U to pass a UTF-8 locale to use in the tests
- [tg] re_format(7) BSD: [[ $x = *[[:\<:]]foo[[:\>:]]* ]]
- [tg, iSKUNK] Use Config in check.pl only if it exists
- [tg] New matching code for bracket expressions, full POSIX (8bit)
- [komh] Exclude FAT/HPFS/NTFS-unsafe tests on OS/2 (and Cygwin/MSYS)
- [tg] Update to Unicode 10.0.0
- [tg, selk] Make readonly idempotent
- [tg, multiplexd] When truncating the persistent history, do not change the
underlying file, do all operations on the locked one; do not stop using the
history at all if it has been truncated
- [tg, J?rg] Turn off UTF-8 mode upon turning on POSIX mode
- [Martijn Dekker, Geoff Clare, many on the Austin list, tg] In POSIX mode,
make the exec builtin force a $PATH search plus execve
- [tg] Fix GCC 7, Coverity Scan warnings
- [tg, Michal Hlavinka] Track background process PIDs even interactive
- [tg] Always expose mksh's hexdump shell function; speed it up by working on
the input in chunks; use character classes to make it EBCDIC safe
- [tg] Revamp dot.mkshrc default editor selection mechanism
|
|
SunOS>=5.10 stopped shipping static libraries, so it's not possible
to link a static tcsh binary.
|
|
The tcsh package Makefile is included directly by the static-tcsh
and standalone-tcsh Makefiles. Modify some of the variables that
really need to be package-specific to be set with ?= in
tcsh/Makefile and document the package Makefiles that directly
include it.
Set PKGREVISION directly in static-tcsh and standalone-tcsh now
that they can have independent PKGREVISION values.
Bump the PKGREVISION of static-tcsh due to the MAINTAINER now
correctly being listed as agc@ due to this change.
|
|
Notable fixes and improvements:
- Jobs running in the background can now be removed from the list
of jobs with the new disown builtin, which behaves like the same
command in other shells.
- Command substitutions now have access to the terminal, like in
other shells. This allows tools like fzf to work properly.
- In cases where the operating system does not report the size of
the terminal, the COLUMNS and LINES environment variables are
used; if they are unset, a default of 80x24 is assumed.
- New French and improved German translations.
- fish no longer depends on the which external command.
For full release notes see:
http://www.fishshell.com/release_notes.html
|
|
Modify the Makefile patch to install manpages under
"${PREFIX}/${PKGMANDIR}" instead of "${PREFIX}/man".
|
|
|
|
2002-07-25
Bug: fix globbing of broken symlinks.
2002-07-31
Bug: readline doesn't handle EIO either.
2002-08-15
Bug: variables that are sometimes exported (i.e. $prompt and
$version) need to be made exportable if they are inherited from the
environment.
Portability: don't call sigaction() for SIGKILL or SIGSTOP; don't
hand a garbage signal mask to sigaction() (thanks Jeremy
Fitzhardinge). Also, remove use of SA_INTERRUPT (SUSv3, BSD,
etc. have SA_RESTART with the inverted meaning).
2002-08-20
Bug: don't call ealloc(0) on systems where getgroups() doesn't
return egid (thanks Chris Siebenmann).
2002-11-27
Bug: history dumps core if more colons than substitutions (thanks
Callum Gibson); history fails to avoid itself if it's the only
command; history writes and reads outside allocated memory.
Configuration: upgrade to autoconf-2.56 and automake-1.7.1.
2003-07-17
Testing: remove test for large file support, as it causes
indigestion on file systems that don't support sparse files (thanks
Scott Schwartz).
2003-07-22
Release: rc-1.7.1.
2003-09-24
Tidiness: minor improvements to input.c.
2014-02-26
Bug: fix for CVE-2014-1936 from Jakub Wilk.
2014-06-29
Documentation: update email and web addresses.
2014-08-31
Feature: support quoting for filename completion in GNU readline.
2014-09-01
Bug: quoting of glob characters was broken (thanks Christian
Neukirchen); fix the "sneaky parens" bug properly (thanks Wolfgang
Zekoll).
Feature: allow $"x as a synonym for $^x
Release: rc-1.7.2.
2015-04-03
Packaging: the rc.spec file was very out-of-date.
2015-04-04
Portability: the comment from 1999-08-19 may well have been true at
the time, but the final version of the C99 standard called varargs
copying macro va_copy().
2015-04-07
Portability: look in -ltinfo for tgetent.
Packaging: various autoconf / automake updates and tweaks.
2015-04-14
Bug: in initinput(), the call ugchar(EOF) used the ungetcount member
of the top Input structure without initializing it. Thanks to Jeff
Johnson for finding this, Robert Scheck for reporting it, and Uli
Drepper for implementing MALLOC_PERTURB_, a cheap way to find uses of
uninitialized memory.
2015-04-18
Licensing: tweaked to match exactly the "zlib with acknowledgement"
license which is used by nunit and is already approved by various
distros.
2015-04-20
Release: rc-1.7.3.
2015-05-12
Licensing: due to GPL compatibility concerns, the license is changed
again to the "zlib" license. (N.B. This license change was agreed and
approved by Byron Rakitzis, who is the copyright holder.)
Testing: swap arguments to mktemp to be kinder to NetBSD (thanks Piotr
Meyer).
2015-05-13
Release: rc-1.7.4.
|
|
|
|
|
|
handle malloc'd getcwd() properly.
|
|
Reviewed by: joerg@
Upstream changes:
Release Notes for fish 2.5.0 (released February 3, 2017)
The Home, End, Insert, Delete, Page Up and Page Down keys work in Vi-style key bindings (#3731).
Platform Changes
Starting with version 2.5, fish requires a more up-to-date version of C++, specifically C++11 (from 2011). This affects some older platforms:
Linux
For users building from source, GCC's g++ 4.8 or later, or LLVM's clang 3.3 or later, are known to work. Older platforms may require a newer compiler installed. Unfortunately, because of the complexity of the toolchain, binary packages are no longer published by the fish-shell developers for the following platforms:
Red Hat Enterprise Linux and CentOS 5 & 6 for 64-bit builds
Ubuntu 12.04 (EoLTS April 2017)
Debian 7 (EoLTS May 2018)
Installing newer version of fish on these systems will require building from source.
OS X SnowLeopard
Starting with version 2.5, fish requires a C++11 standard library on OS X 10.6 ("SnowLeopard"). If this library is not installed, you will see this error: dyld: Library not loaded: /usr/lib/libc++.1.dylib MacPorts is the easiest way to obtain this library. After installing the SnowLeopard MacPorts release from the install page, run: sudo port -v install libcxx Now fish should launch successfully. (Please open an issue if it does not.) This is only necessary on 10.6. OS X 10.7 and later include the required library by default.
Other significant changes
Attempting to exit with running processes in the background produces a warning, then signals them to terminate if a second attempt to exit is made. This brings the behaviour for running background processes into line with stopped processes. (#3497)
random can now have start, stop and step values specified, or the new choice subcommand can be used to pick an argument from a list (#3619).
A new key bindings preset, fish_hybrid_key_bindings, including all the Emacs-style and Vi-style bindings, which behaves like fish_vi_key_bindings in fish 2.3.0 (#3556).
function now returns an error when called with invalid options, rather than defining the function anyway (#3574). This was a regression present in fish 2.3 and 2.4.0.
fish no longer prints a warning when it identifies a running instance of an old version (2.1.0 and earlier). Changes to universal variables may not propagate between these old versions and 2.5b1.
Improved compatiblity with Android (#3585), MSYS/mingw (#2360), Solaris (#3456, #3340)
Like other shells, the test builting now returns an error for numeric operations on invalid integers (#3346, #3581).
complete no longer recognises --authoritative and --unauthoritative options, and they are marked as obsolete.
status accepts subcommands, and should be used like status is-interactive. The old options continue to be supported for the foreseeable future (#3526), although only one subcommand or option can be specified at a time.
Selection mode (used with "begin-selection") no longer selects a character the cursor does not move over (#3684).
List indexes are handled better, and a bit more liberally in some cases (echo $PATH[1 .. 3] is now valid) (#3579).
The fish_mode_prompt function is now simply a stub around fish_default_mode_prompt, which allows the mode prompt to be included more easily in customised prompt functions (#3641).
Notable fixes and improvements
alias, run without options or arguments, lists all defined aliases, and aliases now include a description in the function signature that identifies them.
complete accepts empty strings as descriptions (#3557).
command accepts -q/--quiet in combination with --search (#3591), providing a simple way of checking whether a command exists in scripts.
Abbreviations can now be renamed with abbr --rename OLD_KEY NEW_KEY (#3610).
The command synopses printed by --help options work better with copying and pasting (#2673).
help launches the browser specified by the $fish_help_browser variable if it is set (#3131).
History merging could lose items under certain circumstances and is now fixed (#3496).
The $status variable is now set to 123 when a syntactically invalid command is entered (#3616).
Exiting fish now signals all background processes to terminate, not just stopped jobs (#3497).
A new prompt_hostname function which prints a hostname suitable for use in prompts (#3482).
The __fish_man_page function (bound to Alt-h by default) now tries to recognize subcommands (e.g. git add will now open the "git-add" man page) (#3678).
A new function edit_command_buffer (bound to Alt-e & Alt-v by default) to edit the command buffer in an external editor (#1215, #3627).
set_color now supports italics (--italics), dim (--dim) and reverse (--reverse) modes (#3650).
Filesystems with very slow locking (eg incorrectly-configured NFS) will no longer slow fish down (#685).
Improved completions for apt (#3695), fusermount (#3642), make (#3628), netctl-auto (#3378), nmcli (#3648), pygmentize (#3378), and tar (#3719).
Added completions for:
VBoxHeadless (#3378)
VBoxSDL (#3378)
base64 (#3378)
caffeinate (#3524)
dconf (#3638)
dig (#3495)
dpkg-reconfigure (#3521 & #3522)
feh (#3378)
launchctl (#3682)
lxc (#3554 & #3564),
mddiagnose (#3524)
mdfind (#3524)
mdimport (#3524)
mdls (#3524)
mdutil (#3524)
mkvextract (#3492)
nvram (#3524)
objdump (#3378)
sysbench (#3491)
tmutil (#3524)
Release Notes for fish 2.4.0 (released November 8, 2016)
Significant changes
The clipboard integration has been revamped with explicit bindings. The killring commands no longer copy from, or paste to, the X11 clipboard - use the new copy (C-x) and paste (C-v) bindings instead. The clipboard is now available on OS X as well as systems using X11 (e.g. Linux). (#3061)
history uses subcommands (history delete) rather than options (history --delete) for its actions (#3367). You can no longer specify multiple actions via flags (e.g., history --delete --save something).
New history options have been added, including --max=n to limit the number of history entries, --show-time option to show timestamps (#3175, #3244), and --null to null terminate history entries in the search output.
history search is now case-insensitive by default (which also affects history delete) (#3236).
history delete now correctly handles multiline commands (#31).
Vi-style bindings no longer include all of the default emacs-style bindings; instead, they share some definitions (#3068).
If there is no locale set in the environment, various known system configuration files will be checked for a default. If no locale can be found, en_US-UTF.8 will be used (#277).
A number followed by a caret (e.g. 5^) is no longer treated as a redirection (#1873).
The $version special variable can be overwritten, so that it can be used for other purposes if required.
Notable fixes and improvements
The fish_realpath builtin has been renamed to realpath and made compatible with GNU realpath when run without arguments (#3400). It is used only for systems without a realpath or grealpath utility (#3374).
Improved color handling on terminals/consoles with 8-16 colors, particularly the use of bright named color (#3176, #3260).
fish_indent can now read from files given as arguments, rather than just standard input (#3037).
Fuzzy tab completions behave in a less surprising manner (#3090, #3211).
jobs should only print its header line once (#3127).
Wildcards in redirections are highlighted appropriately (#2789).
Suggestions will be offered more often, like after removing characters (#3069).
history --merge now correctly interleaves items in chronological order (#2312).
Options for fish_indent have been aligned with the other binaries - in particular, -d now means --debug. The --dump option has been renamed to --dump-parse-tree (#3191).
The display of bindings in the Web-based configuration has been greatly improved (#3325), as has the rendering of prompts (#2924).
fish should no longer hang using 100% CPU in the C locale (#3214).
A bug in FreeBSD 11 & 12, Dragonfly BSD & illumos prevented fish from working correctly on these platforms under UTF-8 locales; fish now avoids the buggy behaviour (#3050).
Prompts which show git repository information (via __fish_git_prompt) are faster in large repositories (#3294) and slow filesystems (#3083).
fish 2.3.0 reintroduced a problem where the greeting was printed even when using read; this has been corrected again (#3261).
Vi mode changes the cursor depending on the current mode (#3215).
Command lines with escaped space characters at the end tab-complete correctly (#2447).
Added completions for:
arcanist (#3256)
connmanctl (#3419)
figlet (#3378)
mdbook (#3378)
ninja (#3415)
p4, the Perforce client (#3314)
pygmentize (#3378)
ranger (#3378)
Improved completions for aura (#3297), abbr (#3267), brew (#3309), chown (#3380, #3383),cygport (#3392), git (#3274, #3226, #3225, #3094, #3087, #3035, #3021, #2982, #3230), kill & pkill (#3200), screen (#3271), wget (#3470), and xz (#3378).
Distributors, packagers and developers will notice that the build process produces more succinct output by default; use make V=1 to get verbose output (#3248).
Improved compatibility with minor platforms including musl (#2988), Cygwin (#2993), Android (#3441, #3442), Haiku (#3322) and Solaris.
Automatic cursor changes are now only enabled on the subset of XTerm versions known to support them, resolving a problem where older versions printed garbage to the terminal before and after every prompt (#3499).
Improved the title set in Apple Terminal.app.
Added completions for defaults and improved completions for diskutil (#3478).
Release Notes for fish 2.3.1 (released July 3, 2016)
This is a functionality and bugfix release. This release does not contain all the changes to fish since the last release, but fixes a number of issues directly affecting users at present and includes a small number of new features.
Significant changes
A new fish_key_reader binary for decoding interactive keypresses (#2991).
fish_mode_prompt has been updated to reflect the changes in the way the Vi input mode is set up (#3067), making this more reliable.
fish_config can now properly be launched from the OS X app bundle (#3140).
Notable fixes and improvements
Extra lines were sometimes inserted into the output under Windows (Cygwin and Microsoft Windows Subsystem for Linux) due to TTY timestamps not being updated (#2859).
The string builtin's match mode now handles the combination of -rnv (match, invert and count) correctly (#3098).
Improvements to TTY special character handling (#3064), locale handling (#3124) and terminal environment variable handling (#3060).
Work towards handling the terminal modes for external commands launched from initialisation files (#2980).
Ease the upgrade path from fish 2.2.0 and before by warning users to restart fish if the string builtin is not available (#3057).
type -a now syntax-colorizes function source output.
Added completions for alsamixer, godoc, gofmt, goimports, gorename, lscpu, mkdir, modinfo, netctl-auto, poweroff, termite, udisksctl and xz (#3123).
Improved completions for apt (#3097), aura (#3102),git (#3114), npm (#3158), string and suspend (#3154).
Release Notes for fish 2.3.0 (released May 20, 2016)
Significant Changes
A new string builtin to handle… strings! This builtin will measure, split, search and replace text strings, including using regular expressions. It can also be used to turn lists into plain strings using join. string can be used in place of sed, grep, tr, cut, and awk in many situations. (#2296)
After seeing an escape character wait up to 300ms for an additional character. This is consistent with readline (e.g. bash) and can be configured via the fish_escape_delay_ms variable. This allows using escape as the Meta modifier. (#1356)
Add new directories for vendor functions and configuration snippets (#2498)
A new fish_realpath builtin and associated function to allow the use of realpath even on those platforms that don't ship an appropriate command. (#2932)
Alt-# toggles the current command line between commented and uncommented states, making it easy to save a command in history without executing it.
The fish_vi_mode function is now deprecated in favour of fish_vi_key_bindings
Backward-incompatible changes
Unmatched globs will now cause an error, except when used with for, set or count (#2719, #2394)
and and or will now bind to the closest if or while, allowing compound conditions without begin and end (#1428)
set -ql now searches up to function scope for variables (#2502)
status -f will now behave the same when run as the main script or using source (#2643)
source no longer puts the file name in $argv if no arguments are given (#139)
Other Notable Fixes and Improvements
Fish no longer silences errors in config.fish (#2702)
Move the history file to $XDG_DATA_HOME/fish (or ~/.local/share if it has not been set)
Directory autosuggestions will now descend as far as possible if there is only one child directory (#2531)
Add support for bright colors (#1464)
Allow Ctrl-J (\cj) to be bound separately from Ctrl-M (\cm) (#217)
psub now has a "-s"/"-suffix" option to name the temporary file with that suffix
Enable 24-bit colors on select terminals (#2495)
Support for SVN status in the prompt (#2582)
Mercurial and SVN support have been added to the Classic + Git (now Classic + VCS) prompt (via the new __fish_vcs_prompt function) (#2592)
export now handles variables with a "=" in the value (#2403)
Avoid confusing the terminal line driver with non-printing characters in fish_title(#2453)
New completions for:
alsactl
Archlinux’s asp, makepkg
Atom’s apm (#2390)
entr - the "Event Notify Test Runner" (#2265)
Fedora’s dnf (#2638)
OSX diskutil (#2738)
pkgng (#2395)
pulseaudio’s pacmd and pactl
rmmod (#3007)
rust’s rustc and cargo (#2409)
sysctl (#2214)
systemd’s machinectl (#2158), busctl (#2144), systemd-nspawn, systemd-analyze, localectl, timedatectl
and more
Fish no longer has a function called sgrep, freeing it for user customization (#2245)
A rewrite of the completions for cd, fixing a few bugs (#2299, #2300, #562)
Linux VTs now run in a simplified mode to avoid issues (#2311)
The vi-bindings now inherit from the emacs bindings
Fish will also execute fish_user_key_bindings when in vi-mode
funced will now also check $VISUAL (#2268)
A new suspend function (#2269)
Subcommand completion now works better with split /usr (#2141)
The command-not-found-handler can now be overridden by defining a function called __fish_command_not_found_handler in config.fish (#2331)
A few fixes to the Sorin theme
PWD shortening in the prompt can now be configured via the fish_prompt_pwd_dir_length variable, set to the length per path component (#2473)
fish now ships a skeleton file for /etc/fish/config.fish that only contains some documentation, the included code has been moved to the corresponding file in /usr (#2799)
Release Notes for fish 2.2.0 (released July 12, 2015)
Significant Changes
Abbreviations: the new `abbr` command allows for interactively-expanded abbreviations, allowing quick access to frequently-used commands (#731).
Vi mode: run `fish_vi_mode` to switch fish into the key bindings and prompt familiar to users of the Vi editor (#65).
New inline and interactive pager, which will be familiar to users of zsh (#291).
Underlying architectural changes: the `fishd` universal variable server has been removed as it was a source of many bugs and security problems. Notably, old fish sessions will not be able to communicate universal variable changes with new fish sessions. For best results, restart all running instances of `fish`.
The web-based configuration tool has been redesigned, featuring a prompt theme chooser and other improvements.
New German, Brazilian Portuguese, and Chinese translations.
Backward-incompatible changes
These are kept to a minimum, but either change undocumented features or are too hard to use in their existing forms. These changes may break existing scripts.
`commandline` no longer interprets functions "in reverse", instead behaving as expected (#1567).
The previously-undocumented `CMD_DURATION` variable is now set for all commands and contains the execution time of the last command in milliseconds (#1585). It is no longer exported to other commands (#1896).
`if` / `else` conditional statements now return values consistent with the Single Unix Specification, like other shells (#1443).
A new "top-level" local scope has been added, allowing local variables declared on the commandline to be visible to subsequent commands. (#206)
Other notable fixes and improvements
New documentation design (#1662), which requires a Doxygen version 1.8.7 or newer to build.
Fish now defines a default directory for other packages to provide completions. By default this is `/usr/share/fish/vendor-completions.d`; on systems with `pkgconfig` installed this path is discoverable with `pkg-config --variable completionsdir fish`.
A new parser removes many bugs; all existing syntax should keep working.
New `fish_preexec` and `fish_postexec` events are fired before and after job execution respectively (#1549).
Unmatched wildcards no longer prevent a job from running. Wildcards used interactively will still print an error, but the job will proceed and the wildcard will expand to zero arguments (#1482).
The `.` command is deprecated and the `source` command is preferred (#310).
`bind` supports "bind modes", which allows bindings to be set for a particular named mode, to support the implementation of Vi mode.
A new `export` alias, which behaves like other shells (#1833).
`command` has a new `--search` option to print the name of the disk file that would be executed, like other shells' `command -v` (#1540).
`commandline` has a new `--paging-mode` option to support the new pager.
`complete` has a new `--wraps` option, which allows a command to (recursively) inherit the completions of a wrapped command (#393), and `complete -e` now correctly erases completions (#380).
Completions are now generated from manual pages by default on the first run of fish (#997).
`fish_indent` can now produce colorized (`--ansi`) and HTML (`--html`) output (#1827).
`functions --erase` now prevents autoloaded functions from being reloaded in the current session.
`history` has a new `--merge` option, to incorporate history from other sessions into the current session (#825).
`jobs` returns 1 if there are no active jobs (#1484).
`read` has several new options:
`--array` to break input into an array (#1540)
`--null` to break lines on NUL characters rather than newlines (#1694)
`--nchars` to read a specific number of characters (#1616)
`--right-prompt` to display a right-hand-side prompt during interactive read (#1698).
`type` has a new `-q` option to suppress output (#1540 and, like other shells, `type -a` now prints all matches for a command (#261).
Pressing F1 now shows the manual page for the current command (#1063).
`fish_title` functions have access to the arguments of the currently running argument as `$argv[1]` (#1542).
The OS command-not-found handler is used on Arch Linux (#1925), nixOS (#1852), openSUSE and Fedora (#1280).
`Alt`+`.` searches backwards in the token history, mapping to the same behavior as inserting the last argument of the previous command, like other shells (#89).
The `SHLVL` environment variable is incremented correctly (#1634 & #1693).
Added completions for `adb` (#1165 & #1211), `apt` (#2018), `aura` (#1292), `composer` (#1607), `cygport` (#1841), `dropbox` (#1533), `elixir` (#1167), `fossil`, `heroku` (#1790), `iex` (#1167), `kitchen` (#2000), `nix` (#1167), `node`/`npm` (#1566), `opam` (#1615), `setfacl` (#1752), `tmuxinator` (#1863), and `yast2` (#1739).
Improved completions for `brew` (#1090 & #1810), `bundler` (#1779), `cd` (#1135), `emerge` (#1840),`git` (#1680, #1834 & #1951), `man` (#960), `modprobe` (#1124), `pacman` (#1292), `rpm` (#1236), `rsync` (#1872), `scp` (#1145), `ssh` (#1234), `sshfs` (#1268), `systemctl` (#1462, #1950 & #1972), `tmux` (#1853), `vagrant` (#1748), `yum` (#1269), and `zypper` (#1787).
|
|
configure script fails to autodetect when running in a pbulk environment.
|
|
|
|
- Get rid of useless Makefile.common and pointless variables since there is
no longer a zsh-current package.
- Remove non-standard per-OS non-checksummed patch file in FILESDIR.
Integrate it correctly in the normal way.
- Ensure our patched configure.ac is actually regenerated.
- Use REPLACE_INTERPRETER instead of homegrown subst replacements.
- Remove esoteric and fragile configuration variables, a bunch of legacy OS
based options, and simply depend correctly on terminfo and curses.
- Remove custom test targets and requirements for root access, the test suite
works fine as a non-root user and can be done in the normal way.
- Use options.mk
- Set maintainer to pkgsrc-users, uebayasi resigned.
Fixes build on at least SunOS. Tested on SunOS, Darwin, NetBSD (with and
without the "static" option), and Linux.
|
|
|
|
R55 is mostly a feature release with summary bugfixes:
* [komh] Fix OS/2 search_access() and UNC path logic
* [tg] Undocument printf(1) to avoid user confusion
* [Jean Delvare, tg] Fix printf builtin -R option
* [tg] Make ${var@x}, unknown x, fail (thanks izabera)
* [tg] ${var=x} must evaluate x in scalar context (10x Martijn Dekker)
* [tg] Fixup relation between lksh and mksh, reduce delta
* [tg] Improve manpage display; add OS/2 $PATH FAQ
* [Jean Delvare] Fix bugs in manpage
* [tg] Review tilde expansion, removing ?odd use of KEEPASN? and introduce
POSIX ?declaration utility? concept; wait isn?t one
* [tg] Add \builtin utility, declaration utility forwarder
* [tg] Make $'\xz' expand to xz, not \0
* [tg] Use fixed string pooling (requires the above change in host mksh)
* [tg] POSIX declaration commands can have varassign and redirections
* [Martijn Dekker] Add typeset -g, replacing homegrown ?global?
* [Harvey-OS] Disable NOPROSPECTOFWORK, APEX is reportedly fixed now
* [tg] Display ulimit -a output with flags; improve Haiku
* [tg] Drop old let] hack, use \builtin internally
* [tg] Fix padding in Lb64encode in dot.mkshrc
* [tg] Move FAQ content to a separate, new FAQ section in the manpage
* [tg] Add new standard variable PATHSEP (?:?, ?;? on OS/2)
* [Martijn Dekker] Fix LINENO in eval and alias
* [komh] Fix ?\builtin? on OS/2
* [tg] Improve (internal) character classes code for speed
* [tg] Fix: the underscore is no drive letter
* [tg] No longer hard-disable persistent history support in lksh
* [tg] Introduce build flag -T for enabling ?textmode? on OS/2 (supporting
CR+LF line endings, but incompatible with mksh proper)
* [tg] Merge mksh-os2
* [tg] Permit changing $OS2_SHELL during a running shell
* [tg] Fix multibyte handling in ^R (Emacs search-history)
* [tg] Allow ?typeset -p arrname[2]? to work
* [tg] Make some error messages more consistent
* [tg, komh] Disable UTF-8 detection code for OS/2 as unrealistic
* [tg, sdaoden] Limit alias name chars to POSIX plus non-leading ?-?
* [tg, Martijn Dekker] Expand aliases at COMSUB parse time
* [tg] Make ?typeset -f? output alias-resistent
* [tg, Martijn Dekker] Permit ?eval break? and ?eval continue?
* [tg] Make -masm=intel safe on i386
* [tg] Disambiguate $((?)) vs. $((?)?) in ?typeset -f? output
* [Jean Delvare] Clarify the effect of exit and return in a subshell
* [tg] Simplify compile-time asserts and make them actually compile-time
* [tg] Fix ^O in Emacs mode if the line was modified (LP#1675842)
* [tg] Address Coverity Scan? stuff? now that it builds again
* [Martijn Dekker, tg] Add test -v
* [tg] Document set -o posix/sh completely
R54 is a bugfix release with moderate new features:
* [tg] Simplify and improve code and manual page
* [tg] Try GCC 5?s new -malign-data=abi
* [tg] Allow interrupting builtin cat even on fast devices (LP#1616692)
* [tg] Update to Unicode 9.0.0
* [Andreas Buschka] Correct English spelling
* [tg] Handle set -e-related error propagation in || and && constructs
correctly
* [tg] Initialise memory for RNG even when not targeting Valgrind
* [tg] Shrink binary size
* [Brian Callahan] Improve support for the contemporary pcc compiler
* [tg] Fix side effects with lazy evaluation; spotted by ormaaj
* [tg] New flags -c (columnise), -l, -N for the print builtin
* [Larry Hynes] Fix English, spelling mistakes, typos in the manpage
* [tg, ormaah] Return 128+SIGALRM if read -t times out, like GNU bash
* [Martijn Dekker] Install both manpages from Build.sh
* [Martijn Dekker] Document case changes are ASCII-only
* [Ronald G. Minnich, Elbing Miss, ?lvaro Jurado, tg] Begin porting to
Harvey-OS and APEX (similar to Plan 9 and APE)
* [KO Myung-Hun] More infrastructure for the OS/2 (EMX, KLIBC) port
R53a is a snapshot/feature release:
* [lintian] Fix spelling
* [tg] Unbreak multi-line command history broken by history flush
* [tg] Fix redefining POSIX functions that were Korn functions before
* [tg, TNF] Fix bounds checks in Vi editing mode
* [tg] Handle combining characters at end of string or output correctly
* [tg] Fix ${!#} ${!?} ${!-} (POSIX, prompted by izabera)
* [tg] Fix shf.c-internal buffer overread on printing digits
* [J?rg] Fix a typo in the testsuite
* [arekm] Increase default edit line size (unless MKSH_SMALL)
* [tg] Improve description of Emacs mode keybindings, especially ^U
* [tg, arekm, jilles] Abort read builtin in case of read(2) errors
* [tg, izabera, carstenh] Fix most of the ambiguous corner cases related to $
{[pfx]var[op[word]]} (${@:-1} still unsupported)
* [carstenh] Contribute some more testsuite coverage
* [tg] WDS_TPUTS now emits QCHAR newline reentrant-safe
* [tg] Fix var=<< implementation (LP#1380389)
* [tg, FreeBSD] Make XSI test(1) extensions behave as if they were POSIX
* [tg, izabera] Add $(<<<x) and $(<<EOF?) implementation
* [tg] Lower minimum screen size accepted as ?sane? from the OS to 4?2
* [tg, Torsten Sillke] Simplify tilde-expanded parameters
* [tg, Torsten Sillke] Fix default PS1 for substring matches
* [tg] Apply defer-builtin-with-arguments logic to realpath builtin
* [tg] Rework string pooling (own vs. compiler?s) (LP#1580348)
* [tg] Feature: print -A, prints arguments as characters
* [tg, izabera] Replace <<< and >>> as ROL and ROR operators with their new ^
< and ^> spelling as per this proposal
* [tg, slagtc] Clear-to-EOL under tmux to work around its anti-feature
* [tg, p120ph37] Remove support for using file descriptors with more than a
single digit, in preparation for named file descriptors
* [tg] Correct, but simplify (at the potential cost of more tty I/O than
strictly necessary, though never redundant and (probably) not more than
before when it was miscalculated), line clearing and redrawing
* [slagtc, tg] Implement new evaluate-region editing command Esc+Ctrl-E
* [tg] Prefer external rename utility over the recovery builtin
* [tg] Remove redundant full-line redraws
* [tg, Natureshadow] Fix errorlevel of ?.? (?dot? special builtin) when the
sourced script does not run any commands, for POSIX compliance
* [tg] Refactor op tokens and edchars to shave off some more bytes
* [tg] Fix some bugs in the manpage and some occasional/minor code bugs
* [tg, Brian Callahan] Mark tests requiring new perl as !need-pass
* [tg, slagtc] Add $KSH_MATCH and, to make it usable, ${foo@/bar/baz}
* [tg, Score_Under] Fix bogus patch from OpenBSD: only NULL the global source
in unwind when actually reclaiming its Area
* [izabera] Mention in the manpage that integer bases go up to 36
* [Natureshadow] Fix /= operator broken during refactoring
R52c is a bugfix-only release:
* [tg] Shave 200 bytes off .text by revisiting string pooling
* [tg, J?rg] Fix manpage for ditroff on Schillix
* [tg, wbx] Use sed 1q instead of unportable head(1)
* [tg] Implement underrun debugging tool for area-based memory allocator
* [tg] Fix history underrun when first interactive command is entered
* [tg, bef0rd] Do not misinterpret ?${0/}? as ?${0//?, fixes segfault
* [tg, St?phane Chazelas] Fix display problems with special parameters
* [tg, St?phane Chazelas] Catch attempt to trim $* and $@ with ?, fixes
segfault (Todd Miller did this in 2004 for ${x[*]} already, so just sync)
* [Martijn Dekker] Fix ?command -p? with -Vv to behave as POSIX requires
* [tg, jilles, Oleg Bulatov] Fix recusive parser with active heredocs
* [tg] Flush even syntax-failing or interrupted commands to history
* [tg, fmunozs] Fix invalid memory access for ?'\0'? in arithmetics
* [tg] Explicitly reserve SIGEXIT and SIGERR for ksh
* [tg, izabera] Catch missing here documents at EOF even under ?set -n?
* [kre, tg] Document Austin#1015 handling (not considered a violation)
* [tg, fmunozs] Fix buffer overread for empty nameref targets
* [tg] Fix warnings pointed out by latest Debian gcc-snapshot
* [tg, Martijn Dekker] Document upcoming set +o changes
* [Martijn Dekker] Expand testsuite for command/whence
R52b is a strongly recommended bugfix-only release:
* [tg] Recognise ksh93 compiled scripts and LZIP compressed files as binary
(i.e. to not run as mksh plaintext script)
* [tg] Document that we will implement locale tracking later
* [tg] Add EEXIST to failback strerror(3)
* [jilles] Make set -C; :>foo race-free
* [tg] Don?t use unset in portable build script
* [tg] Plug warning on GNU/kFreeBSD, GNU/Hurd
* [tg] Document read -a resets the integer base
* [J?rg] Fix manpage: time is not a builtin but a reserved word
* [J?rg, tg] Make exit (and return) eat -1
* [tg] parse ?$( (( ? ) ? ) ? )? correctly (LP#1532621), Jan Palus
* [tg] reduce memory footprint by free(3)ing more aggressively
* [tg] fix buffer overrun (LP#1533394), bugreport by izabera
* [tg] correctly handle nested ADELIM parsing (LP#1453827), Teckids
* [tg] permit ?read -A/-a arr[idx]? as long as only one element is read; fix
corruption of array indic?s with this construct (LP#1533396), izabera
* [tg] Sanitise OS-provided signal number in even more places
* [tg] As requested by J?rg, be clear manpage advice is for mksh
* [tg] Revert (as it was a regression) POSIX bugfix from R52/2005 related to
accent gravis-style command substitution until POSIX decides either way
* [tg] Handle export et al. after command (Austin#351)
* [tg] Catch EPIPE in built-in cat and return as SIGPIPE (LP#1532621)
* [tg] Fix errno in print/echo builtin; optimise that and unbksl
* [tg] Update documentation, point out POSIX violation (Austin#1015)
R52 is a strongly recommended bugfix release:
* [_0bitcount] Move moving external link from mksh(1) to the #ksh channel
homepage linked therein
* [tg] Make setenv ?set -u?-safe and fix when invoked with no args
* [tg] Make ?typeset -f? output reentrant if name is a reserved word
* [oksh] Zero-pad seconds in ?time? output to align columns
* [tg] Check signals and errorlevels from OS to be within bounds
* [komh, tg] Quote and document ?;? as PATH separator in some places
* [oksh, tg] Simplify code to call afree() even if arg is NULL
* [tg] Fix tree-printing and reentrancy of multiple here documents
* [tg] Work around LP#1030581 by permitting exactly one space after
* [tg, oksh] Code quality work, cleanups
* [tg] New code for here documents/strings with several bugfixes
* [tg] Stop using issetugid(2) for ?p checks, wrong tool for the job
* [tg] Reintroduce some -o posix changes lost in 2005, plus fixes
* [tg] Make ?source? into a built-in command
* [tg] Drop ?stop? alias, lksh(1) functionality to auto-unalias
* [tg] Fix \u0000 ignored in $'?' and print
* [tg] Improve portability of Build.sh
* [Jilles Tjoelker] Improve portability of testsuite
* [tg] Fix tilde expansion for some substitutions (izabera, Chet, Geoff)
* [tg] Improve reparsing of ((?) |?) as ( (?) |?)
* [Martijn Dekker] Fix test(1) not returning evaluation errors
* [tg] Fix ${*:+x} constructs (carstenh)
* [tg] Make (( ? )) into a compound command (ormaaj)
* [tg] Repair a few parameter substitution expansion mistakes
|
|
Neaton in joyent/pkgsrc#471. Bump PKGREVISION.
|