Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-03-03 | 53399: don't load ZLE early to set keymap | Oliver Kiddle | 1 | -1/+4 | |
When zsh is run with -o vi / -o emacs, instead of loading ZLE to force the change, only record the option state. Then when ZLE starts, the vi option determines the default keymap. | |||||
2025-03-03 | 53394: drop OSC and DCS sequences in key input | Oliver Kiddle | 1 | -2/+26 | |
They are likely to be terminal query responses not keys. If they do match a keybinding that's not affected. Also does likewise for certain CSI sequences. | |||||
2025-02-12 | 53360: domenuselect() fails if the previous completion did not generate a list | Bart Schaefer | 1 | -0/+3 | |
(fix for segfault) | |||||
2025-01-30 | 53335: Remove unused dupstring_glen() function | Oliver Kiddle | 4 | -26/+17 | |
Also make use of the dupstring_wlen() variant in more places to avoid a strlen() | |||||
2025-01-30 | 53332, 53334: Avoid strlen calls after sprintf | Oliver Kiddle | 2 | -7/+6 | |
2024-11-23 | 53243: fix use of vi-fetch-history with a range | Oliver Kiddle | 1 | -4/+17 | |
2024-03-18 | 52750: remove ansi2knr support for old pre-ansi K&R compilers | Oliver Kiddle | 4 | -6/+6 | |
2024-03-05 | 52646: extend support for highlight groups to completion explanation strings ↵ | Oliver Kiddle | 2 | -0/+15 | |
and WATCHFMT | |||||
2024-02-03 | Typos in previous commit comments | Bart Schaefer | 1 | -1/+1 | |
2024-02-03 | unposted: Record as comments some notes about namespace usage exceptions. | Bart Schaefer | 1 | -1/+4 | |
2024-01-28 | 52500: add layer token to zle attributes | Oliver Kiddle | 2 | -44/+73 | |
This provide control over the precedence of highlighting where different regions overlap. | |||||
2024-01-28 | 52441: zle_vi: Mark variables with const init as const | Jörg Sommer | 1 | -1/+1 | |
Because these variables are initialized with as constant string, they should be marked as *const* to make the compiler running with `-Wwrite-strings` more happy. | |||||
2024-01-28 | 52440: zle.textobjects: Mark variables as const | Jörg Sommer | 1 | -3/+3 | |
Because these variables are initialized with as constant string, they should be marked as *const* to make the compiler running with `-Wwrite-strings` more happy. | |||||
2023-12-13 | 52382: avoid the non-standard \e in C code, preferring \033 | Oliver Kiddle | 1 | -1/+1 | |
2023-10-26 | 50569 (Daniel Shahaf): main keymap defaults to emacs | Bart Schaefer | 1 | -9/+3 | |
Tweaked to make the sample .zshrc code better match the former C code, and to remove the declaration of no-longer-used variable "ed". | |||||
2023-10-26 | 52244: Fix a batch of minor defects reported by Coverity. | Bart Schaefer | 2 | -10/+7 | |
Coverity defects 1547831, 1547826 (remove unused function), 1521551, 1500752, 1500747, 1401549, 1372423, 1270645, 1255799, 1255792, 1255789, 1255787, 1255782, 1255750 | |||||
2023-10-16 | 51490: Use time_t for lastt which stores result of time(0) | Mikael Magnusson | 1 | -2/+2 | |
Coverity complained about this, and possibly some more people would in 15 years | |||||
2023-10-11 | 52189: ignore compadd -M if -U also specified as they don't make sense together | Oliver Kiddle | 1 | -1/+3 | |
This fixes df completion. | |||||
2023-08-22 | users/29175: Don't need to forget zle edits if none | Nojus Gudinavičius | 1 | -0/+12 | |
2023-07-26 | 51950 (tweak per 51949): correct Thingy refcount in raw_getbyte() | Bart Schaefer | 1 | -1/+2 | |
2023-05-11 | users/29070: clean up tokens in cmdstr before compctl completion | Bart Schaefer | 1 | -0/+2 | |
2023-04-03 | 51597: fix 'vared -c var' when var is unset | Jun-ichi Takimoto | 1 | -1/+2 | |
2023-03-05 | 51483: Enable assignment and expansion of parameters with ksh-like namespace ↵ | Bart Schaefer | 2 | -5/+5 | |
prefixes. | |||||
2023-02-28 | 51491: Check should use zlemetacs instead of zlecs | Mikael Magnusson | 1 | -1/+1 | |
Coverity noticed that this first branch of the if statement has "meta" added to all the variable names except this zlecs at the end, so change it to match. | |||||
2023-02-17 | 51447: silence compiler maybe-uninitialized warning by combining a couple of ↵ | Oliver Kiddle | 1 | -12/+13 | |
variables | |||||
2023-02-09 | 51320, 51383: fixes to prevent later reappearance of old attributes | Oliver Kiddle | 3 | -1/+5 | |
Also associated test updates and a test fix for TERM=dumb. | |||||
2023-01-21 | 51310: zle -F handlers preserve LASTWIDGET | Bart Schaefer | 1 | -0/+2 | |
Also fix email address in an old ChangeLog entry | |||||
2023-01-11 | 51295: where the end of a region coincides with the end of PREDISPLAY, don't ↵ | Oliver Kiddle | 1 | -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-10 | 51292: fix dynamic updates of region_highlight to account for PREDISPLAY | Oliver Kiddle | 1 | -4/+4 | |
2023-01-10 | 51291: support for highlighting ellipses in the line editor | Oliver Kiddle | 1 | -25/+35 | |
2023-01-10 | 51290: fix display of control characters with SINGLE_LINE_ZLE set | Oliver Kiddle | 1 | -3/+3 | |
2023-01-10 | 51289: don't disable non-colour attributes in prompts for SINGLE_LINE_ZLE ↵ | Oliver Kiddle | 1 | -2/+0 | |
and remove superfluous extra escapes to disable attributes | |||||
2023-01-10 | 51281: keep track of attributes left on at the end of left and right prompts ↵ | Oliver Kiddle | 2 | -26/+22 | |
and reapply them explicitly as appropriate | |||||
2023-01-10 | 51280: add support for italic and faint fonts in the line editor | Oliver Kiddle | 1 | -23/+3 | |
2023-01-10 | 51258, 51272: refactor handling of terminal attributes, removing OFF flags ↵ | Oliver Kiddle | 6 | -311/+140 | |
in zattr | |||||
2023-01-08 | unposted: In a comment, replace a C variables glob pattern with its matches, ↵ | Daniel Shahaf | 1 | -2/+2 | |
for greppability. | |||||
2022-12-16 | 51212: remove STOUC() macro | Oliver Kiddle | 8 | -28/+28 | |
This served as a workaround for ancient compilers where casts to unsigned char were broken. | |||||
2022-12-16 | 51215: consume whole CSI sequences from the input | Oliver Kiddle | 1 | -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-17 | 50934: use OSC 52 escape sequence when copying to "* or "+ vi buffers | Oliver Kiddle | 3 | -4/+40 | |
2022-10-17 | 50736: silence use-after-free warning (gcc-12.2) | Wesley Schwengle | 1 | -4/+4 | |
2022-06-03 | 50325: revert 38150 and fix in calling function cfp_matcher_range() instead | Bart Schaefer | 2 | -2/+2 | |
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-05 | 49989: Single byte versions of nice quoting. | Peter Stephenson | 1 | -4/+2 | |
Align interfaces for "nice" printing of characters with those for multibyte to make more available in single-byte compilation. | |||||
2022-04-04 | unposted: Fix typo from 49955 | Bart Schaefer | 1 | -1/+1 | |
2022-04-04 | 49955: Src/glob.c: fix bad free in incremental-pattern-search matching | Bart Schaefer | 1 | -0/+2 | |
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 | 49820: Fix a crash when completing with combination of -Q and braces | Mikael Magnusson | 1 | -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-30 | 49915: Efficient dedup for unsorted completions | Mikael Magnusson | 2 | -20/+35 | |
2022-03-30 | 49893: Fix comments for UNIQCON/ALL | Mikael Magnusson | 2 | -4/+10 | |