about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* unposted: Add some tests for ${(S)}, including a regression test for ↵Daniel Shahaf2020-01-012-0/+28
| | | | workers/45164.
* 45169/0002 (tweaked for trailing newlines): Add an expected-to-fail test for ↵Daniel Shahaf2020-01-013-12/+23
| | | | workers/44007.
* 45169/0001: In the test suite, allow test cases to be marked as expected to ↵Daniel Shahaf2020-01-014-4/+38
| | | | | | fail. See next commit for a use-case.
* users/24582 + users/24583: Add regression tests for the previous commit.Daniel Shahaf2019-12-313-0/+83
|
* 24581: Fix array assignments in shell word splitting and completion.Peter Stephenson2019-12-313-1/+19
| | | | | | Assignments after the first were not recognised as such as without the full parser the state didn't return to command position. Fix this in bufferwords() and the completion miniparser.
* 45160: zshexpn: Expand documentation of (S)Daniel Shahaf2019-12-312-3/+37
|
* 45150 + 45152: zshexpn: Use a more minimal example in the documentation of (#b).Sebastian Gniazdowski2019-12-282-3/+9
|
* unposted: internal: Vim ztst support: Add an ftplugin in addition to the ↵Daniel Shahaf2019-12-274-1/+36
| | | | syntax highlighter.
* 45130: _multi_parts: Always pass -f to compadd if given by callerdana2019-12-262-1/+4
|
* unposted: zerrmsg(): Fix macro guard missed in previous commitdana2019-12-262-2/+5
|
* unposted: ChangeLog for last commitDaniel Shahaf2019-12-261-0/+5
|
* internal: Allow %L in zerrmsg() in non-debug builds, too.Daniel Shahaf2019-12-261-2/+0
| | | | This will let error messages include long integers.
* unposted: _stdbuf: Fix mismatch between the long options on the one hand, ↵Daniel Shahaf2019-12-232-1/+7
| | | | and the short options and descriptions on the other hand.
* unposted: Fix broken build: 45109 (!) broke Test/Y01completion.ztst.Daniel Shahaf2019-12-223-1/+4
|
* 45110: zshmisc(1): Fix markup of "try-list" and "always-list".Daniel Shahaf2019-12-222-12/+15
|
* 45111: zshmisc(1): Clarify the documentation of 'return' and 'exit' in ↵Daniel Shahaf2019-12-225-8/+27
| | | | | | | | | | | | | | | | | | | | | | | | conjunction with try/always Having reviewed 20076, 20084, 21734, and 21735, my understanding is that the original intention was: - A 'return' in a function does run always-list - An 'exit' outside a function does not run always-list - A 'return' outside a function is treated as an 'exit' All of which are the case today. The remaining case, of 'exit' used inside a function, was not specified by the referenced -workers@ posts; does, as implemented, run the always-list; and furthermore, based in 21734 it's fair to assume that the original documentation was assuming that 'exit' would be used outside of any function, just like it assumed 'return' would be used inside a function. Therefore, have the documentation specify only the behaviour of 'exit' outside any function, and leave the behaviour of 'exit' inside a function unspecified. Anyone who relied on the documentation of 'exit' as documented until this commit would have run into the documentation/implementation discrepancy described in 45075.
* 45112: zshmodules: Explicitly document the return values of the 'zstyle' ↵Daniel Shahaf2019-12-222-0/+9
| | | | getters -s, -b, and -a.
* 45113: vcs_info docs: Clarify documentation of the %p/%u/%a patch-format ↵Daniel Shahaf2019-12-222-3/+6
| | | | expandos.
* 45114: vcs_info quilt: Improve support for svn-style patch headers.Daniel Shahaf2019-12-222-7/+16
| | | | | | | | | | Additional lines between the |-separated header line and the actual log message, as generated by 'svn log -v' and 'svn log -g', are now supported. This change affects you if you have quilt patches with 'svn log'-style information in their headers, regardless of whether you use quilt standalone, quilt over svn, or quilt over some other VCS.
* 45115: vcs_info examples: Make the quilt-patch-dir example friendlier.Daniel Shahaf2019-12-222-12/+21
| | | | | | | - Document that no code at all is necessary for Pareto correctness - Remove a recommendation to rely on implementation details (${rrn}); instead, rely only on ${context}, which is a documented API.
* 45116: vcs_info examples: Add an example of showing Git environment variables.Daniel Shahaf2019-12-222-0/+28
|
* 45107: ztst.vim: Highlight some more special variablesDaniel Shahaf2019-12-222-1/+5
|
* 45108: ztst.vim: Conceal the '>' or '?' on pattern expected output / ↵Daniel Shahaf2019-12-222-8/+22
| | | | | | expected errput lines. This aligns the expectations given by '*>' and '>' lines.
* 45109: Add Vim highlighting file for Test/*.ztst files.Daniel Shahaf2019-12-224-1/+83
|
* unposted: Test release: 5.7.1-test-2 zsh-5.7.1-test-2dana2019-12-212-2/+4
|
* 45101: Adjust white spacedana2019-12-212-4/+10
|
* 45101: Document new dev/test versioning scheme, clarify other release stepsdana2019-12-212-9/+36
| | | | | | | Also clarified the purpose of dev/test releases as suggested in workers/45104. Note that the old versioning scheme remains in effect until after 5.8 final has been released.
* unposted: Group related tests. No functional change.Daniel Shahaf2019-12-212-8/+11
|
* unposted: Etc/BUGS: Add two bugs discussed on -workers@ this weekDaniel Shahaf2019-12-212-0/+21
|
* 45055: Clarify _files documentationdana2019-12-202-3/+10
|
* 45083: Add signal protection to execarith().Peter Stephenson2019-12-182-0/+8
| | | | | Otherwise we could get re-entrancy in memory functions when setting variables.
* 45076: internal: Simplify handling of try_tryflag. No functional change.Daniel Shahaf2019-12-182-6/+6
| | | | | try_tryflag isn't assigned anywhere, other than at initialization and by these lines, so we don't need to save and restore the value.
* 45066: internal: Document forklevel, locallevel, and exit_pending.Daniel Shahaf2019-12-184-2/+17
|
* 45065: Make 'make -s' print nothing when it does nothing.Daniel Shahaf2019-12-182-1/+3
|
* 45064: Fix the mktemp() warning, in debug builds only.Daniel Shahaf2019-12-182-0/+28
| | | | | | | | | | | | On Linux, linking to mktemp() generates the following warning: . utils.o: In function `gettempname': ./Src/utils.c:2229: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' The warning cannot be disabled. Work around that by using mkstemp() instead, and massage its output so it behaves like mktemp(). See the new comment for further details.
* 45073: regex-replace docs: Simplify grammar (avoid a double negative, state ↵Daniel Shahaf2019-12-182-3/+9
| | | | defaults first).
* 45058: internal: Add symbolic names to possible values of zexit()'s ↵Daniel Shahaf2019-12-179-25/+40
| | | | "from_where" parameter. No functional change.
* Add ChangeLog entry for last commit.Daniel Shahaf2019-12-171-0/+5
|
* unposted: Update comment to reflect variable rename in 41012 (= ↵Daniel Shahaf2019-12-171-1/+1
| | | | zsh-5.3.1-182-gd7110d8f0).
* unposted: Fix ChangeLog typoDaniel Shahaf2019-12-171-1/+1
|
* Missed out ChangeLog from previous commit.Peter Stephenson2019-12-161-0/+5
|
* 44698, 45000: Baptiste BEAUPLAT: Completion for sbuildBaptiste BEAUPLAT2019-12-162-0/+143
|
* github #36: Add completion file for GNU StowAurélien Olivier2019-12-162-0/+89
|
* 45035: be explicit about the need for a # in colours specified as hex tripletsOliver Kiddle2019-12-162-4/+9
|
* 45025: fix re-entrancy problem with memory management in readoutput().Peter Stephenson2019-12-152-25/+42
| | | | This could cause a signal received during $(...) to corrupt memory.
* unposted: Update change log for 5.7.1-test-1dana2019-12-141-0/+5
| | | | (This change-log update was made after the actual release)
* unposted: Test release: 5.7.1-test-1 zsh-5.7.1-test-1dana2019-12-143-6/+9
|
* 45009: POSIX_CD needs to suppress some forms of option.Peter Stephenson2019-12-123-2/+5
| | | | | Otherwise forms of argument allowed by POSIX are interpreted as options instead.
* 45001: Fix zero-length matches with ${...%...}Peter Stephenson2019-12-123-0/+35
| | | | As the shortest match is preferred, zero-length matches beat any other.
* 45004: Fix typos in commentsMartijn Dekker2019-12-1129-56/+65
|