summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
2016-11-1739962: bind vi case conversion widgetsOliver Kiddle1-0/+3
u/U in visual mode and g~ from normal mode
2016-11-1739959: when repeating vi changes advance through the numbered killring registersOliver Kiddle1-9/+26
Also fix numeric arguments with vi-repeat-change: and argument passed to the repeat replaces that previously saved with the change.
2016-11-1739952: add registers special parameter to provide access to the vi register ↵Oliver Kiddle1-0/+99
buffers from a zle widget function
2016-11-1639945: allow further tab presses to move on to menu completion even when ↵Oliver Kiddle1-0/+1
compstate[insert] is emptied
2016-11-1539943: no need to compute arrlen() in arrdup_max() when max == 0.Barton E. Schaefer1-2/+3
2016-11-1539949: Special case for "-" in directory names.Peter Stephenson2-39/+47
It can be sh-tokenized to Dash to allow for appearing in ranges after substitution, so needs to be turned back to "-" in that case.
2016-11-1539937: fix a problem introduced by 39886.Jun-ichi Takimoto1-3/+4
$a[i,j] should become an empty array if i>j.
2016-11-1439906: More multibyte optimisations for US-ASCII.Peter Stephenson1-3/+23
This treats characters 0 to 0x7f as single byte US-ASCII along the lines we already do in other places in the code.
2016-11-13unposted: comment in zlecallhook() points to redrawhook() just in caseBarton E. Schaefer1-0/+2
2016-11-1339934: if a widget execution fails, try to execute a corresponding immortal ↵Barton E. Schaefer1-3/+15
widget instead.
2016-11-1339933: more of zlecallhook() in redrawhook()Barton E. Schaefer1-2/+17
add commentary on some of the differences
2016-11-1039893: use arrdup_max() to show explicitly the difference in two code branchesBarton E. Schaefer1-3/+2
no functional change
2016-11-1139874/0002 plus size=0 handling: zshcalloc: Remove code duplication. No ↵Daniel Shahaf1-9/+1
functional change.
2016-11-1139874/0001: setarrvalue: Remove needless initialization.Daniel Shahaf1-2/+2
2016-11-1039901: No EXIT trap on LHS of pipeline.Peter Stephenson1-0/+4
There is a special case if the LHS is a shell construct. Add unit tests for both cases.
2016-11-0939887: no need to conditionalise assignment of strlen()Peter Stephenson1-6/+2
2016-11-0939886 based on 39877: Optimise arrdup to arrdup_max.Peter Stephenson2-7/+42
Only duplicate as much of the array as is needed.
2016-11-0939875: add dupstring_glen to avoid redundant strlen callsSebastian Gniazdowski2-2/+19
2016-11-0839871: cut down number of strlen()s in getstrvalue()Sebastian Gniazdowski2-4/+26
2016-11-0839870: ensure exit trap can always runPeter Stephenson1-0/+5
2016-11-08unposted: follow up to 39867: don't need test against zeroPeter Stephenson1-1/+1
2016-11-0839869: can transfer ownership of core of array when assigningSebastian Gniazdowski1-3/+8
2016-11-0839867, tweaked: Use cast to unsigned char to test character.Peter Stephenson1-1/+1
We want the unsigned variant to be <= 0x7f. Use the normal STOUC() macro and turn this into a single test.
2016-11-0739728: define _GNU_SOURCE on CygwinJun-ichi Takimoto2-4/+1
2016-11-0539844: fix "while" condition as per 39839 (commit 2c56c7e5)Barton E. Schaefer1-4/+3
2016-11-0539839: fix "return" from "if" conditionBarton E. Schaefer1-1/+2
2016-11-0539838: another missing unqueue_signals()Barton E. Schaefer1-0/+1
2016-11-0539829: when compstate[insert] is emptied by the completion function and ↵Oliver Kiddle1-2/+8
AUTO_MENU is set, start menu completion on the second tab press rather than the third
2016-11-0539834: when print used with -v and -l, include a final newlineOliver Kiddle1-1/+2
Also complete print -S option and make further use of the new printf to an array feature in other completion functions.
2016-11-0539389: when printf -v is used with an array use separate elements each time ↵Oliver Kiddle1-13/+38
the format is reused
2016-11-0439825: optimise mb_metastrlenend() for 7-bit character.Peter Stephenson1-1/+16
As the shell relies intimately on US-ASCII as a subset we can skip the multibyte functions if we are dealing with a complete 7-bit character.
2016-11-03unposted: comment explaining key buffer handling.Peter Stephenson1-0/+7
Describe putting back the tail end of the key buffer into the input.
2016-11-0339806: internal: Document zle's vichgbuf.Daniel Shahaf1-0/+9
2016-11-0339805: internal: Document some compadd internals.Daniel Shahaf2-12/+19
2016-11-0339804: internal: Document matchspec flags.Daniel Shahaf2-4/+10
2016-11-0339803: internal: Document bin_compadd().Daniel Shahaf1-10/+10
2016-11-0339802: internal: Document and simplify multiquote().Daniel Shahaf2-6/+18
The code simplifications take advantage of the fact that all callers pass either 0 or 1 for 'ign'. The tildequote() text is from workers/39271.
2016-11-0339820: vi-repeat handles multi-key bindingsBarton E. Schaefer1-4/+6
2016-11-0339813: fix keybuflen after ungetting extra keys from the end of keybuf in ↵Barton E. Schaefer1-2/+5
getkeymapcmd().
2016-11-0339815: Read input to end on parse error in $(...) inside a string.Peter Stephenson1-2/+11
This allows ${(z)} to output the whole string, although we can't do word splitting from the error onwards.
2016-11-0239811: vi-repeat-change must not be the "motion" of vi-change, lest it ↵Barton E. Schaefer1-1/+1
infinitely repeat itself
2016-10-3039777: $() is a valid empty command substitutionPeter Stephenson1-1/+1
2016-10-2939758: revise 39704 for array and hash parameters; more POSIXBUITINS tweaks forBarton E. Schaefer2-12/+18
export 39704 was commit 0f5e670, forgot to reference article number in that log. "typeset -p" outputs "typeset" for array and hash parameters, even when exported, because those types can be marked export but are never pushed to the enviroment. For POSIXBUILTINS, "export var" does not implicitly set $var, and its export state is preserved when assigned (but not when explicitly unset).
2016-10-2539725: more metafication of patterns.Barton E. Schaefer1-2/+3
2016-10-2539723: metafy string passed to pattern in complist.Peter Stephenson2-0/+5
Also additional safety tokenizing a string with Meta characters.
2016-10-24"typeset -p" uses "export" commands or the "-g" option for parameters that ↵Barton E. Schaefer1-5/+17
are not local to the current scope
2016-10-2339715: Handle multibyte characters in complist listingPeter Stephenson1-5/+12
2016-10-2039688: Skip out of P_EXACTLY pattern loop if P_PURES.Peter Stephenson1-2/+2
If it's really a pure string, there's only one exact match. We could overwrite the next pointer; usually this didn't matter because we'd hit a termination, but if we reallocated we might be looking at garbage.
2016-10-2039683: Update scan pointers after possible alloc.Peter Stephenson1-1/+5
Problem could cause next scan index to point into an invalid block when handling meta characters.
2016-10-1939680: correctly handle case of popping last arenaBarton E. Schaefer1-1/+2
This mattered only when compiling with --enable-stack-allocation because otherwise the heap was never completely empty.