Commit graph

45 commits

Author SHA1 Message Date
recht
ea1e8f68b5 Update to 4.2.0
Patch provided by Geoff C. Wing in PR 24918
ok'd by uebayasi@

New features between zsh versions 4.0 and 4.2
Configuration:

* upgraded to use autoconf post-2.50
* improved compatibility with other shells through shell options, builtin
  arguments and improved builtin option parsing

Syntax and builtins:

* new printf builtin
* `+=' to append to parameters which works for scalars, arrays and (with
  pairs) associative arrays.
* enhanced multiple parameter `for' loops: for key value in key1 value1 key2
  value2 ... maintaining full compatibility with POSIX syntax.
* Suffix aliases allow the shell to run a command on a file by suffix, e.g
  `alias -s ps=gv' makes `foo.ps' execute `gv foo.ps'. Supplied function
  zsh-mime-setup uses existing mailcap and mime.types files to set up suitable
  aliases. Supplied function pick-web-browser is suitable for finding a browser
  to show .html etc. files by suffix alias.
* new option `no_case_glob' for case-insensitive globbing.

Add-on modules and functions:

* zsh/datetime modules makes date formatting and seconds since EPOCH available
  inside the shell.
* zsh/net/tcp module provides builtin interface to TCP through ztcp builtin.
  Function suite for interactive and script use with expect-style pattern
  matching.
* zsh/net/socket module provides zsocket builtin.
* zcalc calculator function with full line editing.
* builtin interface to pcre library
* zsh/zselect module provides zselect builtin as interface to select system call

Completion system:

* general improvements to command and context support, low-level functions,
  display code.
* in verbose mode, matches with the same description are grouped
* highly configurable completions for values of specific parameters, specific
  redirections for specific commands
* support for bash completion functions (typically zsh native functions are more
  powerful where available)
* New completions provided for (some of these may be in later 4.0 releases):
  valgrind, tidy, texinfo, infocmp, Java classes, larch, limit, locale
  parameters, netcat, mysqldiff, mt, lsof, elinks, ant, debchange (dch), email
  addresses, file system types, Perforce, xsltproc. Plus many others.

Line editor:

* special parameters $PREDISPLAY, $POSTDISPLAY available in function widgets
  to configure uneditable text (for narrowing)
* recursive editing
* supplied widgets read-from-minibuffer, replace-string use these features
  (more  intuitive prompting and argument reading than 4.0)
* access to killed text via $CUTBUFFER and $killring
* supplied highly configurable word widgets forward-word-match etc., can set
  what constitutes a word interactively or in startup script (implement
  bash-style behaviour, replacing previous bash-* word widgets)
* interface to incremental search via $LASTSEARCH
* better handling of keymaps in zle and widgets
* better support for output from user-defined widgets while zle is active
* tetris game which runs entirely in zle
* several other contributed widgets

Local internal improvements:

* disowned jobs are automatically restarted
* \u and \U print escapes for Unicode
* read -d allows a custom line ending.
* read -t .
* line numbers in error messages and $PS4 output are more consistent
* `=prog' expands only paths, no longer aliases for consistency
* job display in prompts; `jobs' command output can be piped
* prompts: new $RPROMPT2, %^, %j, %y, enhanced %{, %}, %_.
* rand48() function in zsh/mathfunc for better randomness in arithmetic
  (if the corresponding math library function is present)
* $SECONDS parameter can be made floating point via `typeset -F SECONDS'
  for better timing accuracy
* improvements to command line history mechanism
* job table is dynamically sized, preventing overflow (typically seen
  previously in complex completions).
* many bugfixes
2004-03-28 10:30:13 +00:00
uebayasi
406146460c Update zsh to 4.0.9. From Min Sik Kim <minskim at bawi dot org> in PR
pkg/24297.

Changes since 4.0.7:
  - Many bug fixes.
  - Local improvements to various completion functions.
2004-02-02 08:48:40 +00:00
jmmv
f8a2024623 AFAICT from logs, uebayasi@ is the maintainer, so set ZSH_MAINTAINER
accordingly.
2003-12-21 10:22:26 +00:00
seb
29aeeba7a6 Convert to USE_NEW_TEXINFO.
Use INSTALL_TARGET to install info files: this gives a proper
environment for USE_NEW_TEXINFO framework to work.

Fix makeinfo invocation for zsh-current via patch file so that
only _one_ info file is generated as PLIST seems to want it.
2003-08-05 13:37:51 +00:00
uebayasi
e5c8678258 Share Makefile, update patch sum. 2003-06-29 04:24:56 +00:00
uebayasi
cac7dd28bc Update to 4.0.7.
Bug fix release for stable version as well as a few completion
improvements.  Also includes more current MASTER_SITES.

