Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change DECLAREDNULL to DEFAULTED | Bart Schaefer | 2021-04-10 | 3 | -12/+12 |
| | |||||
* | Fix ${(t)var} output, add comparative test cases | Bart Schaefer | 2021-04-10 | 3 | -1/+31 |
| | |||||
* | Missed files from POSXIBUILTINS commit | Bart Schaefer | 2021-04-10 | 2 | -8/+9 |
| | |||||
* | Make DECLAREDNULL require POSIXBUILTINS and introduce a new test file. | Bart Schaefer | 2021-04-10 | 1 | -0/+105 |
| | | | | V10private has been made agnostic to POSIXBUILTINS. | ||||
* | Final repairs for declared state of tied arrays | Bart Schaefer | 2021-04-10 | 2 | -2/+7 |
| | | | | Fixups still required in bin_typeset, but assignments to scalar work. | ||||
* | Additional tied-array cleanup when tied scalar had a previous value | Bart Schaefer | 2021-04-10 | 1 | -3/+3 |
| | |||||
* | Unset of a tied local scalar previously left it using tiedarr_gsu | Bart Schaefer | 2021-04-10 | 1 | -0/+2 |
| | |||||
* | Partial fix for handling of tied arrays. | Bart Schaefer | 2021-04-10 | 1 | -0/+6 |
| | | | | | | | | | | | | As of this commit when a tied array is declared but neither the scalar nor the array has an initializer, the array is initialized to empty. The scalar struct param of a tied pair stores a direct pointer to the internal array value of the array struct param, and upon assignment modifies it without referring to the containing struct. This means that there's no opportunity to clear the PM_DECLAREDNULL bits on both structs when the scalar is assigned. Conversely, assigning to the array does use the struct for the scalar. | ||||
* | Choose a better bit-value for PM_DECLARED | Bart Schaefer | 2021-04-10 | 1 | -1/+1 |
| | |||||
* | Add PM_DECLARED and PM_DECLAREDNULL parameter flags. | Bart Schaefer | 2021-04-10 | 5 | -5/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This addresses the issue that "typeset foo" creates $foo set to an empty string, which differs from typeset handling in bash and ksh. It does this by concealing the internal value rather than alter the way internal values are defaulted. This imposes the following changes: A typeset variable with no assignment triggers NO_UNSET warnings when the name is used in parameter expansion or math. The typeset -AEFHLRTZailux options are applied upon the first assignment to the variable. Explicit unset before the first assignment discards all of those properties. If any option is applied to an existing name, historic behavior is unchanged. Consequent to the foregoing, the (t) parameter expansion flag prints nothing until after the first assignment, and the (i) and (I) subscript flags also print nothing. The bash behavior of "unset foo; typeset -p foo" is NOT used. This is called out as an emulation distinction, not a change. The test cases have not been updated, so several now fail. The test harness has been updated to declare default values. | ||||
* | 48338: _git: Support case-insensitive path matching | dana | 2021-04-10 | 2 | -3/+13 |
| | |||||
* | 48432 and enable test: fix quotiing of zstyle -L for zstyle -e | Peter Stephenson | 2021-04-09 | 3 | -2/+9 |
| | |||||
* | 48378: complete compadd options for other completion functions | Oliver Kiddle | 2021-04-09 | 2 | -37/+87 |
| | |||||
* | 48437: fix pid completion when cursor is in the middle of the line | Oliver Kiddle | 2021-04-09 | 2 | -2/+5 |
| | |||||
* | 47786: prepare for autoconf 2.70 | Felipe Contreras | 2021-04-09 | 3 | -56/+59 |
| | |||||
* | 47785: remove deprecated autoconf functions | Felipe Contreras | 2021-04-09 | 5 | -40/+12 |
| | | | | STDC_HEADERS and TIME_WITH_SYS_TIME are deprecated. | ||||
* | 48416: update _gcore for macOS and GNU | Jun-ichi Takimoto | 2021-04-08 | 2 | -3/+18 |
| | |||||
* | 48410: FAQ, METAFAQ: Mention zsh-security@. | Daniel Shahaf | 2021-04-08 | 3 | -1/+15 |
| | |||||
* | 48379: Make the parameter expansion subscript flags parse error message, ↵ | Daniel Shahaf | 2021-04-08 | 3 | -3/+34 |
| | | | | "error in flags", identify the location of the parse error. | ||||
* | 48321 (tweaked per thread): _perl_modules: Don't assume ${words[1]} to be ↵ | Daniel Shahaf | 2021-04-08 | 2 | -5/+11 |
| | | | | | | | 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 Shahaf | 2021-04-07 | 2 | -0/+14 |
| | |||||
* | 48391: fix display problem in menu-complete | Jun-ichi Takimoto | 2021-04-06 | 2 | -1/+4 |
| | | | | | Take account of the trailing file type character even when '-d disp' is given to compadd. | ||||
* | 48389: getkeystring() should not return ptr to local var | Jun-ichi Takimoto | 2021-04-06 | 3 | -9/+36 |
| | | | | | 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 awk | Marc Chantreux | 2021-04-06 | 2 | -13/+20 |
| | |||||
* | 48414: quote closing bracket to adapt for change in 43928 | Oliver Kiddle | 2021-04-06 | 2 | -1/+4 |
| | |||||
* | 48413: Fix _expand completion test | Marlon Richert | 2021-04-06 | 3 | -7/+10 |
| | |||||
* | unposted: add several references to bugs in old list posts | Oliver Kiddle | 2021-04-06 | 2 | -1/+11 |
| | |||||
* | unposted: FAQ: Move the 'The mailing lists have moved' notice to a more ↵ | Daniel Shahaf | 2021-04-05 | 2 | -3/+8 |
| | | | | appropriate place. | ||||
* | 47784: silence a compiler waring from pattern.c | Felipe Contreras | 2021-04-04 | 2 | -1/+4 |
| | |||||
* | 48218 (+ 48354): various improvements for _gcc | Jacob Gelbman | 2021-04-04 | 2 | -989/+2057 |
| | |||||
* | 47510: drop code that avoided termcap for named colours | Oliver Kiddle | 2021-04-03 | 3 | -44/+16 |
| | | | | | | 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 Kiddle | 2021-04-03 | 2 | -2/+12 |
| | | | | control | ||||
* | unposted: BUGS: Add 39319, a named-file process substitution cleanup bug. | Daniel Shahaf | 2021-04-01 | 2 | -0/+7 |
| | |||||
* | 48202 + 48366: Fix handling of NUL bytes in zexpandtabs multibyte version | Mikael Magnusson | 2021-04-01 | 3 | -5/+15 |
| | |||||
* | github #74: Drop vcsh completions, maintained upstream | Caleb Maclennan | 2021-03-31 | 2 | -89/+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 Richert | 2021-03-31 | 3 | -4/+28 |
| | | | | complist | ||||
* | 48192: Fix _openstack completion for new style clients | Syphdias | 2021-03-31 | 2 | -53/+67 |
| | |||||
* | users/26557: add bookmarks support and remove the header from the final list ↵ | Marc Chantreux | 2021-03-31 | 2 | -2/+21 |
| | | | | in surfraw completion | ||||
* | 47561 (the git and cvs parts) (compare 44919 + 44920): vcs_info internals: ↵ | Aleksandr Mezin | 2021-03-29 | 5 | -13/+28 |
| | | | | | | | 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 ↵ | dana | 2021-03-29 | 2 | -2/+8 |
| | | | | | | | | | | | | | | 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 Shahaf | 2021-03-29 | 1 | -2/+5 |
| | |||||
* | unposted: docs: _arguments: Fix a typo in the example. | Daniel Shahaf | 2021-03-29 | 2 | -1/+6 |
| | |||||
* | 48166: add completion for ctags language options | Jacob Gelbman | 2021-03-29 | 2 | -199/+249 |
| | |||||
* | 48210: Introduce new completion for setpriv(1) on Linux | Arseny Maslennikov | 2021-03-28 | 2 | -0/+110 |
| | |||||
* | 48212: Introduce new completion for Linux task capabilities | Arseny Maslennikov | 2021-03-28 | 2 | -0/+68 |
| | |||||
* | 48231: add missing git --pretty formats and improve descriptions | Štěpán Němec | 2021-03-28 | 2 | -7/+12 |
| | |||||
* | 48230, 48233 (Jun T): completion of dtrace probes and runtime options | Oliver Kiddle | 2021-03-28 | 2 | -38/+154 |
| | |||||
* | 48216: Fix broken Y01 test from workers/48180 | dana | 2021-03-28 | 2 | -0/+8 |
| | |||||
* | 48131/0004: FAQ: 3.31: Rearrange | Daniel Shahaf | 2021-03-26 | 2 | -14/+21 |
| | |||||
* | 48131/0003: FAQ: 3.31: Move two paragraphs unchanged, reordering them | Daniel Shahaf | 2021-03-26 | 2 | -14/+20 |
| | | | | | | | | | | | | | 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. |