Commit Graph

50 Commits (master)

Author SHA1 Message Date
Bart Schaefer 858b8de3d7 51670: prevent possible underflow in gettext() 1 year ago
Peter Stephenson b26b6b3fe0 Tweaks to MULTI_FUNC_DEF
Output multiple function definitions using "function" form.

Note exceptions to errors with NO_MULTI_FUNC_DEF
2 years ago
Bart Schaefer d165d408a0 49266: fix segfault on metacharacters in long job texts 3 years ago
Daniel Shahaf a3c6c5513d 45583/0007: WC_FUNCDEF: Add a placeholder element. 4 years ago
Martijn Dekker c578f0a08b 45004: Fix typos in comments 5 years ago
Oliver Kiddle a531a1ec2d 44345: fix wordcode traversal where ! without a following command could result in a crash 5 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
Daniel Shahaf f368720b8b 39252: internal: quotestring: Drop the 'e' parameter, which no caller uses. 8 years ago
Barton E. Schaefer 69acac38c9 37859: NULL-terminate cond_binary_ops static array. 8 years ago
Peter Stephenson 67877f6055 37364: "test" and "[" handling of parentheses.
If three arguments, need to prefer binary operators if possible.

Need to look for full string for parentheses.
9 years ago
Barton E. Schaefer bc2e73ba4c users/20672: missing "do" in gettext2() for "select" 9 years ago
Peter Stephenson 0e63286bd4 36399: Shell code text with multiple here documents wasn't shown properly. 9 years ago
Barton E. Schaefer 45424e735d 36084: use zrealloc() consistently 9 years ago
Peter Stephenson 290354ff46 35688: Improved attempt to turn case wordcode into text. 9 years ago
Peter Stephenson f2b2271fbe Turning case parsed as multiple alternatives back into text.
Also add test.
9 years ago
Peter Stephenson 7b46509e92 35590: tweak and test text output from typeset 9 years ago
Peter Stephenson 39b28980f3 various posts: Implement assignment parsing for typeset.
Typeset assignments now work like raw assignments except
for no "+=" and no GLOB_ASSIGN.

Documented in typeset builtin doc and mentioned in release notes.

Tests to ensure basic sanity.

Enabled by default, can be turned off by "disable -r" with typeset
family of commands.
9 years ago
Peter Stephenson 2abba7243a 35386: expand tabs where useful in builtins outputing function.
Also add to zed -f.

Option is -x <numm>.
9 years ago
Peter Stephenson 52aeb9aaeb 35168: Improve parsing of case patterns.
"|" is now found properly by looking for words that come
from the lexical analyser, rather than hacking a pattern
returned in one dollop.

Update some completion functions that need extra quoting
as a result.

Add test for new parsing.

Update version number to 5.0.8-dev-3 because of wordcode
incompatibility.
9 years ago
Barton E. Schaefer a4ff8e6957 34590: queue_signals() around more scopes that manipulate global state 9 years ago
Barton E. Schaefer 22b4ededcf 33750: handle function autoloads for DEBUG_BEFORE_CMD
gettext2() lacked a case for the WC_AUTOFN word code, tripping a dputs()
on TRAPDEBUG the first time each autoloaded function was run.
10 years ago
Peter Stephenson 6062529d3f 29492: add argument handling to anonymous functions 13 years ago
Peter Stephenson ae4a0ab46c 29193: badly placed variable declaration 13 years ago
Peter Stephenson 020e116c54 28588: fix textual display after =~ test 14 years ago
Peter Stephenson f1495f5099 28259: Finally fix some ancient problems with here-documents 14 years ago
Peter Stephenson dbf51cf3f0 27708: remove distracting initial semicolons in job outpt 14 years ago
Peter Stephenson d37f9672cb 25651: make getpermtext() output indentation more logical 16 years ago
Peter Stephenson 7ce1d57358 25615: $ZSH_DEBUG_CMD for use in DEBUG traps 16 years ago
Peter Stephenson 948f015df0 24711: fix re-presentation of here-documents munged internally
to here-strings
16 years ago
Peter Stephenson 7d9ead9a46 24356: regex =~ test wasnt handled by gettext() 17 years ago
Peter Stephenson 7f03c3d851 23375: Phil Pennock: =~, zsh/regex etc. etc. 17 years ago
Peter Stephenson 24477a7ff4 23308: sanity for tindent in text output 17 years ago
Peter Stephenson de272e0309 23115: ";|" at end of case clause causes later patterns to be tested 18 years ago
Peter Stephenson 289b14113b 22819: improved internal use of string quotation,
plus completion bug fix with RCQUOTES
18 years ago
Peter Stephenson fa633171fd 22151: bug outputting here-strings from which etc. when already quoted 19 years ago
Peter Stephenson b3f8e32e5c 21133: New {myfd} syntax for allocating file descriptors 19 years ago
Peter Stephenson d591334e9d 20076, 20084: { ... } always { ... } syntax. 20 years ago
Peter Stephenson 6a8be0aff1 18188: Output balanced parentheses in case statements 22 years ago
Clint Adams e580d5d767 17935: beautify bin_whence indentation of () and {} contents. 22 years ago
Peter Stephenson 0e08b8c2e4 17299: Use reference counts in Eprogs so as to be able to free them as soon
as finished with.
22 years ago
Oliver Kiddle 52b8303537 16353: add += parameter assignments 23 years ago
Sven Wischnowsky ae9c181d6b 15869 23 years ago
Sven Wischnowsky c2266c1f5f job text building code couldn't handle empty sublists (as in `coproc || test') (15868) 23 years ago
Sven Wischnowsky 0f880152fc 15639 23 years ago
Peter Stephenson 1897a361bf 15030: multi-parameter `for' loops 23 years ago
Peter Stephenson 0c96a1b963 Joel Smith: 13230: avoid name clashes with Linux kernel 24 years ago
Sven Wischnowsky 59da43689a fix to get newlines in non-job-texts (I'm sooo stupid) 24 years ago
Sven Wischnowsky f0e8173762 display newlines as spaces in job-texts (10788) 24 years ago
Peter Stephenson 4852545255 Updated from list as far as 10376 24 years ago
Tanaka Akira e74702b467 Initial revision 25 years ago