1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 05:53:52 +01:00
Commit Graph

110 Commits

Author SHA1 Message Date
Oliver Kiddle
62829b856d allow arguments to be specified in printf format specifications (16080) 2001-10-18 14:22:21 +00:00
Oliver Kiddle
4aaa5b3257 fix return code and tests of printf and comment above bslashquote func (16064) 2001-10-16 11:16:04 +00:00
Oliver Kiddle
577ebe0b8a use arithmetic evaluation for numeric arguments to printf (16042) 2001-10-15 11:34:27 +00:00
Oliver Kiddle
648d1c2756 add print -f option, %n format specifier and tests for print/printf (15973) 2001-10-08 10:47:46 +00:00
Peter Stephenson
cc0d931682 15931: EXIT traps from exit in subshell; 15965: glob -> zglob 2001-10-08 08:13:11 +00:00
Oliver Kiddle
a5890553e8 add printf builtin (15851, 15948) 2001-10-05 15:02:18 +00:00
Peter Stephenson
11b0734108 * Src/builtin.c, Src/exec.c: Unwind function calls before exiting
shell from exit command to allow EXIT traps to run.
2001-09-24 10:12:51 +00:00
Wayne Davison
f38b2c5aa8 Further modify the "fc -l" code to tolerate out-of range values. 2001-09-18 17:50:26 +00:00
Wayne Davison
6a7d256a58 + Changed fclist() to not not transform "fc -l 0 0" into "fc -l 1 1".
+ Changed fcgetcomm() to handle new error return from addhistnum().
2001-09-13 18:19:08 +00:00
Bart Schaefer
d978bb894e Fix and regression tests for crash on typeset of local array elements. 2001-08-13 17:43:04 +00:00
Peter Stephenson
7060b34457 15334: use string "(eval)" as script name in debugging messages in eval's 2001-07-09 18:31:24 +00:00
Peter Stephenson
003ec8c7e8 15327: always use local LINENOs in parse_string(). 2001-07-09 16:05:13 +00:00
Bart Schaefer
d8aee67492 Fix infinite loop on `r OLD=NEW' when OLD is the empty string. 2001-07-08 00:33:45 +00:00
Peter Stephenson
d247b7f146 $* and $@ are special 2001-06-14 09:49:01 +00:00
Peter Stephenson
231f077a75 14348: fix globalexport with typeset -g 2001-05-15 10:02:34 +00:00
Bart Schaefer
219674c48b More parameter/subscript cleanup. 2001-04-21 18:49:12 +00:00
Bart Schaefer
220ad9aa23 Parameter repairs, mostly for subscripting. 2001-04-20 06:13:35 +00:00
Peter Stephenson
3278ad8490 disallow changing of parameter type
for autoloadable parameter (bug 219459 on Sourceforge).
2001-03-29 10:52:15 +00:00
Clint Adams
e846a825fe 13478: whence shouldn't segfault on an empty path component 2001-02-14 23:36:23 +00:00
Andrey Borzenkov
e28d948e92 13389: normalize path in cd_do_chdir on Cygwin to get rid of DOS names 2001-01-26 12:47:37 +00:00
Sven Wischnowsky
757168e2c8 remove 13108 (trap queues); replace with signal queueing to ensure that user signal handlers are only executed when it is safe to run them (13365) 2001-01-16 13:44:18 +00:00
Clint Adams
13b93a5faa 13215: echotc, echoti, terminfo 2000-12-03 20:53:07 +00:00
Peter Stephenson
c292a3ae50 Sven: 13108: Handle traps synchronously
pws: 13109, 13111: clear up zle display when output produced in trap.
2000-11-11 19:50:27 +00:00
Bart Schaefer
5ca1864f94 Change some zerr to zwarn for consistency. 2000-10-02 18:40:35 +00:00
Clint Adams
9f012ce7c9 12847: dynamically allocate buf and z in bin_whence() 2000-09-19 16:47:38 +00:00
Clint Adams
04bf2c822f 12823: use zsh heap in lieu of perm. heap in bin_dot 2000-09-18 03:31:31 +00:00
Clint Adams
2abf9db381 12821: bin_dot is now independent of PATH_MAX 2000-09-17 16:24:05 +00:00
Bart Schaefer
bd7969bfa5 "typeset +m ..." and "typeset +g -m ..." 2000-09-17 05:38:36 +00:00
Bart Schaefer
a12ff424b6 12804: Fix "typeset -m". 2000-09-14 15:54:54 +00:00
Peter Stephenson
c66544a86b 12561: Completion/Builtins/_zmodload, Doc/Zsh/builtins.yo,
Src/builtin.c, Src/module.c, Src/zsh.h: aliases for modules
done internally via `zmodload -[AR]'
2000-08-08 09:13:36 +00:00
Peter Stephenson
4a5882eeb3 12411, 12419: Andrej: environment handling with fewer assumptions 2000-07-28 09:10:35 +00:00
Wayne Davison
495249342e Removed call to remhist(). 2000-07-19 20:43:51 +00:00
Wayne Davison
b50d754909 Changed several references to curhist into curline.histnum so that
they would work right even if we didn't store the current command
in the history.
2000-07-18 07:56:45 +00:00
Peter Stephenson
756a2aba9c unposted: move poll_read 2000-06-26 21:27:07 +00:00
Peter Stephenson
acda8dc256 12073: read -t to test for available input before reading 2000-06-26 15:00:27 +00:00
Peter Stephenson
abd757eac4 12044: read -A bug 2000-06-23 09:45:38 +00:00
Peter Stephenson
12fd5d0065 12040: typeset -r bug 2000-06-22 20:57:14 +00:00
Peter Stephenson
055d961f84 11867: restrict typeset -H application 2000-06-12 09:27:09 +00:00
Peter Stephenson
6b87e6fda3 11838: typeset -H 2000-06-09 15:37:05 +00:00
Sven Wischnowsky
f94e5d78b0 some more memory leak fixes (11745) 2000-06-05 07:57:27 +00:00
Bart Schaefer
17aadf0338 11607: For "read -q", open shout if necessary
even when SHTTY is
already a valid descriptor.
2000-05-27 08:31:32 +00:00
Sven Wischnowsky
cb50583b18 fix for read -q without a shout (11524) 2000-05-23 08:37:06 +00:00
Bart Schaefer
529158f82f 11461: Make "read" interruptible even when used in the tail of a pipeline. 2000-05-19 15:10:52 +00:00
Oliver Kiddle
6ff206e057 Add -L option to the hash builtin 2000-05-15 00:31:20 +00:00
Peter Stephenson
26cc1ad1df doc changes; typo in _jobs; integer builtin understands `-i base' 2000-05-14 22:08:41 +00:00
Peter Stephenson
ade3663216 11314: fix for typeset -U not updating value in environment 2000-05-10 19:15:58 +00:00
Sven Wischnowsky
c844ad8712 Wayne: fix for print -s when called from widget; added lines are not immediately available, though (11171) 2000-05-05 07:42:36 +00:00
Sven Wischnowsky
d205f2530b allow calling `print -s' in widgets, avoid duplicated history number 2000-05-03 07:10:35 +00:00
Bart Schaefer
966eca4ad8 11036, 11063, 11077: Always write the "read -q" prompt to shout; eliminate
some redundant close() calls; relocate a misplaced redirection.
2000-05-02 15:52:43 +00:00
Peter Stephenson
304d5f9b39 11057: getopts bug 2000-05-02 09:56:09 +00:00
Peter Stephenson
563936ba27 11026: fix for unfunction of trap with localtraps bug 2000-04-30 14:48:49 +00:00
Bart Schaefer
8496342841 11015: `unfunction TRAPxxx' now works with localtraps in effect. I'm not
very happy with having to play with `noerrs' but I don't see any other way
to silence the warning from bin_unhash().
2000-04-29 06:33:48 +00:00
Peter Stephenson
5c53fb9500 10771: new GLOBAL_EXPORT option; successful compilation on OpenBSD 2000-04-16 19:02:13 +00:00
Peter Stephenson
cf92384eac 10738: pws: local parameters can be exported 2000-04-13 14:22:47 +00:00
Sven Wischnowsky
f5b6feedca make read -[kq] always print the prompt, if any; after all they make sure they have a terminal anyway (10727) 2000-04-13 08:43:39 +00:00
Sven Wischnowsky
4a250fe1dd missing initialisation for next field in assignments for substitutions for fc builtin (10692) 2000-04-12 11:10:52 +00:00
Sven Wischnowsky
1db256fc0f better error handling for zwc files 2000-04-04 14:08:56 +00:00
Sven Wischnowsky
8488dcb806 keep association elements from being exported 2000-04-04 12:02:04 +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