Peter Stephenson
bd70d684fc
25002: only ZLE should update attributes resulting from prompt expansion
2008-05-12 13:50:42 +00:00
Peter Stephenson
fbfbc7636f
24980: zmodload -mF
2008-05-08 12:07:04 +00:00
Peter Stephenson
2cec7aae44
24861 (with tweaks): logic to use alternative wcwidth() if needed;
...
slightly improve test for overwriting with combining characters.
2008-04-22 15:08:04 +00:00
Peter Stephenson
bc32da6a67
24786: handle read -t properly in zle via getbyte()
2008-04-03 15:20:18 +00:00
Peter Stephenson
50d9cdeae4
24768: add -q option to cd, chdir, pushd, popd
...
use in _canonical_paths
add 4.3.6 release note with this and other stuff
2008-03-28 09:59:06 +00:00
Peter Stephenson
e5a6543e6d
overeagnerness to spot integers in cd after - and +
2008-03-02 21:21:52 +00:00
Bart Schaefer
5994edfc88
zsh-users/12600: reorder handling of -s/-d/-t options so that terminal
...
input modes are set before attempting a read-poll. Also display any
prompt before read-polling. Unposted: remove trailing whitespace from
all lines that had it.
2008-02-18 03:18:03 +00:00
Wayne Davison
172a81db90
Silence a compiler warning.
2008-01-21 19:15:39 +00:00
Peter Stephenson
b24d545294
users/12412: check for extra arguments in test and [
2008-01-10 18:53:49 +00:00
Peter Stephenson
20607774dc
24275: fixes for multibyte characters on Solaris
2007-12-17 17:11:29 +00:00
Peter Stephenson
64c85ae68a
users/12325: implement OSI rules for test & [, add more doc warnings
2007-12-12 18:43:28 +00:00
Peter Stephenson
04f42fdbdf
24210: set -o should abort on failure
2007-12-11 14:05:52 +00:00
Peter Stephenson
b9f3fc7c81
24068: attempt to make `printf "%g\n" -0 output "-0"
2007-11-06 11:04:34 +00:00
Peter Stephenson
1b52f47cf2
23665: autoloading of module features and related tweaks
2007-07-06 21:52:38 +00:00
Peter Stephenson
6ab77f00ff
23488: tidy up module interface and documentation
2007-05-29 17:01:07 +00:00
Peter Stephenson
b0c5f09169
see 23479: add initial features support for modules
2007-05-28 22:57:39 +00:00
Peter Stephenson
86ff81f82d
23444: handle multibyte characters in print -c/-C
2007-05-20 17:57:23 +00:00
Felix Rosencrantz
9ed500a1cd
23164: Silence popd when PUSHD_SILENT is set.
2007-02-11 00:40:18 +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
553e011320
23118: improve sorting to make it work with locales
2007-01-21 22:47:36 +00:00
Peter Stephenson
de815e3d22
23098: printf multibyte character widths
2007-01-09 21:45:45 +00:00
Peter Stephenson
46a163bd34
23088: printf formats and arguments need different octal escape sequences
2007-01-04 17:24:01 +00:00
Peter Stephenson
25134bc341
unposted: improve CUTBUFFER and killring documentation
...
23044: print -c and print -C didn't handle unmetafied input
2006-12-10 23:27:01 +00:00
Peter Stephenson
b09a7cc5bf
22997: fix ${...?...} exit and traps
2006-11-11 13:16:10 +00:00
Peter Stephenson
254b3f1a6b
22992: make $? available in exit traps/hooks
...
22993: slightly more effective _make variable fix
2006-11-10 09:59:26 +00:00
Peter Stephenson
7929d97254
22984: add zshexit hook
2006-11-09 11:04:10 +00:00
Peter Stephenson
aa2ae64dff
22983: exit could loop for ever
2006-11-08 17:43:31 +00:00
Peter Stephenson
aba936b17c
22981: Zvi Har'el: bad call from 22952
...
22980: add hook array for special functions
2006-11-08 10:38:05 +00:00
Peter Stephenson
a519a6d15c
22968: fix metafication for print -z and print -s
2006-11-05 21:49:15 +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
2bfad02a94
22742: parameter padding uses string lengths unless (m) flag set
...
22743: restrict sh "- [args]" -> "-xv [-- args]" hack to sh mode
2006-09-20 09:22:34 +00:00
Peter Stephenson
6c887892f9
22685: make printf "%d" \"X handle multibyte characters
2006-09-10 19:11:53 +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
50e9ab122b
22556: Multibyte separators and delimiters
2006-07-24 22:00:19 +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
dd5602f59b
22474: use variable argument lists to improve error message handling
2006-05-30 22:35:03 +00:00
Peter Stephenson
b7474e065b
22416, tweaked: math functions via shell functions
...
unposted: add styles to pick-web-browser
2006-04-19 16:09:06 +00:00
Peter Stephenson
80ec63bfa7
22337: debugging code omitted from 22331
2006-03-08 15:50:50 +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
Peter Stephenson
4065dd5258
22318: uniquifying special arrays was broken
2006-03-03 22:27:02 +00:00
Peter Stephenson
31f6b3fb07
22317: exit status from code backgrounded in function
...
22277, 22281, tweaks: standardize behaviour of wait builtin
with trapped signals
2006-03-02 22:05:21 +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
2ddaeb605f
21890: fix segmentation error in left prompt truncation and a couple of minor
...
inconsistencies
2005-10-19 21:59:34 +00:00
Peter Stephenson
dc060607e9
21730: fix metafication of nicechar and pwd
2005-09-17 18:23:49 +00:00
Peter Stephenson
7746eea52b
adapted from 21719: add some mod_exports
2005-09-09 16:06:47 +00:00
Peter Stephenson
d39b9fabdb
21709 plus tweaks: use $KEYTIMEOUT for multibyte chars.Reset input state on invalid characters or EOF
2005-09-09 11:48:27 +00:00
Wayne Davison
b97ff864af
Make printf %s handle an embedded null (21579).
2005-08-10 07:45:17 +00:00
Wayne Davison
9937c30ba3
21581: Thorsten Dahlheimer: Src/builtin.c: fixed error output
...
for unknown signal names when using "trap -".
2005-08-09 05:41:55 +00:00
Wayne Davison
756bea5ffa
Fixed a recently-introduced bug where printf %b with an empty arg
...
would output a single space instead of nothing.
2005-08-08 23:06:20 +00:00
Wayne Davison
ea0a5b2662
Silenced a compiler warning about a variable that might be used
...
unassigned.
2005-08-01 22:20:36 +00:00
Peter Stephenson
1f3bd88afb
21552: Thorsten Dahlheimer: various fixes to print builtin
2005-08-01 10:00:38 +00:00
Wayne Davison
b77b51cda8
Fixed bin_print() to handle \c escapes as per POSIX (truncating the
...
output at the \c). (Based on a patch by Thorsten Dahlheimer.)
2005-07-26 00:07:11 +00:00
Oliver Kiddle
14bfaab3ef
21352: Harald van Dijk: handle null after % in printf format specifier
2005-06-17 08:37:46 +00:00
Peter Stephenson
b4855d742c
unposted: need const for result of getsigname()
2005-06-01 13:59:14 +00:00
Peter Stephenson
772007e76c
21296: Add ERR alias for ZERR where possible.
...
"trap" reports alias names.
2005-06-01 10:45:32 +00:00
Peter Stephenson
b72a946185
Fix handling of metafied characters in trailing whitespace on read
2005-04-25 10:18:25 +00:00
Peter Stephenson
7208c4024e
20955: "unset foo" should return status 0 if foo was not set
2005-03-09 17:13:59 +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
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
5141e68daa
20572: Allow alternative signal names
2004-11-22 10:33:03 +00:00
Wayne Davison
3ccc3e4bdc
Use the new gettempfile() function.
2004-10-21 00:33:50 +00:00
Wayne Davison
9a4cf8cf72
- Fixed an unsafe use of gettempname().
...
- Call gettempname() with its new args.
2004-10-18 19:07:50 +00:00
Peter Stephenson
46141be5f9
20412, tweaked: Make test builtin more POSIX compatible
...
20435: Make pattern.c not alter strings.
2004-10-05 10:39:41 +00:00
Wayne Davison
2e4db343c6
- Call saveandpophiststack() with its new writeflags arg.
...
- Use the new HFILE_NO_REWRITE flag when saving the history
file after a signal was received.
2004-10-01 19:48:44 +00:00
Wayne Davison
cbaaa338fa
Use convbase() instead of a "%d" format to convert a zlong.
2004-10-01 18:51:44 +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
Bart Schaefer
72fdf24448
20320: rewrite of 20318, for sanity.
2004-09-08 08:24:00 +00:00
Bart Schaefer
91a08a2517
20318: Fix xtrace output bug introduced by 20308.
2004-09-04 16:59:35 +00:00
Peter Stephenson
97fd0d9b89
20308: add EVAL_LINENO option
2004-09-03 09:47:44 +00:00
Peter Stephenson
4c8796b11d
20141: Crash restoring exported special parameters
2004-07-07 15:00:44 +00:00
Wayne Davison
fb0937a69e
Marked unused parameters with the new UNUSED() macro.
2004-06-02 22:14:25 +00:00
Wayne Davison
c39a15df42
- Added the -a option to "fc" and "history".
...
- Call saveandpophiststack() using the newest calling syntax.
2004-05-21 20:05:08 +00:00
Wayne Davison
76ec200cc4
- Added the -p (push) and -P (pop) options to the "fc" builtin.
...
- Allow -p/-P to be given to "history".
- On exit, save & pop any pushed history stacks before we call the
normal savehistfile() function.
2004-05-20 22:22:43 +00:00
Peter Stephenson
63442b3eaa
19810: ksh autoloading
...
19812: autoloaded traps which are still buggy.
2004-04-23 11:17:13 +00:00
Peter Stephenson
c1e47cb71f
19801: implement autoloading of trap functions
2004-04-20 12:57:27 +00:00
Oliver Kiddle
2c1f42366d
19767, 19785: store flags for -z and -k options to autoload allowing the
...
completion system to be used with ksh_autoload set
2004-04-20 12:38:15 +00:00
Oliver Kiddle
ca0deae382
19767, 19785: store flags for -z and -k options to autoload allowing the
...
completion system to be used with ksh_autoload set
2004-04-20 12:11:13 +00:00
Peter Stephenson
6fa6a1f865
Peter Castro: Cygwin improvements for dynamic libraries, text/binary, paths
2004-04-06 09:25:17 +00:00
Peter Stephenson
8860363e5c
19140: release process group on exit if acquired
2004-03-16 10:58:45 +00:00
Oliver Kiddle
3ee4759f28
19549: correct buffer size for printf spec
2004-03-07 13:29:49 +00:00
Peter Stephenson
1a89fbabb4
19361: Memory leaks
2004-01-12 12:09:10 +00:00
Wayne Davison
5a8969ec2e
Changed bin_eval() to default lastval to 0, just in case we have an
...
empty eval string.
2004-01-05 17:07:21 +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
Wayne Davison
084d6f5a25
Fix the old-style typeset -T (without the new separator arg).
2003-09-25 07:37:13 +00:00
Peter Stephenson
eeb9ec4714
19129: extra argument to typeset -T gives character for joining array
2003-09-24 14:55:32 +00:00
Oliver Kiddle
6e09c17757
19059: add -v, -V and -p flags required by POSIX to the command builtin
2003-09-11 07:00:05 +00:00
Peter Stephenson
3ffb3ad2f2
19014: add alias -s suf=handler
2003-09-03 10:15:32 +00:00
Peter Stephenson
2d2ce4ecc2
18836: read with metafied delimiter didn't work.
2003-07-09 11:04:01 +00:00
Peter Stephenson
10be59abca
18578: 18559 caused typeset failures
2003-05-24 22:46:35 +00:00
Oliver Kiddle
09c5818b39
18530: print option states with set -o' or
set +o'
2003-05-15 09:39:55 +00:00
Peter Stephenson
06b04ca1b2
18435: unsetting readonly returned status 0
2003-04-04 16:46:25 +00:00
Wayne Davison
ca8ad2e262
Prevent "print -m" from crashing (complains about missing pattern).
2003-03-28 20:21:00 +00:00
Peter Stephenson
2941469f61
18392: read with -p and -t and no coprocess crashed.
2003-03-26 18:55:22 +00:00
Oliver Kiddle
5164c6a3c9
18242: add -d option to read for specifying delimiter to terminate input
2003-02-17 10:07:53 +00:00
Oliver Kiddle
6d2921542e
18223: satisfy POSIX requirement for a -v flag to unset
2003-02-13 13:46:00 +00:00
Peter Stephenson
4f3b9e43d2
18204: KSH_ARRAYS
2003-02-07 17:05:09 +00:00
Peter Stephenson
590a26709a
18195: Timeouts for read builtin.
2003-02-05 11:56:55 +00:00