summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
2014-12-0733894: boundary conditions in unmeta(), unmetafy()Barton E. Schaefer1-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.
2014-12-0733854: errors end recursion through scanner()Barton E. Schaefer1-1/+1
Makes **/ more easily interruptible
2014-12-0533860: minor fixes to vi mode changesOliver Kiddle4-44/+52
2014-12-0533845: save correct cursor position with push-line from vi command modeOliver Kiddle1-0/+2
2014-11-3033823: overwrite mode shouldn't replace newlinesOliver Kiddle1-11/+10
2014-11-3033820: detect support for realpath() with a NULLOliver Kiddle1-25/+22
argument and fixes to the use of it
2014-11-3033800: remove old workaround for ancient systems toOliver Kiddle1-41/+2
consume typeahead before setting up the terminal
2014-11-3033818: fix types passed to sizeof detected by coverity as being wrongOliver Kiddle5-9/+9
2014-11-2833816, 33819: GLOB_ASSIGN changes integer and floating type variables to ↵Barton E. Schaefer1-1/+9
string scalars
2014-11-28unposted: fix compiler set-but-not-used warning.Wayne Davison1-2/+4
2014-11-2833815: Fix word transposition bug.Marc Finet1-1/+0
With a one-character word the wrong two words could be transposed.
2014-11-2633793: add 0b binary interpretation to integer constantsPeter Stephenson2-2/+6
2014-11-2533770: avoid calling identical FIONREAD ioctl twice in successionOliver Kiddle1-9/+5
2014-11-2533791: fatal errors in an "always" construct yield nonzero statusBarton E. Schaefer1-2/+3
Fatal errors in the try-block part of an "always" construct cause the entire construct to have nonzero status, even when TRY_BLOCK_ERROR is used to suppress the error.
2014-11-2433785: Fix leaks of desthost in ztcpMikael Magnusson1-0/+4
Found by coverity.
2014-11-2333775: error opening file in $(<...) is not fatalBarton E. Schaefer1-2/+2
2014-11-2433743: use posix_openpt in zpty if it is availableOliver Kiddle1-0/+4
2014-11-2133750: handle function autoloads for DEBUG_BEFORE_CMDBarton E. Schaefer1-0/+4
gettext2() lacked a case for the WC_AUTOFN word code, tripping a dputs() on TRAPDEBUG the first time each autoloaded function was run.
2014-11-2133738: account for a selection in vi-replace-charsOliver Kiddle1-8/+35
2014-11-2133730: vim style text objects for selecting wordsOliver Kiddle4-1/+335
2014-11-17unposted: reindent large blockOliver Kiddle1-69/+68
2014-11-1733704: keybindings, documentation, tests and minorOliver Kiddle4-13/+26
fixes for vim style visual selection changes
2014-11-1733636: add support for a linewise visual selection modeOliver Kiddle5-11/+92
2014-11-1733635: adapt region to function as vim style visual selection modeOliver Kiddle5-13/+70
2014-11-1733700: new widget for put in vim style visual selection modeOliver Kiddle3-5/+59
2014-11-1733633: support vim style text objectsOliver Kiddle1-2/+13
2014-11-1733632: use viopp and visual local keymaps if they existOliver Kiddle2-1/+9
2014-11-1533697: new vim style vi-backward-word-end widgetsOliver Kiddle2-3/+66
2014-11-1533696: simple up/down line widgets that don't go through history linesOliver Kiddle2-10/+12
2014-11-1533695: fix various vi-indent problems and vi-swap-case on a blank lineOliver Kiddle1-4/+10
2014-11-13Marc Finet: problems with working directory rationalisation.Peter Stephenson1-1/+5
Ensure the length of the directory is kept up to date. Abort following symlinks as soon as there's an error.
2014-11-1333656: different algorithm for "whence -am" to produce results more ↵Barton E. Schaefer1-44/+30
consistent with "whence -m" This uses the scanmatchtable routine to collect the names that match the input pattern, then uses the original -a path search loop to generate the output, to avoid duplicating test conditions and output formats.
2014-11-1333669: allow an empty line to be yanked with yyOliver Kiddle1-2/+3
This by allocating 1 byte instead of 0 for the empty buffer.
2014-11-0933639: fix bug with vi operators on a blank lineOliver Kiddle1-9/+3
and with backward bracket matching
2014-11-0833655: remove overlap of node flagsPeter Stephenson1-3/+3
2014-11-08Handle -a option to whence in combination with -m.Peter Stephenson1-5/+41
2014-11-0733624: keep region active when widget failsOliver Kiddle1-1/+0
2014-11-0733607: Fix some minor problems in zattr moduleMikael Magnusson1-37/+30
Remove the listattr call in zgetattr, it only caused no error to be output when trying to retrieve an xattr from a file with no xattrs. When a file had xattrs, it would just add an extra syscall for no good reason. Always set an array parameter in zlistattr, this makes the returned value much easier to use; in fact the _zattr completer didn't account for this and zlistattr foo <tab> on a file with only one attribute did not work. Almost all of the patch is only reindent, the only modification that's not a pure deletions is: - ret = 1 + (attr_len > val_len || attr_len < 0); + ret = 1 + ((val_len > 0 && attr_len > val_len) || attr_len < 0); which makes sure we return the correct error in the new path due to the removed listattr call. (If val_len is -1 due to no attribute existing, it doesn't mean the user should retry the call because the attribute grew in size).
2014-11-0633614 (based on RedHat BZ-978613): signal safety when updating global state ↵Barton E. Schaefer1-0/+6
in execshfunc()
2014-11-0533604: fix change merging for vi mode where a change has just been undoneOliver Kiddle2-5/+5
2014-11-0433596: make local keymap keybinding hide global keymapOliver Kiddle1-1/+1
binding that is a prefix of the local binding
2014-11-0333593: support numeric argument to vi-joinOliver Kiddle1-14/+21
2014-11-0333575: reset vi change start position if text is insertedOliver Kiddle2-1/+4
before it or on history movement
2014-11-02Treat exec from subshell as if forkedPeter Stephenson1-0/+9
This removes weird behaviour when optimising the last command. In particular SHLVL is correct from a subshell executed as the last command.
2014-10-31unposted: quash compiler warningOliver Kiddle1-0/+2
2014-10-3133582: don't include tcp.mdh in zftp.c.Peter Stephenson1-1/+0
It's a private module definition header that doesn't need to be exposed.
2014-10-31Take more care with errors from setuid().Jérémie Roquet1-1/+11
This is to ensure the user is aware of errors unsetting the PRIVELEGED option.
2014-10-3033570, 33576: make killring/yank-pop work in vi mode afterOliver Kiddle4-87/+97
vi-put-before and vi-put-after
2014-10-29Merge branch 'master' of git://git.code.sf.net/p/zsh/codeBarton E. Schaefer3-15/+27
Conflicts: ChangeLog
2014-10-2933566: quash null pointer constant compiler warningJun T1-1/+1