pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/shells/zsh-current



Module Name:    pkgsrc
Committed By:   uebayasi
Date:           Sun Dec 21 16:53:45 UTC 2008

Modified Files:
        pkgsrc/shells/zsh-current: Makefile PLIST distinfo
        pkgsrc/shells/zsh-current/patches: patch-ab patch-ac
Removed Files:
        pkgsrc/shells/zsh-current: PLIST.dynamic PLIST.shlibs PLIST.terminfo
        pkgsrc/shells/zsh-current/patches: patch-aa patch-ae patch-af patch-ag
            patch-ah

Log Message:
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--------


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 pkgsrc/shells/zsh-current/Makefile
cvs rdiff -r1.9 -r1.10 pkgsrc/shells/zsh-current/PLIST
cvs rdiff -r1.4 -r0 pkgsrc/shells/zsh-current/PLIST.dynamic
cvs rdiff -r1.3 -r0 pkgsrc/shells/zsh-current/PLIST.shlibs
cvs rdiff -r1.1 -r0 pkgsrc/shells/zsh-current/PLIST.terminfo
cvs rdiff -r1.12 -r1.13 pkgsrc/shells/zsh-current/distinfo
cvs rdiff -r1.7 -r0 pkgsrc/shells/zsh-current/patches/patch-aa
cvs rdiff -r1.2 -r1.3 pkgsrc/shells/zsh-current/patches/patch-ab
cvs rdiff -r1.3 -r1.4 pkgsrc/shells/zsh-current/patches/patch-ac
cvs rdiff -r1.2 -r0 pkgsrc/shells/zsh-current/patches/patch-ae
cvs rdiff -r1.1 -r0 pkgsrc/shells/zsh-current/patches/patch-af \
    pkgsrc/shells/zsh-current/patches/patch-ag \
    pkgsrc/shells/zsh-current/patches/patch-ah

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index