diff options
author | uebayasi <uebayasi> | 2008-12-21 16:53:45 +0000 |
---|---|---|
committer | uebayasi <uebayasi> | 2008-12-21 16:53:45 +0000 |
commit | 8949f0909a4b393bee75ac705969f52f32f75645 (patch) | |
tree | de018ca8d8f89d81a26722eea21a9c349ff51f37 /shells/zsh-current/patches | |
parent | e0e109d739d9e33f06cd8de201bead46aa1d3479 (diff) | |
download | pkgsrc-8949f0909a4b393bee75ac705969f52f32f75645.tar.gz |
Update zsh-current to 4.3.9.
Changes from NEWS:
--------8<--------8<--------8<--------8<--------8<--------8<--------8<
Major changes between versions 4.3.6 and 4.3.9
----------------------------------------------
The option COMBINING_CHARS has been added. When it is set, the
line editor assumes the terminal is capable of displaying zero-width
combining characters (typically accents) correctly as modifications
to the base character, and will act accordingly. Note it is not set
by default owing to vagaries of terminals. The system is reported
to work on MacOS, where this is particularly important as accented
characters in file names are stored in their decomposed form (i.e.
with base and combining characters).
The option HIST_FCNTL_LOCK has been added to provide locking of history
files using the system call fcntl(). On recent NFS implementations this
may provide better reliability.
The syntax ~[...] provides a dynamic form of directory naming,
supplementing the existing static ~name syntax. A user-defined shell
function, zsh_directory_name, is used to handle both expansion of names to
directories and contraction of directories to names.
Patterns can now be used in incremental searches with the new widgets
history-incremental-pattern-search-backward and
history-incremental-pattern-search-forward. These are not bound to
keys by default.
Highlighting and colouring of sections of the command line is now
supported, controlled by the array parameter zle_highlight and the ZLE
special parameter region_highlight.
Colouring of prompts is now supported within the shell by prompt
escapes. The prompt theme system has been updated.
Various changes have been added to make debugging of shell code easier:
- As noted in README, the option DEBUG_BEFORE_CMD is now set by default.
- In DEBUG traps, $ZSH_DEBUG_CMD gives the code for which the trap is
called as a string.
- "setopt ERR_EXIT" in a DEBUG trap causes the code not to be executed.
- $ZSH_SUBSHELL indicates the subshell level at which code is being
executed.
- The zsh/parameter module has various additional arrays similar to
the existing $funcstack and $functrace, namely $funcsourcetrace
and $funcfiletrace. The consistency and informativeness of
the output of all these arrays has been improved.
- Prompt escapes %x and %I show the source file and line number in
debug prompts (compare %N and %i which show names and line numbers
in the execution environment).
- The option NO_MULTI_FUNCDEF can turn off multiple definition of
functions at once, a rarely used feature that can cause problems
with misplaced "()".
- The "fc" builtin has been enhanced to make non-interactive use possible
and output consistent when the history is manipulated with "print -s".
The completion style accept-exact-dirs has been added. When true, this
suppresses attempts to complete non-final directory segments of a filename
path when the directory exists. (For example, /home/pws/src/zsh/<TAB>
discovers that /home/pws/src/zsh exists and leaves the directory component
alone, while /h/p/s/z/<TAB> completes to /home/pws/src/zsh/... as before.)
This should improve completion behaviour noticeably in special cases, such
as remote paths under Cygwin.
Major changes between versions 4.3.5 and 4.3.6
----------------------------------------------
cd, chdir, pushd and popd now take a -q option to suppress side effects
including printing the directory stack (for pushd and popd) and executing
the chpwd hook functions (for all four).
The parameter subscript (e) flag now forces the argument to be treated
as a string where it would previously have been treated as a pattern,
for example ${array[(ie)*]} substitutes the index of the element whose
value is "*".
Major changes between versions 4.3.4 and 4.3.5
----------------------------------------------
- The new extended globbing flag (#cN,M) behaves similarly to the extended
regular expression syntax {N,M}.
- The zsh/datetime module has been enhanced and a calendar function
system has been added along the lines of (but much enhanced from)
the traditional Unix "calendar" utility. This is still under
development. See the zshcalsys manual. (The calendar functions
were in 4.3.4 but were not listed in this file. There have been
significant enhancements since 4.3.4.)
- A new module zsh/curses provides a builtin zcurses for access to
to the curses screen manipulation package. See the entry for zsh/curses
in the zshmodules manual.
- The module system has been enhanced to support the notion of "features"
that give more control over which builtins, parameters, conditions
and math functions are loaded from a module. In particular,
"zmodload -F zsh/stat b:zstat" makes the builtin previously called
"stat" available as "zstat" (only) to avoid clashes with a system
command named "stat".
>8-------->8-------->8-------->8-------->8-------->8-------->8--------
Diffstat (limited to 'shells/zsh-current/patches')
-rw-r--r-- | shells/zsh-current/patches/patch-aa | 20 | ||||
-rw-r--r-- | shells/zsh-current/patches/patch-ab | 10 | ||||
-rw-r--r-- | shells/zsh-current/patches/patch-ac | 20 | ||||
-rw-r--r-- | shells/zsh-current/patches/patch-ae | 15 | ||||
-rw-r--r-- | shells/zsh-current/patches/patch-af | 12 | ||||
-rw-r--r-- | shells/zsh-current/patches/patch-ag | 12 | ||||
-rw-r--r-- | shells/zsh-current/patches/patch-ah | 13 |
7 files changed, 15 insertions, 87 deletions
diff --git a/shells/zsh-current/patches/patch-aa b/shells/zsh-current/patches/patch-aa deleted file mode 100644 index cc700272cee..00000000000 --- a/shells/zsh-current/patches/patch-aa +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-aa,v 1.7 2008/07/13 18:26:24 tonnerre Exp $ - ---- Util/difflog.pl.orig 2002-04-18 16:35:17.000000000 +0200 -+++ Util/difflog.pl -@@ -2,10 +2,13 @@ - - use strict; - use IO::File; -+use File::Temp; - - my @differ = qw(diff -bw); --my $oldtmp = "/tmp/difflog$$.old"; --my $newtmp = "/tmp/difflog$$.new"; -+my $oldf = new File::Temp(TEMPLATE => 'difflogXXXXX', DIR => '/tmp/', SUFFIX => '.old'); -+my $newf = new File::Temp(TEMPLATE => 'difflogXXXXX', DIR => '/tmp/', SUFFIX => '.new'); -+my $oldtmp = $oldf->filename; -+my $newtmp = $newf->filename; - - my $newfn = pop(@ARGV); - my $oldfn = pop(@ARGV); diff --git a/shells/zsh-current/patches/patch-ab b/shells/zsh-current/patches/patch-ab index 87bbc4ca16b..e2a5fe1e58a 100644 --- a/shells/zsh-current/patches/patch-ab +++ b/shells/zsh-current/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.2 2007/09/21 05:24:43 uebayasi Exp $ +$NetBSD: patch-ab,v 1.3 2008/12/21 16:53:45 uebayasi Exp $ ---- Src/zsh.h.orig 2007-03-30 05:33:15.000000000 -0400 -+++ Src/zsh.h 2007-04-28 14:52:11.000000000 -0400 -@@ -1754,6 +1754,7 @@ +--- Src/zsh.h.orig 2008-10-31 18:40:18.000000000 +0900 ++++ Src/zsh.h +@@ -1986,6 +1986,7 @@ struct ttyinfo { #endif }; @@ -10,7 +10,7 @@ $NetBSD: patch-ab,v 1.2 2007/09/21 05:24:43 uebayasi Exp $ /* defines for whether tabs expand to spaces */ #if defined(HAVE_TERMIOS_H) || defined(HAVE_TERMIO_H) #define SGTTYFLAG shttyinfo.tio.c_oflag -@@ -1771,6 +1772,7 @@ +@@ -2003,6 +2004,7 @@ struct ttyinfo { # endif # endif # endif diff --git a/shells/zsh-current/patches/patch-ac b/shells/zsh-current/patches/patch-ac index 206d44ffff6..96c9e0c7037 100644 --- a/shells/zsh-current/patches/patch-ac +++ b/shells/zsh-current/patches/patch-ac @@ -1,19 +1,19 @@ -$NetBSD: patch-ac,v 1.3 2006/03/11 13:20:15 uebayasi Exp $ +$NetBSD: patch-ac,v 1.4 2008/12/21 16:53:45 uebayasi Exp $ ---- configure.orig 2006-02-28 23:44:59.000000000 +0900 +--- configure.orig 2008-10-31 02:07:59.000000000 +0900 +++ configure -@@ -16066,6 +16066,10 @@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6 +@@ -18472,6 +18472,10 @@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6; } DLLD="${DLLD=$CC}" DLLDARG="" ;; + *interix*) -+ DLLD="${DLLD=$CC}" -+ DLLDARG="" ++ DLLD="${DLLD=$CC}" ++ DLLDARG="" + ;; * ) DLLD="${DLLD=ld}" DLLDARG="" -@@ -16076,6 +16080,7 @@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6 +@@ -18482,6 +18486,7 @@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6; } case "$host_os" in hpux*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; darwin*) DLCFLAGS="${DLCFLAGS=-fno-common}" ;; @@ -21,12 +21,12 @@ $NetBSD: patch-ac,v 1.3 2006/03/11 13:20:15 uebayasi Exp $ *) DLCFLAGS="${DLCFLAGS=-fPIC}" ;; esac else -@@ -16089,7 +16094,7 @@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6 - esac +@@ -18496,7 +18501,7 @@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6; } fi case "$host_os" in -- *freebsd*|linux*|irix*|osf*|gnu*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; -+ *freebsd*|linux*|irix*|osf*|gnu*|interix*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; + osf*) DLLDFLAGS="${DLLDFLAGS=-shared -expect_unresolved '*'}" ;; +- *freebsd*|linux*|irix*|gnu*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; ++ *freebsd*|linux*|irix*|gnu*|interix*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; sunos*) DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;; sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;; netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;; diff --git a/shells/zsh-current/patches/patch-ae b/shells/zsh-current/patches/patch-ae deleted file mode 100644 index 2767f6d87d0..00000000000 --- a/shells/zsh-current/patches/patch-ae +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-ae,v 1.2 2007/09/21 05:24:43 uebayasi Exp $ - ---- Src/mkmakemod.sh.orig 2006-05-27 13:49:53.000000000 -0400 -+++ Src/mkmakemod.sh 2007-04-28 15:00:56.000000000 -0400 -@@ -112,9 +112,7 @@ - module_list="${bin_mods}${dyn_mods}" - - # check 2.13, 2.50, and 2.60 syntaxes -- if grep '%@D@%D%' config.status >/dev/null || -- grep ',@D@,D,' config.status >/dev/null || -- grep ',@D@,|#_!!_#|D,' config.status >/dev/null; then -+ if grep '^#[ \t]*define[ \t][ \t]*DYNAMIC[ \t]' config.h >/dev/null; then - is_dynamic=true - else - is_dynamic=false diff --git a/shells/zsh-current/patches/patch-af b/shells/zsh-current/patches/patch-af deleted file mode 100644 index 071c767541e..00000000000 --- a/shells/zsh-current/patches/patch-af +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-af,v 1.1 2007/09/21 05:24:43 uebayasi Exp $ - ---- Config/defs.mk.in.orig 2007-01-16 01:36:41.000000000 +0900 -+++ Config/defs.mk.in 2007-09-20 11:53:37.000000000 +0900 -@@ -77,6 +77,7 @@ - - # install utility - INSTALL_PROGRAM = @INSTALL_PROGRAM@ -+INSTALL_SCRIPT = @INSTALL_SCRIPT@ - INSTALL_DATA = @INSTALL_DATA@ - - # variables used in determining what to install diff --git a/shells/zsh-current/patches/patch-ag b/shells/zsh-current/patches/patch-ag deleted file mode 100644 index f9770ed6303..00000000000 --- a/shells/zsh-current/patches/patch-ag +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ag,v 1.1 2007/09/21 05:24:43 uebayasi Exp $ - ---- Makefile.in.orig 2006-09-17 00:53:03.000000000 +0900 -+++ Makefile.in 2007-09-20 11:52:46.000000000 +0900 -@@ -88,6 +88,7 @@ - FUNCTIONS_SUBDIRS="$(FUNCTIONS_SUBDIRS)" \ - INSTALL_DATA="$(INSTALL_DATA)" \ - INSTALL_PROGRAM="$(INSTALL_PROGRAM)" \ -+ INSTALL_SCRIPT="$(INSTALL_SCRIPT)" \ - DESTDIR="$(DESTDIR)" VERSION="$(VERSION)" \ - $(SHELL) $(sdir_top)/Config/installfns.sh || exit 1; \ - fi; \ diff --git a/shells/zsh-current/patches/patch-ah b/shells/zsh-current/patches/patch-ah deleted file mode 100644 index 7a05b17ae63..00000000000 --- a/shells/zsh-current/patches/patch-ah +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ah,v 1.1 2007/09/21 05:24:43 uebayasi Exp $ - ---- Config/installfns.sh.orig 2006-03-20 20:06:24.000000000 +0900 -+++ Config/installfns.sh 2007-09-20 11:50:26.000000000 +0900 -@@ -46,7 +46,7 @@ - fi - test -d $instdir || /bin/sh $sdir_top/mkinstalldirs $instdir || exit 1 - if test -x $sdir_top/$file; then -- $INSTALL_PROGRAM $sdir_top/$file $instdir || exit 1 -+ $INSTALL_SCRIPT $sdir_top/$file $instdir || exit 1 - else - $INSTALL_DATA $sdir_top/$file $instdir || exit 1 - fi |