Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-01-30 | 53335: Remove unused dupstring_glen() function | Oliver Kiddle | 1 | -13/+9 | |
Also make use of the dupstring_wlen() variant in more places to avoid a strlen() | |||||
2024-03-18 | 52750: remove ansi2knr support for old pre-ansi K&R compilers | Oliver Kiddle | 1 | -2/+2 | |
2023-10-26 | 52244: Fix a batch of minor defects reported by Coverity. | Bart Schaefer | 1 | -2/+3 | |
Coverity defects 1547831, 1547826 (remove unused function), 1521551, 1500752, 1500747, 1401549, 1372423, 1270645, 1255799, 1255792, 1255789, 1255787, 1255782, 1255750 | |||||
2023-03-05 | 51483: Enable assignment and expansion of parameters with ksh-like namespace ↵ | Bart Schaefer | 1 | -2/+2 | |
prefixes. | |||||
2022-12-16 | 51212: remove STOUC() macro | Oliver Kiddle | 1 | -3/+3 | |
This served as a workaround for ancient compilers where casts to unsigned char were broken. | |||||
2022-04-11 | 50042: Another fix for 49915 | Mikael Magnusson | 1 | -1/+1 | |
If the last element in the list is a duplicate, we would walk off the end | |||||
2022-04-03 | 49957: Brown paper bag for 49915 | Mikael Magnusson | 1 | -2/+2 | |
The code would crash when n == 0. There's not really any point doing any of this when n is 0 so just skip everything. It also tried to NULL terminate a list a little to eagerly. | |||||
2022-03-30 | 49926: remove unused variable from 49915 | Mikael Magnusson | 1 | -1/+1 | |
2022-03-30 | 49915: Efficient dedup for unsorted completions | Mikael Magnusson | 1 | -20/+34 | |
2022-03-30 | 49893: Fix comments for UNIQCON/ALL | Mikael Magnusson | 1 | -1/+7 | |
2021-11-01 | 49535: fix completion for ${<TAB> and ${(a)<TAB> | Jun-ichi Takimoto | 1 | -11/+3 | |
2021-10-30 | 49528: allow multiple -D options to compadd | Oliver Kiddle | 1 | -18/+41 | |
2021-09-28 | 49450: don't display explanation with compadd -x if any of -D, -A or -O are ↵ | Oliver Kiddle | 1 | -1/+1 | |
also used | |||||
2021-05-15 | 48790: COMPLETE_IN_WORD inside brace-param | Bart Schaefer | 1 | -4/+24 | |
2021-02-11 | 47997: Disable XTRACE around user-defined completion widgets. | Bart Schaefer | 1 | -0/+3 | |
2020-05-03 | 45729: internal: Add a second parameter to zlinklist2array(), analogously to ↵ | Daniel Shahaf | 1 | -2/+2 | |
hlinklist2array(). Will be used in the next commit. | |||||
2020-01-09 | 45269: Fix misspellings in completions and elsewhere. | Jens Schleusener | 1 | -1/+1 | |
2019-05-07 | 44274: allow finer control of completion match soring with compadd's -o option | Oliver Kiddle | 1 | -22/+30 | |
2018-09-30 | 43531: Completion: Fix some false positives in the logic for "are these two ↵ | Daniel Shahaf | 1 | -3/+1 | |
candidates completions equivalent". | |||||
2018-07-31 | 43219 (except term{cap,info}.c): fix several memory leaks | Jun-ichi Takimoto | 1 | -0/+2 | |
2018-05-31 | 42870: another improvement of 'compset -q' | Jun-ichi Takimoto | 1 | -4/+6 | |
zlemetall need not count the 'x' added at the cursor in set_comp_sep() | |||||
2018-05-25 | 42809: slightly improve 'compset -q' | Jun-ichi Takimoto | 1 | -3/+6 | |
2018-05-11 | 42185: safety when removing separators in completion | dana | 1 | -1/+2 | |
2017-06-17 | 41242: zstrbcmp(...) removed in favor of zstrcmp(..., ↵ | Barton E. Schaefer | 1 | -1/+3 | |
SORTIT_IGNORING_BACKSLASHES) This should make sorting consistent in completion listings vs. elsewhere. | |||||
2016-11-16 | 39945: allow further tab presses to move on to menu completion even when ↵ | Oliver Kiddle | 1 | -0/+1 | |
compstate[insert] is emptied | |||||
2016-11-05 | 39829: when compstate[insert] is emptied by the completion function and ↵ | Oliver Kiddle | 1 | -2/+8 | |
AUTO_MENU is set, start menu completion on the second tab press rather than the third | |||||
2016-11-03 | 39805: internal: Document some compadd internals. | Daniel Shahaf | 1 | -2/+10 | |
2016-11-03 | 39802: internal: Document and simplify multiquote(). | Daniel Shahaf | 1 | -5/+17 | |
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-09-20 | 39383: compadd: Restrict previous patch to the case where $PREFIX includes ↵ | Daniel Shahaf | 1 | -2/+4 | |
characters both from the -P prefix and from the (unprefixed) candidate completion word. | |||||
2016-09-20 | 39372: compadd: Match -P prefix all-or-nothing rather than greedily. | Daniel Shahaf | 1 | -4/+7 | |
2016-09-11 | 39252: internal: quotestring: Drop the 'e' parameter, which no caller uses. | Daniel Shahaf | 1 | -1/+1 | |
2016-03-07 | 38043: allow any completion widget to cycle matches for menu completion to ↵ | Oliver Kiddle | 1 | -7/+1 | |
fix reverse menu completion | |||||
2015-07-06 | 35704: compadd -E 0 should imply -J and -2 | Oliver Kiddle | 1 | -2/+2 | |
2015-06-29 | 35627: make reverse-menu-complete start with the last match in | Oliver Kiddle | 1 | -4/+2 | |
menu selection | |||||
2015-05-23 | 35127#1: Fix _describe/compdescribe problem with unsorted groups | Daniel Shahaf | 1 | -4/+5 | |
2015-01-09 | Rearrange context saving. | Peter Stephenson | 1 | -2/+2 | |
Variables are now associated with the module that declares them, being initialised and saved/restored there. However, as many variables are used for communication between modules, many of them are set in multiple places, so the assignment is ambiguous. | |||||
2015-01-06 | 34115: compcore: Fix size argument to zfree | Mikael Magnusson | 1 | -1/+1 | |
Found by Coverity (Issue 1255852), has no impact unless using --enable-zsh-mem, and even then it is minimal. | |||||
2014-12-11 | 33876: etc.: Separate errors and keyboards interrupts | Peter Stephenson | 1 | -1/+1 | |
Combination of 12 commits from interrupt_abort branch. Basic strategy is to introduce bits to errflag and to set and reset them separately. Remove interrupt status on return to main keymap. Turn off ERRFLAG_INT for always block. Restore bit thereafter: we probably need a new variable in order to allow user interrupts to be reset in the always block. Add TRY_BLOCK_INTERRUPT This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too. Ensure propagation of SIGINT from exited job. If received by foreground job, shell uses ERRFLAG_INT, not ERRFLAG_ERROR, to set the new state. Reset errflag before precmd() Add always block in _main_completion to fix ZLS_COLORS Ensures we get the right state of $ZLS_COLORS at the end of _main_complete even if there's an interrupt. However, the "right state" is a bit messy as it depends on styles. | |||||
2014-10-02 | 33320 (cf. PWS 33311): revert 33069, fix lexing of bangchar during completion | Barton E. Schaefer | 1 | -0/+2 | |
add typtab_flags bits (replaces specialcomma boolean) to record any unusual handling of typtab entries; signal safety; make bangchar non-special during completion lexing of the command line. | |||||
2014-01-28 | 32303: simplistic completion after $x: | Peter Stephenson | 1 | -0/+14 | |
2013-10-24 | 31882: Insulate completion widget against environment. | Peter Stephenson | 1 | -4/+1 | |
Prevents change in pipestatus leaking back out. | |||||
2012-02-09 | 30193: remnulargs() after poking into string in case length changes | Bart Schaefer | 1 | -1/+1 | |
2011-08-03 | 29644: work around _describe bug, plus cosmetic tweaks | Peter Stephenson | 1 | -1/+2 | |
2011-06-19 | 29491: remove some variables set but not used | Peter Stephenson | 1 | -4/+2 | |
2011-06-04 | 29459: Further fixes for parameter flag completion, | Peter Stephenson | 1 | -2/+4 | |
plus drive-by fix for double-quoted parameter completion with flags | |||||
2011-06-03 | 29452: allow completion of parameter flags | Peter Stephenson | 1 | -3/+13 | |
2011-05-14 | 29268: extra dupstring() for value to be used in completion match group | Peter Stephenson | 1 | -1/+1 | |
2011-05-14 | 29267: add -enable-zsh-debug and use for debugging completion matcher groups | Peter Stephenson | 1 | -0/+31 | |
2011-02-18 | 28772: Update regions in region highlight dynamically | Peter Stephenson | 1 | -6/+2 | |
2010-12-14 | lexsave/lexrestore lexflags | Peter Stephenson | 1 | -2/+2 | |
add new LEXFLAGS_ZLE |