summaryrefslogtreecommitdiff
path: root/Src/Zle
AgeCommit message (Collapse)AuthorFilesLines
2023-01-2151310: zle -F handlers preserve LASTWIDGETBart Schaefer1-0/+2
Also fix email address in an old ChangeLog entry
2023-01-1151295: where the end of a region coincides with the end of PREDISPLAY, don't ↵Oliver Kiddle1-3/+3
extend it to include new text Also fix issue where an int was used for a copy of attributes which breaks if int is smaller than zattr.
2023-01-1051292: fix dynamic updates of region_highlight to account for PREDISPLAYOliver Kiddle1-4/+4
2023-01-1051291: support for highlighting ellipses in the line editorOliver Kiddle1-25/+35
2023-01-1051290: fix display of control characters with SINGLE_LINE_ZLE setOliver Kiddle1-3/+3
2023-01-1051289: don't disable non-colour attributes in prompts for SINGLE_LINE_ZLE ↵Oliver Kiddle1-2/+0
and remove superfluous extra escapes to disable attributes
2023-01-1051281: keep track of attributes left on at the end of left and right prompts ↵Oliver Kiddle2-26/+22
and reapply them explicitly as appropriate
2023-01-1051280: add support for italic and faint fonts in the line editorOliver Kiddle1-23/+3
2023-01-1051258, 51272: refactor handling of terminal attributes, removing OFF flags ↵Oliver Kiddle6-311/+140
in zattr
2023-01-08unposted: In a comment, replace a C variables glob pattern with its matches, ↵Daniel Shahaf1-2/+2
for greppability.
2022-12-1651212: remove STOUC() macroOliver Kiddle8-28/+28
This served as a workaround for ancient compilers where casts to unsigned char were broken.
2022-12-1651215: consume whole CSI sequences from the inputOliver Kiddle1-2/+25
This affects CSI sequences that aren't explicitly bound but arrive within the usual KEYTIMEOUT time limits. A single undefined-key widget is run instead of unintended bindings for Escape and other characters in the sequence.
2022-11-1750934: use OSC 52 escape sequence when copying to "* or "+ vi buffersOliver Kiddle3-4/+40
2022-10-1750736: silence use-after-free warning (gcc-12.2)Wesley Schwengle1-4/+4
2022-06-0350325: revert 38150 and fix in calling function cfp_matcher_range() insteadBart Schaefer2-2/+2
2022-04-1150042: Another fix for 49915Mikael Magnusson1-1/+1
If the last element in the list is a duplicate, we would walk off the end
2022-04-0549989: Single byte versions of nice quoting.Peter Stephenson1-4/+2
Align interfaces for "nice" printing of characters with those for multibyte to make more available in single-byte compilation.
2022-04-04unposted: Fix typo from 49955Bart Schaefer1-1/+1
2022-04-0449955: Src/glob.c: fix bad free in incremental-pattern-search matchingBart Schaefer1-0/+2
2022-04-0349957: Brown paper bag for 49915Mikael Magnusson1-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-3049926: remove unused variable from 49915Mikael Magnusson1-1/+1
2022-03-3049820: Fix a crash when completing with combination of -Q and bracesMikael Magnusson1-3/+4
minimal reproducer .zshrc: zstyle ':completion:*' completer _oldlist _complete setopt nolistambiguous autoload compinit; compinit compdef _foo foo;_foo() { compadd -Q -- stash@{{0,1}} }
2022-03-3049915: Efficient dedup for unsorted completionsMikael Magnusson2-20/+35
2022-03-3049893: Fix comments for UNIQCON/ALLMikael Magnusson2-4/+10
2022-03-2849890: Avoid scanning unallocated memory in saved command line.Peter Stephenson1-1/+1
2021-12-2438150: fix off-by-one error in matcher spec parsingm0viefreak1-1/+1
2021-12-1649653: fix array indexing issue introduced with 49518 due to using decimal ↵Oliver Kiddle1-3/+5
rather than hex 20 Also avoid comparing the current word against all options when the word doesn't start with - or +.
2021-12-1449518: fix exclusions for mixed - and + stacked optionsOliver Kiddle1-10/+29
2021-11-12github #82: Fix typosDimitris Apostolou1-4/+4
2021-11-0149535: fix completion for ${<TAB> and ${(a)<TAB>Jun-ichi Takimoto1-11/+3
2021-10-3049528: allow multiple -D options to compaddOliver Kiddle3-22/+60
2021-10-2649516: bail out early from matching control if command line content is too ↵Oliver Kiddle1-2/+3
short for the coanchor
2021-10-2349499 based on 49496 by Jun T.: fixes to option -A of _argumentsOliver Kiddle1-8/+19
2021-09-2849450: don't display explanation with compadd -x if any of -D, -A or -O are ↵Oliver Kiddle1-1/+1
also used
2021-09-0849387: suffix highlight with "compadd -R"Bart Schaefer1-6/+3
2021-09-08unposted: add/remove UNUSED() for some function parametersJun-ichi Takimoto1-1/+1
2021-09-0849377: fix segfault by 'bindkey -d' with reordered keymapnamtabJun-ichi Takimoto1-1/+21
2021-09-0649292: Src/Zle/complist.c: turn off colors before clearing to end of lineMarlon Richert1-14/+19
2021-09-06unposted (cf. 49202 and 49217): insertlastword ignores blank/missing history ↵Bart Schaefer1-2/+7
entries when repeating
2021-06-0348954: avoid crash in reverse-menu-complete from menuselect without 'menu' ↵Oliver Kiddle1-3/+2
in $compstate[insert]
2021-05-15users/26736: avoid infinite loop in getbyte from exit hookBart Schaefer1-0/+4
2021-05-1548790: COMPLETE_IN_WORD inside brace-paramBart Schaefer1-4/+24
2021-04-0648391: fix display problem in menu-completeJun-ichi Takimoto1-1/+1
Take account of the trailing file type character even when '-d disp' is given to compadd.
2021-02-1147997: Disable XTRACE around user-defined completion widgets.Bart Schaefer1-0/+3
2021-01-2747744: Fix vi repeats with hooks in use.GammaFunction1-0/+2
2020-06-27unposted (after 46068): Fix a compiler warning.Daniel Shahaf1-1/+1
The warning was: . warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2020-06-2746072 + 46136: Add the 'zle $widget -f nolast' syntax, to improve ↵Daniel Shahaf1-2/+17
add-zle-hook-widget support for multiple hook functions. See workers/46004 for the use-case.
2020-06-2546068 (tweaked) (was: github #57): region_highlight: Add memo= support.Daniel Shahaf3-6/+81
This is useful when multiple plugins add region_highlight entries and subsequently want to remove only their own entries. Without this functionality, recognizing one's region_highlight entries is not trivial because the 'start' and 'end' offsets are modified by editing of $BUFFER and the highlight specification may not be unique or distinctive. The tweaks are as follows: - Change zfree() to zsfree() per workers/46070. - Remove the mem.c hunk, as it changed the signature of only one out of two alternative definitions of zsfree(). (The definition that hunk touched is the one that's not used by default.)
2020-05-0345730: _arguments: Add the -0 flag, which makes $opt_args be populated sanely.Daniel Shahaf1-5/+35
Also, write/extend docstrings for sepjoin() and zjoin().
2020-05-0345729: internal: Add a second parameter to zlinklist2array(), analogously to ↵Daniel Shahaf2-4/+4
hlinklist2array(). Will be used in the next commit.