summary refs log tree commit diff
path: root/Src/glob.c
Commit message (Collapse)AuthorAgeFilesLines
* 33876: etc.: Separate errors and keyboards interruptsPeter Stephenson2014-12-111-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Combination of 12 commits from interrupt_abort branch. Basic strategy is to introduce bits to errflag and to set and reset them separately. Remove interrupt status on return to main keymap. Turn off ERRFLAG_INT for always block. Restore bit thereafter: we probably need a new variable in order to allow user interrupts to be reset in the always block. Add TRY_BLOCK_INTERRUPT This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too. Ensure propagation of SIGINT from exited job. If received by foreground job, shell uses ERRFLAG_INT, not ERRFLAG_ERROR, to set the new state. Reset errflag before precmd() Add always block in _main_completion to fix ZLS_COLORS Ensures we get the right state of $ZLS_COLORS at the end of _main_complete even if there's an interrupt. However, the "right state" is a bit messy as it depends on styles.
* 33854: errors end recursion through scanner()Barton E. Schaefer2014-12-071-1/+1
| | | | Makes **/ more easily interruptible
* users/19143: fix depth glob search with trailing slashesPeter Stephenson2014-09-251-0/+3
|
* 33136: P glob qual appends words when negatedMikael Magnusson2014-09-161-6/+15
|
* 33038: Fix {^@..a} hangingMikael Magnusson2014-08-211-2/+2
|
* 32931: with NO_NOMATCH, a subscript glob qualifier on a not-matching pattern ↵Barton E. Schaefer2014-07-311-0/+2
| | | | returns the original pattern
* 32767: another spot to tweak bracechardots()Jun T2014-06-111-0/+2
|
* 32766: bracechardots() agrees with xpandbraces() about what constitutes a ↵Barton E. Schaefer2014-06-101-0/+2
| | | | {C1..C2} pattern, thus preventing crash
* 32765: fix build when not MULTIBYTE_SUPPORTJun T2014-06-101-2/+14
|
* 32723: add braces around some if/else branchesBarton E. Schaefer2014-06-051-4/+7
|
* 32708: glob qualifier (Y) implies (oN)Daniel Shahaf2014-06-041-3/+4
| | | | plus incidental patch to avoid adding a meaningless bitvalue to sort-order flags
* 32694: the number of matches to find is the suffix argument of (Y) qualifierDaniel Shahaf2014-06-031-28/+46
|
* users/18870: fix glob scanner insert counting check.Daniel Shahaf2014-06-021-10/+11
| | | | Was causing problems with globs in paths with (Y) glob qualifier
* users/18857: add (Y) glob qualifier to generate only one match per patternDaniel Shahaf2014-06-011-11/+24
|
* 32640: (#q) in [[ ... ]] forces globbingPeter Stephenson2014-06-011-35/+65
|
* 32412 / 32415: New giga- and terabyte units for glob qualifiersManuel Presnitz2014-03-011-2/+20
|
* 32414: improved error message for missing delimiters.Peter Stephenson2014-02-191-2/+2
| | | | For glob qualifiers "u" and "g".
* users/18298 (tidied up): add {<char>..<char>} expansionPeter Stephenson2014-01-091-3/+98
|
* 32030: need to revert empty glob qualifier change.Peter Stephenson2013-11-201-1/+1
| | | | | It failed on an empty expansion that (N) was supposed to remove. Add test for this case.
* 31995: Han Pingtian: glob qualifiers cannot follow an empty pattern, so a ↵Barton E. Schaefer2013-11-181-1/+1
| | | | leading paren means grouping
* 31764: Dewreakify havoc caused by pattern disables on glob qualifiers.Peter Stephenson2013-09-231-4/+5
| | | | Don't use the zpc_specials array before it's defined, it's rude.
* unposted: improve an error message.Barton E. Schaefer2013-09-211-1/+2
|
* 31465: fix basic completion and globbing uses of disabled patternsPeter Stephenson2013-06-131-35/+0
|
* 31441: use array to decide which forms of pattern are enabledPeter Stephenson2013-06-011-9/+11
|
* Dima Kogan: 30515: fix globbing problem with large files:Peter Stephenson2012-06-181-1/+3
| | | | failure owing to bad cast with large integers
* 30307 plus tweak suggsted by Wayne: use %lld for zlong when long longPeter Stephenson2012-03-051-0/+4
|
* 30276: Src/glob.c: Use zlong rather than int when calculating brace ↵Mikael Magnusson2012-02-291-3/+4
| | | | expansions of the form {1..9}.
* 30181, plus rename of PF_* flags to PREFORK_*:Peter Stephenson2012-02-121-1/+1
| | | | | | Pass sh-wordsplitting instructions to paramsubst() using flags, avoiding side effects of explicitly setting and unsetting the SHWORDSPLIT option.
* 29991: allow explicit "d" for days in time qualifiersPeter Stephenson2011-12-111-0/+2
|
* 29952: fix cut'n'paste error in nanosecond timestamp supportOliver Kiddle2011-12-071-3/+3
|
* 29491: remove some variables set but not usedPeter Stephenson2011-06-191-2/+1
|
* 29165: use term.h globally if needed at all.Peter Stephenson2011-05-091-2/+2
|
* 28617: NO_EXEC option was doing too much work inPeter Stephenson2011-01-101-1/+1
| | | | parameter subscripting, parameter assignment, and globbing
* 28474, 28478: extended {START..END..STEP} syntaxPeter Stephenson2010-12-051-12/+59
|
* 27951: Add $ZSH_EVAL_CONTEXT and $zsh_eval_contxtPeter Stephenson2010-05-121-2/+3
|
* unposted: initially clear list for P glob qualifierPeter Stephenson2010-02-131-0/+1
|
* 27694: add P glob qualifier for prependingPeter Stephenson2010-02-091-4/+36
|
* 26772: better error handling and fix runaway chdir on failed cdPeter Stephenson2009-03-241-3/+1
|
* 26448: add glob sort operators oe and o+Peter Stephenson2009-01-271-43/+174
|
* unposted: revert 26014.Clint Adams2008-11-081-4/+2
|
* 26014: don't allocate and leak a patprog if it's not going to be used.Clint Adams2008-11-061-2/+4
|
* users/13295, tweaked: dont reset line numbers when parsing strings, sometimesPeter Stephenson2008-09-291-1/+1
|
* 24996: improve xtrace output for patternsPeter Stephenson2008-05-111-8/+11
|
* oopsPeter Stephenson2008-04-291-1/+1
|
* 24887: geoff: typoPeter Stephenson2008-04-281-1/+1
|
* 24878: add incremental pattern searchesPeter Stephenson2008-04-261-57/+110
|
* 24050: handle nanosecond resolution timestamps on systems that support themOliver Kiddle2007-11-011-0/+54
|
* 24006: (F) glob qualifier should unmetafyPeter Stephenson2007-10-221-2/+5
|
* 23562: add KSH_ZERO_SUBSCRIPT option and leave off by defaultPeter Stephenson2007-06-181-1/+1
|
* 23118: improve sorting to make it work with localesPeter Stephenson2007-01-211-4/+1
|