summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
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
2014-10-2933563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko ↵Barton E. Schaefer1-6/+6
in status message for INT/QUIT signals; check errflag in output loops Two semi-related patches for keyboard interrupt handling in completion, most importantly so that unexpectedly long completion listings can be interrupted.
2014-10-2933528: take notice of last column position when using vi-yankOliver Kiddle2-15/+25
and an upward cursor movement
2014-10-2733562: Fix thinko in previous commitMikael Magnusson1-1/+3
2014-10-2733561: The time builtin forgot to unmetafy TIMEFMTMikael Magnusson1-1/+1
2014-10-2633531 with additions: retain status of exited background jobs.Peter Stephenson5-31/+128
Add linked list of unwaited-for background jobs. Truncate at value of _SC_CHILD_MAX discarding oldest. Remove old lastpid_status mechanism for latest exited process only. Slightly tighten safety of permanently allocated linked lists so that this doesn't compromise signal handling.
2014-10-2433480, slightly tweaked: fix for $' completion.Peter Stephenson1-4/+11
Improves case where completing after the $' but before any closing quote, or if the closing quote is absent. No other change --- we still don't attempt to exand the quotes if we're inside them.
2014-10-2433520: correct cursor positioning following a vi mode yank operationOliver Kiddle1-1/+8
2014-10-2333519: last character in the buffer can be cut, changed or yanked using ↵Oliver Kiddle1-1/+1
vi-forward-char
2014-10-2333518: add support for "_ vi buffer and arguments to vi-set-buffer from a ↵Oliver Kiddle3-7/+20
zle widget
2014-10-2333514: even with a named vi buffer, we should update the default bufferOliver Kiddle1-1/+0
2014-10-2333513: vi mode deletions should replace cut buffer not append to itOliver Kiddle1-4/+4
2014-10-2333512: add support for "0 vi buffer and yank to itOliver Kiddle4-14/+22
2014-10-2233515: suppress parser error messages in comp_match()Barton E. Schaefer1-0/+3
2014-10-2233493: use correct command name in error messages about "ulimit" failure; ↵Barton E. Schaefer2-1/+2
restore internal copy of limits if setrlimit() fails, so the error won't repeat
2014-10-1233445: fix handling of -s when combined with -i at shell invocationBarton E. Schaefer1-4/+16
Fixes a long-standing (25+ years) bug where using -i -s together did have the documented effect of disabling command line script files but also had the side-effect of invoking ZLE, thereby ignoring the redirected input.
2014-10-1233423: expand ${(p)...} to allow ${(ps.$param.)...}Peter Stephenson1-5/+16
2014-10-1033429: disallow non-integer values for HISTSIZE and SAVEHIST of "fc -p", and ↵Barton E. Schaefer2-7/+19
fix crash on zero values for same
2014-10-0633365: avoid buffer overflow for very long fds in >& fd syntaxMikael Magnusson1-1/+1
2014-10-0433354: when backgrounding a pipeline, close all pipe descriptors in the parentBarton E. Schaefer1-1/+3
Add test for both this and 33345+33346
2014-10-0333346: another bit of the 33345 repairBart Schaefer1-1/+2
2014-10-0333345: fix anonymous function complex command handling.Peter Stephenson1-83/+84
Longstanding problem caused simple anonymous function incorrectly to reset the overall "complext" state, causing wordcode to be diverted into execsimple(), which caused a crash 'cos ist wasn't simple.
2014-10-03unposted: comments in previous commit were reversedPeter Stephenson1-4/+4
2014-10-0333343: Variant anonymous function synax with arguments.Peter Stephenson1-7/+24
Don't expand arguments as if in command position. Test.
2014-10-0233323: fix bug in removing math functions and complete -M option to functionsOliver Kiddle1-1/+3
2014-10-0233320 (cf. PWS 33311): revert 33069, fix lexing of bangchar during completionBarton E. Schaefer3-7/+48
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.