summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 34106: hist: use zhtricat instead of tricatMikael Magnusson2015-01-062-1/+3
| | | | Found by Coverity (Issue 1255769).
* 34113: whence: use dupstring to not leak memoryMikael Magnusson2015-01-062-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 clnicezputsMikael Magnusson2015-01-062-0/+4
| | | | Found by Coverity (Issue 1255808).
* 34105: subst: remove dead codeMikael Magnusson2015-01-062-1/+3
| | | | Found by Coverity (Issue 1255810).
* 34121: compresult: Remove unneeded NULL checkMikael Magnusson2015-01-062-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 checkMikael Magnusson2015-01-062-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 zfreeMikael Magnusson2015-01-062-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 insteadMikael Magnusson2015-01-062-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 strlenMikael Magnusson2015-01-062-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 unsetMikael Magnusson2015-01-062-1/+5
| | | | Found by Coverity (Issue 1255793).
* 34114: emulate: Handle aborting from mixed -L/-c correctlyMikael Magnusson2015-01-062-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. Schaefer2015-01-061-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. Schaefer2015-01-062-15/+27
| | | | matches its arguments
* 34042: _git: Respect tags for subcommand completion.Daniel Shahaf2015-01-052-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 compressionTimofey Titovets2015-01-052-1/+6
|
* 34092: fix miscount of symlink resolution for "..".Peter Stephenson2015-01-042-0/+5
| | | | This caused problems with expanding a path with ".." in "whence -S".
* 34091: typo with "whence -s" expansionsPeter Stephenson2015-01-042-2/+4
|
* users/19682: document recommended use of whencePeter Stephenson2015-01-042-3/+13
|
* users/19671: remove confusion with whence -a.Peter Stephenson2015-01-022-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 expansionPeter Stephenson2015-01-024-15/+76
|
* 34077: further tests for return status from "for" loopsPeter Stephenson2015-01-022-0/+58
|
* 33963: remove work of art in _mountMikael Magnusson2014-12-292-21/+8
|
* 34070: fix starting position for memset() from 34005.Daniel Shahaf2014-12-282-1/+4
|
* 34068: create tempfiles without forking, and safe temp directory creationBarton E. Schaefer2014-12-2813-18/+32
|
* 34067: safe tempfile creation, part 1Barton E. Schaefer2014-12-2715-65/+75
|
* 34064: assignment before command replaces array with export even when KSH_ARRAYSTakeshi Banse2014-12-273-0/+23
|
* 34065: following an "if" condition, do not test lastval for ERR_EXIT until a ↵Barton E. Schaefer2014-12-274-5/+39
| | | | | | new command is run Includes unposted regression tests.
* 33977: don't complete widgets as first argument to bindkeyDaniel Shahaf2014-12-212-0/+6
|
* 34015: disallow strange environment variable names.Peter Stephenson2014-12-192-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 fixPeter Stephenson2014-12-192-2/+13
| | | | Zero uninitialised part of memory when reallocing
* 34002: zshcalloc() in init_keymaps()Barton E. Schaefer2014-12-181-1/+1
|
* 33992: do not attempt attachtty() for process group zero (which is possible ↵Barton E. Schaefer2014-12-182-2/+12
| | | | in a linux pid namespace)
* 34008: metafy the environment on arrival in the shellPeter Stephenson2014-12-182-1/+4
|
* 34006: unmetafy anything put into the environmentPeter Stephenson2014-12-182-1/+14
|
* 33999: remove docker completion.Lokesh Mandvekar2014-12-182-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 managementPeter Stephenson2014-12-182-29/+39
|
* 33978: avoid infinite loop in interactive modeJun-ichi Takimoto2014-12-182-1/+8
| | | | | Update command line when accept-and-hold is called in the interactive mode of menu select.
* zsh-users/19551: history documentation.Peter Stephenson2014-12-173-1/+15
| | | | | Note in a couple of places that history file reading and writing is only done in interactive shells.
* 33984: bin_dirs() should use zputs() to print metafied directory namesJun Kuriyama2014-12-162-2/+5
|
* 33982: minimal support for pid namespaces by recognizing that GETPGRP() may ↵Chirantan Ekbote2014-12-162-1/+6
| | | | return 0
* 33976: fix overlapping strcpy()Barton E. Schaefer2014-12-152-1/+5
|
* users/19530: Handle commented lines in /etc/filesystemsMikael Magnusson2014-12-142-1/+6
|
* unposted: Add missing -f arg to zsh in D04parameter.ztstPeter Stephenson2014-12-142-2/+7
|
* 33958: update sudo completion for newer optionsOliver Kiddle2014-12-132-26/+38
|
* 33956: document key binding changes and remove ^X bindingOliver Kiddle2014-12-133-9/+10
|
* 33846: additional default vi-mode key bindingsOliver Kiddle2014-12-134-5/+17
|
* 33950: ignore KEYTIMEOUT for vi operatorsOliver Kiddle2014-12-125-12/+31
|
* 33876: etc.: Separate errors and keyboards interruptsPeter Stephenson2014-12-1131-134/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Parse "Gentoo" as being GNU libcMikael Magnusson2014-12-104-3/+9
|
* 33940: handle backslash-meta correctly in lexerJun-ichi Takimoto2014-12-102-1/+17
|