Commit Graph

11476 Commits (69ffb0bf0aa6c59e3c0529e540f67a26a6cdc541)
 

Author SHA1 Message Date
Felipe Contreras 69ffb0bf0a 47786: prepare for autoconf 2.70 3 years ago
Felipe Contreras df48cc8404 47785: remove deprecated autoconf functions
STDC_HEADERS and TIME_WITH_SYS_TIME are deprecated.
3 years ago
Jun-ichi Takimoto 62e86515e7 48416: update _gcore for macOS and GNU 3 years ago
Daniel Shahaf e4a8740c78 48410: FAQ, METAFAQ: Mention zsh-security@. 3 years ago
Daniel Shahaf 4ba9008ec7 48379: Make the parameter expansion subscript flags parse error message, "error in flags", identify the location of the parse error. 3 years ago
Daniel Shahaf 295fbc0998 48321 (tweaked per thread): _perl_modules: Don't assume ${words[1]} to be either "perl" or "perldoc"
Also, correct an always-true condition guarding the fallback @INC
codepath.
3 years ago
Daniel Shahaf 608e49ac19 48425: Add an XFail test for a 'zstyle -L' escaping bug (workers/48424). 3 years ago
Jun-ichi Takimoto 9562a1ee7b 48391: fix display problem in menu-complete
Take account of the trailing file type character even when '-d disp'
is given to compadd.
3 years ago
Jun-ichi Takimoto 0f62e07c80 48389: getkeystring() should not return ptr to local var
Now it returns NULL if called with GETKEY_SINGLE_CHAR and next character
is not found. Caller must check the return value.
3 years ago
Marc Chantreux ccc7ff90a4 users/26579: changes from review including parameter expansion to replace awk 3 years ago
Oliver Kiddle 2c000ee7ba 48414: quote closing bracket to adapt for change in 43928 3 years ago
Marlon Richert aaf619cc22 48413: Fix _expand completion test 3 years ago
Oliver Kiddle e3c4c80f3e unposted: add several references to bugs in old list posts 3 years ago
Daniel Shahaf c0034b3c7b unposted: FAQ: Move the 'The mailing lists have moved' notice to a more appropriate place. 3 years ago
Felipe Contreras 94b5446838 47784: silence a compiler waring from pattern.c 3 years ago
Jacob Gelbman 7a81e6344f 48218 (+ 48354): various improvements for _gcc 3 years ago
Oliver Kiddle 0721060f36 47510: drop code that avoided termcap for named colours
The inconsistency caused test failures where TERM is e.g. rxvt-unicode.
This also makes a couple of bits available in zattr by removing flags
indicating whether to use termcap which is not an attribute as such.
3 years ago
Oliver Kiddle 714864a87b 48356: clarify (the intended) behaviour for the two anchor forms of matching control 3 years ago
Daniel Shahaf ad7948611c unposted: BUGS: Add 39319, a named-file process substitution cleanup bug. 3 years ago
Mikael Magnusson ea3351c496 48202 + 48366: Fix handling of NUL bytes in zexpandtabs multibyte version 3 years ago
Caleb Maclennan 3afdfef31c github #74: Drop vcsh completions, maintained upstream
See discussion on upstream project here:

https://github.com/RichiH/vcsh/issues/270
3 years ago
Marlon Richert 07a30613f0 48214: add file types to _expand completions, so they can be colored through complist 3 years ago
Syphdias 5d0bb152ef 48192: Fix _openstack completion for new style clients 3 years ago
Marc Chantreux 7518b20a01 users/26557: add bookmarks support and remove the header from the final list in surfraw completion 3 years ago
Aleksandr Mezin fc82e8193b 47561 (the git and cvs parts) (compare 44919 + 44920): vcs_info internals: cvs, git: Set ${vcs_comm[basedir]} like all other backends do.
That doesn't affect anything, not even other vcs_info internals; it's
just for consistency across backends.
3 years ago
dana 2ffd292833 47737: _zstyle: Fix option completion when positional arguments are already present (regression from workers/39659 (commit ae3b675ce6))
The following case:

    LBUFFER='zstyle -'
    RBUFFER=' foo bar'

Before this patch, completed 'context pattern' (from the first
positional argument).

