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

269 commits

Author SHA1 Message Date
Peter Stephenson
eea6647c65 23671: command not found handler 2007-07-13 10:09:06 +00:00
Peter Stephenson
1b52f47cf2 23665: autoloading of module features and related tweaks 2007-07-06 21:52:38 +00:00
Peter Stephenson
536a8cb6da 23553: bit missed out 2007-06-15 10:20:35 +00:00
Peter Stephenson
023f6ce4e1 23511: error if here document too large 2007-06-03 17:44:20 +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
6503964dad John Buddery: 23461: fix race setting up input multios 2007-05-23 11:44:47 +00:00
Peter Stephenson
fcd2c9243f 23460: fix problem with ( stuff ) >multio1 >multio2 2007-05-23 11:21:10 +00:00
Peter Stephenson
8ce657c2cb Phil Pennock + tweaks: 23398 + more tweaks: exec compatibility options 2007-05-08 10:02:58 +00:00
Bart Schaefer
f35ee0d1a0 23169 (tweaked): report error on failure to dup for multios 2007-02-14 08:21:57 +00:00
Peter Stephenson
6dbc34b0d4 23104: fix line numbers for DEBUGBEFORECMD
tidy up some wordcode definitions
2007-01-14 19:22:45 +00:00
Peter Stephenson
e8b56578db users/11111: add DEBUG_BEFORE_CMD option 2007-01-09 21:59:31 +00:00
Peter Stephenson
34381548da Incomplete improvements for $'...' in completion 2006-12-03 21:07:17 +00:00
Peter Stephenson
6d0dc9e0eb 23008: failure to output error message could alter exit status 2006-11-19 21:34:58 +00:00
Peter Stephenson
da0dfc62df fix error message 2006-11-06 12:49:20 +00:00
Clint Adams
a7c0640c0a 22728: $functrace parameter for function backtraces. 2006-09-17 19:28:45 +00:00
Peter Stephenson
bd4b21bf46 22715: AUTOCONTINUE option never worked. 2006-09-15 16:27:07 +00:00
Peter Stephenson
70a28c494e unposted: remove redundant TODO 2006-06-16 10:43:59 +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
116ee236d1 22473: tweak bad interpreter formatting 2006-05-30 17:54:26 +00:00
Peter Stephenson
29ed6c7e3a 10343: improve error message for bad #! lines 2006-05-29 15:36:25 +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
Wayne Davison
4cb83571c4 Changed some structures to avoid gcc's type-punned warnings. 2006-03-07 21:30:36 +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
3403c59af2 22027: more zsh-newuser-install fixes
22028: WARN_CREATE_GLOBAL overeager with temporarily set variables
2005-11-25 10:36:19 +00:00
Peter Stephenson
3c37057c34 21871: replace INULL() by inull() 2005-10-13 16:30:13 +00:00
Peter Stephenson
ad2bd42c85 21758: optimise =(<<<...) to run within the shell. 2005-09-23 17:03:16 +00:00
Peter Stephenson
5587d05958 unposted: unnecessary variable in 21575 2005-08-08 17:01:17 +00:00
Peter Stephenson
d307660dee 21575 plus unposted: Add WARN_CREATE_GLOBAL option 2005-08-08 16:48:52 +00:00
Peter Stephenson
2c208c7743 21197: Fix LOCAL_TRAPS inside another trap 2005-04-27 09:58:42 +00:00
Peter Stephenson
d6089cc8b1 21143: more care about special file descriptors 2005-04-15 10:40:01 +00:00
Peter Stephenson
c69b149cb5 21141: fix some issues associated with the {myfd}>... syntax 2005-04-14 16:24:42 +00:00
Peter Stephenson
b3f8e32e5c 21133: New {myfd} syntax for allocating file descriptors 2005-04-12 15:11:07 +00:00
Peter Stephenson
82c9c7a423 21082: Dan Nelson: fix zsh -c exit status on parse error 2005-04-04 09:35:36 +00:00
Peter Stephenson
38eb8ac293 21049: Don't close process substitution file descriptors for external programmes 2005-03-31 09:54:54 +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
Bart Schaefer
facf0309bb 20774: fix e.g. "FOO=BAR BAR=FOO echo" failure to unset FOO after finishing. 2005-02-02 04:51:13 +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
Bart Schaefer
2bc51c9dbc 20666: Avoid creating unnecessary multios when a descriptor is closed and
then re-opened.
2005-01-11 17:09:19 +00:00
Peter Stephenson
849b808da6 20632: incorrect propagation of signals to process group 2005-01-05 11:04:21 +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
Peter Stephenson
f9c66cd45e 20528: exec 8>>(grep a) waited incorrectly for grep to finish 2004-10-29 10:14:21 +00:00
Wayne Davison
3ccc3e4bdc Use the new gettempfile() function. 2004-10-21 00:33:50 +00:00
Wayne Davison
8901caa58f Call gettempname() with its new args. 2004-10-18 19:07:55 +00:00
Peter Stephenson
8a67a66a61 20467: Reintroduce rusage-based escapes for TIMEFMT. 2004-10-08 14:36:51 +00:00
Peter Stephenson
cc72740775 20462: Use getrusage for timing again.
Time processes from before rather than after fork.
2004-10-07 09:45:43 +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
Bart Schaefer
e1d5c7df58 20325: consensus fix for "command -v" crash w/POSIXBUILTINS. 2004-09-08 08:24:41 +00:00
Peter Stephenson
97fd0d9b89 20308: add EVAL_LINENO option 2004-09-03 09:47:44 +00:00
Peter Stephenson
640bbab78f 20221: $LINENO in trap '...' DEBUG was wrong. 2004-07-29 15:09:51 +00:00
Peter Stephenson
17e576782c 20198: fix TRAPEXIT. 2004-07-26 13:18:07 +00:00
Peter Stephenson
4c8796b11d 20141: Crash restoring exported special parameters 2004-07-07 15:00:44 +00:00
Peter Stephenson
7f26993e99 20112 changed c.f. 20113:
fix here string and here document expansion and quoting
2004-06-28 15:38:10 +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
Peter Stephenson
5ac05cab9f 19976: fix spurious job table full messages 2004-05-25 18:38:56 +00:00
Peter Stephenson
665b0950c6 19971: Fix environment nastiness in zexecve() 2004-05-21 11:19:30 +00:00
Peter Stephenson
63442b3eaa 19810: ksh autoloading
19812: autoloaded traps which are still buggy.
2004-04-23 11:17:13 +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
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
a6a63a147e 19242: Make job table dynamically reallocatable. 2003-11-13 14:34:33 +00:00
Peter Stephenson
a7b9b5f851 19218: extend 19216 to zle widgets 2003-11-03 13:57:52 +00:00
Peter Stephenson
d90e97e16a 19216: Save and restore pipestatus. Remove debugging output 2003-11-03 11:33:46 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Oliver Kiddle
49b25bc3d2 Vin Shelton: 19073: Replace C++-style comment.
Vin Shelton: 19038: Make sed grok icc's cpp output.
2003-09-15 09:20:20 +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
936208bd9f 18769: handle parse errors in autoload functions properly 2003-07-03 11:07:39 +00:00
Peter Stephenson
94da86f795 18492: Provide partial fix for multios and output process substitution
asynchronicity problem.  Document workarounds for remaining problems.
2003-05-02 10:25:27 +00:00
Peter Stephenson
a7dc5d386c 18319: Philippe Troin: fix use of process groups with su and suspend 2003-03-07 12:17:49 +00:00
Peter Stephenson
9a8dfbb7b5 18013: Handle test of (( float == 0.0)) properly 2002-12-18 16:57:02 +00:00
Peter Stephenson
28a62d5a4b 17979: Add ERR_RETURN option. 2002-12-04 13:57:48 +00:00
Peter Stephenson
41b50445ea 17673: Fix bug with &&s and ||s in complex constructs 2002-09-17 10:42:17 +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
8e90d2018c Dan Nelson: 17492: Quote output from xtrace 2002-08-01 15:06:25 +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
Peter Stephenson
5ef61a44b1 17265: make the jobs command work in subshells 2002-06-05 14:57:05 +00:00
Bart Schaefer
cefd2de2e1 Split tokenize() into shtokenize() and zshtokenize()
to improve SH_GLOB handling, particularly in completion
2002-05-06 14:46:11 +00:00
Oliver Kiddle
52b8303537 16353: add += parameter assignments 2001-12-17 17:17:38 +00:00
Bart Schaefer
594ad37c37 Save/restore state around DEBUG trap call. 2001-10-13 17:54:28 +00:00
Peter Stephenson
cc0d931682 15931: EXIT traps from exit in subshell; 15965: glob -> zglob 2001-10-08 08:13:11 +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
Bart Schaefer
87ca460fe5 Fix exit status of zsh -fc '! command' 2001-08-19 04:23:46 +00:00
Bart Schaefer
7457bdc19d Fix function stack unwinding on autoload failures. 2001-07-09 16:20:53 +00:00
Peter Stephenson
003ec8c7e8 15327: always use local LINENOs in parse_string(). 2001-07-09 16:05:13 +00:00
Sven Wischnowsky
b275190ff4 add autocontinue option to automatically make stopped jos running when they are being disowned; make that the default for %job &!' and %job &|' (15115) 2001-06-27 11:22:04 +00:00
Bart Schaefer
f0dd0ced30 PRINT_EXIT_VALUE for shell functions. 2001-06-25 00:15:04 +00:00
Bart Schaefer
f11e227cb0 POSIX exit status changes. 2001-06-23 18:30:55 +00:00
Peter Stephenson
ef6193b89b rewrite 14988 as per 14989 2001-06-20 11:02:47 +00:00
Peter Stephenson
79ed1a0e22 Bug restoring saving special parameters for function scope. 2001-06-20 10:06:51 +00:00
Sven Wischnowsky
96fd8a11d3 another attempt at fixing the job problem from 14327; make execpline() reset list_pipe_job to zero if it would be set for a job started in the background (14503) 2001-05-28 09:00:21 +00:00
Sven Wischnowsky
015120a287 set list_pipe_job only for real pipelines (14327) 2001-05-14 08:51:59 +00:00
Peter Stephenson
261193a5b7 Fix problem with traps not runing if shell exec'd final command 2001-03-30 16:51:54 +00:00
Sven Wischnowsky
db0e5c2d8b skip redirections in execpline2() when looking for the command code (13706) 2001-03-22 12:13:15 +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
Peter Stephenson
0c96a1b963 Joel Smith: 13230: avoid name clashes with Linux kernel 2000-12-05 10:34:23 +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
Bart Schaefer
74ff6d6dbe Tweak to STTY fix. 2000-09-26 15:08:35 +00:00
Bart Schaefer
756f8186f2 Fix STTY parameter. 2000-09-25 16:57:05 +00:00
Sven Wischnowsky
a8c7d3c0ee fix for `function' without names (12710) 2000-08-28 07:04:34 +00:00
Clint Adams
cb89544d32 12568: check sysconf(_SC_OPEN_MAX) if available instead of OPEN_MAX/NOFILES. 2000-08-08 14:57:02 +00:00
Bart Schaefer
72f4ec6b76 users/3358: Zero shout when closing SHTTY in subshells. 2000-08-08 02:38:35 +00:00
Sven Wischnowsky
d109322359 remove tests for kshautoload (use zcompile -z); fix for setting scriptname for functions that redefine themselves 2000-08-01 08:27:18 +00:00
Peter Stephenson
0aee5e1bb4 12414: vared quotes separators when editing arrays 2000-07-27 17:48:47 +00:00
Wayne Davison
495249342e Removed call to remhist(). 2000-07-19 20:43:51 +00:00
Peter Stephenson
6c1110da32 12222: handle EINTR for multios helper processes 2000-07-11 17:21:26 +00:00
Peter Stephenson
32d2d47fd5 12220: message for missing autoload function 2000-07-11 16:43:26 +00:00
Oliver Kiddle
3ecad25c83 AIX dependency fix 2000-06-20 16:38:10 +00:00
Bart Schaefer
0768b190ba 11326: Avoid init_io() on "exec < file" when zleactive.
Also fix OPK's slightly confused previous ChangeLog entry.
2000-05-11 16:39:02 +00:00
Tanaka Akira
7d17c9ca4b * Bart, Tanaka Akira: 11247: Don't signal to a process group which
has only zombie processes.
2000-05-08 09:23:09 +00:00
Sven Wischnowsky
e7895ac92c close dump file descriptors in children (11151) 2000-05-04 13:40:05 +00:00
Peter Stephenson
9420498acf 11066: false || true was trigerring trap on ZERR 2000-05-02 13:08:19 +00:00
Sven Wischnowsky
802ae96cf9 properly restore scriptname in doshfunc() (10620) 2000-04-10 09:18:26 +00:00
Bart Schaefer
265f55fd58 10582: Apply STTY only to process group leaders. 2000-04-07 15:40:21 +00:00
Clint Adams
18870148c5 10564: typo in _wanted
10565: maximum function depth configure option
10566: patgetglobflags has a second argument now
2000-04-07 02:27:44 +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