about summary refs log tree commit diff
path: root/Src/Zle/compmatch.c
Commit message (Collapse)AuthorAgeFilesLines
* fix thinko in 22787Andrey Borzenkov2006-09-301-1/+2
|
* 22787: fix calling convention of pattern_matchAndrey Borzenkov2006-09-291-62/+73
|
* - When mbrtowc() returns -2 when given all the remaining chars in aWayne Davison2006-01-121-6/+6
| | | | | | | | string, set an end-of-line flag and avoid calling mbrtowc() again for any of the incomplete characters that remain in the string. - Use "mbs" for the multi-byte state variable name (for consistency). - Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t -1 and -2 values (respectively).
* A test for (size_t)-1 needed to check for (size_t)-2 too.Wayne Davison2006-01-091-1/+1
|
* The return value of mbrtowc() is a size_t (unsigned), so don'tWayne Davison2006-01-091-10/+9
| | | | | | | | | | assign it to an int and then check if it's < 0, as that won't work on a system where an int is larger than a size_t. Also, the code that handled partial multibyte characters (that were assembled from multiple bytes of a metafied string) was not advancing past all the assembled bytes, nor was it handling the decoding of a '\0' char (it looks like it could have infinite looped in that case).
* 21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;Peter Stephenson2005-10-281-2/+2
| | | | use multibyte versions of nicechar wherever possible.
* minor tidy-upsPeter Stephenson2005-10-021-0/+84
|
* 21402: Fix crash with case-insensitive matching.Peter Stephenson2005-07-061-4/+16
|
* 20002 -- fix for matching spec core dumpFelix Rosencrantz2004-06-041-1/+1
|
* Another fix in sub_match() to avoid allowing a partial-meta matchWayne Davison2004-02-101-4/+9
| | | | to occur (this time in the backwards scan).
* Optimized the check for a widowed Meta character.Wayne Davison2004-02-091-5/+7
|
* 19385: NULL dereference in add_match_partPeter Stephenson2004-01-201-1/+1
|
* 19336: Src/Zle/compmatch.c: Bug with metafied characters in length ofPeter Stephenson2004-01-051-1/+8
| | | | completion prefix
* Silence "might be used uninitialized" warning.Wayne Davison2001-08-081-1/+1
|
* (only the patch to compmatch.c from the mail); improve merging cline lists ↵Sven Wischnowsky2001-06-271-1/+5
| | | | coming from different IPREFIX/PREFIX combinations and such by avoiding to generate cline structs for empty parts after a match spec anchor cline struct (15123)
* (13892) fixes for fpaths and completion matchingSven Wischnowsky2001-04-031-2/+1
|
* make `_arguments -S' still complete long options after `--<TAB>'; fix for ↵ pre-func-moveSven Wischnowsky2001-04-021-1/+2
| | | | cursor positioning with partial word match specs (13868)
* another fix for completion matching, CLF_MISS in the wrong cline struct (13575)Sven Wischnowsky2001-03-061-0/+6
|
* fix for matching control, try harder to merge separately completed parts to ↵Sven Wischnowsky2001-03-051-2/+24
| | | | avoid losing user-typed characters (13565)
* fix for mergin two CLF_MID entries in cline lists (with two equal prefixes ↵Sven Wischnowsky2001-01-251-1/+1
| | | | it thought there were characters missing) (13388)
* two more fixes for completion matching and reporting interesting positions ↵Sven Wischnowsky2001-01-151-4/+4
| | | | (13349)
* fix for 13339 (report each position only once) and fixlet for matching: a ↵Sven Wischnowsky2001-01-121-0/+2
| | | | case where missing characters weren't remembered (13343)
* fix cursor positioning with partial-word match specs using `**' (13336)Sven Wischnowsky2001-01-101-26/+35
|
* two completion matching fixes; wrong (path) prefix matching (removed path ↵Sven Wischnowsky2000-10-131-5/+5
| | | | components) and reverse order of sub-strings in match-strings (12995)
* *** empty log message ***Sven Wischnowsky2000-10-101-3/+3
|
* follow-up to 12930, make it first try exact character matches, but enable it ↵Sven Wischnowsky2000-10-101-7/+30
| | | | to go back to try match specs if it fails after accepting such character matches (12941)
* prefer exact character matches over match specs (so that `nom' can match ↵Sven Wischnowsky2000-10-091-1/+10
| | | | `nomatch') (12930)
* a bit of security for a VARARR() (12314)Sven Wischnowsky2000-07-191-1/+1
|
* new match spec characters bBeE, match only word/line not both (11977)Sven Wischnowsky2000-06-191-3/+9
|
* allow completion after `a{{b,c},'; fix for closing brace re-insertion when ↵Sven Wischnowsky2000-06-161-0/+1
| | | | completing from both ends (CLF_MID) (11939)
* more security in completion matching (11924)Sven Wischnowsky2000-06-151-2/+2
|
* fixes for calling compfiles, for completing words with special characters; ↵Sven Wischnowsky2000-06-131-1/+1
| | | | make compfiles optimisations work with globcomplete and simple match (sunsite isn't responding)
* more anchor matching fixes (11817)Sven Wischnowsky2000-06-081-10/+11
|
* try to get the tests for `strings long enough' right in anchor matching code ↵Sven Wischnowsky2000-06-071-2/+4
| | | | (11796)
* matching bugs with patterns with two anchors (11634)Sven Wischnowsky2000-05-291-3/+5
|
* fix for clines in suffix (11496)Sven Wischnowsky2000-05-221-3/+8
|
* add Felix' completion matching test; some fixes for bugs shown by it (11439)Sven Wischnowsky2000-05-171-8/+12
|
* fix for suffix-matching; better in-path completion in _path_files (11364)Sven Wischnowsky2000-05-151-16/+24
|
* fixes for completion matching (11346)Sven Wischnowsky2000-05-121-2/+21
|
* better cursor positioning in words with multiple ambiguous word parts (11248)Sven Wischnowsky2000-05-081-2/+2
|
* misplaced cursor with partial-word matching (11007)Sven Wischnowsky2000-04-281-8/+2
|
* allow to anchor on gaps between strings in matching control specs (10926)Sven Wischnowsky2000-04-261-23/+41
|
* faster test for `*'-patterns in matching control; prefer direct character ↵Sven Wischnowsky2000-04-261-4/+38
| | | | matches over match specs in recursive invocations of match_str() (10925)
* fix for matching control; improve merging cline lists (10924)Sven Wischnowsky2000-04-261-9/+21
|
* join_clines() tested the wrong variable (10798)Sven Wischnowsky2000-04-181-2/+2
|
* fix for partial word completion with empty parts and common suffix (10774)Sven Wischnowsky2000-04-171-18/+48
|
* cursor placed on wrong word part with ** match spec (10573)Sven Wischnowsky2000-04-071-0/+6
|
* Recognise new parts in partial word completionSven Wischnowsky2000-04-031-2/+2
|
* Updated from list as far as 10376Peter Stephenson2000-04-011-51/+73
|
* Initial revisionTanaka Akira1999-11-011-0/+1906