1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-10 12:40:58 +02:00
Commit graph

49 commits

Author SHA1 Message Date
Peter Stephenson
85c513894d 26047: convert lower levels of completion matching to use
multibyte strings and wide characters
2008-11-15 21:27:45 +00:00
Peter Stephenson
b4d336aaca 25845: fix pattern but with backslashed and metafied charaters 2008-10-11 21:57:03 +00:00
Peter Stephenson
bb68ee8db7 25138(? mailing list stuck): rewrite of completion matching.
Will one day use multibyte/wide characters, doesn't yet.
2008-06-08 17:53:53 +00:00
Peter Stephenson
63b0ca8f37 25055: remove unnecessary debug test 2008-05-17 12:15:19 +00:00
Peter Stephenson
3587f599b0 unposted: fix position of cursor on forward pattern searching 2008-04-26 21:26:28 +00:00
Peter Stephenson
234c6ed193 24878: add incremental pattern searches 2008-04-26 19:51:08 +00:00
Peter Stephenson
7389a42d17 24708: Misc/globtests, Src/pattern.c, Test/D02glob.ztst:
fix backtracking problem in (#c) pattern
2008-03-30 22:14:22 +00:00
Peter Stephenson
56e1904e45 fix optimisation of string matching with multibyte mode
24732: attempt to provide adequate space for sched ztrftime string with
multibyte characters
2008-03-25 17:47:10 +00:00
Peter Stephenson
988be99034 users/12087: fix globbing problem on Cygwin 2007-10-23 16:09:10 +00:00
Peter Stephenson
a81e5a609e add (#cN,M) globbing flag 2007-07-27 21:51:32 +00:00
Peter Stephenson
ee9b17ad2a 22572: use of (#m) was broken with pure strings 2006-08-01 11:58:04 +00:00
Peter Stephenson
09bc7ee2b5 22557: turn on multibyte option by default 2006-07-25 18:10:37 +00:00
Peter Stephenson
b9bf52d1fc fix typos in 22556 2006-07-25 09:25:26 +00:00
Peter Stephenson
50e9ab122b 22556: Multibyte separators and delimiters 2006-07-24 22:00:19 +00:00
Peter Stephenson
6157c14d06 22525: lengths and cases of multibyte strings in parameters and history 2006-06-28 13:12:55 +00:00
Wayne Davison
dbc5657d34 Got rid of several compiler warnings about signed/unsigned problems by
switching patchar_t from wchar_t to wint_t (and renaming the typedef to
patint_t in the process), changing two "int" variables into "patint_t"
variables, and creating a PEOF define that uses either WEOF or EOF as an
invalid character value instead of a literal -1.
2006-05-31 01:02:05 +00:00
Peter Stephenson
87b0f1c859 22432: bug with backtracking over repeated single parameterhs 2006-04-25 17:40:26 +00:00
Peter Stephenson
20198effd4 22429: fix bug with pure string matching 2006-04-25 13:01:52 +00:00
Peter Stephenson
3f7d4db1e5 22409: fix --disable-multibyte patterns 2006-04-09 21:55:10 +00:00
Peter Stephenson
ef330a5dfd 22408: support for multibyte characters in patterns 2006-04-09 21:47:21 +00:00
Peter Stephenson
cca66ab341 21862/21863: GLOB_SUBST shouldn't swallow up backslashes in parameter
substitutions that don't match anything.
2005-10-11 16:48:05 +00:00
Peter Stephenson
409296e22f 21736: improve tests for word and identifier characters with multibyte input 2005-09-20 15:10:26 +00:00
Peter Stephenson
4fc0fadfaa Add [[:IFS:]] etc. tests. 2005-05-09 10:46:08 +00:00
Peter Stephenson
ba1a545516 21194: fix handling of zero-length quoted test strings for patterns 2005-04-26 09:51:27 +00:00
Peter Stephenson
5733e942f5 Optimise length calculations for ${...//.../...} 2005-04-24 00:38:07 +00:00
Peter Stephenson
c1a3961657 20568: debug test in pattern.c was out of date 2004-11-19 15:15:23 +00:00
Peter Stephenson
feca88ede6 20513: fix tests of zero-length patterns
trivial optimisation in jobs.c (unposted)
2004-10-22 15:36:35 +00:00
Peter Stephenson
b115ca307a 20500: Unmetafy patterns where possible and other minor pattern fixes 2004-10-18 11:56:14 +00:00
Peter Stephenson
a82a2564dd 20490: Don't assume null termination for test string in pattern matching. 2004-10-15 10:21:02 +00:00
Peter Stephenson
46141be5f9 20412, tweaked: Make test builtin more POSIX compatible
20435: Make pattern.c not alter strings.
2004-10-05 10:39:41 +00:00
Wayne Davison
14c7f464c2 Silenced two signed/unsigned comparison compiler warnings. 2004-05-28 19:21:05 +00:00
Peter Stephenson
02677cbdd6 19554: make nocaseglob more efficient on Cygwin 2004-03-08 12:00:15 +00:00
Peter Stephenson
1777b67b1c zsh-users/7121: NO_CASE_GLOB option for case-insensitive globbing 2004-03-06 00:22:58 +00:00
Peter Stephenson
7d672455bb 19269: 8-bit characters in character classes 2003-12-03 10:54:36 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Peter Stephenson
4018e3c149 18600: bug matching against [[:xdigit:]] 2003-06-03 18:02:07 +00:00
Peter Stephenson
ab6f1a632d 17994: Globbing flags with no effect could hang the shell 2002-12-10 12:51:43 +00:00
Oliver Kiddle
af0697b705 17503: fix various typos and spelling mistakes in source code comments 2002-08-05 12:35:59 +00:00
Peter Stephenson
13b57311de 16486: Doc/Zsh/expn.yo, Src/glob.c, Src/pattern.c: support
(#q...) EXTENDED_GLOB syntax for qualifiers.  May be chained,
ignored by pattern matching code.
2002-01-22 12:40:25 +00:00
Clint Adams
a11772c617 15765: introduce [:ascii:] class 2001-09-09 06:17:02 +00:00
Peter Stephenson
441648bf5d ?## fix from 13497 and site name change from Geoff 2001-02-18 00:58:07 +00:00
Peter Stephenson
7bf294f2b8 Wayne: pattern.c unitialised var
Zero-length arrays now possible with $array[1,0]
2000-05-31 08:56:23 +00:00
Peter Stephenson
ad9c7348b5 11587: Felix Rosencrantz: Src/pattern.c: uninitialised variable
11590: various cygwin fixes
2000-05-26 09:47:27 +00:00
Peter Stephenson
ba2ea72753 10971: **/... always globbed dots 2000-04-27 10:58:49 +00:00
Peter Stephenson
2295c59fcb 10756: fix (#s) and (#e) for parameter substitution forms 2000-04-14 11:49:31 +00:00
Peter Stephenson
d2330ba055 10547: (#s) and (#e) pattern assertions 2000-04-06 18:44:01 +00:00
Andrew Main
835572ae23 10444: Src/lex.c, Src/pattern.c: Insist on proper syntax
for numeric globbing (with the "-").  Also fix the bug whereby
"echo 1<2-3>" would lose the "1".
2000-04-04 01:16:25 +00:00
Peter Stephenson
4852545255 Updated from list as far as 10376 2000-04-01 20:49:47 +00:00
Tanaka Akira
7f35660255 Initial revision 1999-08-06 18:02:39 +00:00