Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 34182: doc: to add zf_\* builtins use zmodload -m -F | Peter Stephenson | 2015-01-09 | 2 | -1/+9 |
| | |||||
* | 30568: Add tetriscurses contrib function, port of tetris to zcurses | Mikael Magnusson | 2015-01-09 | 3 | -0/+402 |
| | |||||
* | Fix a typo in bin_print error message | Mikael Magnusson | 2015-01-09 | 1 | -3/+3 |
| | |||||
* | Fix command substitutions to parse contents as they are read in. | Peter Stephenson | 2015-01-08 | 7 | -193/+409 |
| | | | | | | | Do this by refactoring misnamed lexsave()/lexrestore() to allow continuity of history and input. Add test. | ||||
* | 34154/34155: reorder bin_print() to avoid leaking the output descriptor when ↵ | Barton E. Schaefer | 2015-01-07 | 2 | -29/+40 |
| | | | | incorrect/incompatible options were passed | ||||
* | 34144: allocate origline by ztrdup(), not by dupstring() | Jun-ichi Takimoto | 2015-01-07 | 3 | -3/+11 |
| | | | | | If origline is allocated in heap, it will have been freed when menuselect() is called directly as a widget. | ||||
* | unposted: Convert spaces to tabs in ChangeLog | Mikael Magnusson | 2015-01-06 | 1 | -4/+4 |
| | |||||
* | 34122: module: allow NULL third argument as intended | Bart Schaefer | 2015-01-06 | 2 | -1/+5 |
| | | | | Found by Coverity. | ||||
* | 34138: wcs_nicechar: only deref widthp if it was given | Mikael Magnusson | 2015-01-06 | 2 | -1/+4 |
| | |||||
* | 34120: compctl, jobs: Check contents instead of array | Mikael Magnusson | 2015-01-06 | 3 | -2/+5 |
| | | | | | | text is an array in the struct, and can never be null. Found by Coverity (Issue 1255780). | ||||
* | 34108: Don't leak ifs stuff | Mikael Magnusson | 2015-01-06 | 2 | -2/+4 |
| | | | | Found by Coverity (Issue 1255785). | ||||
* | 34107: getsubsargs: free ptr1 before returning | Mikael Magnusson | 2015-01-06 | 2 | -0/+3 |
| | | | | Found by Coverity (Issue 439073). | ||||
* | 34134: anon funcs: don't leak shf and related data | Mikael Magnusson | 2015-01-06 | 2 | -0/+8 |
| | | | | Found by Coverity (Issue 439076). | ||||
* | 34112: typeset: fix leak of oldval | Mikael Magnusson | 2015-01-06 | 2 | -0/+4 |
| | | | | Found by Coverity (Issue 1255803). | ||||
* | 34106: hist: use zhtricat instead of tricat | Mikael Magnusson | 2015-01-06 | 2 | -1/+3 |
| | | | | Found by Coverity (Issue 1255769). | ||||
* | 34113: whence: use dupstring to not leak memory | Mikael Magnusson | 2015-01-06 | 2 | -1/+3 |
| | | | | | All other assignments to buf use the heap, and it's never freed. Found by Coverity (Issue 1255786). | ||||
* | 34119: complist: Fix leak of string in clnicezputs | Mikael Magnusson | 2015-01-06 | 2 | -0/+4 |
| | | | | Found by Coverity (Issue 1255808). | ||||
* | 34105: subst: remove dead code | Mikael Magnusson | 2015-01-06 | 2 | -1/+3 |
| | | | | Found by Coverity (Issue 1255810). | ||||
* | 34121: compresult: Remove unneeded NULL check | Mikael Magnusson | 2015-01-06 | 2 | -1/+3 |
| | | | | | The variable is set to if NULL at the start of the function, and derefed on the previous line. Found by Coverity (Issue 1255843). | ||||
* | 34104: compctl: Remove pointless check | Mikael Magnusson | 2015-01-06 | 2 | -1/+3 |
| | | | | | cc has already been derefed a bunch of times leading up to here. Found by Coverity (Issue 1255841). | ||||
* | 34115: compcore: Fix size argument to zfree | Mikael Magnusson | 2015-01-06 | 2 | -1/+3 |
| | | | | | Found by Coverity (Issue 1255852), has no impact unless using --enable-zsh-mem, and even then it is minimal. | ||||
* | 34117: zle: size_t is unsigned, use int instead | Mikael Magnusson | 2015-01-06 | 2 | -1/+3 |
| | | | | | | The function wctomb returns an int according to my manpage, and we furthermore check if it is negative, and then return it, and the function signature is int, so declaring it as an int seems to make more sense. | ||||
* | 34116: computil: Check for NULL before passing to strlen | Mikael Magnusson | 2015-01-06 | 2 | -1/+5 |
| | | | | | The rest of this function appears to be very careful about checking these, then forgets in this one spot. Found by Coverity (Issue 1255805). | ||||
* | 34118: Don't crash when writing out history if HOST is unset | Mikael Magnusson | 2015-01-06 | 2 | -1/+5 |
| | | | | Found by Coverity (Issue 1255793). | ||||
* | 34114: emulate: Handle aborting from mixed -L/-c correctly | Mikael Magnusson | 2015-01-06 | 2 | -1/+7 |
| | | | | Somehow Coverity found this (Issue 1255797, Failure to restore non-local value). | ||||
* | 34103: fix ancient double-quote handling thinko in subst_parse_str() | Barton E. Schaefer | 2015-01-06 | 1 | -2/+4 |
| | | | | This doesn't seem to have mattered, but must in some obscure cases | ||||
* | 34093: "whence" should always return nonzero when it finds that nothing ↵ | Barton E. Schaefer | 2015-01-06 | 2 | -15/+27 |
| | | | | matches its arguments | ||||
* | 34042: _git: Respect tags for subcommand completion. | Daniel Shahaf | 2015-01-05 | 2 | -14/+59 |
| | | | | | | | | | | | It is now possible to use the tag-order style to stagger the overwhelming 'git <TAB>' subcommand listing. For example: zstyle ':completion::complete:git:argument-1:' tag-order \ main-porcelain-commands user-commands third-party-commands \ ancillary-manipulator-commands ancillary-interrogator-commands \ plumbing-manipulator-commands plumbing-interrogator-commands \ aliases | ||||
* | 34053: complete additional Linux kernel module compression | Timofey Titovets | 2015-01-05 | 2 | -1/+6 |
| | |||||
* | 34092: fix miscount of symlink resolution for "..". | Peter Stephenson | 2015-01-04 | 2 | -0/+5 |
| | | | | This caused problems with expanding a path with ".." in "whence -S". | ||||
* | 34091: typo with "whence -s" expansions | Peter Stephenson | 2015-01-04 | 2 | -2/+4 |
| | |||||
* | users/19682: document recommended use of whence | Peter Stephenson | 2015-01-04 | 2 | -3/+13 |
| | |||||
* | users/19671: remove confusion with whence -a. | Peter Stephenson | 2015-01-02 | 2 | -1/+4 |
| | | | | If the argument is a full path don't try to search the path for it. | ||||
* | users/19667: whence -S shows intermediate steps in symlink expansion | Peter Stephenson | 2015-01-02 | 4 | -15/+76 |
| | |||||
* | 34077: further tests for return status from "for" loops | Peter Stephenson | 2015-01-02 | 2 | -0/+58 |
| | |||||
* | 33963: remove work of art in _mount | Mikael Magnusson | 2014-12-29 | 2 | -21/+8 |
| | |||||
* | 34070: fix starting position for memset() from 34005. | Daniel Shahaf | 2014-12-28 | 2 | -1/+4 |
| | |||||
* | 34068: create tempfiles without forking, and safe temp directory creation | Barton E. Schaefer | 2014-12-28 | 13 | -18/+32 |
| | |||||
* | 34067: safe tempfile creation, part 1 | Barton E. Schaefer | 2014-12-27 | 15 | -65/+75 |
| | |||||
* | 34064: assignment before command replaces array with export even when KSH_ARRAYS | Takeshi Banse | 2014-12-27 | 3 | -0/+23 |
| | |||||
* | 34065: following an "if" condition, do not test lastval for ERR_EXIT until a ↵ | Barton E. Schaefer | 2014-12-27 | 4 | -5/+39 |
| | | | | | | new command is run Includes unposted regression tests. | ||||
* | 33977: don't complete widgets as first argument to bindkey | Daniel Shahaf | 2014-12-21 | 2 | -0/+6 |
| | |||||
* | 34015: disallow strange environment variable names. | Peter Stephenson | 2014-12-19 | 2 | -16/+27 |
| | | | | | These are ones with the top bit set in any character. Don't import them, and don't export them. | ||||
* | 34005: region_highlights memory fix | Peter Stephenson | 2014-12-19 | 2 | -2/+13 |
| | | | | Zero uninitialised part of memory when reallocing | ||||
* | 34002: zshcalloc() in init_keymaps() | Barton E. Schaefer | 2014-12-18 | 1 | -1/+1 |
| | |||||
* | 33992: do not attempt attachtty() for process group zero (which is possible ↵ | Barton E. Schaefer | 2014-12-18 | 2 | -2/+12 |
| | | | | in a linux pid namespace) | ||||
* | 34008: metafy the environment on arrival in the shell | Peter Stephenson | 2014-12-18 | 2 | -1/+4 |
| | |||||
* | 34006: unmetafy anything put into the environment | Peter Stephenson | 2014-12-18 | 2 | -1/+14 |
| | |||||
* | 33999: remove docker completion. | Lokesh Mandvekar | 2014-12-18 | 2 | -410/+6 |
| | | | | | Versions supplied with docker is authoritative, so version in zsh is just a potential hazard to the unwary. | ||||
* | 33981: more care with region_highlights management | Peter Stephenson | 2014-12-18 | 2 | -29/+39 |
| |