With this patch, completes options, which is correct.
3 years ago
Daniel Shahaf aebdbfd7ba unposted: ChangeLog: Fix X-Seq numbers for the 39657, 39658, 39659 patch series. 3 years ago
Daniel Shahaf 3d2814072a unposted: docs: _arguments: Fix a typo in the example. 3 years ago
Jacob Gelbman ab166725dd 48166: add completion for ctags language options 3 years ago
Arseny Maslennikov e469b8c4e3 48210: Introduce new completion for setpriv(1) on Linux 3 years ago
Arseny Maslennikov 14709db6d6 48212: Introduce new completion for Linux task capabilities 3 years ago
Štěpán Němec 42de9318f1 48231: add missing git --pretty formats and improve descriptions 3 years ago
Oliver Kiddle d7c8d6826d 48230, 48233 (Jun T): completion of dtrace probes and runtime options 3 years ago
dana d3906d7a2f 48216: Fix broken Y01 test from workers/48180 3 years ago
Daniel Shahaf 2c062e8e69 48131/0004: FAQ: 3.31: Rearrange 3 years ago
Daniel Shahaf 7c201b1b3e 48131/0003: FAQ: 3.31: Move two paragraphs unchanged, reordering them
Factored out from the next patch for readability of the diff.

The answer, as it stands in this commit, doesn't flow correctly.  In
order to keep the diffs small and easy to follow, this commit simply
adds a TODO to record this issue, a TODO which is fixed by the next
commit in this series (the child of this commit).  Thus, a request:

DEAR PEOPLE FROM THE FUTURE: Please don't create new branches off this
commit; create them off the parent commit or off the child commit
instead.  Thank you.
3 years ago
Daniel Shahaf 2ad942b758 48131/0002: FAQ: 3.31: Tweak summary paragraph 3 years ago
Daniel Shahaf a5a093d5fe 48131/0001: FAQ: 3.31: Add a one-sentence summary 3 years ago
dana 78cf455871 unposted: Improve documentation and add regression test for workers/47745 3 years ago
Stephane Chazelas d96c898101 47745: Fix [:IDENT:] vs posixidentifiers
wcsitype(c, IIDENT) should return false for non-ASCII characters
when the POSIX_IDENTIFIERS option is on, not the other way round.
3 years ago
Marlon Richert f4a248f9d3 48180: Start menu selection with select=long-list in menu style 3 years ago
Daniel Shahaf f87b73e677 48147/0002: zmathfunc: Fix bug where the exit code would be non-zero if the expression evaluted to zero. 3 years ago
Daniel Shahaf 6a2a8acf09 48147/0001: tests: Add a unit test for zmathfunc and a regression test for workers/48146 affecting it. 3 years ago
Jacob Gelbman 5ede2c55f1 48105: Update ctags completion with format fix 3 years ago
Jacob Gelbman 055ce78401 48096: New ctags completion 3 years ago
Arseny Maslennikov 8b67c36d92 48094: apply cleanup commands of the current theme on any theme change
* Rename zstyle `cleanup' on the context `:prompt-theme' to `restore'
  everywhere but in prompt_cleanup(). It is only used as a restore
  mechanism now.
* Ensure prompt_cleanup() continues to store its command list in the
  `cleanup' style.
* Clean up before theme switch at the end of set_prompt().
* Prepend every use of prompt_*_setup (which might modify the shell
  state in ways that require cleanup) with a cleanup run.
* Adjust `prompt restore' to do both parts of the newly split restore
  mechanism, cleanup first.
3 years ago
Arseny Maslennikov 5c60ec46ec 47867: Fix RPROMPT typo in prompinit 3 years ago
Peter Stephenson 6bef719302 users/26509: fix for r -L
fc with the -L option should ignore remote entires, rather than
reading them and treating them as an error.
3 years ago
Martijn Dekker 9c0533931c 48073: Add fc -s as POSIX way of rerunning command without starting editor 3 years ago
Justine Tunney 326d9c203b Allow more scripts without #!
This change modifies the zsh binary safety check surrounding execve() so
it can run shell scripts having concatenated binary content. We're using
the same safety check as FreeBSD /bin/sh [1]. POSIX was recently revised
to require this behavior:

    "The input file may be of any type, but the initial portion of the
     file intended to be parsed according to the shell grammar (XREF to
     XSH 2.10.2 Shell Grammar Rules) shall consist of characters and
     shall not contain the NUL character. The shell shall not enforce
     any line length limits."

    "Earlier versions of this standard required that input files to the
     shell be text files except that line lengths were unlimited.
     However, that was overly restrictive in relation to the fact that
     shells can parse a script without a trailing newline, and in
     relation to a common practice of concatenating a shell script
     ending with an 'exit' or 'exec $command' with a binary data payload
     to form a single-file self-extracting archive." [2] [3]

One example use case of such scripts, is the Cosmopolitan C Library [4]
which configuse the GNU Linker to output a polyglot shell+binary format
that runs on Linux / Mac / Windows / FreeBSD / OpenBSD.

[1] 9a1cd36331
[2] http://austingroupbugs.net/view.php?id=1250
[3] http://austingroupbugs.net/view.php?id=1226#c4394
[4] https://justine.lol/cosmopolitan/index.html
3 years ago