Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 34138: wcs_nicechar: only deref widthp if it was given | Mikael Magnusson | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | 34108: Don't leak ifs stuff | Mikael Magnusson | 2015-01-06 | 1 | -2/+2 |
| | | | | Found by Coverity (Issue 1255785). | ||||
* | 34092: fix miscount of symlink resolution for "..". | Peter Stephenson | 2015-01-04 | 1 | -0/+2 |
| | | | | This caused problems with expanding a path with ".." in "whence -S". | ||||
* | 34091: typo with "whence -s" expansions | Peter Stephenson | 2015-01-04 | 1 | -2/+2 |
| | |||||
* | users/19667: whence -S shows intermediate steps in symlink expansion | Peter Stephenson | 2015-01-02 | 1 | -7/+60 |
| | |||||
* | 33876: etc.: Separate errors and keyboards interrupts | Peter Stephenson | 2014-12-11 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | 33932: revise boundary check in unmeta() | Jun-ichi Takimoto | 2014-12-09 | 1 | -5/+3 |
| | |||||
* | 33894: boundary conditions in unmeta(), unmetafy() | Barton E. Schaefer | 2014-12-07 | 1 | -3/+5 |
| | | | | | | | Check that we aren't running off the end of the string when converting the next byte after a Meta byte. This is just defensive programming in case of bad metafied strings coming through from gettokstr(), some repairs there are likely still needed. | ||||
* | 33818: fix types passed to sizeof detected by coverity as being wrong | Oliver Kiddle | 2014-11-30 | 1 | -3/+3 |
| | |||||
* | 33793: add 0b binary interpretation to integer constants | Peter Stephenson | 2014-11-26 | 1 | -0/+2 |
| | |||||
* | Marc Finet: problems with working directory rationalisation. | Peter Stephenson | 2014-11-13 | 1 | -1/+5 |
| | | | | | | Ensure the length of the directory is kept up to date. Abort following symlinks as soon as there's an error. | ||||
* | 33320 (cf. PWS 33311): revert 33069, fix lexing of bangchar during completion | Barton E. Schaefer | 2014-10-02 | 1 | -7/+37 |
| | | | | add typtab_flags bits (replaces specialcomma boolean) to record any unusual handling of typtab entries; signal safety; make bangchar non-special during completion lexing of the command line. | ||||
* | Increase size of xbuf2 in xsymlinks to make gcc FORTIFY_SOURCE=2 happy. | Barton E. Schaefer | 2014-08-17 | 1 | -1/+1 |
| | |||||
* | 33012: add an error return value (-1) to xsymlinks() | Barton E. Schaefer | 2014-08-15 | 1 | -7/+8 |
| | |||||
* | 32932: add hmkarray() and use to fix leak | Peter Stephenson | 2014-08-01 | 1 | -0/+11 |
| | |||||
* | 32918: add %. to ztrftime for use in prompts | Peter Stephenson | 2014-07-30 | 1 | -1/+27 |
| | |||||
* | 32737, 32736 (32741), 32735, 32734, 32733, 32732 (32739): Strict compilation | Nikolas Garofil | 2014-06-07 | 1 | -3/+5 |
| | | | | | | | | | | | 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 | ||||
* | 32716: properly test iconv return values for error conditions | Barton E. Schaefer | 2014-06-05 | 1 | -4/+3 |
| | |||||
* | 36526: when __APPLE__ is defined at compile, normalize Unicode filenames in ↵ | Barton E. Schaefer | 2014-06-02 | 1 | -0/+31 |
| | | | | zreaddir() | ||||
* | 32592: add CORRECT_IGNORE_FILE variable | Tomoki Sekiyama | 2014-04-29 | 1 | -1/+10 |
| | |||||
* | 32294: prevent buffer overflow when scanning very long directory paths for ↵ | Barton E. Schaefer | 2014-01-19 | 1 | -13/+18 |
| | | | | symbolic links | ||||
* | 32061: Fix "use of uninitialized memory" in metafy | Barton E. Schaefer | 2013-11-27 | 1 | -2/+2 |
| | |||||
* | 32023: better interrupt handling at RM_STAR_WAIT | Barton E. Schaefer | 2013-11-19 | 1 | -0/+2 |
| | |||||
* | 31650: use zlong for mailcheck parameters to ensure range | Peter Stephenson | 2013-08-11 | 1 | -4/+4 |
| | |||||
* | 31648: fix timing errors in mailcheck | joe M | 2013-08-10 | 1 | -3/+6 |
| | |||||
* | 31350: block SIGWINCH nearly all the time, except | Bart Schaefer | 2013-04-30 | 1 | -0/+7 |
| | | | | | when about to calculate prompts or do synchronous read, so syscalls are not interrupted by window size changes. | ||||
* | add missing mod_export | Peter Stephenson | 2012-12-16 | 1 | -1/+1 |
| | |||||
* | 30647, 30649: allow underscores in numeric constants | Peter Stephenson | 2012-09-11 | 1 | -9/+19 |
| | |||||
* | 30530,30533: fix problems with COLUMNS or LINES < 1, and related issues | Bart Schaefer | 2012-06-27 | 1 | -1/+1 |
| | |||||
* | users/17046: don't count too many elements when splitting quoted parameter | Peter Stephenson | 2012-05-01 | 1 | -1/+1 |
| | | | | substitution on null parameter | ||||
* | 30413: (q-) parameter flag should quote null string | Peter Stephenson | 2012-04-16 | 1 | -10/+9 |
| | | | | (q-q) etc. should be treated as errors | ||||
* | 30351 + 30352: metafy strings on import into zsh variables | Peter Stephenson | 2012-03-13 | 1 | -0/+22 |
| | |||||
* | 30307 plus tweak suggsted by Wayne: use %lld for zlong when long long | Peter Stephenson | 2012-03-05 | 1 | -2/+6 |
| | |||||
* | 29940: metafy() added null termination even if buffer was not modifiable | Peter Stephenson | 2011-12-03 | 1 | -2/+2 |
| | |||||
* | users/16581: skip correction shortcut based on command table search when | Bart Schaefer | 2011-11-15 | 1 | -9/+13 |
| | | | | | the word is not in command position; on rejected command correction, reset incremental path hashing. | ||||
* | 29799: swap order of RESET_PROMPT / REFRESH in adjustwinsize(). | Bart Schaefer | 2011-10-02 | 1 | -1/+1 |
| | |||||
* | users/16253, users/16255: a nulstring should be split like an empty string | Peter Stephenson | 2011-08-17 | 1 | -0/+4 |
| | |||||
* | 29643: set incompfunc to zero when executing hook or trap function | Peter Stephenson | 2011-08-04 | 1 | -1/+11 |
| | |||||
* | 29561: Allow closing of fd's not recorded by the shell | Peter Stephenson | 2011-07-25 | 1 | -15/+13 |
| | |||||
* | 29491: remove some variables set but not used | Peter Stephenson | 2011-06-19 | 1 | -2/+2 |
| | |||||
* | 29165: use term.h globally if needed at all. | Peter Stephenson | 2011-05-09 | 1 | -21/+22 |
| | |||||
* | 28977: fix copying of uninitialized memory when trying to | Wayne Davison | 2011-04-06 | 1 | -0/+2 |
| | | | | spell-correct a really long string. | ||||
* | users/15864: turn zsh_directory_name into a hook | Peter Stephenson | 2011-03-11 | 1 | -16/+62 |
| | |||||
* | unposted: fix argument type for write_loop() | Peter Stephenson | 2011-01-06 | 1 | -2/+4 |
| | |||||
* | 28578: fix handling of numeric escapes that expand to "%" in printf | Bart Schaefer | 2011-01-06 | 1 | -1/+2 |
| | | | | format strings, so they are not treated as format introducers. | ||||
* | 28568: buffer overflow examining paths | Peter Stephenson | 2011-01-05 | 1 | -1/+7 |
| | |||||
* | Paul 28538 / me 28540 / couple of unposted casts: | Peter Stephenson | 2010-12-20 | 1 | -2/+2 |
| | | | | use char * for pointer arithmetic rather than void * | ||||
* | Mikael: 28480: allow PROMPT_EOL_MARK to be an empty string | Peter Stephenson | 2010-12-06 | 1 | -1/+1 |
| | |||||
* | 28559: flush shell output in PROMPT_SP handling | Peter Stephenson | 2010-11-27 | 1 | -0/+1 |
| | |||||
* | Use newer PROMPT_SP behavior for hasxn terms too. | Wayne Davison | 2010-11-26 | 1 | -4/+1 |
| |