Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rearrange context saving. | Peter Stephenson | 2015-01-09 | 1 | -2/+2 |
| | | | | | | | Variables are now associated with the module that declares them, being initialised and saved/restored there. However, as many variables are used for communication between modules, many of them are set in multiple places, so the assignment is ambiguous. | ||||
* | 33876: etc.: Separate errors and keyboards interrupts | Peter Stephenson | 2014-12-11 | 1 | -4/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Combination of 12 commits from interrupt_abort branch. Basic strategy is to introduce bits to errflag and to set and reset them separately. Remove interrupt status on return to main keymap. Turn off ERRFLAG_INT for always block. Restore bit thereafter: we probably need a new variable in order to allow user interrupts to be reset in the always block. Add TRY_BLOCK_INTERRUPT This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too. Ensure propagation of SIGINT from exited job. If received by foreground job, shell uses ERRFLAG_INT, not ERRFLAG_ERROR, to set the new state. Reset errflag before precmd() Add always block in _main_completion to fix ZLS_COLORS Ensures we get the right state of $ZLS_COLORS at the end of _main_complete even if there's an interrupt. However, the "right state" is a bit messy as it depends on styles. | ||||
* | 33531 with additions: retain status of exited background jobs. | Peter Stephenson | 2014-10-26 | 1 | -7/+7 |
| | | | | | | | | Add linked list of unwaited-for background jobs. Truncate at value of _SC_CHILD_MAX discarding oldest. Remove old lastpid_status mechanism for latest exited process only. Slightly tighten safety of permanently allocated linked lists so that this doesn't compromise signal handling. | ||||
* | Merge branch 'master' of git://git.code.sf.net/p/zsh/code | Barton E. Schaefer | 2014-09-29 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: ChangeLog | ||||
| * | 33285: apply function definition redirections at execution | Peter Stephenson | 2014-09-29 | 1 | -1/+1 |
| | | |||||
* | | 33268: interactive shells treat SIGPIPE like SIGHUP if and only if SHTTY is ↵ | Barton E. Schaefer | 2014-09-29 | 1 | -0/+13 |
|/ | | | | disconnected | ||||
* | 32737, 32736 (32741), 32735, 32734, 32733, 32732 (32739): Strict compilation | Nikolas Garofil | 2014-06-07 | 1 | -1/+1 |
| | | | | | | | | | | | fixes Src/utils.c: properly ifdef declarations Src/zsh_system.h: memmove() should return its dest argument Src/signals.c: define ret before use Src/mem.c: remove unused pointers Src/prototypes.h: use size_t in bcopy() Src/compat.c: fix const declaration inconsistency | ||||
* | 32479: POSIXTRAPS and implicit return values. | Peter Stephenson | 2014-03-14 | 1 | -0/+8 |
| | | | | | | With POSIXTRAPS never propagate implicit return value. In any case if not forcing a return value don't use lastval from within the trap, use the one from the surrounding code. | ||||
* | unposted: updates for 4.0.2-test-1. zsh-5.0.2-test-1 | Peter Stephenson | 2013-11-06 | 1 | -3/+5 |
| | | | | | | Update references to 4.0.2 to 4.0.3. Additional mod_export declarations. Additions to .distfiles. | ||||
* | 30726: make shell options passed to emulate stick along with the emulation | Peter Stephenson | 2012-10-11 | 1 | -1/+4 |
| | |||||
* | unposted: cross-reference zmodload from the modules intro doc. | Bart Schaefer | 2011-09-25 | 1 | -1/+3 |
| | | | | 29769: follow-up 29677 to handle the case where thisjob == -1. | ||||
* | 29677: Do not allow external processes in a pipeline to become suspended | Bart Schaefer | 2011-08-14 | 1 | -5/+12 |
| | | | | | when the end of the pipe is controlled by a builtin in the current shell which cannot itself become suspended. | ||||
* | 29643: set incompfunc to zero when executing hook or trap function | Peter Stephenson | 2011-08-04 | 1 | -1/+3 |
| | |||||
* | 29481: always return a matching job in findproc() but scan the whole list | Bart Schaefer | 2011-06-15 | 1 | -1/+0 |
| | | | | to prefer running jobs | ||||
* | 28258: fix undefined variable in traps | Peter Stephenson | 2010-09-14 | 1 | -4/+3 |
| | |||||
* | 28253: document -h argument to atribute commands | Peter Stephenson | 2010-09-12 | 1 | -4/+6 |
| | |||||
* | 28179, users/15314, users/15310, users/15200: | Peter Stephenson | 2010-08-22 | 1 | -104/+125 |
| | | | | various job and process control fixes | ||||
* | 27951: Add $ZSH_EVAL_CONTEXT and $zsh_eval_contxt | Peter Stephenson | 2010-05-12 | 1 | -1/+1 |
| | |||||
* | 27442 plus tweak: wait returns status for $! even if exited | Peter Stephenson | 2009-12-02 | 1 | -0/+10 |
| | |||||
* | 27159: restore pre-23067 behavior of SIGINT outside a "wait", so that | Bart Schaefer | 2009-07-20 | 1 | -11/+20 |
| | | | | foreground jobs that handle or ignore interrupts are not orphaned. | ||||
* | 27106: reset status on command that expands to empty | Peter Stephenson | 2009-07-10 | 1 | -0/+1 |
| | | | | 27122: add POSIX_JOBS option | ||||
* | 26546, 26556: sticky emulation for functions defined in emulate ... -c ... | Peter Stephenson | 2009-02-11 | 1 | -1/+2 |
| | | | | environments, plus documentation | ||||
* | 25775: fix logical problem with function line numbering inside eval-style traps | Peter Stephenson | 2008-09-29 | 1 | -0/+8 |
| | |||||
* | 25744: dynamic named directories and further doshfunc() simplification | Peter Stephenson | 2008-09-26 | 1 | -1/+1 |
| | |||||
* | 25677: add %x and %I prompt escapes for shell source code debugging | Peter Stephenson | 2008-09-16 | 1 | -8/+19 |
| | | | | tidy up interface to doshfunc() | ||||
* | 25247 with further modifications: add $funcsourcetrace | Peter Stephenson | 2008-08-11 | 1 | -0/+1 |
| | |||||
* | 25415: Make DEBUG_BEFORE_CMD the default. | Peter Stephenson | 2008-08-07 | 1 | -29/+15 |
| | | | | | Reuse ERR_EXIT in DEBUG traps. Clean up trapreturn code. | ||||
* | fix problems with trapreturn, in particular in source inside trap | Peter Stephenson | 2008-08-01 | 1 | -0/+2 |
| | |||||
* | 25345, 25347: neaten interface from main shell to zle | Peter Stephenson | 2008-07-31 | 1 | -1/+1 |
| | |||||
* | users/12812: fix hang with confusion over process numbers | Peter Stephenson | 2008-05-02 | 1 | -28/+48 |
| | |||||
* | Guillaume Chazarain: 23364: fix race in POSIX signal blocking | Peter Stephenson | 2007-05-01 | 1 | -20/+13 |
| | | | | by using local variables | ||||
* | Mark an arg as UNUSED(). | Wayne Davison | 2007-01-26 | 1 | -1/+1 |
| | |||||
* | 23101: various combinations of ZERR with function returns were feature-ridden | Peter Stephenson | 2007-01-12 | 1 | -1/+7 |
| | |||||
* | document OS may handle negative or zero PID in kill | Peter Stephenson | 2006-12-19 | 1 | -49/+99 |
| | |||||
* | 22474: use variable argument lists to improve error message handling | Peter Stephenson | 2006-05-30 | 1 | -4/+4 |
| | |||||
* | Changed some structures to avoid gcc's type-punned warnings. | Wayne Davison | 2006-03-07 | 1 | -4/+4 |
| | |||||
* | 22317: exit status from code backgrounded in function | Peter Stephenson | 2006-03-02 | 1 | -20/+39 |
| | | | | | 22277, 22281, tweaks: standardize behaviour of wait builtin with trapped signals | ||||
* | 21814: error handling for traps in "always" constructs. | Bart Schaefer | 2005-12-15 | 1 | -2/+7 |
| | |||||
* | 21197: Fix LOCAL_TRAPS inside another trap | Peter Stephenson | 2005-04-27 | 1 | -1/+8 |
| | |||||
* | fix autoloaded trap bug; rejig use of trapfuncs | Peter Stephenson | 2005-02-06 | 1 | -22/+66 |
| | | | | (now traplists); improve trap tests | ||||
* | c.f. 20675: improve zle as a basis for Unicode. | Peter Stephenson | 2005-01-14 | 1 | -1/+1 |
| | | | | unposted: update version to 4.2.3-dev-1 | ||||
* | 20576: fix core dump on TRAPEXIT | Peter Stephenson | 2004-11-23 | 1 | -1/+13 |
| | |||||
* | 20572: Allow alternative signal names | Peter Stephenson | 2004-11-22 | 1 | -9/+6 |
| | |||||
* | 20467: Reintroduce rusage-based escapes for TIMEFMT. | Peter Stephenson | 2004-10-08 | 1 | -13/+26 |
| | |||||
* | 20462: Use getrusage for timing again. | Peter Stephenson | 2004-10-07 | 1 | -2/+2 |
| | | | | Time processes from before rather than after fork. | ||||
* | 20221: $LINENO in trap '...' DEBUG was wrong. | Peter Stephenson | 2004-07-29 | 1 | -3/+8 |
| | |||||
* | 20198: fix TRAPEXIT. | Peter Stephenson | 2004-07-26 | 1 | -3/+4 |
| | |||||
* | Fix TRAPS_ASYNC so that it handles signals correctly. | Peter Stephenson | 2004-05-02 | 1 | -23/+19 |
| | |||||
* | 19809: improve NO_TRAPS_ASYNC by queueing traps alone | Peter Stephenson | 2004-04-21 | 1 | -2/+21 |
| | |||||
* | zsh-users/7365: new TRAPS_ASYNC option | Peter Stephenson | 2004-04-19 | 1 | -2/+3 |
| |