Wayne Davison
3a6b74f4b0
Silenced a signed/unsigned compiler warning.
2007-12-27 16:00:53 +00:00
Peter Stephenson
2d03aa87fb
24264: restrict effect of 24234 to parameter substitution code and document
2007-12-16 14:05:14 +00:00
Peter Stephenson
5d5d1bef6e
24234: apply typeset parameter flags consistently
2007-12-13 20:52:52 +00:00
Bart Schaefer
1b363034ce
24113: createparamtable() was still messing with
...
the internals of the environment even when USE_SET_UNSET_ENV.
2007-11-23 02:32:56 +00:00
Oliver Kiddle
4ac2515ed8
24045: fix memory leak where old value of an environment variable isn't freed
2007-10-31 21:03:21 +00:00
Peter Stephenson
595dd31b63
23730: improve preprocessor and regression tests for 23725
2007-07-31 11:26:54 +00:00
Peter Stephenson
1ab7d0fd0b
23725: use setenv()/unsetenv() for environment memory management
2007-07-30 20:46:04 +00:00
Peter Stephenson
4fab17e62a
23696: x=x; x[-10]=y did bad things
2007-07-25 09:26:51 +00:00
Peter Stephenson
1b52f47cf2
23665: autoloading of module features and related tweaks
2007-07-06 21:52:38 +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
709aee90ce
23553: unsubscripted array inside math eval behaves more rationally
2007-06-12 15:43:16 +00:00
Peter Stephenson
29b7123647
23485: feature completion and autoloading
2007-05-29 14:16:02 +00:00
Peter Stephenson
b0c5f09169
see 23479: add initial features support for modules
2007-05-28 22:57:39 +00:00
Peter Stephenson
faf05be3d2
23440: Make $param[(R)value] substitute the empty string on failure
2007-05-21 09:30:24 +00:00
Peter Stephenson
3be3ca8805
23437: typo noted by Wayne
2007-05-14 09:25:30 +00:00
Peter Stephenson
599a7fd7a7
23436: consistency with null strings in local variables
...
unposted: Phil Pennock: POSIX RE's are extended
2007-05-13 20:18:28 +00:00
Peter Stephenson
05ff4fb3ab
23273: fix bad patterns in reverse array subscripting
2007-04-13 11:54:16 +00:00
Peter Stephenson
62b671f0d1
23159 plus minor doc tweaks: leave BAUD parameter unset by default
2007-02-08 10:43:28 +00:00
Peter Stephenson
0108088f52
23152: make ztrcmp() respect MULTIBYTE
...
make sorting of printed hash tables more consistent
2007-02-06 21:47:54 +00:00
Peter Stephenson
d8207acddb
22952: fix some argument delimiters to work with multibyte characters
2006-11-02 18:43:19 +00:00
Peter Stephenson
b262d310b2
22686: unset array if assigning numeric parameter
2006-09-11 11:09:15 +00:00
Peter Stephenson
80acfd135c
22684: improve getkeystring() interface and make printf do octal escapes
2006-09-10 18:10:48 +00:00
Peter Stephenson
6d61a3859e
22578: ensure HISTCHARS/histchars never contains non-ASCII characters
2006-08-02 17:16:37 +00:00
Peter Stephenson
4a67f24798
22544: Improve use of ztype tests for multibyte characters. Add
...
POSIX_IDENTIFIERS option to control allowability of multibyte
alphanumeric characters in parameter and module names.
2006-07-10 13:08:22 +00:00
Peter Stephenson
f95a6a913c
22524: searchable parameter subscripts with multibyte chars,
...
a few other fixes
2006-06-27 16:28:45 +00:00
Peter Stephenson
05bd0b2dd1
22518: Initial go at making parameter subscripts
...
use multibyte characters.
2006-06-26 18:17:31 +00:00
Peter Stephenson
8346a5e8d2
22483: add $sysparams to zsh/system
2006-06-05 13:21:56 +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
Bart Schaefer
20aae107b8
22321: optimize 22318.
2006-03-06 15:38:59 +00:00
Clint Adams
a915138852
22284: add --disable-dynamic-nss configure switch to disable use of getpw*(), getgr*(), initgroups() functions.
2006-02-19 19:36:31 +00:00
Peter Stephenson
30176eaf63
22198: do always set HOME in native emulation
2006-02-07 11:29:30 +00:00
Peter Stephenson
8b0cc87817
22195: don't set HOME in the shell
2006-02-06 11:57:03 +00:00
Peter Stephenson
e366ca8dbf
users/9638: tweaks for FCEDIT etc.
...
21986: rewrite completion suffixes for wide characters
2005-11-07 09:37:34 +00:00
Peter Stephenson
337b9dba1f
21974: memory leak with tied parameters
2005-11-02 12:04:46 +00:00
Peter Stephenson
3c37057c34
21871: replace INULL() by inull()
2005-10-13 16:30:13 +00:00
Peter Stephenson
409296e22f
21736: improve tests for word and identifier characters with multibyte input
2005-09-20 15:10:26 +00:00
Peter Stephenson
7746eea52b
adapted from 21719: add some mod_exports
2005-09-09 16:06:47 +00:00
Peter Stephenson
f2d873d811
21701: Negative subscripts of scalars before start were broken
2005-09-06 15:28:17 +00:00
Peter Stephenson
635b405c55
21678: Unsetting tied parameters caused various crashes
2005-08-22 11:43:36 +00:00
Peter Stephenson
d307660dee
21575 plus unposted: Add WARN_CREATE_GLOBAL option
2005-08-08 16:48:52 +00:00
Wayne Davison
03531ff379
The parsing of \c in $foo[(pws:\c:)1] should treat \c as an unknown
...
escape (resulting in a literal "c"), not remove the sequence (from
a patch by Thorsten Dahlheimer).
2005-07-24 05:37:23 +00:00
Clint Adams
5571605340
* 21124: Src/Zle/zle_main.c, Src/init.c, Src/params.c: have zle cache a
...
wide-char version of WORDCHARS each time it's changed (when ZLE_UNICODE_SUPPORT
is defined).
2005-04-08 16:42:55 +00:00
Peter Stephenson
43d480057b
20959: fix crash unloading zsh/parameter and test the fix
2005-03-10 17:55:37 +00:00
Wayne Davison
e63e45ae62
Got rid of "unused parameter" compiler warning for nullsethashfn().
2005-01-21 11:15:36 +00:00
Peter Stephenson
88a37cc187
c.f. 20675: improve zle as a basis for Unicode.
...
unposted: update version to 4.2.3-dev-1
2005-01-14 13:04:47 +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
Peter Stephenson
ba32e52292
users/8219: add $HISTCMD
2004-11-16 19:05:50 +00:00
Wayne Davison
74fb5712a2
- Call saveandpophiststack() with its new writeflags arg.
2004-10-01 19:48:57 +00:00
Wayne Davison
b8b11e7627
Silence unused-parameter warnings from the compiler.
2004-10-01 19:06:49 +00:00
Peter Stephenson
7d3d6f4a5a
20391: SHLVL wasn't updated in environment
2004-09-20 14:35:19 +00:00
Peter Stephenson
037485c4a4
20378: Matthias B.: fix bugs joining with metafied chars.
2004-09-17 09:25:38 +00:00
Peter Stephenson
6b1dc0f701
20331: Use internal zlong variables for consistency
...
20332: Add WIDGETSTYLE zle parameter
2004-09-09 10:12:42 +00:00
Peter Stephenson
4c8796b11d
20141: Crash restoring exported special parameters
2004-07-07 15:00:44 +00:00
Peter Stephenson
d591334e9d
20076, 20084: { ... } always { ... } syntax.
2004-06-22 13:09:55 +00:00
Wayne Davison
fb0937a69e
Marked unused parameters with the new UNUSED() macro.
2004-06-02 22:14:25 +00:00
Wayne Davison
7c4ac8d60b
- Added missing struct initializers to two last-in-list values.
...
- Fixed a few signed/unsigned comparisons.
2004-05-28 19:20:01 +00:00
Wayne Davison
79a802c74c
Added a call to saveandpophiststack(0) to endparamscope() to enable
...
the new auto-pop feature.
2004-05-21 20:05:16 +00:00
Peter Stephenson
665b0950c6
19971: Fix environment nastiness in zexecve()
2004-05-21 11:19:30 +00:00
Oliver Kiddle
98e28ff3ed
19712, 19740: allow assigning to associations with i and r subscript flags
2004-04-06 13:00:50 +00:00
Oliver Kiddle
3023ddf132
19707: negative index into arrays should return scalar and not one element array
2004-03-30 16:35:30 +00:00
Peter Stephenson
514a476afe
unposted: make 19655 a bit safer
2004-03-18 13:54:22 +00:00
Peter Stephenson
2f8a646d4e
19655, 19656, 19657: Memory leaks spotted by valgrind.
...
Also bug with multiple math function autoloads.
2004-03-18 12:23:31 +00:00
Peter Stephenson
8db5846e31
19552: missing mod_export
2004-03-08 11:01:10 +00:00
Peter Stephenson
915e17ee4b
19374: fix typo in 19361
2004-01-15 11:10:46 +00:00
Peter Stephenson
1a89fbabb4
19361: Memory leaks
2004-01-12 12:09:10 +00:00
Peter Stephenson
815bc92148
a la 19209: zcalloc -> zshcalloc
2003-10-29 19:17:30 +00:00
Peter Stephenson
eeb9ec4714
19129: extra argument to typeset -T gives character for joining array
2003-09-24 14:55:32 +00:00
Peter Stephenson
c016b2dcdc
18982: comments/rant for paramsubst()
2003-08-30 19:00:20 +00:00
Peter Stephenson
06b04ca1b2
18435: unsetting readonly returned status 0
2003-04-04 16:46:25 +00:00
Oliver Kiddle
c7564985e5
18337: use C locale when converting floats to scalars to avoid problems in
...
locales where `,' is the decimal separator
2003-03-11 17:29:47 +00:00
Wayne Davison
a2365a60db
- Use floatsecondsgetfn() and floatsecondssetfn() inside the int* version
...
of the functions (for improved accuracy).
- Added getrawseconds() and setrawsecodns() to allow the code to save and
restore the actual start time of the $SECONDS variable.
- Changed the code that was adding in the child's elapsed time into the
parent $SECONDS variable to just restore the raw time.
2002-10-31 18:32:40 +00:00
Peter Stephenson
c2b5a21ae5
17873: When restoring SECONDS after a function call, included elapsed time.
2002-10-29 12:58:00 +00:00
Peter Stephenson
7bfc0f1b5c
17868: Allow $SECONDS to become floating point.
2002-10-29 10:31:12 +00:00
Oliver Kiddle
7a0ab2444d
17794: fix bugs with tied parameters
2002-10-10 11:06:42 +00:00
Oliver Kiddle
af0697b705
17503: fix various typos and spelling mistakes in source code comments
2002-08-05 12:35:59 +00:00
Peter Stephenson
19817c34d1
17334: TYPESET_SILENT shell option and typeset -p option
2002-06-20 16:39:47 +00:00
Wayne Davison
c5015e19de
Made SAVEHIST a special parameter.
2002-03-24 23:52:49 +00:00
Wayne Davison
322c5abf00
The minimum size of histsiz (aka HISTSIZE) should be 1, not 2.
2002-02-12 19:32:57 +00:00
Oliver Kiddle
149aafd65e
16493: correct typos
2002-01-31 15:04:33 +00:00
Oliver Kiddle
5d11abfa3b
16492: add RPROMPT2 variable for right prompts in multi-line commands
2002-01-31 14:44:06 +00:00
Peter Stephenson
324e26d8ce
16423: append a `.' to converted floating point output
...
to stop it looking like an integer
2002-01-10 10:55:20 +00:00
Oliver Kiddle
b9f675c0e0
16364: further to 16351, except specials from having their value cleared
2001-12-18 14:51:30 +00:00
Oliver Kiddle
68d739c67a
small fix to += code from 16353
2001-12-18 09:16:17 +00:00
Oliver Kiddle
52b8303537
16353: add += parameter assignments
2001-12-17 17:17:38 +00:00
Oliver Kiddle
13ab7280aa
fix bug in parameter unset code that caused seg fault (16351)
2001-12-17 11:10:46 +00:00
Clint Adams
56854a2fb6
ref 16347: tweaks
2001-12-17 01:16:36 +00:00
Clint Adams
1e103ebef3
16345: (n) flag to remove duplicate array values during expansion.
2001-12-16 20:53:44 +00:00
Bart Schaefer
d98a67c569
16201: introduce the PM_NAMEDDIR flag
2001-11-03 23:36:33 +00:00
Oliver Kiddle
0f960cc8ca
fix IRIX 5.3 specific compilation problems and some error messages (15204)
2001-07-02 11:33:26 +00:00
Peter Stephenson
3f6a9e4522
fix setting of individual positional parameters after 14915
2001-06-15 13:07:50 +00:00
Peter Stephenson
d247b7f146
$* and $@ are special
2001-06-14 09:49:01 +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
Wayne Davison
792135ba0b
Added some array-assignment boundary checks.
2001-05-20 09:20:46 +00:00
Peter Stephenson
6ea2dab092
Fix, test and comment unsetting and resetting of special tied parameters
2001-05-19 23:47:58 +00:00
Bart Schaefer
90a1316345
Fix re-set of integer special params after unset.
2001-05-19 00:31:22 +00:00
Peter Stephenson
0b56c15853
Use BDIGBUFSIZE in two other places
2001-05-01 09:46:09 +00:00
Bart Schaefer
ba9541fb5d
BDIGBUFSIZE for binary conversions.
2001-04-28 17:38:00 +00:00
Bart Schaefer
e2e9121893
Subscripting optimization and error checking.
2001-04-24 05:45:16 +00:00
Bart Schaefer
fc4511ecb7
Fix subscripting bug with backslash-double-quote.
2001-04-23 15:30:22 +00:00