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

105 commits

Author SHA1 Message Date
Peter Stephenson
691a7e4b3d users/19143: fix depth glob search with trailing slashes 2014-09-25 19:12:34 +01:00
Mikael Magnusson
78dd672e1a 33136: P glob qual appends words when negated 2014-09-16 00:27:05 +02:00
Mikael Magnusson
33ad7174f6 33038: Fix {^@..a} hanging 2014-08-21 01:23:32 +02:00
Barton E. Schaefer
417cb94fe1 32931: with NO_NOMATCH, a subscript glob qualifier on a not-matching pattern returns the original pattern 2014-07-31 23:46:21 -07:00
Jun T
e6d7d7b013 32767: another spot to tweak bracechardots() 2014-06-11 10:19:24 -07:00
Barton E. Schaefer
d1da134c63 32766: bracechardots() agrees with xpandbraces() about what constitutes a {C1..C2} pattern, thus preventing crash 2014-06-10 23:52:38 -07:00
Jun T
e1fbf76de0 32765: fix build when not MULTIBYTE_SUPPORT 2014-06-10 23:46:15 -07:00
Barton E. Schaefer
32756f78af 32723: add braces around some if/else branches 2014-06-05 21:10:23 -07:00
Daniel Shahaf
69378db3c5 32708: glob qualifier (Y) implies (oN)
plus incidental patch to avoid adding a meaningless bitvalue to sort-order flags
2014-06-04 22:47:20 -07:00
Daniel Shahaf
9381bb6a2d 32694: the number of matches to find is the suffix argument of (Y) qualifier 2014-06-03 23:46:07 -07:00
Daniel Shahaf
06a4913245 users/18870: fix glob scanner insert counting check.
Was causing problems with globs in paths with (Y) glob qualifier
2014-06-02 14:32:51 +01:00
Daniel Shahaf
10ae77c0cf users/18857: add (Y) glob qualifier to generate only one match per pattern 2014-06-01 14:18:21 -07:00
Peter Stephenson
501f2003a8 32640: (#q) in [[ ... ]] forces globbing 2014-06-01 20:55:39 +01:00
Manuel Presnitz
973e5dc37d 32412 / 32415: New giga- and terabyte units for glob qualifiers 2014-03-01 19:08:17 +00:00
Peter Stephenson
73db206838 32414: improved error message for missing delimiters.
For glob qualifiers "u" and "g".
2014-02-19 15:34:17 +00:00
Peter Stephenson
d26461a3c6 users/18298 (tidied up): add {<char>..<char>} expansion 2014-01-09 10:05:13 +00:00
Peter Stephenson
8e2d4c2cf7 32030: need to revert empty glob qualifier change.
It failed on an empty expansion that (N) was supposed to remove.
Add test for this case.
2013-11-20 17:35:57 +00:00
Barton E. Schaefer
12fb09c336 31995: Han Pingtian: glob qualifiers cannot follow an empty pattern, so a leading paren means grouping 2013-11-18 08:24:54 -08:00
Peter Stephenson
60debf388f 31764: Dewreakify havoc caused by pattern disables on glob qualifiers.
Don't use the zpc_specials array before it's defined, it's rude.
2013-09-23 21:02:31 +01:00
Barton E. Schaefer
27f9c515ff unposted: improve an error message. 2013-09-21 16:39:25 -07:00
Peter Stephenson
347a63da0c 31465: fix basic completion and globbing uses of disabled patterns 2013-06-13 18:40:36 +01:00
Peter Stephenson
68d0d76db5 31441: use array to decide which forms of pattern are enabled 2013-06-01 20:39:09 +01:00
Peter Stephenson
c3fb9dbfa3 Dima Kogan: 30515: fix globbing problem with large files:
failure owing to bad cast with large integers
2012-06-18 09:05:01 +00:00
Peter Stephenson
86f8e8de69 30307 plus tweak suggsted by Wayne: use %lld for zlong when long long 2012-03-05 10:06:28 +00:00
Mikael Magnusson
47a48ced0e 30276: Src/glob.c: Use zlong rather than int when calculating brace expansions of the form {1..9}. 2012-02-29 17:06:07 +00:00
Peter Stephenson
53f893d062 30181, plus rename of PF_* flags to PREFORK_*:
Pass sh-wordsplitting instructions to paramsubst() using flags,
avoiding side effects of explicitly setting and unsetting the
SHWORDSPLIT option.
2012-02-12 20:27:48 +00:00
Peter Stephenson
acb97e6115 29991: allow explicit "d" for days in time qualifiers 2011-12-11 17:22:59 +00:00
Oliver Kiddle
fe1dc5102a 29952: fix cut'n'paste error in nanosecond timestamp support 2011-12-07 01:31:20 +00:00
Peter Stephenson
962624e8c3 29491: remove some variables set but not used 2011-06-19 16:26:10 +00:00
Peter Stephenson
d89361739a 29165: use term.h globally if needed at all. 2011-05-09 09:49:08 +00:00
Peter Stephenson
dfc26195c9 28617: NO_EXEC option was doing too much work in
parameter subscripting, parameter assignment, and globbing
2011-01-10 18:24:17 +00:00
Peter Stephenson
25b12c5d11 28474, 28478: extended {START..END..STEP} syntax 2010-12-05 21:07:48 +00:00
Peter Stephenson
09960dc5b9 27951: Add $ZSH_EVAL_CONTEXT and $zsh_eval_contxt 2010-05-12 10:06:59 +00:00
Peter Stephenson
a589007d59 unposted: initially clear list for P glob qualifier 2010-02-13 20:25:49 +00:00
Peter Stephenson
f4f0becb63 27694: add P glob qualifier for prepending 2010-02-09 17:47:02 +00:00
Peter Stephenson
9defc9850d 26772: better error handling and fix runaway chdir on failed cd 2009-03-24 12:52:07 +00:00
Peter Stephenson
7c43fb69bf 26448: add glob sort operators oe and o+ 2009-01-27 09:55:22 +00:00
Clint Adams
29852fe214 unposted: revert 26014. 2008-11-08 06:31:01 +00:00
Clint Adams
3fc22d6eab 26014: don't allocate and leak a patprog if it's not going to be used. 2008-11-06 02:59:42 +00:00
Peter Stephenson
59dd1491c6 users/13295, tweaked: dont reset line numbers when parsing strings, sometimes 2008-09-29 08:46:21 +00:00
Peter Stephenson
58580d31f5 24996: improve xtrace output for patterns 2008-05-11 19:55:21 +00:00
Peter Stephenson
8dc2bc1350 oops 2008-04-29 19:53:47 +00:00
Peter Stephenson
0c0213b517 24887: geoff: typo 2008-04-28 08:55:27 +00:00
Peter Stephenson
234c6ed193 24878: add incremental pattern searches 2008-04-26 19:51:08 +00:00
Oliver Kiddle
fe5390a04c 24050: handle nanosecond resolution timestamps on systems that support them 2007-11-01 17:57:57 +00:00
Peter Stephenson
756cfc08e2 24006: (F) glob qualifier should unmetafy 2007-10-22 09:27:03 +00:00
Peter Stephenson
abae4fe16e 23562: add KSH_ZERO_SUBSCRIPT option and leave off by default 2007-06-18 13:25:03 +00:00
Peter Stephenson
553e011320 23118: improve sorting to make it work with locales 2007-01-21 22:47:36 +00:00
Peter Stephenson
aba936b17c 22981: Zvi Har'el: bad call from 22952
22980: add hook array for special functions
2006-11-08 10:38:05 +00:00
Peter Stephenson
f367a90505 22980: 22952 messed up parameter padding flag optional arguments 2006-11-07 22:47:07 +00:00