PR21938 by Geoff Wing <gcw at primenet dot com dot au>.
2003-06-20 05:59:02 +00:00
jlam
3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
    worse.

(2) Create a new variable FIX_RPATH that lists variables that should
    be cleansed of -R or -rpath values if ${_USE_RPATH} is "no".  By
    default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
    additional variables may be appended from package Makefiles.
2003-03-14 19:37:30 +00:00
uebayasi
ca5aa6ba12 Update my email address. 2003-02-06 04:24:11 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
salo
80f17bf2ba Convert packages to PKG_REGISTER_SHELLS framework. 2002-11-17 09:01:59 +00:00
jlam
7df12326b2 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:49 +00:00
uebayasi
8670eb08cf Zsh 4.0.6.
Bugfix release.  Some added completion functions: e.g. rsync,
mozilla, some bash builtin functions.

From Geoff C. Wing, gcw at primenet dot com dot au in pkg/17946.
2002-08-15 06:54:54 +00:00
mycroft
9605e1f134 Do not use _mktemp(). There is no prototype for it, so it is not safe to use
on 64-bit systems.
2002-07-18 18:01:55 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00
wiz
732a245881 Don't hardcode /usr/pkg, use ${PREFIX}. (Ouch!) 2001-12-02 16:42:00 +00:00
martti
5c40bc73d0 Updated to 4.0.4, provided by Eric Gillespie Jr. in pkg/14376
This is a minor bug-fix release, though some new functions have been added:

_bts                            Completion for Debian BTS
_chflags                        Completion for chflags(1)
_links                          Completion for links web browser
_samba
_sysctl
_user_admin
bash-backward-kill-word
2001-11-29 09:16:28 +00:00
tron
0562ee9051 Don't compress the manual pages of this package because "zshall.1" tries
to include all the other manual pages with ".so" macros which doesn't
work with compress manual pages even if the filenames are correct.
2001-10-05 16:36:00 +00:00
tron
5517ff3625 "PKGVERSION" is now in "PLIST_SUBST" by default. 2001-09-24 09:51:09 +00:00
tron
6be67edaa8 Don't include "lib/zsh/libzsh-4.0.2.so" into package list under SunOS.
This fixes PR pkg/14032 by Stoned Elipot.
2001-09-23 21:23:59 +00:00
tron
23faead985 Don't hardcode package version number into package lists. 2001-09-23 21:20:35 +00:00
tron
ddccacbb82 Remove redundant "@dirrm" commands from "PLIST.dynamic" and reorder
multiple package list so that deinstallation works smoothly.
2001-09-23 21:15:39 +00:00
tron
0aa1f59f15 Make modifications of "/etc/shells" robust so that they don't fail if
"/etc/shells" doesn't exist or is empty after removing entries for
cerntain shell. These problems show up e.g. under SunOS.
2001-09-23 21:01:29 +00:00
nra
ee3f60dfcd Update zsh to 4.0.2. PR 13538 by Eric Gillespie Jr.
This is a maintenance release for the (stable) 4.0 branch. Most of the
changes are bug fixes, including a fix for a bug which caused the test
suite to fail. On fully supported systems, all tests should now pass.

There is one new feature: the option KSH_TYPESET provides compatibility
with other shells for assignment arguments of `typeset', `export' and
related builtins.
2001-07-23 18:23:44 +00:00
jtb
363d6c7549 Install the NEWS and FAQ files. Add a short message regarding changes
for this version.

Based on suggestions by Geoff Wing <gcw@zsh.org> on tech-pkg.
2001-06-05 21:55:37 +00:00
jtb
c059e72ebd zsh-4.0.1 is a stable release so should be in shells/zsh instead of zsh4.
Pass --disable-dynamic to configure.  Correct homepage.  Remove a mirror.

Addresses some issues by Geoff Wing <gcw@zsh.org> raised on netbsd-bugs.
2001-06-05 16:28:07 +00:00
wiz
f65cde9a73 Update ftp sites URLs. Noted by Geoff Wing. 2001-06-05 09:28:10 +00:00
tron
91fa7cb80a Remove dead mirror from master site list. 2001-04-17 11:16:35 +00:00
zuntum
eb2d6a3285 Update zsh to 3.0.8
Changelog:

2000-05-15  Bart Schaefer  <schaefer@zsh.org>

        * Src/version.h: Version 3.0.8 released.

        * Etc/MACHINES: Add note for OpenStep 4.2 from Brian Boonstra.

        * Etc/FAQ: Latest version from PWS.

        * Src/utils.c: Fix for ${(s::)...} when parameter value has
        meta-characters; Sven, 11368.

