summaryrefslogtreecommitdiff
path: root/Src/text.c
AgeCommit message (Collapse)AuthorFilesLines
2023-04-2251670: prevent possible underflow in gettext()Bart Schaefer1-1/+1
2022-06-07Tweaks to MULTI_FUNC_DEFPeter Stephenson1-2/+10
Output multiple function definitions using "function" form. Note exceptions to errors with NO_MULTI_FUNC_DEF
2021-09-0649266: fix segfault on metacharacters in long job textsBart Schaefer1-0/+2
2020-03-2245583/0007: WC_FUNCDEF: Add a placeholder element.Daniel Shahaf1-1/+1
2019-12-1145004: Fix typos in commentsMartijn Dekker1-1/+1
2019-05-2344345: fix wordcode traversal where ! without a following command could ↵Oliver Kiddle1-2/+7
result in a crash
2016-09-1339292: Distinguish "=" and "==" tests in output.Peter Stephenson1-1/+2
This is both in xtrace output and shell code rebuilt from internal structures.
2016-09-1139252: internal: quotestring: Drop the 'e' parameter, which no caller uses.Daniel Shahaf1-2/+2
2016-01-3137859: NULL-terminate cond_binary_ops static array.Barton E. Schaefer1-1/+1
2015-12-0937364: "test" and "[" handling of parentheses.Peter Stephenson1-7/+25
If three arguments, need to prefer binary operators if possible. Need to look for full string for parentheses.
2015-09-30users/20672: missing "do" in gettext2() for "select"Barton E. Schaefer1-1/+3
2015-09-0236399: Shell code text with multiple here documents wasn't shown properly.Peter Stephenson1-2/+2
2015-08-1036084: use zrealloc() consistentlyBarton E. Schaefer1-3/+3
2015-07-0535688: Improved attempt to turn case wordcode into text.Peter Stephenson1-7/+10
2015-07-04Turning case parsed as multiple alternatives back into text.Peter Stephenson1-10/+11
Also add test.
2015-06-2435590: tweak and test text output from typesetPeter Stephenson1-0/+2
2015-06-24various posts: Implement assignment parsing for typeset.Peter Stephenson1-11/+46
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.
2015-06-0535386: expand tabs where useful in builtins outputing function.Peter Stephenson1-2/+44
Also add to zed -f. Option is -x <numm>.
2015-05-1835168: Improve parsing of case patterns.Peter Stephenson1-8/+20
"|" 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.
2015-02-2034590: queue_signals() around more scopes that manipulate global stateBarton E. Schaefer1-0/+15
2014-11-2133750: handle function autoloads for DEBUG_BEFORE_CMDBarton E. Schaefer1-0/+4
gettext2() lacked a case for the WC_AUTOFN word code, tripping a dputs() on TRAPDEBUG the first time each autoloaded function was run.
2011-06-1929492: add argument handling to anonymous functionsPeter Stephenson1-3/+27
2011-05-0929193: badly placed variable declarationPeter Stephenson1-2/+2
2011-01-0628588: fix textual display after =~ testPeter Stephenson1-2/+1
2010-09-1428259: Finally fix some ancient problems with here-documentsPeter Stephenson1-18/+93
2010-02-1327708: remove distracting initial semicolons in job outptPeter Stephenson1-33/+38
2008-09-1125651: make getpermtext() output indentation more logicalPeter Stephenson1-11/+3
2008-09-0525615: $ZSH_DEBUG_CMD for use in DEBUG trapsPeter Stephenson1-2/+10
2008-03-1424711: fix re-presentation of here-documents munged internallyPeter Stephenson1-7/+12
to here-strings
2008-01-0424356: regex =~ test wasnt handled by gettext()Peter Stephenson1-1/+2
2007-05-0123375: Phil Pennock: =~, zsh/regex etc. etc.Peter Stephenson1-2/+2
2007-04-2323308: sanity for tindent in text outputPeter Stephenson1-17/+25
2007-01-1923115: ";|" at end of case clause causes later patterns to be testedPeter Stephenson1-2/+26
2006-10-0522819: improved internal use of string quotation,Peter Stephenson1-1/+1
plus completion bug fix with RCQUOTES
2006-01-1022151: bug outputting here-strings from which etc. when already quotedPeter Stephenson1-10/+11
2005-04-1221133: New {myfd} syntax for allocating file descriptorsPeter Stephenson1-2/+7
2004-06-2220076, 20084: { ... } always { ... } syntax.Peter Stephenson1-0/+28
2003-02-0418188: Output balanced parentheses in case statementsPeter Stephenson1-0/+2
2002-11-1317935: beautify bin_whence indentation of () and {} contents.Clint Adams1-4/+8
2002-06-0717299: Use reference counts in Eprogs so as to be able to free them as soonPeter Stephenson1-0/+5
as finished with.
2001-12-1716353: add += parameter assignmentsOliver Kiddle1-0/+1
2001-09-2515869Sven Wischnowsky1-3/+4
2001-09-25job text building code couldn't handle empty sublists (as in `coproc || ↵Sven Wischnowsky1-2/+4
test') (15868)
2001-08-1615639Sven Wischnowsky1-3/+9
2001-06-2515030: multi-parameter `for' loopsPeter Stephenson1-1/+1
2000-12-05Joel Smith: 13230: avoid name clashes with Linux kernelPeter Stephenson1-17/+17
2000-04-18fix to get newlines in non-job-texts (I'm sooo stupid)Sven Wischnowsky1-2/+6
2000-04-17display newlines as spaces in job-texts (10788)Sven Wischnowsky1-2/+3
2000-04-01Updated from list as far as 10376Peter Stephenson1-308/+550
1999-04-15Initial revisionTanaka Akira1-0/+526