summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-01-1434275: assume zpty can't be used for testing CygwinPeter Stephenson5-4/+17
2015-01-1334273: use "enough" colons in each completion style pattern exampleBarton E. Schaefer2-11/+22
2015-01-13unposted: add Src/zsh.exe to .gitignorePeter Stephenson2-0/+3
2015-01-1334260 relax interface name restrictions in ip completionEric Cook2-1/+4
2015-01-1334259: variable declarations in ip completionEric Cook2-1/+7
2015-01-12Propagate float/integer type in arithmetic assignment.Peter Stephenson4-2/+88
Add test. Mention this and also floating point mod change in README.
2015-01-1234253: warn in zcalc doc about integer arithmetic.Peter Stephenson2-2/+17
C.f. warning in arithmetic doc in 34194.
2015-01-1134247: regression test for 34230.Barton E. Schaefer2-0/+8
2015-01-1134230: call fmod() for modulo with floatsBarton E. Schaefer2-3/+9
2015-01-1134234: use structures for normal and raw lexical buffer statePeter Stephenson3-116/+121
2015-01-1134233: function execution trick needed for _qdbusPeter Stephenson2-0/+6
2015-01-10unposted (cf. 34218): : remove -m from zmodload callsBarton E. Schaefer5-4/+8
2015-01-10test for alias expansion in command substitutionPeter Stephenson2-0/+14
2015-01-1034220: new $(...) handling needs to back up over alias expansionPeter Stephenson2-0/+9
2015-01-10unposted: update copyright for new Src/context.cPeter Stephenson2-5/+7
2015-01-1034195: new qdbus completionThomas Mitterfellner2-0/+117
2015-01-10unposted: add missing ml refMikael Magnusson1-5/+5
2015-01-1034914: explanation of effect of integer promotionPeter Stephenson2-0/+12
2015-01-1034213: in previous patch, do not change usepm if it is already setBarton E. Schaefer2-2/+2
2015-01-1034212: do not change unset-ness of special parameters when exporting themBarton E. Schaefer2-2/+11
2015-01-1034202: safe tempfile creation part 3 -- use zf_ln instead of mvBarton E. Schaefer4-6/+11
2015-01-10users/19721: clarify context vs. style in compsys configurationBarton E. Schaefer2-18/+42
2015-01-10select: Fix leak of 256 bytes on every loop when zle is not usedMikael Magnusson1-1/+1
Reproduce by yes | head -n 1000000 | zsh -c 'select foo in a b c; do done; sleep 30; echo' Found by Coverity (Issue 439082).
2015-01-10hist: remove wrong NULL terminatorMikael Magnusson1-1/+0
This actually writes a NULL to some arbitrary location in the caller function's stack. Found by Coverity (Issue 1255746).
2015-01-09Rearrange context saving.Peter Stephenson15-299/+450
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.
2015-01-0934182: doc: to add zf_\* builtins use zmodload -m -FPeter Stephenson2-1/+9
2015-01-0930568: Add tetriscurses contrib function, port of tetris to zcursesMikael Magnusson3-0/+402
2015-01-09Fix a typo in bin_print error messageMikael Magnusson1-3/+3
2015-01-08Fix command substitutions to parse contents as they are read in.Peter Stephenson7-193/+409
Do this by refactoring misnamed lexsave()/lexrestore() to allow continuity of history and input. Add test.
2015-01-0734154/34155: reorder bin_print() to avoid leaking the output descriptor when ↵Barton E. Schaefer2-29/+40
incorrect/incompatible options were passed
2015-01-0734144: allocate origline by ztrdup(), not by dupstring()Jun-ichi Takimoto3-3/+11
If origline is allocated in heap, it will have been freed when menuselect() is called directly as a widget.
2015-01-06unposted: Convert spaces to tabs in ChangeLogMikael Magnusson1-4/+4
2015-01-0634122: module: allow NULL third argument as intendedBart Schaefer2-1/+5
Found by Coverity.
2015-01-0634138: wcs_nicechar: only deref widthp if it was givenMikael Magnusson2-1/+4
2015-01-0634120: compctl, jobs: Check contents instead of arrayMikael Magnusson3-2/+5
text is an array in the struct, and can never be null. Found by Coverity (Issue 1255780).
2015-01-0634108: Don't leak ifs stuffMikael Magnusson2-2/+4
Found by Coverity (Issue 1255785).
2015-01-0634107: getsubsargs: free ptr1 before returningMikael Magnusson2-0/+3
Found by Coverity (Issue 439073).
2015-01-0634134: anon funcs: don't leak shf and related dataMikael Magnusson2-0/+8
Found by Coverity (Issue 439076).
2015-01-0634112: typeset: fix leak of oldvalMikael Magnusson2-0/+4
Found by Coverity (Issue 1255803).
2015-01-0634106: hist: use zhtricat instead of tricatMikael Magnusson2-1/+3
Found by Coverity (Issue 1255769).
2015-01-0634113: whence: use dupstring to not leak memoryMikael Magnusson2-1/+3
All other assignments to buf use the heap, and it's never freed. Found by Coverity (Issue 1255786).
2015-01-0634119: complist: Fix leak of string in clnicezputsMikael Magnusson2-0/+4
Found by Coverity (Issue 1255808).
2015-01-0634105: subst: remove dead codeMikael Magnusson2-1/+3
Found by Coverity (Issue 1255810).
2015-01-0634121: compresult: Remove unneeded NULL checkMikael Magnusson2-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).
2015-01-0634104: compctl: Remove pointless checkMikael Magnusson2-1/+3
cc has already been derefed a bunch of times leading up to here. Found by Coverity (Issue 1255841).
2015-01-0634115: compcore: Fix size argument to zfreeMikael Magnusson2-1/+3
Found by Coverity (Issue 1255852), has no impact unless using --enable-zsh-mem, and even then it is minimal.
2015-01-0634117: zle: size_t is unsigned, use int insteadMikael Magnusson2-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.
2015-01-0634116: computil: Check for NULL before passing to strlenMikael Magnusson2-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).
2015-01-0634118: Don't crash when writing out history if HOST is unsetMikael Magnusson2-1/+5
Found by Coverity (Issue 1255793).
2015-01-0634114: emulate: Handle aborting from mixed -L/-c correctlyMikael Magnusson2-1/+7
Somehow Coverity found this (Issue 1255797, Failure to restore non-local value).