1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-19 18:37:46 +02:00
Commit Graph

12009 Commits

Author SHA1 Message Date
Bart Schaefer
8424fe5e23 51534: update for recent changes in zsh.h 2023-03-07 17:57:06 -08:00
Bart Schaefer
42640b2613 51511: More discussion of unsupported ksh features 2023-03-06 20:08:12 -08:00
Bart Schaefer
b17431e6dd 51511: Documentation for namespaces 2023-03-06 20:04:31 -08:00
Bart Schaefer
8d009d35a9 51510: Skip namespaces in "set"/"typeset" output, add tests, fix bug 2023-03-06 20:01:04 -08:00
Bart Schaefer
0562be0af8 51509 (+ fix typo): Add ${(!)name} for the referred-to name of a named reference
Extend ${!name} in ksh emulation for same
2023-03-06 19:54:48 -08:00
Bart Schaefer
ac1bf482ba 51524: dependency on zsh/zle for linkage 2023-03-06 14:54:28 -08:00
Bart Schaefer
9bd9693fdb 51486: clarify module development section 2023-03-05 14:21:18 -08:00
Bart Schaefer
ea0bd72dd8 51485: module for several ksh93 features, mostly enabled only in ksh emulation. 2023-03-05 14:16:31 -08:00
Bart Schaefer
4bc1f6e0d2 51484: Extend named reference handling for special parameters, improve doc. 2023-03-05 14:06:25 -08:00
Bart Schaefer
a9ba166216 51483: Enable assignment and expansion of parameters with ksh-like namespace prefixes. 2023-03-05 14:03:42 -08:00
Bart Schaefer
806d096b0e unposted: fix memory leak flagged by coverity 2023-03-05 13:26:57 -08:00
Mikael Magnusson
86a5278f9f 51491: Check should use zlemetacs instead of zlecs
Coverity noticed that this first branch of the if statement has "meta"
added to all the variable names except this zlecs at the end, so change
it to match.
2023-02-28 14:56:06 +01:00
Bart Schaefer
b3980ecc58 51464: utility to interpret zsh.h constants 2023-02-26 19:26:46 -08:00
Bart Schaefer
3d8c567d58 Fix typo 2023-02-26 19:18:19 -08:00
Bart Schaefer
ec4bd3169d 51460: avoid crash on bad parameter autofeature 2023-02-26 18:54:10 -08:00
Shohei YOSHIDA
d76004588b 51473: Update cal/ncal completion
- Support util-linux and bsdmainutils cal on Linux
- Support each BSD's implementations
2023-02-24 14:43:27 +01:00
Sebastian Stark
bb36b80178 51470 (tweaked, c.f. 51476): Separate cdpath elements in path-directories completion 2023-02-24 14:40:38 +01:00
Oliver Kiddle
f604645d06 51474: make -e and --vault-id options repeatable and update for new options to ansible 2.13.2 2023-02-24 12:34:14 +01:00
Peter Stephenson
82f307bddf Fix access to autoloaded parameter.
Namerefef resolution needs to happen on the parameter after autoload.
2023-02-21 12:16:40 +00:00
Bart Schaefer
d2768f2f88 51431: "typeset -p" shouldn't change parameter flags 2023-02-20 10:32:40 -08:00
Oliver Kiddle
76be800073 51456: complete only modified files with git add -u
Also fix a typo, add a missing =, add a prompt for function name after
git blame -L and git worktree --force has gained a short -f form.
2023-02-19 17:25:17 +01:00
Oliver Kiddle
c83ce203f5 51455, 51461: new completion for the OpenLDAP client tools including a helper function for LDAP search filters 2023-02-19 17:20:35 +01:00
Oliver Kiddle
6f4aa1d949 51447: silence compiler maybe-uninitialized warning by combining a couple of variables 2023-02-17 23:38:14 +01:00
Øystein Walle
619cf4fbd5 51391: complete remote branch names respecting --delete for git push 2023-02-17 23:35:39 +01:00
Bart Schaefer
32cceefa95 51437: Fix incorrectly-passed test case, masked by unrelated bug.
A bug with zmodload when unloading/reloading a static module caused the
state of the shell options to change during K01 test.  Worked around it.
Also changed warnnestedvar messages to look more like other such.
2023-02-14 17:54:42 -08:00
Peter Stephenson
7e0c4406ce 51424: $(<...) shouldn't try to open a file with NO_EXEC 2023-02-14 09:21:32 +00:00
Bart Schaefer
03887bb03f 51430: Misc. problems with typeset and $parameters
* Fix and test for regression of assignment when using typeset command
* Fix output of typeset +m and $parameters[ref]
* Prevent segfault in typeset
2023-02-13 18:20:11 -08:00
Bart Schaefer
f4c706f0c8 51417: Check subscripts in named reference values more rigorously. 2023-02-12 12:20:33 -08:00
Bart Schaefer
acb15e3cc9 51403: Tests and documentation for 51402, clean up some other tests. 2023-02-12 11:57:31 -08:00
Bart Schaefer
3eed6f70cd 51402: Some ksh/bash features, additional sanity checking
* Add "unset -n"
* Allow and enforce "typeset -n -r" for read-only references
* "can't change type via subscript reference" error
* Better checking for self-referential declarations/assignments
* Ksh-style "foo=bar; typeset -n foo" creates foo=bar reference
* Support "typeset -n ref; for ref in ..."
* Subscripted references use NO_EXEC for safety
* References assigned in called scopes reset scope at end
* Allow named references to $! $? $$ $- $0 $_
2023-02-12 11:51:41 -08:00
Bart Schaefer
e807ac1157 51375: Clarify documentation, fix typos, add indexing. 2023-02-12 11:32:11 -08:00
Bart Schaefer
3e55a135c1 51374: Expose named references in $parameters, fix substitution error. 2023-02-12 11:29:10 -08:00
Bart Schaefer
102145b048 51362: Begin documentation for named references. 2023-02-12 11:25:42 -08:00
Bart Schaefer
143e153259 51361: Tests for 51360. 2023-02-12 11:23:06 -08:00
Bart Schaefer
511e020c68 51360: Initial implementation of named references. 2023-02-12 11:21:23 -08:00
Bart Schaefer
d3edf31830 51404: Nullify filelist after deleting (fix segfault) 2023-02-12 09:52:39 -08:00
Oliver Kiddle
6502d05897 51320, 51383: fixes to prevent later reappearance of old attributes
Also associated test updates and a test fix for TERM=dumb.
2023-02-09 00:10:19 +01:00
Peter Stephenson
d6b027c3c1 51350: ${(S)...//#%...} didn't match the whole string 2023-02-06 14:16:17 +00:00
Daniel Shahaf
bffdbccda6 51354: Fix markup in man page version 2023-02-02 17:57:35 +00:00
Peter Stephenson
76d095df9d 51306: error message in ${unset?error} should be expanded 2023-02-02 10:12:17 +00:00
Peter Stephenson
21baad1037 51307: Improve error on attempt to define function from aliased name 2023-02-02 10:09:21 +00:00
Bart Schaefer
c8c894f83f 51342: update PARAMDEF description 2023-01-31 17:45:42 -08:00
Bart Schaefer
88ccf2be1e 51337: parameter attributes cross-reference typeset equivalents (or lack thereof) 2023-01-31 17:08:57 -08:00
Daniel Shahaf
096e72ce78 unposted (cribbed from users/28784 by Roman): Add XFail tests for substituting a single-quoting backslash. 2023-01-27 18:42:42 +00:00
Shohei YOSHIDA
f264fcde80 51330: Update python3 completion for version 3.11 2023-01-27 18:30:19 +00:00
Daniel Shahaf
9a75555b0f unposted: Fix typo in an X-Seq number in an old ChangeLog entry 2023-01-27 15:08:52 +00:00
Shohei YOSHIDA
ba834fa53c 51326: Improve -fsanitize option completion
- Support comma separated completion
- Accept multiple `-fsanitize` options
2023-01-24 09:00:07 +00:00
Shohei YOSHIDA
f54ed0b76a 51322 (+ minor tweak): Update gnu make completion for version 4.4
Add `--jobserver-style`, `--shuffle` and `--trace` options
And delete '--warn-undefined-functions' option. This option was implemented
only in redhat's older make and the official gnu make has never supported it.
2023-01-22 14:35:08 +00:00
Bart Schaefer
37569049f0 51313: fix "git rerere forget" completion 2023-01-21 19:21:30 -08:00
Bart Schaefer
f93ad02b94 51310: zle -F handlers preserve LASTWIDGET
Also fix email address in an old ChangeLog entry
2023-01-21 19:18:15 -08:00