Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 42790: make [[:blank:]] match non-ASCII blanks | Stephane Chazelas | 2018-05-17 | 1 | -2/+17 |
| | |||||
* | 41090: Replace iswprint() if unicode9 is enabled. | Jun-ichi Takimoto | 2017-05-12 | 1 | -1/+1 |
| | | | | If wcwidth() or iswprint() is broken, force enable unicode9. | ||||
* | 40760: Always tokenize unquoted - to Dash. | Peter Stephenson | 2017-03-07 | 1 | -1/+1 |
| | | | | | | This fixes use of pattern match character ranges in unusual contexts. Attempt to detect a tokenized - in cases where we don't care. | ||||
* | 40265: Fix problems with pure string in patterns with Meta. | Peter Stephenson | 2017-01-03 | 1 | -7/+1 |
| | | | | | | Copy instead of relying on jiggery pokery with memory reallocation. Problem was triggering with string ending with Dash converted to -. | ||||
* | 39688: Skip out of P_EXACTLY pattern loop if P_PURES. | Peter Stephenson | 2016-10-20 | 1 | -2/+2 |
| | | | | | | | If it's really a pure string, there's only one exact match. We could overwrite the next pointer; usually this didn't matter because we'd hit a termination, but if we reallocated we might be looking at garbage. | ||||
* | 39683: Update scan pointers after possible alloc. | Peter Stephenson | 2016-10-20 | 1 | -1/+5 |
| | | | | | Problem could cause next scan index to point into an invalid block when handling meta characters. | ||||
* | 38188: signal re-entrancy, maybe | Barton E. Schaefer | 2016-03-21 | 1 | -34/+50 |
| | | | | | | Crams several globals into a struct so they can be saved/restored as one, and then tries pushing the signal queue management down into patmatch() from pattryrefs(). | ||||
* | 38142: signal re-entrancy, maybe | Barton E. Schaefer | 2016-03-21 | 1 | -5/+19 |
| | |||||
* | 37689: ! and ^ need to be tokenised in character sets | Peter Stephenson | 2016-01-19 | 1 | -5/+8 |
| | |||||
* | 37678: Now possible to quote "-" in pattern range | Peter Stephenson | 2016-01-19 | 1 | -2/+2 |
| | |||||
* | 36982: Fix bug with (#cN) patterns and remove redundant description. | Peter Stephenson | 2015-10-27 | 1 | -0/+1 |
| | | | | | We need to restore the current count of matches when returning to match at the point where we previously matched. | ||||
* | 36760: more care with already unmetafied pattern trial strings | Peter Stephenson | 2015-10-03 | 1 | -15/+40 |
| | |||||
* | 36737: Ensure we don't dreference unterminated zero-length string | Peter Stephenson | 2015-10-01 | 1 | -3/+7 |
| | |||||
* | 36711: Allocate unmetafied pattern trial string on the heap | Peter Stephenson | 2015-09-30 | 1 | -27/+7 |
| | |||||
* | 36700: unmetafy early for parameter match | Peter Stephenson | 2015-09-29 | 1 | -7/+13 |
| | |||||
* | 36682: expand pattern interface to optimise unmetafication | Peter Stephenson | 2015-09-28 | 1 | -101/+236 |
| | |||||
* | 36559: test earlier for overflow in pattern range | Peter Stephenson | 2015-09-19 | 1 | -5/+18 |
| | |||||
* | 36478: Add [[:INCOMPLETE:]] and [[:INVALID:]] pattern tests. | Peter Stephenson | 2015-09-10 | 1 | -9/+34 |
| | |||||
* | 36421: fix breakage in pattern change in 36415 | Peter Stephenson | 2015-09-04 | 1 | -1/+1 |
| | |||||
* | 36415: remap bytes from invalid multibyte characters. | Peter Stephenson | 2015-09-04 | 1 | -6/+22 |
| | | | | | | | These now go to 0xdc00 + index. If wchar_t is a Unicode code point, this is by construction an invalid character within the Unicode range. If it isn't, we would hope the result was no worse than the current fudge. | ||||
* | 36033: a few more queue_signals() to protect global state changes | Barton E. Schaefer | 2015-08-09 | 1 | -1/+7 |
| | |||||
* | 35514: [[:foo:]] tests in completion should be more specific | Han Pingtian | 2015-06-24 | 1 | -2/+2 |
| | |||||
* | 35386: expand tabs where useful in builtins outputing function. | Peter Stephenson | 2015-06-05 | 1 | -9/+4 |
| | | | | | | Also add to zed -f. Option is -x <numm>. | ||||
* | 35131: allow "[]" to match empty character set. | Peter Stephenson | 2015-05-15 | 1 | -1/+10 |
| | | | | | This only works if there's no further "]" in the pattern, since if there is the first "]" has to match a literal character. | ||||
* | 35064: rename ISPRINT to ZISPRINT to avoid conflict | Jun-ichi Takimoto | 2015-05-09 | 1 | -1/+1 |
| | |||||
* | 34636: replace broken isprint() on Mac OS X | Jun-ichi Takimoto | 2015-03-05 | 1 | -1/+1 |
| | |||||
* | users/19059 based on users/19058: remove ineffiency with multiple * matches | Peter Stephenson | 2014-09-08 | 1 | -0/+10 |
| | |||||
* | 32500: handle interrupts during pattern matching | Barton E. Schaefer | 2014-03-20 | 1 | -1/+7 |
| | |||||
* | 32136: fix problem with kshglob. | Peter Stephenson | 2013-12-16 | 1 | -4/+10 |
| | | | | | Non-pattern characters that could be followed by "(" to introduce a ksh glob but weren't caused failures. | ||||
* | unposted: updates for 4.0.2-test-1. zsh-5.0.2-test-1 | Peter Stephenson | 2013-11-06 | 1 | -2/+2 |
| | | | | | | Update references to 4.0.2 to 4.0.3. Additional mod_export declarations. Additions to .distfiles. | ||||
* | 31877: fix behaviour of disable -p with parentheses | Peter Stephenson | 2013-10-24 | 1 | -18/+26 |
| | |||||
* | 31805: Add $patchars and $dis_patchars to zsh/parameter module | Mikael Magnusson | 2013-10-11 | 1 | -1/+2 |
| | |||||
* | 31764: Dewreakify havoc caused by pattern disables on glob qualifiers. | Peter Stephenson | 2013-09-23 | 1 | -1/+2 |
| | | | | Don't use the zpc_specials array before it's defined, it's rude. | ||||
* | 31465: fix basic completion and globbing uses of disabled patterns | Peter Stephenson | 2013-06-13 | 1 | -0/+75 |
| | |||||
* | 31444: Basic code for enable/disable -p | Peter Stephenson | 2013-06-13 | 1 | -0/+167 |
| | |||||
* | 31441: use array to decide which forms of pattern are enabled | Peter Stephenson | 2013-06-01 | 1 | -81/+127 |
| | |||||
* | 31158: following a wildcard with a repetition produces a bad pattern error | Bart Schaefer | 2013-03-19 | 1 | -1/+1 |
| | |||||
* | users/14723: invalid converted characters should never match valid ones | Peter Stephenson | 2010-01-21 | 1 | -7/+20 |
| | |||||
* | 27021: fix length of saved glob flags in pattern matching | Peter Stephenson | 2009-05-29 | 1 | -5/+6 |
| | |||||
* | 26047: convert lower levels of completion matching to use | Peter Stephenson | 2008-11-15 | 1 | -8/+12 |
| | | | | multibyte strings and wide characters | ||||
* | 25845: fix pattern but with backslashed and metafied charaters | Peter Stephenson | 2008-10-11 | 1 | -1/+7 |
| | |||||
* | 25138(? mailing list stuck): rewrite of completion matching. | Peter Stephenson | 2008-06-08 | 1 | -73/+383 |
| | | | | Will one day use multibyte/wide characters, doesn't yet. | ||||
* | 25055: remove unnecessary debug test | Peter Stephenson | 2008-05-17 | 1 | -1/+0 |
| | |||||
* | unposted: fix position of cursor on forward pattern searching | Peter Stephenson | 2008-04-26 | 1 | -0/+10 |
| | |||||
* | 24878: add incremental pattern searches | Peter Stephenson | 2008-04-26 | 1 | -0/+2 |
| | |||||
* | 24708: Misc/globtests, Src/pattern.c, Test/D02glob.ztst: | Peter Stephenson | 2008-03-30 | 1 | -0/+2 |
| | | | | fix backtracking problem in (#c) pattern | ||||
* | fix optimisation of string matching with multibyte mode | Peter Stephenson | 2008-03-25 | 1 | -1/+1 |
| | | | | | 24732: attempt to provide adequate space for sched ztrftime string with multibyte characters | ||||
* | users/12087: fix globbing problem on Cygwin | Peter Stephenson | 2007-10-23 | 1 | -1/+20 |
| | |||||
* | add (#cN,M) globbing flag | Peter Stephenson | 2007-07-27 | 1 | -8/+136 |
| | |||||
* | 22572: use of (#m) was broken with pure strings | Peter Stephenson | 2006-08-01 | 1 | -0/+26 |
| |