Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 36380: Avoid gcc case syntax | Mikael Magnusson | 2015-09-01 | 1 | -1/+2 | |
| | ||||||
* | 36376: handle signals during read1char() so it is possible to interrupt ↵ | Barton E. Schaefer | 2015-09-01 | 1 | -1/+6 | |
| | | | | correct/correctall prompts | |||||
* | 36262: Replace fix for missing unmeta in chdir(). | Peter Stephenson | 2015-08-21 | 1 | -4/+9 | |
| | | | | | | | It was needed in the argument to one of a pair of lchdir()s rather than within zchdir(). Add tests for the case of a character with 0x83 within it. | |||||
* | 36227: attempt to fix metafication problem with ztrftime. | Peter Stephenson | 2015-08-18 | 1 | -3/+27 | |
| | | | | | fmt is treated as metafied on entry; use returned length to ensure we metafy or output the correct length if there are embedded nulls. | |||||
* | 35928: '%-m' should work even if not supported by strftime(3) | Jun-ichi Takimoto | 2015-08-08 | 1 | -1/+1 | |
| | | | | Also clarify document. | |||||
* | 35809: fix $((...)) completion by _expand widget. | Peter Stephenson | 2015-07-25 | 1 | -1/+19 | |
| | | | | | This changes internal quoting of the form still including tokens not to add unnecessary internal backslashes. | |||||
* | 35872: protect against NULL pointers in unmeta | Peter Stephenson | 2015-07-23 | 1 | -1/+4 | |
| | ||||||
* | 35826: add getsparam_u() to return unmetafied string, use it for a number of ↵ | Barton E. Schaefer | 2015-07-22 | 1 | -3/+7 | |
| | | | | references to non-special params | |||||
* | 35745: ztrftime: Pass everything unhandled to the system strftime() | Mikael Magnusson | 2015-07-09 | 1 | -25/+54 | |
| | ||||||
* | Add non-metafied character length handling. | Peter Stephenson | 2015-06-12 | 1 | -6/+83 | |
| | | | | | | | Use this in regex module and add test using $'\ua0'. Rename mb_metacharinit() to mb_charinit() as it does not involve metafied characters. | |||||
* | 35386: expand tabs where useful in builtins outputing function. | Peter Stephenson | 2015-06-05 | 1 | -4/+39 | |
| | | | | | | Also add to zed -f. Option is -x <numm>. | |||||
* | 35353: print -x and print -X expand tabs | Peter Stephenson | 2015-06-02 | 1 | -0/+102 | |
| | ||||||
* | 35067: Add (b) parameter flag for pattern char backslashing. | Peter Stephenson | 2015-05-10 | 1 | -4/+19 | |
| | | | | | | Doc tweak from Daniel in 35071. Includes test. | |||||
* | 35064: rename ISPRINT to ZISPRINT to avoid conflict | Jun-ichi Takimoto | 2015-05-09 | 1 | -2/+2 | |
| | ||||||
* | 34636: replace broken isprint() on Mac OS X | Jun-ichi Takimoto | 2015-03-05 | 1 | -2/+2 | |
| | ||||||
* | 34587: ensure multibyte characters don't overflow. | Peter Stephenson | 2015-02-20 | 1 | -0/+8 | |
| | | | | | | They could start incorporating tokens, with bad karma. Add test. | |||||
* | 34466: Fix double unmeta in rm verification | Mikael Magnusson | 2015-02-09 | 1 | -1/+1 | |
| | ||||||
* | 34403: refine 34399 to avoid settyinfo() when the input descriptor is not a TTY | Barton E. Schaefer | 2015-01-26 | 1 | -2/+2 | |
| | ||||||
* | 34399: fix polltty thinko from 34365 | Barton E. Schaefer | 2015-01-25 | 1 | -1/+1 | |
| | | | | Also add missing ChangeLog entry for 34365. | |||||
* | 34365: History lockfile backoff: randomised time. | Peter Stephenson | 2015-01-25 | 1 | -4/+92 | |
| | | | | | | | Time doubles on each lock failure. zsleep() provides microsecond resolution for sleep; uses nanosleep() if available, else select via means of existing tty poll function. | |||||
* | 34369: document error and warning codes | Daniel Shahaf | 2015-01-25 | 1 | -1/+15 | |
| | ||||||
* | 34383: ztrdup() should be dupstring() in new cd code | Peter Stephenson | 2015-01-25 | 1 | -1/+1 | |
| | ||||||
* | 34331: better handling of NULL in cd. | Peter Stephenson | 2015-01-22 | 1 | -4/+7 | |
| | | | | | Problem was return from symbolic link expander in weird cases where there file system isn't behaving itself properly. | |||||
* | 34322: bug with interface to parsestr() etc. | Peter Stephenson | 2015-01-18 | 1 | -1/+1 | |
| | | | | | | | Was showing up in places like ${(e)...} where command substitution could reallocate the token string, but actually there was never any guarantee that the lexer wouldn't do that, so this was always a bit iffy. | |||||
* | 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. |