about summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
* 33633: support vim style text objectsOliver Kiddle2014-11-171-2/+13
|
* 33632: use viopp and visual local keymaps if they existOliver Kiddle2014-11-172-1/+9
|
* 33697: new vim style vi-backward-word-end widgetsOliver Kiddle2014-11-152-3/+66
|
* 33696: simple up/down line widgets that don't go through history linesOliver Kiddle2014-11-152-10/+12
|
* 33695: fix various vi-indent problems and vi-swap-case on a blank lineOliver Kiddle2014-11-151-4/+10
|
* Marc Finet: problems with working directory rationalisation.Peter Stephenson2014-11-131-1/+5
| | | | | | Ensure the length of the directory is kept up to date. Abort following symlinks as soon as there's an error.
* 33656: different algorithm for "whence -am" to produce results more ↵Barton E. Schaefer2014-11-131-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.
* 33669: allow an empty line to be yanked with yyOliver Kiddle2014-11-131-2/+3
| | | | This by allocating 1 byte instead of 0 for the empty buffer.
* 33639: fix bug with vi operators on a blank lineOliver Kiddle2014-11-091-9/+3
| | | | and with backward bracket matching
* 33655: remove overlap of node flagsPeter Stephenson2014-11-081-3/+3
|
* Handle -a option to whence in combination with -m.Peter Stephenson2014-11-081-5/+41
|
* 33624: keep region active when widget failsOliver Kiddle2014-11-071-1/+0
|
* 33607: Fix some minor problems in zattr moduleMikael Magnusson2014-11-071-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).
* 33614 (based on RedHat BZ-978613): signal safety when updating global state ↵Barton E. Schaefer2014-11-061-0/+6
| | | | in execshfunc()
* 33604: fix change merging for vi mode where a change has just been undoneOliver Kiddle2014-11-052-5/+5
|
* 33596: make local keymap keybinding hide global keymapOliver Kiddle2014-11-041-1/+1
| | | | binding that is a prefix of the local binding
* 33593: support numeric argument to vi-joinOliver Kiddle2014-11-031-14/+21
|
* 33575: reset vi change start position if text is insertedOliver Kiddle2014-11-032-1/+4
| | | | before it or on history movement
* Treat exec from subshell as if forkedPeter Stephenson2014-11-021-0/+9
| | | | | This removes weird behaviour when optimising the last command. In particular SHLVL is correct from a subshell executed as the last command.
* unposted: quash compiler warningOliver Kiddle2014-10-311-0/+2
|
* 33582: don't include tcp.mdh in zftp.c.Peter Stephenson2014-10-311-1/+0
| | | | | It's a private module definition header that doesn't need to be exposed.
* Take more care with errors from setuid().Jérémie Roquet2014-10-311-1/+11
| | | | | This is to ensure the user is aware of errors unsetting the PRIVELEGED option.
* 33570, 33576: make killring/yank-pop work in vi mode afterOliver Kiddle2014-10-304-87/+97
| | | | vi-put-before and vi-put-after
* Merge branch 'master' of git://git.code.sf.net/p/zsh/codeBarton E. Schaefer2014-10-293-15/+27
|\ | | | | | | | | Conflicts: ChangeLog
| * 33528: take notice of last column position when using vi-yankOliver Kiddle2014-10-292-15/+25
| | | | | | | | and an upward cursor movement
| * 33562: Fix thinko in previous commitMikael Magnusson2014-10-271-1/+3
| |
| * 33561: The time builtin forgot to unmetafy TIMEFMTMikael Magnusson2014-10-271-1/+1
| |
* | 33566: quash null pointer constant compiler warningJun T2014-10-291-1/+1
| |
* | 33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko ↵Barton E. Schaefer2014-10-291-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.
* 33531 with additions: retain status of exited background jobs.Peter Stephenson2014-10-265-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.
* 33480, slightly tweaked: fix for $' completion.Peter Stephenson2014-10-241-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.
* 33520: correct cursor positioning following a vi mode yank operationOliver Kiddle2014-10-241-1/+8
|
* 33519: last character in the buffer can be cut, changed or yanked using ↵Oliver Kiddle2014-10-231-1/+1
| | | | vi-forward-char
* 33518: add support for "_ vi buffer and arguments to vi-set-buffer from a ↵Oliver Kiddle2014-10-233-7/+20
| | | | zle widget
* 33514: even with a named vi buffer, we should update the default bufferOliver Kiddle2014-10-231-1/+0
|
* 33513: vi mode deletions should replace cut buffer not append to itOliver Kiddle2014-10-231-4/+4
|
* 33512: add support for "0 vi buffer and yank to itOliver Kiddle2014-10-234-14/+22
|
* 33515: suppress parser error messages in comp_match()Barton E. Schaefer2014-10-221-0/+3
|
* 33493: use correct command name in error messages about "ulimit" failure; ↵Barton E. Schaefer2014-10-222-1/+2
| | | | restore internal copy of limits if setrlimit() fails, so the error won't repeat
* 33445: fix handling of -s when combined with -i at shell invocationBarton E. Schaefer2014-10-121-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.
* 33423: expand ${(p)...} to allow ${(ps.$param.)...}Peter Stephenson2014-10-121-5/+16
|
* 33429: disallow non-integer values for HISTSIZE and SAVEHIST of "fc -p", and ↵Barton E. Schaefer2014-10-102-7/+19
| | | | fix crash on zero values for same
* 33365: avoid buffer overflow for very long fds in >& fd syntaxMikael Magnusson2014-10-061-1/+1
|
* 33354: when backgrounding a pipeline, close all pipe descriptors in the parentBarton E. Schaefer2014-10-041-1/+3
| | | | Add test for both this and 33345+33346
* 33346: another bit of the 33345 repairBart Schaefer2014-10-031-1/+2
|
* 33345: fix anonymous function complex command handling.Peter Stephenson2014-10-031-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.
* unposted: comments in previous commit were reversedPeter Stephenson2014-10-031-4/+4
|
* 33343: Variant anonymous function synax with arguments.Peter Stephenson2014-10-031-7/+24
| | | | Don't expand arguments as if in command position. Test.
* 33323: fix bug in removing math functions and complete -M option to functionsOliver Kiddle2014-10-021-1/+3
|
* 33320 (cf. PWS 33311): revert 33069, fix lexing of bangchar during completionBarton E. Schaefer2014-10-023-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.