about summary refs log tree commit diff
path: root/Src/Zle
Commit message (Collapse)AuthorAgeFilesLines
* 43396: Job control debug.Peter Stephenson2018-09-161-2/+2
| | | | Particularly for TTY ownership.
* Don't handle ZLE functions for single key.Peter Stephenson2018-09-034-16/+16
| | | | | | For read -k and read -q where we use ZLE, we just want a single key and not full ZLE processing. So don't handle timed ZLE functions when preforming the read.
* 43294: Add ZLE_RECURSIVE parameter.Peter Stephenson2018-08-172-0/+19
|
* 43219 (except term{cap,info}.c): fix several memory leaksJun-ichi Takimoto2018-07-311-0/+2
|
* 43225: Recalculate ZLE timeout.Peter Stephenson2018-07-301-0/+2
| | | | Needed when looping owing to having handled a special fd.
* 43084: Variable warning suppression enhancements.Peter Stephenson2018-06-251-3/+5
| | | | | | Add vared -g option along the lines of typeset -g. Set reply safely in zsh_directory_name_cdr.
* 42939: pm argument to set_registers is not unusedEitan Adler2018-06-061-1/+1
|
* 42870: another improvement of 'compset -q'Jun-ichi Takimoto2018-05-311-4/+6
| | | | zlemetall need not count the 'x' added at the cursor in set_comp_sep()
* 42809: slightly improve 'compset -q'Jun-ichi Takimoto2018-05-251-3/+6
|
* 42760: move stack variable outside while loop scope as it is accessed in the ↵Oliver Kiddle2018-05-131-1/+1
| | | | while condition
* 42185: safety when removing separators in completiondana2018-05-111-1/+2
|
* 42751: Protect shell status in ZLE timed function handler.Peter Stephenson2018-05-081-0/+4
| | | | | Otherwise status from sched and other asynchronous functions could escape back to the main shell.
* 42605: properly free the vi registers hashOliver Kiddle2018-04-072-3/+14
|
* 42600: error paths for _values leaked the exclusion list arrayOliver Kiddle2018-04-071-0/+4
|
* 42575: fix to not complete options in the argument to another optionOliver Kiddle2018-04-051-1/+1
|
* 42519, CVE-2018-1083: check bounds on PATH_MAX-sized buffer used for file ↵Oliver Kiddle2018-03-241-0/+6
| | | | completion candidates
* 42501: avoid out of bound pointer (as 42487)Jun-ichi Takimoto2018-03-243-8/+7
|
* 42487: Fix pointer problems in compctl.Peter Stephenson2018-03-211-32/+32
| | | | | Pointing off the front of a string caused warnings with gcc 7.3.0 and is somewhat murky C anyway.
* 23180: Fix expand-or-complete with ~[...].Peter Stephenson2018-02-261-0/+9
| | | | The square brackets shouldn't be treated as wildcards.
* 42164: fix digits in format escapes in completion listingsdana2018-01-041-3/+3
|
* dana: 42145: Fix additional completion cases with option arguments.dana2017-12-201-1/+3
|
* 42412: fix a bug in 42116Jun-ichi Takimoto2017-12-181-4/+4
| | | | | Also fix a few widgets which were calling wrong function when negative numeric argument was given.
* 42116: multibyte support for ZLE vi-mode word motionJun-ichi Takimoto2017-12-183-77/+45
|
* 41983: fix exclusion of long options with (-) on a normal argumentOliver Kiddle2017-11-041-1/+1
|
* 41835: handle multibyte characters with compset -p and -sOliver Kiddle2017-10-111-11/+37
|
* 41824: fix to not complete rest args from an _arguments set alongside the ↵Oliver Kiddle2017-10-071-16/+16
| | | | argument to and option in a separate set
* 41772: fix bug in handling of long options with _arguments' -A optionOliver Kiddle2017-09-281-1/+1
|
* Updates for ksh array element syntax.Peter Stephenson2017-09-241-1/+1
| | | | | | | | Move detection of key/value pairs down into prefork(). Detect normal array assignment and [key]=val array assignemnt separately. Mark key / value pairs with Marker and pass up flag. Deal with marked triads specially later on.
* Avoid invalid access with isearch in completion listMaxime de Roucy2017-07-041-5/+7
|
* 41368: Add missing unqueue_signals() to compctl.Peter Stephenson2017-06-271-0/+2
|
* 41242: zstrbcmp(...) removed in favor of zstrcmp(..., ↵Barton E. Schaefer2017-06-172-48/+3
| | | | | | SORTIT_IGNORING_BACKSLASHES) This should make sorting consistent in completion listings vs. elsewhere.
* 41275: Leave stdin open when executing widgetsStephane Chazelas2017-06-131-0/+7
|
* 41244: Add zmodload -s option.Peter Stephenson2017-06-121-1/+1
| | | | | | | | Doesn't complain if module is unavailable, but prints more obscure errors. Use existing low-level silent flag by passing through intermediate module loading hierarchy.
* 41191: Check for immortal thingies when checking for specific thingiesPeter Stephenson2017-06-013-5/+13
|
* 41090: Replace iswprint() if unicode9 is enabled.Jun-ichi Takimoto2017-05-121-4/+4
| | | | If wcwidth() or iswprint() is broken, force enable unicode9.
* 40763: count wide characters and Cmatcher pointers more sanely in ↵Barton E. Schaefer2017-03-082-58/+18
| | | | | | | cfp_matcher_pats(), and count characters in pattern_match() the same way to stay in sync Might not fix wide-char matching in completion matcher-lists but should avoid wild pointer crash
* 40702: new KEYS_QUEUED_COUNT ZLE variablePeter Stephenson2017-03-031-0/+11
|
* 40469: change strategy from 40453 to use patcompile(PAT_HEAPDUP) instead of ↵Barton E. Schaefer2017-01-301-12/+2
| | | | signal queueing.
* 40453: signal handler safety for callers of patcompile(PAT_STATIC), which is ↵Barton E. Schaefer2017-01-294-11/+49
| | | | not re-entrant.
* 40362: Fix setting of parameter values in compvaluesPeter Stephenson2017-01-151-2/+2
|
* 40321: _arguments option groupsOliver Kiddle2017-01-111-71/+120
|
* 40305: fix some problems redisplaying command line after interrupt.Peter Stephenson2017-01-104-6/+27
| | | | | | | | | | | | Back off previous fix as this only covered some subset of problems. Remaining problems happend after reset-prompt in TRAPINT. One was in complist and is fixed by not attempting to list after an error or interrupt. The other was owing to not resetting clearflag when ZLE was re-entered.
* 40285: Be more careful with pattern allocation in history isearch.Peter Stephenson2017-01-061-4/+7
| | | | | | If there are ZLE hooks to be called, they may use patterns, in which case it's not safe to allocate the isearch pattern in the static buffer.
* 40269: handle option exclusion within current word for clumped optionsOliver Kiddle2017-01-051-13/+13
| | | | This replaces the change made in 13999 with an alternative approach.
* 40227: handle _arguments sets and rest arguments starting with a dashOliver Kiddle2017-01-041-11/+26
| | | | | This is a new approach to the problem first covered by 39611: checking to see if an option-like argument belongs to one of the other sets.
* 40226: tidy up some of the _arguments set codeOliver Kiddle2017-01-041-70/+29
| | | | | | Remove old code for applying explicit exclusions between sets which fixes some odd behaviour. Some struct members were unused. Also added some comments and test cases.
* 40162: _arguments support for a match spec in combination with setsOliver Kiddle2016-12-221-1/+1
|
* 40134: silence spurious compiler warnings.Barton E. Schaefer2016-12-101-1/+1
|
* 40129: revert 39611, add code comments and test cases for _argumentsOliver Kiddle2016-12-091-33/+58
|
* 40067: internal: Document 'cmatcher', parse_cmatcher(), 'comptoend', ↵Daniel Shahaf2016-12-032-3/+13
| | | | unsetparam_pm(), and getindex().