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

53 commits

Author SHA1 Message Date
Peter Stephenson
e3fd25b181 25775: fix logical problem with function line numbering inside eval-style traps 2008-09-29 21:46:58 +00:00
Peter Stephenson
b2d08a2155 25744: dynamic named directories and further doshfunc() simplification 2008-09-26 09:11:27 +00:00
Peter Stephenson
2920c227d3 25677: add %x and %I prompt escapes for shell source code debugging
tidy up interface to doshfunc()
2008-09-16 15:02:01 +00:00
Peter Stephenson
2853ca830a 25247 with further modifications: add $funcsourcetrace 2008-08-11 19:22:54 +00:00
Peter Stephenson
2706eac454 25415: Make DEBUG_BEFORE_CMD the default.
Reuse ERR_EXIT in DEBUG traps.
Clean up trapreturn code.
2008-08-07 16:25:14 +00:00
Peter Stephenson
506d73299c fix problems with trapreturn, in particular in source inside trap 2008-08-01 13:53:43 +00:00
Peter Stephenson
0c9830d23c 25345, 25347: neaten interface from main shell to zle 2008-07-31 08:44:16 +00:00
Peter Stephenson
a9ad660bd3 users/12812: fix hang with confusion over process numbers 2008-05-02 22:48:58 +00:00
Peter Stephenson
6e5279f8b4 Guillaume Chazarain: 23364: fix race in POSIX signal blocking
by using local variables
2007-05-01 09:35:04 +00:00
Wayne Davison
914364061e Mark an arg as UNUSED(). 2007-01-26 19:18:37 +00:00
Peter Stephenson
b4a7ad8269 23101: various combinations of ZERR with function returns were feature-ridden 2007-01-12 23:10:15 +00:00
Peter Stephenson
8b800f8fd1 document OS may handle negative or zero PID in kill 2006-12-19 10:35:54 +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
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
Bart Schaefer
174ad4a80f 21814: error handling for traps in "always" constructs. 2005-12-15 04:24:04 +00:00
Peter Stephenson
2c208c7743 21197: Fix LOCAL_TRAPS inside another trap 2005-04-27 09:58:42 +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
138c5df2bb 20576: fix core dump on TRAPEXIT 2004-11-23 16:29:50 +00:00
Peter Stephenson
5141e68daa 20572: Allow alternative signal names 2004-11-22 10:33:03 +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
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
885509c023 Fix TRAPS_ASYNC so that it handles signals correctly. 2004-05-02 19:55:54 +00:00
Peter Stephenson
5747147aff 19809: improve NO_TRAPS_ASYNC by queueing traps alone 2004-04-21 11:18:45 +00:00
Peter Stephenson
b5ceb73026 zsh-users/7365: new TRAPS_ASYNC option 2004-04-19 16:02:17 +00:00
Peter Stephenson
83b0fd3674 19682: Don't run ZERR, DEBUG or EXIT traps inside other traps. 2004-03-25 10:07:12 +00:00
Peter Stephenson
1316a6b441 19575: Fix problem with trap on EXIT overriding status 2004-03-10 10:50:00 +00:00
Peter Stephenson
a6a63a147e 19242: Make job table dynamically reallocatable. 2003-11-13 14:34:33 +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
1ca8378051 17250: dont't execsave()/execrestore() around synchronous traps 2002-05-29 14:28:05 +00:00
Peter Stephenson
528d2af1e5 more handler -> zhandler 2001-06-18 09:29:48 +00:00
Sven Wischnowsky
3c7f60d084 rename handler() to zhandler() because it's now exported to modules (14951) 2001-06-18 07:24:22 +00:00
Peter Stephenson
6bb50488ab mod_export handler 2001-06-13 11:50:09 +00:00
Oliver Kiddle
b5ad8bf0de add mod_export in a couple of places where it was missing 2001-05-23 08:53:11 +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
b6fb83e4ff make signal queueing variables be exported to modules (13384) 2001-01-25 09:20:12 +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
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
20789f5f92 Delete stray whitespace. 2000-06-15 08:48:42 +00:00
Peter Stephenson
a777f021a2 11906: yet two more saving trap bugs 2000-06-14 22:00:39 +00:00
Peter Stephenson
4611530c45 11901: two more trap saving bugs 2000-06-14 15:14:49 +00:00
Peter Stephenson
ae8c986107 11895: trap exit problem when exiting from function scope 2000-06-14 14:19:20 +00:00
Clint Adams
716f5d4e39 11839: endtrapscope() null pointer dereference prevention 2000-06-09 14:40:54 +00:00
Bart Schaefer
709ce3829c 11736: Fix TRAPEXIT scoping. 2000-06-03 16:26:47 +00:00
Bart Schaefer
3e43e50992 11029: Some missing bits of merging 11015 with 11026. 2000-04-30 17:09:08 +00:00
Peter Stephenson
563936ba27 11026: fix for unfunction of trap with localtraps bug 2000-04-30 14:48:49 +00:00