1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-27 06:22:20 +02:00
Commit Graph

47 Commits

Author SHA1 Message Date
Daniel Shahaf
a3c6c5513d 45583/0007: WC_FUNCDEF: Add a placeholder element. 2020-03-22 02:23:53 +00:00
Martijn Dekker
c578f0a08b 45004: Fix typos in comments 2019-12-11 02:37:39 +00:00
Oliver Kiddle
a531a1ec2d 44345: fix wordcode traversal where ! without a following command could result in a crash 2019-05-23 01:05:01 +02:00
Peter Stephenson
1993a3cd2a 39292: Distinguish "=" and "==" tests in output.
This is both in xtrace output and shell code rebuilt from
internal structures.
2016-09-13 09:42:24 +01:00
Daniel Shahaf
f368720b8b 39252: internal: quotestring: Drop the 'e' parameter, which no caller uses. 2016-09-11 09:22:18 +00:00
Barton E. Schaefer
69acac38c9 37859: NULL-terminate cond_binary_ops static array. 2016-01-31 15:19:56 -08:00
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.
2015-12-09 16:40:08 +00:00
Barton E. Schaefer
bc2e73ba4c users/20672: missing "do" in gettext2() for "select" 2015-09-30 20:02:53 -07:00
Peter Stephenson
0e63286bd4 36399: Shell code text with multiple here documents wasn't shown properly. 2015-09-02 14:20:44 +01:00
Barton E. Schaefer
45424e735d 36084: use zrealloc() consistently 2015-08-10 12:55:56 -07:00
Peter Stephenson
290354ff46 35688: Improved attempt to turn case wordcode into text. 2015-07-05 18:15:43 +01:00
Peter Stephenson
f2b2271fbe Turning case parsed as multiple alternatives back into text.
Also add test.
2015-07-04 11:01:47 +01:00
Peter Stephenson
7b46509e92 35590: tweak and test text output from typeset 2015-06-24 14:32:15 +01:00
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.
2015-06-24 10:21:12 +01:00
Peter Stephenson
2abba7243a 35386: expand tabs where useful in builtins outputing function.
Also add to zed -f.

Option is -x <numm>.
2015-06-05 11:21:22 +01:00
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.
2015-05-18 09:56:00 +01:00
Barton E. Schaefer
a4ff8e6957 34590: queue_signals() around more scopes that manipulate global state 2015-02-20 18:45:36 -08:00
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.
2014-11-21 21:56:56 -08:00
Peter Stephenson
6062529d3f 29492: add argument handling to anonymous functions 2011-06-19 20:12:00 +00:00
Peter Stephenson
ae4a0ab46c 29193: badly placed variable declaration 2011-05-09 10:27:32 +00:00
Peter Stephenson
020e116c54 28588: fix textual display after =~ test 2011-01-06 20:28:50 +00:00
Peter Stephenson
f1495f5099 28259: Finally fix some ancient problems with here-documents 2010-09-14 14:46:26 +00:00
Peter Stephenson
dbf51cf3f0 27708: remove distracting initial semicolons in job outpt 2010-02-13 20:28:36 +00:00
Peter Stephenson
d37f9672cb 25651: make getpermtext() output indentation more logical 2008-09-11 17:14:38 +00:00
Peter Stephenson
7ce1d57358 25615: $ZSH_DEBUG_CMD for use in DEBUG traps 2008-09-05 09:05:21 +00:00
Peter Stephenson
948f015df0 24711: fix re-presentation of here-documents munged internally
to here-strings
2008-03-14 11:40:57 +00:00
Peter Stephenson
7d9ead9a46 24356: regex =~ test wasnt handled by gettext() 2008-01-04 14:45:39 +00:00
Peter Stephenson
7f03c3d851 23375: Phil Pennock: =~, zsh/regex etc. etc. 2007-05-01 22:05:03 +00:00
Peter Stephenson
24477a7ff4 23308: sanity for tindent in text output 2007-04-23 15:24:00 +00:00
Peter Stephenson
de272e0309 23115: ";|" at end of case clause causes later patterns to be tested 2007-01-19 21:36:00 +00:00
Peter Stephenson
289b14113b 22819: improved internal use of string quotation,
plus completion bug fix with RCQUOTES
2006-10-05 21:53:26 +00:00
Peter Stephenson
fa633171fd 22151: bug outputting here-strings from which etc. when already quoted 2006-01-10 16:57:02 +00:00
Peter Stephenson
b3f8e32e5c 21133: New {myfd} syntax for allocating file descriptors 2005-04-12 15:11:07 +00:00
Peter Stephenson
d591334e9d 20076, 20084: { ... } always { ... } syntax. 2004-06-22 13:09:55 +00:00
Peter Stephenson
6a8be0aff1 18188: Output balanced parentheses in case statements 2003-02-04 11:23:01 +00:00
Clint Adams
e580d5d767 17935: beautify bin_whence indentation of () and {} contents. 2002-11-13 21:09:01 +00:00
Peter Stephenson
0e08b8c2e4 17299: Use reference counts in Eprogs so as to be able to free them as soon
as finished with.
2002-06-07 14:44:21 +00:00
Oliver Kiddle
52b8303537 16353: add += parameter assignments 2001-12-17 17:17:38 +00:00
Sven Wischnowsky
ae9c181d6b 15869 2001-09-25 12:50:45 +00:00
Sven Wischnowsky
c2266c1f5f job text building code couldn't handle empty sublists (as in `coproc || test') (15868) 2001-09-25 12:10:05 +00:00
Sven Wischnowsky
0f880152fc 15639 2001-08-16 08:48:27 +00:00
Peter Stephenson
1897a361bf 15030: multi-parameter `for' loops 2001-06-25 16:07:51 +00:00
Peter Stephenson
0c96a1b963 Joel Smith: 13230: avoid name clashes with Linux kernel 2000-12-05 10:34:23 +00:00
Sven Wischnowsky
59da43689a fix to get newlines in non-job-texts (I'm sooo stupid) 2000-04-18 07:12:32 +00:00
Sven Wischnowsky
f0e8173762 display newlines as spaces in job-texts (10788) 2000-04-17 10:46:01 +00:00
Peter Stephenson
4852545255 Updated from list as far as 10376 2000-04-01 20:49:47 +00:00
Tanaka Akira
e74702b467 Initial revision 1999-04-15 18:05:38 +00:00