Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 39933: more of zlecallhook() in redrawhook() | Barton E. Schaefer | 2016-11-13 | 1 | -2/+17 |
| | | | | add commentary on some of the differences | ||||
* | 39893: use arrdup_max() to show explicitly the difference in two code branches | Barton E. Schaefer | 2016-11-10 | 1 | -3/+2 |
| | | | | no functional change | ||||
* | 39874/0002 plus size=0 handling: zshcalloc: Remove code duplication. No ↵ | Daniel Shahaf | 2016-11-11 | 1 | -9/+1 |
| | | | | functional change. | ||||
* | 39874/0001: setarrvalue: Remove needless initialization. | Daniel Shahaf | 2016-11-11 | 1 | -2/+2 |
| | |||||
* | 39901: No EXIT trap on LHS of pipeline. | Peter Stephenson | 2016-11-10 | 1 | -0/+4 |
| | | | | | There is a special case if the LHS is a shell construct. Add unit tests for both cases. | ||||
* | 39887: no need to conditionalise assignment of strlen() | Peter Stephenson | 2016-11-09 | 1 | -6/+2 |
| | |||||
* | 39886 based on 39877: Optimise arrdup to arrdup_max. | Peter Stephenson | 2016-11-09 | 2 | -7/+42 |
| | | | | Only duplicate as much of the array as is needed. | ||||
* | 39875: add dupstring_glen to avoid redundant strlen calls | Sebastian Gniazdowski | 2016-11-09 | 2 | -2/+19 |
| | |||||
* | 39871: cut down number of strlen()s in getstrvalue() | Sebastian Gniazdowski | 2016-11-08 | 2 | -4/+26 |
| | |||||
* | 39870: ensure exit trap can always run | Peter Stephenson | 2016-11-08 | 1 | -0/+5 |
| | |||||
* | unposted: follow up to 39867: don't need test against zero | Peter Stephenson | 2016-11-08 | 1 | -1/+1 |
| | |||||
* | 39869: can transfer ownership of core of array when assigning | Sebastian Gniazdowski | 2016-11-08 | 1 | -3/+8 |
| | |||||
* | 39867, tweaked: Use cast to unsigned char to test character. | Peter Stephenson | 2016-11-08 | 1 | -1/+1 |
| | | | | | We want the unsigned variant to be <= 0x7f. Use the normal STOUC() macro and turn this into a single test. | ||||
* | 39728: define _GNU_SOURCE on Cygwin | Jun-ichi Takimoto | 2016-11-07 | 2 | -4/+1 |
| | |||||
* | 39844: fix "while" condition as per 39839 (commit 2c56c7e5) | Barton E. Schaefer | 2016-11-05 | 1 | -4/+3 |
| | |||||
* | 39839: fix "return" from "if" condition | Barton E. Schaefer | 2016-11-05 | 1 | -1/+2 |
| | |||||
* | 39838: another missing unqueue_signals() | Barton E. Schaefer | 2016-11-05 | 1 | -0/+1 |
| | |||||
* | 39829: when compstate[insert] is emptied by the completion function and ↵ | Oliver Kiddle | 2016-11-05 | 1 | -2/+8 |
| | | | | AUTO_MENU is set, start menu completion on the second tab press rather than the third | ||||
* | 39834: when print used with -v and -l, include a final newline | Oliver Kiddle | 2016-11-05 | 1 | -1/+2 |
| | | | | | Also complete print -S option and make further use of the new printf to an array feature in other completion functions. | ||||
* | 39389: when printf -v is used with an array use separate elements each time ↵ | Oliver Kiddle | 2016-11-05 | 1 | -13/+38 |
| | | | | the format is reused | ||||
* | 39825: optimise mb_metastrlenend() for 7-bit character. | Peter Stephenson | 2016-11-04 | 1 | -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. | ||||
* | unposted: comment explaining key buffer handling. | Peter Stephenson | 2016-11-03 | 1 | -0/+7 |
| | | | | | Describe putting back the tail end of the key buffer into the input. | ||||
* | 39806: internal: Document zle's vichgbuf. | Daniel Shahaf | 2016-11-03 | 1 | -0/+9 |
| | |||||
* | 39805: internal: Document some compadd internals. | Daniel Shahaf | 2016-11-03 | 2 | -12/+19 |
| | |||||
* | 39804: internal: Document matchspec flags. | Daniel Shahaf | 2016-11-03 | 2 | -4/+10 |
| | |||||
* | 39803: internal: Document bin_compadd(). | Daniel Shahaf | 2016-11-03 | 1 | -10/+10 |
| | |||||
* | 39802: internal: Document and simplify multiquote(). | Daniel Shahaf | 2016-11-03 | 2 | -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. | ||||
* | 39820: vi-repeat handles multi-key bindings | Barton E. Schaefer | 2016-11-03 | 1 | -4/+6 |
| | |||||
* | 39813: fix keybuflen after ungetting extra keys from the end of keybuf in ↵ | Barton E. Schaefer | 2016-11-03 | 1 | -2/+5 |
| | | | | getkeymapcmd(). | ||||
* | 39815: Read input to end on parse error in $(...) inside a string. | Peter Stephenson | 2016-11-03 | 1 | -2/+11 |
| | | | | | This allows ${(z)} to output the whole string, although we can't do word splitting from the error onwards. | ||||
* | 39811: vi-repeat-change must not be the "motion" of vi-change, lest it ↵ | Barton E. Schaefer | 2016-11-02 | 1 | -1/+1 |
| | | | | infinitely repeat itself | ||||
* | 39777: $() is a valid empty command substitution | Peter Stephenson | 2016-10-30 | 1 | -1/+1 |
| | |||||
* | 39758: revise 39704 for array and hash parameters; more POSIXBUITINS tweaks for | Barton E. Schaefer | 2016-10-29 | 2 | -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). | ||||
* | 39725: more metafication of patterns. | Barton E. Schaefer | 2016-10-25 | 1 | -2/+3 |
| | |||||
* | 39723: metafy string passed to pattern in complist. | Peter Stephenson | 2016-10-25 | 2 | -0/+5 |
| | | | | Also additional safety tokenizing a string with Meta characters. | ||||
* | "typeset -p" uses "export" commands or the "-g" option for parameters that ↵ | Barton E. Schaefer | 2016-10-24 | 1 | -5/+17 |
| | | | | are not local to the current scope | ||||
* | 39715: Handle multibyte characters in complist listing | Peter Stephenson | 2016-10-23 | 1 | -5/+12 |
| | |||||
* | 39688: Skip out of P_EXACTLY pattern loop if P_PURES. | Peter Stephenson | 2016-10-20 | 1 | -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. | ||||
* | 39683: Update scan pointers after possible alloc. | Peter Stephenson | 2016-10-20 | 1 | -1/+5 |
| | | | | | Problem could cause next scan index to point into an invalid block when handling meta characters. | ||||
* | 39680: correctly handle case of popping last arena | Barton E. Schaefer | 2016-10-19 | 1 | -1/+2 |
| | | | | | This mattered only when compiling with --enable-stack-allocation because otherwise the heap was never completely empty. | ||||
* | 39678: metafication of printf %q argument and result | Peter Stephenson | 2016-10-19 | 1 | -2/+3 |
| | |||||
* | 39590: zle: Call zle-line-pre-redraw after inserting a completion result | m0viefreak | 2016-10-18 | 1 | -0/+1 |
| | | | | | This is necessary to make sure redrawhook() is called while cycling results in menu completion. | ||||
* | 39500: compdescribe: perform on-screen-width computation using the "nice" ↵ | Daniel Shahaf | 2016-10-16 | 1 | -9/+10 |
| | | | | | | | length, since the matches are rendered by nice*() functions by compadd Remove two "###" question comments relative to the patch posted, since the answer to them is (clearly) negative. | ||||
* | 39625: case needs to reset lastval if no pattern matched | Martijn Dekker | 2016-10-13 | 1 | -2/+6 |
| | |||||
* | 39611: with _arguments sets completion stopped if one of the rest arguments ↵ | Oliver Kiddle | 2016-10-13 | 1 | -1/+2 |
| | | | | starts with a dash | ||||
* | 36108: command -[vV] assumed -p | Peter Stephenson | 2016-10-11 | 1 | -2/+4 |
| | |||||
* | 39599: Don't reset status before "case" execution | Peter Stephenson | 2016-10-10 | 1 | -1/+0 |
| | |||||
* | 39579: Fix string calculation for parameter quoting. | Julien Cretin | 2016-10-06 | 1 | -3/+3 |
| | | | | | Where there was no closing quote the size or position of the null could be wrongly calculated. | ||||
* | 39571: Fix ERR_EXIT bug with && and function. | Peter Stephenson | 2016-10-05 | 1 | -6/+6 |
| | | | | | "foo && bar" inside a function could cause the code outside the function not to perform ERR_EXIT or ERR_RETURN when needed. | ||||
* | 39568: "! <complex-command>" suppresses ERR_EXIT | Peter Stephenson | 2016-10-05 | 1 | -2/+7 |
| |