1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-18 03:11:15 +02:00
Commit graph

62 commits

Author SHA1 Message Date
Peter Stephenson
cba1d41ffc 2037: ${functions[foo]} shouldn't be unmetafied.
When passed back from the parameter-specific "get" handler it's
still in the shell's internals, so remains metafied.

This caused mayhem with UTF-8 characters in function bodies.
2015-05-29 12:17:18 +01:00
Peter Stephenson
0557c226fc 33294: $functions[func_with_redir] plus extra tests 2014-09-30 12:58:52 +01:00
Peter Stephenson
08e5191ff0 users/19097: remove $functypetrace in favour of ref to $zsheval_context 2014-09-18 19:09:52 +01:00
Peter Stephenson
246404a44d Add $functypestack special parameter in zsh/parameter 2014-09-12 20:35:16 +01:00
Barton E. Schaefer
f6429189a8 32903: new empty (unset) elements in the special parameter hash tables are special themselves 2014-07-24 08:16:29 -07:00
Mikael Magnusson
fa03332635 31805: Add $patchars and $dis_patchars to zsh/parameter module 2013-10-11 14:57:57 +02:00
Peter Stephenson
4b86cc48f7 30726: make shell options passed to emulate stick along with the emulation 2012-10-11 20:14:01 +00:00
Peter Stephenson
4e2cdd7956 30722: fix some cases where emulations or options were not propagated properly
from the emulate command
2012-10-07 19:46:46 +00:00
Peter Stephenson
86f8e8de69 30307 plus tweak suggsted by Wayne: use %lld for zlong when long long 2012-03-05 10:06:28 +00:00
Peter Stephenson
94225e07fc 28638: add $usergroups parameter 2011-01-19 12:42:53 +00:00
Peter Stephenson
0a5702457b 28510: add (z+c+) and (z+C+) parameter flags 2010-12-12 22:44:50 +00:00
Peter Stephenson
c7d8b0dfb8 26546, 26556: sticky emulation for functions defined in emulate ... -c ...
environments, plus documentation
2009-02-11 20:42:15 +00:00
Peter Stephenson
59dd1491c6 users/13295, tweaked: dont reset line numbers when parsing strings, sometimes 2008-09-29 08:46:21 +00:00
Peter Stephenson
d37f9672cb 25651: make getpermtext() output indentation more logical 2008-09-11 17:14:38 +00:00
Peter Stephenson
0cba5ef62a 25595: fix line numbers with EVAL_LINENO,
try to fix oddities with funcstack and sourced files,
simplify use of caller element of funcstack
2008-09-03 09:08:18 +00:00
Peter Stephenson
a5a1296fa0 25448: add $funcfiletrace to show absolute line number for caller 2008-08-13 21:02:02 +00:00
Peter Stephenson
2853ca830a 25247 with further modifications: add $funcsourcetrace 2008-08-11 19:22:54 +00:00
Peter Stephenson
f5a6b2a8c9 users/11818: allow non-numeric keys for job status parameters 2007-09-05 16:16:15 +00:00
Peter Stephenson
1b52f47cf2 23665: autoloading of module features and related tweaks 2007-07-06 21:52:38 +00:00
Peter Stephenson
4d52b7ebe6 23670: rationalise some linked list functions 2007-06-27 13:56:10 +00:00
Peter Stephenson
abae4fe16e 23562: add KSH_ZERO_SUBSCRIPT option and leave off by default 2007-06-18 13:25:03 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Peter Stephenson
55ca3b0d16 23446: fix typo producing wrong values for alias parameters 2007-05-21 11:00:50 +00:00
Clint Adams
1554b81053 operator precedence fix 2006-09-18 03:40:40 +00:00
Clint Adams
a7c0640c0a 22728: $functrace parameter for function backtraces. 2006-09-17 19:28:45 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +00:00
Wayne Davison
4cb83571c4 Changed some structures to avoid gcc's type-punned warnings. 2006-03-07 21:30:36 +00:00
Peter Stephenson
43d480057b 20959: fix crash unloading zsh/parameter and test the fix 2005-03-10 17:55:37 +00:00
Peter Stephenson
05b06b1c08 fix autoloaded trap bug; rejig use of trapfuncs
(now traplists); improve trap tests
2005-02-06 20:36:09 +00:00
Wayne Davison
2fb65d215f Fixed compiler warning about a missing initializer. 2005-01-21 11:16:34 +00:00
Peter Stephenson
77166e259e 20695: Fix Cygwin problem with initialising from pointer to imported variable 2005-01-12 12:18:58 +00:00
Peter Stephenson
69b4b8bdde 20605: Use separate structure with get/set/unset methods fro parameters.
Separate justification width of parameters from base/precision.
2004-12-07 16:54:58 +00:00
Wayne Davison
aee4661e96 We can't use "%d" on a histent number (which is a zlong these days).
Changed the sprintf() to convbase().
2004-10-01 18:48:27 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Peter Stephenson
a6a63a147e 19242: Make job table dynamically reallocatable. 2003-11-13 14:34:33 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Peter Stephenson
b26ec00df5 19044: typo in setting $saliases elements 2003-09-08 11:17:20 +00:00
Peter Stephenson
3ffb3ad2f2 19014: add alias -s suf=handler 2003-09-03 10:15:32 +00:00
Peter Stephenson
ef8d5c7214 18880: Don't return unset parameters in $parameters 2003-07-22 13:12:09 +00:00
Peter Stephenson
74c90c0ada 18325: options on by default weren't printed correctly by zsh/parameter 2003-03-07 12:31:00 +00:00
Sven Wischnowsky
c0ea4d62c8 handle possible NULL pointer returned from bufferwords() (15717) 2001-08-28 08:41:51 +00:00
Peter Stephenson
003ec8c7e8 15327: always use local LINENOs in parse_string(). 2001-07-09 16:05:13 +00:00
Sven Wischnowsky
1b2d095217 fix two memory leaks (at least I hope they are fixed) and some out-of-bound array accesses, plus some defensive programming for heap allocated param structs (14605) 2001-05-31 09:43:59 +00:00
Sven Wischnowsky
da9b5bb81a show current/previous job in $jobstates (3503) 2000-11-02 08:12:44 +00:00
Sven Wischnowsky
fb6fd42e00 make assignament to $nameddirs behave like hash -d (13095) 2000-10-30 08:19:44 +00:00
Sven Wischnowsky
5821e7ef16 make $modules report aliases correctly (12654) 2000-08-16 09:25:39 +00:00
Bart Schaefer
135b181aa6 12604: Remove calls to zpathmax(), minor fixes to zopenmax(). 2000-08-14 07:30:28 +00:00
Bart Schaefer
22cbf1b271 15216: Rewrite pathconf() support. 2000-08-04 07:09:12 +00:00
Sven Wischnowsky
55b07cb525 quoting 2000-08-03 13:35:43 +00:00
Clint Adams
de7b6730bc 12489: pathconf for unlimited fs 2000-08-02 14:20:41 +00:00