2000-05-12  Bart Schaefer  <schaefer@zsh.org>

        * Etc/BUGS: Make note of the numeric range globbing bug reported
        by Zefram in 10444 (requires too many other changes to fix now).

        * Etc/NEWS: Note change in character ranges in globbing.

2000-05-11  Bart Schaefer  <schaefer@zsh.org>

        * Src/builtin.c, Src/params.c: "typeset -U" updates exported
        colon-arrays; PWS, 11314.

        * Src/jobs.c: In setprevjob(), skip jobs with either the
        STAT_NOPRINT or STAT_SUBJOB bits set, as suggested in
        zsh-workers/10005.

2000-04-30  Bart Schaefer  <schaefer@zsh.org>

        * Src/glob.c: Disable locale-sensitive character ranges; sorting
        is still done by locale.  This is the 3.1.7 behavior.

        * Src/builtin.c: Since "read -q" always reads from the tty, always
        write the prompt to the tty.  Adapted from Sven, 10727.

2000-03-08  Bart Schaefer  <schaefer@zsh.org>

        * Src/utils.c, configure, configure.in, config.h.in: Silence linker
        warnings on FreeBSD by using _mktemp() when available.

2000-02-29  Bart Schaefer  <schaefer@zsh.org>

        * Doc/zsh.texi: Silence a couple of warnings.

2000-02-28  Bart Schaefer  <schaefer@zsh.org>

        * Src/init.c, Src/params.c: Silence some harmless compiler
        warnings; Sven, 9905.

        * Src/exec.c: Fix problem with handling of errflag that caused
        push-line-or-edit to fail when used within a here-document; Sven;
        9900 and 9903.

        * Etc/NEWS: Note minor new features and configuration changes.

2000-02-27  Bart Schaefer  <schaefer@zsh.org>

        * Src/builtin.c: Fixes to `vared', particularly when run from a
        subshell; adapted from PWS, 7308, and Sven, 8591.

        * configure.in, configure, acconfig.h, config.h.in,
        Src/prototypes.h: Add test for mknod() prototype, per bug report
        from Olivier Delemar.

        * Src/exec.c, Src/globals.h, Src/init.c, Src/builtin.c: Fix
        improper redirection of xtrace output; unlock terminal device on
        Solaris as per zsh-workers/5118; misc. insignificant typos.

2000-02-23  Bart Schaefer  <schaefer@zsh.org>

        * config.sub: Handle the latest Alpha hardware type; Sven, 9840.

2000-02-16  Bart Schaefer  <schaefer@zsh.org>

        * Src/subst.c: Better quoting behavior for ${(e)...}
        substitutions; from Sven, 9763.

2000-02-15  Bart Schaefer  <schaefer@zsh.org>

        * Src/signames.awk: Missing newline.

        * Src/jobs.c, Src/signames.awk: Wrap signal message array derefs
        in a macro to avoid segfaults in the event we receive an
        unrecognized signal.

2000-02-13  Bart Schaefer  <schaefer@zsh.org>

        * configure.in, configure: Import the 3.1.6 signal.h (or
        equivalent) detection code.

        * Etc/MACHINES: Mention potential resource.h problem on Linux.

2000-02-12  Bart Schaefer  <schaefer@zsh.org>

        * Src/init.c: Redo the way we attach to the tty in init_io() to
        avoid competing with our parent on systems that don't prevent TTY
        ioctl()s from background jobs.

2000-02-06  Bart Schaefer  <schaefer@zsh.org>

        * Src/builtin.c: Clear the PM_UNSET flag from the `pm' structure
        before setting the parameter; PWS, 9582.

2000-02-03  Bart Schaefer  <schaefer@zsh.org>

        * Src/utils.c: Interrupt read1char() when any of the usual shell
        loop control flags becomes set (e.g. by a trap handler); Sven,
        9522.

        * Src/exec.c: A different reformulation of 9345; based on Sven,
        9503 and 9521.

2000-01-29  Bart Schaefer  <schaefer@zsh.org>

        * Src/globals.h: Add a missing EXTERN.

        * Src/globals.h, Src/jobs.c, Src/zsh.h, Src/builtin.c, Src/exec.c:
        Fixes for suspending/restarting subshells; adapted from Sven, 9345.

2000-01-12  Bart Schaefer  <schaefer@zsh.org>

        * Src/loop.c: Fix behavior of "select" loops with respect to
        reading stdin; adapted from PWS, 9295.

