about summary refs log tree commit diff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* 48522: README: Clarify _alternative changeDaniel Shahaf2021-04-131-0/+4
|
* 48525: vcs_info git docs: ahead/behind commits: Run fewer external programsTim Lee2021-04-131-0/+5
|
* 48439: remove macros that became unnecessary by df48cc8Jun-ichi Takimoto2021-04-121-0/+4
|
* 48504: use SEEK_ macros in fseek() callsOliver Kiddle2021-04-111-0/+6
|
* 48466: correct indentation and remove tabs and trailing spacesMarc Chantreux2021-04-111-0/+3
|
* 48445: pluralize tags in _surfrawMarc Chantreux2021-04-111-0/+3
|
* users/26645: update options in gv completionMarc Chantreux2021-04-111-0/+5
|
* 47794: exec: run final pipeline command in a subshell in sh modebrian m. carlson2021-04-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | zsh typically runs the final command in a pipeline in the main shell instead of a subshell. However, POSIX specifies that all commands in a pipeline run in a subshell, but permits zsh's behavior as an extension. The default /bin/sh implementations on various Linux distros and the BSDs always use a subshell for all components of a pipeline. Since zsh may be used as /bin/sh in some cases (such as macOS Catalina), it makes sense to have the common sh behavior when emulating sh, so do that by checking for being the final item of a multi-item pipeline and creating a subshell in that case. From the comment above execpline(), we know the following: last1 is a flag that this command is the last command in a shell that is about to exit, so we can exec instead of forking. It gets passed all the way down to execcmd() which actually makes the decision. A 0 is always passed if the command is not the last in the pipeline. […] If last1 is zero but the command is at the end of a pipeline, we pass 2 down to execcmd(). So there are three cases to consider in this code: • last1 is 0, which means we are not at the end of a pipeline, in which case we should not change behavior. • last1 is 1, which means we are effectively running in a subshell, because nothing that happens due to the exec is going to affect the actual shell, since it will have been replaced. So there is nothing to do here. • last1 is 2, which means our command is at the end of the pipeline, so in sh mode we should create a subshell by forking. input is nonzero if the input to this process is a pipe that we've opened. At the end of a multi-stage pipeline, it will necessarily be nonzero. Note that several of the tests may appear bizarre, since most developers do not place useless variable assignments directly at the end of a pipeline. However, as the function tests demonstrate, there are cases where assignments may occur when a shell function is used at the end of a command. The remaining assignment tests simply test additional cases, such as the use of local, that would otherwise be untested.
* 47913: implement CASE_PATHS option to make NO_CASE_GLOB more sensibleBart Schaefer2021-04-101-0/+5
|
* unposted: README: Document incompatibility caused by workers/43928dana2021-04-101-0/+3
|
* 48338: _git: Support case-insensitive path matchingdana2021-04-101-0/+5
|
* 48432 and enable test: fix quotiing of zstyle -L for zstyle -ePeter Stephenson2021-04-091-0/+6
|
* 48378: complete compadd options for other completion functionsOliver Kiddle2021-04-091-0/+3
|
* 48437: fix pid completion when cursor is in the middle of the lineOliver Kiddle2021-04-091-0/+3
|
* 47786: prepare for autoconf 2.70Felipe Contreras2021-04-091-0/+3
|
* 47785: remove deprecated autoconf functionsFelipe Contreras2021-04-091-0/+5
| | | | STDC_HEADERS and TIME_WITH_SYS_TIME are deprecated.
* 48416: update _gcore for macOS and GNUJun-ichi Takimoto2021-04-081-0/+5
|
* 48410: FAQ, METAFAQ: Mention zsh-security@.Daniel Shahaf2021-04-081-0/+3
|
* 48379: Make the parameter expansion subscript flags parse error message, ↵Daniel Shahaf2021-04-081-0/+4
| | | | "error in flags", identify the location of the parse error.
* 48321 (tweaked per thread): _perl_modules: Don't assume ${words[1]} to be ↵Daniel Shahaf2021-04-081-0/+5
| | | | | | | either "perl" or "perldoc" Also, correct an always-true condition guarding the fallback @INC codepath.
* 48425: Add an XFail test for a 'zstyle -L' escaping bug (workers/48424).Daniel Shahaf2021-04-071-0/+5
|
* 48391: fix display problem in menu-completeJun-ichi Takimoto2021-04-061-0/+3
| | | | | Take account of the trailing file type character even when '-d disp' is given to compadd.
* 48389: getkeystring() should not return ptr to local varJun-ichi Takimoto2021-04-061-0/+5
| | | | | Now it returns NULL if called with GETKEY_SINGLE_CHAR and next character is not found. Caller must check the return value.
* users/26579: changes from review including parameter expansion to replace awkMarc Chantreux2021-04-061-0/+3
|
* 48414: quote closing bracket to adapt for change in 43928Oliver Kiddle2021-04-061-0/+3
|
* 48413: Fix _expand completion testMarlon Richert2021-04-061-0/+3
|
* unposted: add several references to bugs in old list postsOliver Kiddle2021-04-061-0/+4
|
* unposted: FAQ: Move the 'The mailing lists have moved' notice to a more ↵Daniel Shahaf2021-04-051-0/+5
| | | | appropriate place.
* 47784: silence a compiler waring from pattern.cFelipe Contreras2021-04-041-0/+3
|
* 48218 (+ 48354): various improvements for _gccJacob Gelbman2021-04-041-0/+5
|
* 47510: drop code that avoided termcap for named coloursOliver Kiddle2021-04-031-0/+3
| | | | | | 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.
* 48356: clarify (the intended) behaviour for the two anchor forms of matching ↵Oliver Kiddle2021-04-031-0/+5
| | | | control
* unposted: BUGS: Add 39319, a named-file process substitution cleanup bug.Daniel Shahaf2021-04-011-0/+5
|
* 48202 + 48366: Fix handling of NUL bytes in zexpandtabs multibyte versionMikael Magnusson2021-04-011-0/+6
|
* github #74: Drop vcsh completions, maintained upstreamCaleb Maclennan2021-03-311-0/+3
| | | | | | See discussion on upstream project here: https://github.com/RichiH/vcsh/issues/270
* 48214: add file types to _expand completions, so they can be colored through ↵Marlon Richert2021-03-311-0/+4
| | | | complist
* 48192: Fix _openstack completion for new style clientsSyphdias2021-03-311-0/+3
|
* users/26557: add bookmarks support and remove the header from the final list ↵Marc Chantreux2021-03-311-0/+5
| | | | in surfraw completion
* 47561 (the git and cvs parts) (compare 44919 + 44920): vcs_info internals: ↵Aleksandr Mezin2021-03-291-0/+10
| | | | | | | 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.
* 47737: _zstyle: Fix option completion when positional arguments are already ↵dana2021-03-291-0/+6
| | | | | | | | | | | | | | present (regression from workers/39659 (commit ae3b675ce6e4ac62451ea08169c2b4dc45cf533b)) 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.
* unposted: ChangeLog: Fix X-Seq numbers for the 39657, 39658, 39659 patch series.Daniel Shahaf2021-03-291-2/+5
|
* unposted: docs: _arguments: Fix a typo in the example.Daniel Shahaf2021-03-291-0/+5
|
* 48166: add completion for ctags language optionsJacob Gelbman2021-03-291-2/+5
|
* 48210: Introduce new completion for setpriv(1) on LinuxArseny Maslennikov2021-03-281-0/+3
|
* 48212: Introduce new completion for Linux task capabilitiesArseny Maslennikov2021-03-281-0/+3
|
* 48231: add missing git --pretty formats and improve descriptionsŠtěpán Němec2021-03-281-0/+3
|
* 48230, 48233 (Jun T): completion of dtrace probes and runtime optionsOliver Kiddle2021-03-281-0/+5
|
* 48216: Fix broken Y01 test from workers/48180dana2021-03-281-0/+5
|
* 48131/0004: FAQ: 3.31: RearrangeDaniel Shahaf2021-03-261-0/+2
|
* 48131/0003: FAQ: 3.31: Move two paragraphs unchanged, reordering themDaniel Shahaf2021-03-261-0/+3
| | | | | | | | | | | | | 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.