about summary refs log tree commit diff
path: root/Src/Zle/complete.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-291-0/+10
| | | | not re-entrant.
* 40067: internal: Document 'cmatcher', parse_cmatcher(), 'comptoend', ↵Daniel Shahaf2016-12-031-2/+10
| | | | unsetparam_pm(), and getindex().
* 39804: internal: Document matchspec flags.Daniel Shahaf2016-11-031-4/+4
|
* 39803: internal: Document bin_compadd().Daniel Shahaf2016-11-031-10/+10
|
* 39802: internal: Document and simplify multiquote().Daniel Shahaf2016-11-031-1/+1
| | | | | | | 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.
* 39181: Add PM_SINGLE and use for compstate.Peter Stephenson2016-09-061-2/+3
| | | | | | | | | | | | This flags that compstate (or any other special) can only have a single instance and an attempt to create a new one is an error. Given the very fiddly semantics of compstate any other usage seems pointless. No investigation yet of other variables that could use this. Note it's still possible to hide such variables; only instances that keep the special nature are affected.
* unposted: internals: Document zshcompwid(1) parameter implementations.Daniel Shahaf2016-09-041-1/+19
|
* 38714: add x: syntax to match specs to make it possible to disable match ↵Oliver Kiddle2016-06-221-0/+10
| | | | specs hardcoded in completion functions
* 38135: internal: bin_compadd: Add a few comments.Daniel Shahaf2016-03-111-0/+3
|
* unposted: remove compiler error in completion codePeter Stephenson2015-07-071-1/+2
|
* 35704: compadd -E 0 should imply -J and -2Oliver Kiddle2015-07-061-1/+1
|
* 35665: better handling for command line completion match handlingHan Pingtian2015-07-021-3/+6
|
* 35627: make reverse-menu-complete start with the last match inOliver Kiddle2015-06-291-2/+0
| | | | menu selection
* 29859: compadd handles its own optionsPeter Stephenson2011-10-261-1/+1
|
* Back off 26270 (accept-and-menu-complete).Peter Stephenson2009-01-131-3/+1
| | | | Was causing memory corruption
* 26270: allow accept-and-menu-complete work with _vallues as wellAndrey Borzenkov2009-01-091-1/+3
|
* 26047: convert lower levels of completion matching to usePeter Stephenson2008-11-151-7/+9
| | | | multibyte strings and wide characters
* 25972: leaked and uninitialised memory found by valgrindPeter Stephenson2008-10-301-1/+1
|
* 25736: one more zsfree missing from 25667.Clint Adams2008-09-231-0/+1
|
* 25667: free mstr before returning from errors.Clint Adams2008-09-141-0/+3
|
* 25138(? mailing list stuck): rewrite of completion matching.Peter Stephenson2008-06-081-45/+143
| | | | Will one day use multibyte/wide characters, doesn't yet.
* 23665: autoloading of module features and related tweaksPeter Stephenson2007-07-061-7/+7
|
* 23562: add KSH_ZERO_SUBSCRIPT option and leave off by defaultPeter Stephenson2007-06-181-1/+1
|
* 23488: tidy up module interface and documentationPeter Stephenson2007-05-291-2/+3
|
* 23482: more typosPeter Stephenson2007-05-291-1/+1
|
* see 23479: add initial features support for modulesPeter Stephenson2007-05-281-8/+25
|
* 22819: improved internal use of string quotation,Peter Stephenson2006-10-051-1/+23
| | | | plus completion bug fix with RCQUOTES
* 22474: use variable argument lists to improve error message handlingPeter Stephenson2006-05-301-24/+23
|
* Changed some structures to avoid gcc's type-punned warnings.Wayne Davison2006-03-071-11/+11
|
* 22328, modified: add -o option to compaddPeter Stephenson2006-03-071-0/+3
| | | | add _list_files helper to handle new file-list style for _path_files
* 21663: check for string overflowAndrey Borzenkov2005-08-181-4/+5
|
* Fixed bug in do_comp_vars() when *compprefix is a metified char.Wayne Davison2005-08-161-3/+1
|
* 21045: fix some uses of Meta characters in completionPeter Stephenson2005-03-211-6/+36
|
* 20605: Use separate structure with get/set/unset methods fro parameters.Peter Stephenson2004-12-071-54/+76
| | | | Separate justification width of parameters from base/precision.
* Marked unused parameters with the new UNUSED() macro.Wayne Davison2004-06-021-13/+13
|
* Silenced one signed/unsigned comparison compiler warning.Wayne Davison2004-05-281-1/+1
|
* a la 19209: zcalloc -> zshcallocPeter Stephenson2003-10-291-2/+2
|
* 17582: Improved option argument handling.Peter Stephenson2002-08-271-2/+2
| | | | unposted: Updated version to 4.1.0-dev-6 because of interface change.
* in menu selection, use copies of comp{pre,suf}fix to make sure they exist; ↵Sven Wischnowsky2002-07-041-0/+6
| | | | fix display problem with non-empty iprefix (17403)
* fix two memory leaks (found by Felix): pre-compiled patterns when ↵Sven Wischnowsky2002-04-241-0/+1
| | | | re-defining styles and compredirs-copies in comp_wrapper() (17029)
* add $redirections array to completion system parameters, containing ↵Sven Wischnowsky2002-03-011-6/+14
| | | | information about all redirections on the line; make this and compstate[redirect] contain the file descriptor number (16751)
* test if hash table pointer is NULL to avoid SEGV with compstate=() (15705)Sven Wischnowsky2001-08-241-0/+3
|
* move pattern matching in the loop to make sure all match specs are used (15487)Sven Wischnowsky2001-07-251-2/+3
|
* make display for groups in _describe nicer; improve packing with ↵Sven Wischnowsky2001-07-251-0/+18
| | | | list_packed; leave space for type character (list_types) only in groups with at least one file name (15477)
* fix two memory leaks (at least I hope they are fixed) and some out-of-bound ↵Sven Wischnowsky2001-05-311-1/+1
| | | | array accesses, plus some defensive programming for heap allocated param structs (14605)
* *** empty log message ***Sven Wischnowsky2001-01-111-2/+28
|
* add _all_matcher completer and supporting C-code for adding a special match ↵Sven Wischnowsky2000-10-111-1/+4
| | | | representing all other matches; remove completions style from _expand(|_word) (12960)
* new match spec characters bBeE, match only word/line not both (11977)Sven Wischnowsky2000-06-191-8/+13
|
* fixes for calling compfiles, for completing words with special characters; ↵Sven Wischnowsky2000-06-131-9/+20
| | | | make compfiles optimisations work with globcomplete and simple match (sunsite isn't responding)