2000-01-08  Bart Schaefer  <schaefer@zsh.org>

        * Src/loop.c: Using a negative count with the "repeat" construct
        should not loop.  Adapted from Sven, 9188.

1999-12-12  Bart Schaefer  <schaefer@zsh.org>

        * Src/exec.c: Don't try to suspend/resume loops and other shell
        constructs as separate processes when the parent shell is not
        doing job control in the first place.

1999-11-25  Bart Schaefer  <schaefer@zsh.org>

        * Src/lex.c: Fix off-by-one line number when reporting unmatched
        cshjunkiequote errors.

1999-11-24  Bart Schaefer  <schaefer@zsh.org>

        * Src/signals.c: Just for sanity, be sure not to SIGHUP ourself
        when already exiting.

1999-10-25  Bart Schaefer  <schaefer@zsh.org>

        * Src/system.h, Src/hashtable.h, Src/init.c, Src/params.c,
        INSTALL, acconfig.h, configure.in, configure, config.h.in:
        Configure option to disable setlocale() support, and also do a
        linkage test for it rather than simply test for the LC_ALL
        constant; adapted from Zefram, 8372, by Tatsuo Furukawa.

1999-10-24  Bart Schaefer  <schaefer@zsh.org>

        * Makefile.in: Don't bother trying to enumerate all the files in
        the ftp-dist tar, just pack up the whole zsh-$(VERSION) directory.
        The enumeration caused files in subdirectories to be included
        twice by tar.

1999-10-23  Bart Schaefer  <schaefer@zsh.org>

        * Src/zle_misc.c, Doc/zshparam.man: Add the %L prompt token, for
        the value of SHLVL, as in 3.1.6; thanks to Phil Pennock
        <phil@PsiDev.net> for pointing out this inconsistency.

1999-10-22  Bart Schaefer  <schaefer@zsh.org>

        * Src/mem.c: Fix a couple of typos in comments.

1999-10-19  Bart Schaefer  <schaefer@zsh.org>

        * Src/utils.c: Remove redundant variable decls; noted by Albert
        Chin in 8327.

        * Src/builtin.c: Tweak whitespace in string constant.

        * Src/builtin.c: Recognize "maxpthreads" limit as noted by Albert
        Chin in private mail; also arrange to print the "sockbufsize"
        limit in "ulimit -a".

        * Src/rlimits.awk: Recognize "maxpthreads" limit as noted by
        Albert Chin in private mail.
2001-04-16 22:39:18 +00:00
jtb
5ed9c57afb ZSH_STATIC can be defined in /etc/mk.conf instead of editing the Makefile. 2001-04-09 00:35:38 +00:00
wiz
ad02d69ab2 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:31:58 +00:00
tron
88c1155a2a Correct master site list as suggested by Geoff C. Wing in PR pkg/9138. 2000-01-08 16:33:39 +00:00
windsor
d3e18b1152 upgrade to 3.0.7, the latest release 2000-01-06 22:42:14 +00:00
frueauf
8d322f9c0f Update MASTER_SITES and HOMEPAGE like suggested in pr 7032 by Geoff C. Wing. 1999-02-26 11:00:13 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
988019b016 Update package Makefiles for automatic manual page handling. 1998-06-22 12:58:33 +00:00
frueauf
0851be7c5a Mostly cosmetic changes to shut up portlint. Little bugfix for apache. 1998-05-09 15:24:42 +00:00
agc
ff3e48e78c Fix INFO_FILES definitions to match the commands in bsd.pkg.mk 1998-04-22 11:05:01 +00:00
frueauf
49e36ada0b Substitute all obvious FreeBSD ppl as MAINTAINER with packages@netbsd.org. 1998-04-20 11:56:17 +00:00
agc
5201e68497 Introduce USE_GTEXINFO and INFO_FILES definitions to bsd.pkg.mk, and use them. 1998-04-17 09:37:21 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
tron
9229209fbc Update of "/etc/shells" on "make install" didn't work. 1998-04-14 18:35:59 +00:00
tron
9877260955 "/etc/shells" was updated only by "pkg_add" but not by "make installe". 1998-02-24 15:42:34 +00:00
hubertf
049769d988 portlint: fix RCS Id, move lines, use cmd macros 1998-01-24 23:18:58 +00:00
agc
c32aecbdd9 Add NetBSD RCS Id.
Add NetBSD dependency on gtexinfo
1997-10-24 15:00:34 +00:00
agc
c1af73ac78 Initial import of FreeBSD's shells ports category into NetBSD package
system.
1997-10-24 14:14:32 +00:00