Commit Graph

29 Commits (master)

Author SHA1 Message Date
Daniel Shahaf 77a39b57bf 42031 + 42048: Make [[ -o invalidoption ]] a normal(ish) false value, rather than a syntax error. 7 years ago
Mikael Magnusson 8a62bbb46a 41319: dupstring a possibly readonly string before modifying 7 years ago
Bart Schaefer ca2a43f23c 40940: untokenize names of condition features before attempting to look up the definition from a module.
Necessary because of 40760 (tokenization of '-' as Dash).
7 years ago
Peter Stephenson f3f8537cfa 40760: Always tokenize unquoted - to Dash.
This fixes use of pattern match character ranges in unusual contexts.

Attempt to detect a tokenized - in cases where we don't care.
7 years ago
Barton E. Schaefer e51c9c17af 40453: signal handler safety for callers of patcompile(PAT_STATIC), which is not re-entrant. 7 years ago
Oliver Kiddle fbafc5b509 39332: support ksh's [[ -v varname ]] condition for checking if variables are set 8 years ago
Peter Stephenson 1993a3cd2a 39292: Distinguish "=" and "==" tests in output.
This is both in xtrace output and shell code rebuilt from
internal structures.
8 years ago
Jun-ichi Takimoto a4020e10a3 37868: add 'static' to file local variables 8 years ago
Peter Stephenson 830d54e629 37092: make nested ${(P)name} properly refer to parameter on return 9 years ago
Peter Stephenson 6116f1dafa 32954 plus new test: [[ ... = ...(#q...) ]] shouldn't force a glob.
The (#q...) expression should simply be removed to leave a normal pattern
as before
10 years ago
Peter Stephenson 4664dad925 unposted: restore cond_match() in case used in add-on module 10 years ago
Peter Stephenson 501f2003a8 32640: (#q) in [[ ... ]] forces globbing 10 years ago
Peter Stephenson 9c0a19669b Danek: 29254: fix some compiler warnings 13 years ago
Peter Stephenson ed5d053514 27722: bad error reporting and checking in conditions 14 years ago
Peter Stephenson 58580d31f5 24996: improve xtrace output for patterns 16 years ago
Oliver Kiddle fe5390a04c 24050: handle nanosecond resolution timestamps on systems that support them 17 years ago
Peter Stephenson 9084df4dc3 23694: fix =~ 17 years ago
Peter Stephenson 1b52f47cf2 23665: autoloading of module features and related tweaks 17 years ago
Peter Stephenson 29b7123647 23485: feature completion and autoloading 17 years ago
Peter Stephenson b0c5f09169 see 23479: add initial features support for modules 17 years ago
Peter Stephenson 7f03c3d851 23375: Phil Pennock: =~, zsh/regex etc. etc. 17 years ago
Peter Stephenson dd5602f59b 22474: use variable argument lists to improve error message handling 18 years ago
Peter Stephenson b80c6b0863 users/8422: [[ ... -nt ... ]] with bad stat caused
mayhem in initialisation files, functions, etc.
20 years ago
Peter Stephenson 46141be5f9 20412, tweaked: Make test builtin more POSIX compatible
20435: Make pattern.c not alter strings.
20 years ago
Peter Stephenson 8e90d2018c Dan Nelson: 17492: Quote output from xtrace 22 years ago
Peter Stephenson 91edfa3b25 Alexandre Duret-Lutz: 16930: Src/cond.c, Test/C02cond.ztst:
Careful with long filenames in internal condition test; fix block
file test for `-f'.
22 years ago
Sven Wischnowsky 0e6f265516 for caching of compiled patterns: remember that singsub() might modify the string it gets, compare with unmodified string (16041) 23 years ago
Peter Stephenson 4852545255 Updated from list as far as 10376 24 years ago
Tanaka Akira e74702b467 Initial revision 25 years ago