Update to 5.2

NEWS:
Changes from 5.1.1 to 5.2
-------------------------

The new module zsh/param/private can be loaded to allow the shell
to define parameters that are private to a function scope (i.e. are
not propagated to nested functions called within this function).

The parameter flag ${(P)...} is now more useful when it appears in
a nested expansion.  For example,

  typeset -A assoc=(one un two deux three trois)
  name=assoc
  print ${${(P)name}[one]}

now prints "un".  In previous versions of the shell the value of the
substitution was fully expanded on return from ${(P)name}, making
associative array subscripting difficult.  As a side effect, flags
for formatting appearing in the inner substitution now affect the
substitution of the name (into "assoc" in this case), which is not
normally useful: flags that should apply to the value must be in the
outer substitution.

The GLOB_STAR_SHORT option allows the pattern **/* to be shortened to
just ** if no / follows. so **.c searches recursively for a file whose
name has the suffix ".c".

The effect of the WARN_CREATE_GLOBAL option has been significantly
extended, so expect it to cause additional warning messages about
parameters created globally within function scope.

README:
Incompatibilities between 5.1 and 5.2
-------------------------------------

The behaviour of the parameter flag (P) has changed when it appears
in a nested parameter group, in order to make it more useful in
such cases.  A (P) in the outermost parameter group behaves as
before.  See NEWS for more.
This commit is contained in:
szptvlfn 2015-12-08 11:24:59 +00:00
parent 6c504bf60c
commit 640f5186aa
3 changed files with 20 additions and 9 deletions

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.73 2015/11/02 15:21:01 ryoon Exp $
# $NetBSD: Makefile,v 1.74 2015/12/08 11:24:59 szptvlfn Exp $
.include "../../shells/zsh/Makefile.common"
ZSH_VERSION= 5.1.1
ZSH_VERSION= 5.2
ZSH_MAINTAINER= uebayasi@NetBSD.org
CONFIGURE_ARGS+= --disable-gdbm

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.32 2015/09/02 10:54:29 szptvlfn Exp $
@comment $NetBSD: PLIST,v 1.33 2015/12/08 11:24:59 szptvlfn Exp $
bin/zsh
bin/${PKGNAME}
info/zsh.info
@ -19,6 +19,7 @@ ${PLIST.dynamic}lib/zsh/${PKGVERSION}/zsh/mathfunc.so
${PLIST.dynamic}lib/zsh/${PKGVERSION}/zsh/net/socket.so
${PLIST.dynamic}lib/zsh/${PKGVERSION}/zsh/net/tcp.so
${PLIST.dynamic}lib/zsh/${PKGVERSION}/zsh/newuser.so
${PLIST.dynamic}lib/zsh/${PKGVERSION}/zsh/param/private.so
${PLIST.dynamic}lib/zsh/${PKGVERSION}/zsh/parameter.so
${PLIST.dynamic}lib/zsh/${PKGVERSION}/zsh/regex.so
${PLIST.dynamic}lib/zsh/${PKGVERSION}/zsh/rlimits.so
@ -205,6 +206,7 @@ share/zsh/${PKGVERSION}/functions/_cryptsetup
share/zsh/${PKGVERSION}/functions/_cssh
share/zsh/${PKGVERSION}/functions/_csup
share/zsh/${PKGVERSION}/functions/_ctags_tags
share/zsh/${PKGVERSION}/functions/_curl
share/zsh/${PKGVERSION}/functions/_cut
share/zsh/${PKGVERSION}/functions/_cvs
share/zsh/${PKGVERSION}/functions/_cvsup
@ -362,6 +364,7 @@ share/zsh/${PKGVERSION}/functions/_gzip
share/zsh/${PKGVERSION}/functions/_hash
share/zsh/${PKGVERSION}/functions/_have_glob_qual
share/zsh/${PKGVERSION}/functions/_hdiutil
share/zsh/${PKGVERSION}/functions/_head
share/zsh/${PKGVERSION}/functions/_hg
share/zsh/${PKGVERSION}/functions/_history
share/zsh/${PKGVERSION}/functions/_history_complete_word
@ -416,6 +419,7 @@ share/zsh/${PKGVERSION}/functions/_links
share/zsh/${PKGVERSION}/functions/_lintian
share/zsh/${PKGVERSION}/functions/_list
share/zsh/${PKGVERSION}/functions/_list_files
share/zsh/${PKGVERSION}/functions/_lldb
share/zsh/${PKGVERSION}/functions/_ln
share/zsh/${PKGVERSION}/functions/_loadkeys
share/zsh/${PKGVERSION}/functions/_locales
@ -505,6 +509,7 @@ share/zsh/${PKGVERSION}/functions/_nothing
share/zsh/${PKGVERSION}/functions/_notmuch
share/zsh/${PKGVERSION}/functions/_npm
share/zsh/${PKGVERSION}/functions/_nslookup
share/zsh/${PKGVERSION}/functions/_objdump
share/zsh/${PKGVERSION}/functions/_object_classes
share/zsh/${PKGVERSION}/functions/_od
share/zsh/${PKGVERSION}/functions/_okular
@ -622,6 +627,7 @@ share/zsh/${PKGVERSION}/functions/_sccs
share/zsh/${PKGVERSION}/functions/_sched
share/zsh/${PKGVERSION}/functions/_schedtool
share/zsh/${PKGVERSION}/functions/_schroot
share/zsh/${PKGVERSION}/functions/_scl
share/zsh/${PKGVERSION}/functions/_screen
share/zsh/${PKGVERSION}/functions/_sed
share/zsh/${PKGVERSION}/functions/_sep_parts
@ -676,8 +682,8 @@ share/zsh/${PKGVERSION}/functions/_sysctl
share/zsh/${PKGVERSION}/functions/_sysstat
share/zsh/${PKGVERSION}/functions/_systat
share/zsh/${PKGVERSION}/functions/_system_profiler
share/zsh/${PKGVERSION}/functions/_systemd
share/zsh/${PKGVERSION}/functions/_tags
share/zsh/${PKGVERSION}/functions/_tail
share/zsh/${PKGVERSION}/functions/_tar
share/zsh/${PKGVERSION}/functions/_tar_archive
share/zsh/${PKGVERSION}/functions/_tardy
@ -704,6 +710,7 @@ share/zsh/${PKGVERSION}/functions/_topgit
share/zsh/${PKGVERSION}/functions/_totd
share/zsh/${PKGVERSION}/functions/_tpb
share/zsh/${PKGVERSION}/functions/_tpconfig
share/zsh/${PKGVERSION}/functions/_tr
share/zsh/${PKGVERSION}/functions/_tracepath
share/zsh/${PKGVERSION}/functions/_trap
share/zsh/${PKGVERSION}/functions/_tree
@ -835,7 +842,9 @@ share/zsh/${PKGVERSION}/functions/_zoneadm
share/zsh/${PKGVERSION}/functions/_zones
share/zsh/${PKGVERSION}/functions/_zpool
share/zsh/${PKGVERSION}/functions/_zpty
share/zsh/${PKGVERSION}/functions/_zsh
share/zsh/${PKGVERSION}/functions/_zsh-mime-handler
share/zsh/${PKGVERSION}/functions/_zsocket
share/zsh/${PKGVERSION}/functions/_zstyle
share/zsh/${PKGVERSION}/functions/_ztodo
share/zsh/${PKGVERSION}/functions/_zypper
@ -848,6 +857,7 @@ share/zsh/${PKGVERSION}/functions/backward-word-match
share/zsh/${PKGVERSION}/functions/bashcompinit
share/zsh/${PKGVERSION}/functions/before
share/zsh/${PKGVERSION}/functions/bracketed-paste-magic
share/zsh/${PKGVERSION}/functions/bracketed-paste-url-magic
share/zsh/${PKGVERSION}/functions/calendar
share/zsh/${PKGVERSION}/functions/calendar_add
share/zsh/${PKGVERSION}/functions/calendar_edit
@ -1024,6 +1034,7 @@ share/zsh/${PKGVERSION}/functions/zsh-mime-handler
share/zsh/${PKGVERSION}/functions/zsh-mime-setup
${PLIST.dynamic}share/zsh/${PKGVERSION}/functions/zsh-newuser-install
share/zsh/${PKGVERSION}/functions/zsh_directory_name_cdr
share/zsh/${PKGVERSION}/functions/zsh_directory_name_generic
share/zsh/${PKGVERSION}/functions/zstyle+
share/zsh/${PKGVERSION}/functions/ztodo
share/zsh/${PKGVERSION}/help/alias

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.55 2015/11/02 15:21:01 ryoon Exp $
$NetBSD: distinfo,v 1.56 2015/12/08 11:24:59 szptvlfn Exp $
SHA1 (zsh-5.1.1.tar.xz) = c47a6a6a3624c28290832f29eba40ac6155c6b0d
RMD160 (zsh-5.1.1.tar.xz) = 28baa80559d3bad4a38859c2c5b5ac65d508f518
SHA512 (zsh-5.1.1.tar.xz) = 732f183a03125e83da11a38c638ca54a667326a23ca19418b0df27b1d5b3b1f360383d84f66bde064911effaa2ce9cbb9b6ab86deddb92f80e8f601af8a82b3e
Size (zsh-5.1.1.tar.xz) = 2788676 bytes
SHA1 (zsh-5.2.tar.xz) = a93d034fcaa470bf8557fc11a9d0e86300325936
RMD160 (zsh-5.2.tar.xz) = 97aa895e0a1b8ba94852b57daadab261ed60c4c3
SHA512 (zsh-5.2.tar.xz) = 9938af95e09203a0a313f441e0c23279136806f6f087475ca9a66c678c57ecffc87f73ece8133a36700af8de7cb5d1bec8559eabdec2b66102062e64026c2e72
Size (zsh-5.2.tar.xz) = 2820108 bytes
SHA1 (patch-aczsh.m4) = 36c270d8d7cf727f48787ef889b2bd89cbf065e2
SHA1 (patch-configure.ac) = e34bbae6385442b51a7263b22681898203d0c013