summaryrefslogtreecommitdiff
path: root/Src/Zle/compmatch.c
AgeCommit message (Collapse)AuthorFilesLines
2014-10-2233515: suppress parser error messages in comp_match()Barton E. Schaefer1-0/+3
2011-05-0929165: use term.h globally if needed at all.Peter Stephenson1-3/+3
2009-01-2926466: suffix in certain matcher modes mishandled patternPeter Stephenson1-7/+10
2008-11-1826061: fix clash between process subst and numeric globPeter Stephenson1-2/+1
26062: additional compmatch change, missed from 26047
2008-11-1526047: convert lower levels of completion matching to usePeter Stephenson1-285/+355
multibyte strings and wide characters
2008-10-3025975: bad tests for pattern match when building up a completion line stringPeter Stephenson1-3/+11
2008-10-3025972: leaked and uninitialised memory found by valgrindPeter Stephenson1-0/+1
2008-10-1225860: avoid possible NULL dereferencing in bld_parts.Clint Adams1-1/+2
2008-09-1025638: remove unnecessary ternary expression in match_str.Clint Adams1-1/+1
2008-09-0525612: remove dead code.Clint Adams1-5/+2
2008-06-10Mikael: 25146: export pattern_match_equivalence()Peter Stephenson1-1/+3
2008-06-09unposted: silence compiler in pattern_match_restrict()Peter Stephenson1-1/+1
2008-06-0825138(? mailing list stuck): rewrite of completion matching.Peter Stephenson1-109/+626
Will one day use multibyte/wide characters, doesn't yet.
2008-01-1824406: use deep copy of Cline structure to avoid recursion problemPeter Stephenson1-2/+2
2007-11-2824127: bug in matcher specs with left anchor and partial wordsPeter Stephenson1-15/+35
2007-07-2323693: _match completion tried to match the quoted form of filenamesPeter Stephenson1-2/+24
2006-09-30fix thinko in 22787Andrey Borzenkov1-1/+2
2006-09-2922787: fix calling convention of pattern_matchAndrey Borzenkov1-62/+73
2006-01-12- When mbrtowc() returns -2 when given all the remaining chars in aWayne Davison1-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).
2006-01-09A test for (size_t)-1 needed to check for (size_t)-2 too.Wayne Davison1-1/+1
2006-01-09The return value of mbrtowc() is a size_t (unsigned), so don'tWayne Davison1-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).
2005-10-2821943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;Peter Stephenson1-2/+2
use multibyte versions of nicechar wherever possible.
2005-10-02minor tidy-upsPeter Stephenson1-0/+84
2005-07-0621402: Fix crash with case-insensitive matching.Peter Stephenson1-4/+16
2004-06-0420002 -- fix for matching spec core dumpFelix Rosencrantz1-1/+1
2004-02-10Another fix in sub_match() to avoid allowing a partial-meta matchWayne Davison1-4/+9
to occur (this time in the backwards scan).
2004-02-09Optimized the check for a widowed Meta character.Wayne Davison1-5/+7
2004-01-2019385: NULL dereference in add_match_partPeter Stephenson1-1/+1
2004-01-0519336: Src/Zle/compmatch.c: Bug with metafied characters in length ofPeter Stephenson1-1/+8
completion prefix
2001-08-08Silence "might be used uninitialized" warning.Wayne Davison1-1/+1
2001-06-27(only the patch to compmatch.c from the mail); improve merging cline lists ↵Sven Wischnowsky1-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)
2001-04-03(13892) fixes for fpaths and completion matchingSven Wischnowsky1-2/+1
2001-04-02make `_arguments -S' still complete long options after `--<TAB>'; fix for ↵Sven Wischnowsky1-1/+2
cursor positioning with partial word match specs (13868)
2001-03-06another fix for completion matching, CLF_MISS in the wrong cline struct (13575)Sven Wischnowsky1-0/+6
2001-03-05fix for matching control, try harder to merge separately completed parts to ↵Sven Wischnowsky1-2/+24
avoid losing user-typed characters (13565)
2001-01-25fix for mergin two CLF_MID entries in cline lists (with two equal prefixes ↵Sven Wischnowsky1-1/+1
it thought there were characters missing) (13388)
2001-01-15two more fixes for completion matching and reporting interesting positions ↵Sven Wischnowsky1-4/+4
(13349)
2001-01-12fix for 13339 (report each position only once) and fixlet for matching: a ↵Sven Wischnowsky1-0/+2
case where missing characters weren't remembered (13343)
2001-01-10fix cursor positioning with partial-word match specs using `**' (13336)Sven Wischnowsky1-26/+35
2000-10-13two completion matching fixes; wrong (path) prefix matching (removed path ↵Sven Wischnowsky1-5/+5
components) and reverse order of sub-strings in match-strings (12995)
2000-10-10*** empty log message ***Sven Wischnowsky1-3/+3
2000-10-10follow-up to 12930, make it first try exact character matches, but enable it ↵Sven Wischnowsky1-7/+30
to go back to try match specs if it fails after accepting such character matches (12941)
2000-10-09prefer exact character matches over match specs (so that `nom' can match ↵Sven Wischnowsky1-1/+10
`nomatch') (12930)
2000-07-19a bit of security for a VARARR() (12314)Sven Wischnowsky1-1/+1
2000-06-19new match spec characters bBeE, match only word/line not both (11977)Sven Wischnowsky1-3/+9
2000-06-16allow completion after `a{{b,c},'; fix for closing brace re-insertion when ↵Sven Wischnowsky1-0/+1
completing from both ends (CLF_MID) (11939)
2000-06-15more security in completion matching (11924)Sven Wischnowsky1-2/+2
2000-06-13fixes for calling compfiles, for completing words with special characters; ↵Sven Wischnowsky1-1/+1
make compfiles optimisations work with globcomplete and simple match (sunsite isn't responding)
2000-06-08more anchor matching fixes (11817)Sven Wischnowsky1-10/+11
2000-06-07try to get the tests for `strings long enough' right in anchor matching code ↵Sven Wischnowsky1-2/+4
(11796)