Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 33633: support vim style text objects | Oliver Kiddle | 2014-11-17 | 1 | -2/+13 |
| | |||||
* | 33632: use viopp and visual local keymaps if they exist | Oliver Kiddle | 2014-11-17 | 2 | -1/+9 |
| | |||||
* | 33697: new vim style vi-backward-word-end widgets | Oliver Kiddle | 2014-11-15 | 2 | -3/+66 |
| | |||||
* | 33696: simple up/down line widgets that don't go through history lines | Oliver Kiddle | 2014-11-15 | 2 | -10/+12 |
| | |||||
* | 33695: fix various vi-indent problems and vi-swap-case on a blank line | Oliver Kiddle | 2014-11-15 | 1 | -4/+10 |
| | |||||
* | Marc Finet: problems with working directory rationalisation. | Peter Stephenson | 2014-11-13 | 1 | -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. Schaefer | 2014-11-13 | 1 | -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 yy | Oliver Kiddle | 2014-11-13 | 1 | -2/+3 |
| | | | | This by allocating 1 byte instead of 0 for the empty buffer. | ||||
* | 33639: fix bug with vi operators on a blank line | Oliver Kiddle | 2014-11-09 | 1 | -9/+3 |
| | | | | and with backward bracket matching | ||||
* | 33655: remove overlap of node flags | Peter Stephenson | 2014-11-08 | 1 | -3/+3 |
| | |||||
* | Handle -a option to whence in combination with -m. | Peter Stephenson | 2014-11-08 | 1 | -5/+41 |
| | |||||
* | 33624: keep region active when widget fails | Oliver Kiddle | 2014-11-07 | 1 | -1/+0 |
| | |||||
* | 33607: Fix some minor problems in zattr module | Mikael Magnusson | 2014-11-07 | 1 | -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. Schaefer | 2014-11-06 | 1 | -0/+6 |
| | | | | in execshfunc() | ||||
* | 33604: fix change merging for vi mode where a change has just been undone | Oliver Kiddle | 2014-11-05 | 2 | -5/+5 |
| | |||||
* | 33596: make local keymap keybinding hide global keymap | Oliver Kiddle | 2014-11-04 | 1 | -1/+1 |
| | | | | binding that is a prefix of the local binding | ||||
* | 33593: support numeric argument to vi-join | Oliver Kiddle | 2014-11-03 | 1 | -14/+21 |
| | |||||
* | 33575: reset vi change start position if text is inserted | Oliver Kiddle | 2014-11-03 | 2 | -1/+4 |
| | | | | before it or on history movement | ||||
* | Treat exec from subshell as if forked | Peter Stephenson | 2014-11-02 | 1 | -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 warning | Oliver Kiddle | 2014-10-31 | 1 | -0/+2 |
| | |||||
* | 33582: don't include tcp.mdh in zftp.c. | Peter Stephenson | 2014-10-31 | 1 | -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 Roquet | 2014-10-31 | 1 | -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 after | Oliver Kiddle | 2014-10-30 | 4 | -87/+97 |
| | | | | vi-put-before and vi-put-after | ||||
* | Merge branch 'master' of git://git.code.sf.net/p/zsh/code | Barton E. Schaefer | 2014-10-29 | 3 | -15/+27 |
|\ | | | | | | | | | Conflicts: ChangeLog | ||||
| * | 33528: take notice of last column position when using vi-yank | Oliver Kiddle | 2014-10-29 | 2 | -15/+25 |
| | | | | | | | | and an upward cursor movement | ||||
| * | 33562: Fix thinko in previous commit | Mikael Magnusson | 2014-10-27 | 1 | -1/+3 |
| | | |||||
| * | 33561: The time builtin forgot to unmetafy TIMEFMT | Mikael Magnusson | 2014-10-27 | 1 | -1/+1 |
| | | |||||
* | | 33566: quash null pointer constant compiler warning | Jun T | 2014-10-29 | 1 | -1/+1 |
| | | |||||
* | | 33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko ↵ | Barton E. Schaefer | 2014-10-29 | 1 | -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 Stephenson | 2014-10-26 | 5 | -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 Stephenson | 2014-10-24 | 1 | -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 operation | Oliver Kiddle | 2014-10-24 | 1 | -1/+8 |
| | |||||
* | 33519: last character in the buffer can be cut, changed or yanked using ↵ | Oliver Kiddle | 2014-10-23 | 1 | -1/+1 |
| | | | | vi-forward-char | ||||
* | 33518: add support for "_ vi buffer and arguments to vi-set-buffer from a ↵ | Oliver Kiddle | 2014-10-23 | 3 | -7/+20 |
| | | | | zle widget | ||||
* | 33514: even with a named vi buffer, we should update the default buffer | Oliver Kiddle | 2014-10-23 | 1 | -1/+0 |
| | |||||
* | 33513: vi mode deletions should replace cut buffer not append to it | Oliver Kiddle | 2014-10-23 | 1 | -4/+4 |
| | |||||
* | 33512: add support for "0 vi buffer and yank to it | Oliver Kiddle | 2014-10-23 | 4 | -14/+22 |
| | |||||
* | 33515: suppress parser error messages in comp_match() | Barton E. Schaefer | 2014-10-22 | 1 | -0/+3 |
| | |||||
* | 33493: use correct command name in error messages about "ulimit" failure; ↵ | Barton E. Schaefer | 2014-10-22 | 2 | -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 invocation | Barton E. Schaefer | 2014-10-12 | 1 | -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 Stephenson | 2014-10-12 | 1 | -5/+16 |
| | |||||
* | 33429: disallow non-integer values for HISTSIZE and SAVEHIST of "fc -p", and ↵ | Barton E. Schaefer | 2014-10-10 | 2 | -7/+19 |
| | | | | fix crash on zero values for same | ||||
* | 33365: avoid buffer overflow for very long fds in >& fd syntax | Mikael Magnusson | 2014-10-06 | 1 | -1/+1 |
| | |||||
* | 33354: when backgrounding a pipeline, close all pipe descriptors in the parent | Barton E. Schaefer | 2014-10-04 | 1 | -1/+3 |
| | | | | Add test for both this and 33345+33346 | ||||
* | 33346: another bit of the 33345 repair | Bart Schaefer | 2014-10-03 | 1 | -1/+2 |
| | |||||
* | 33345: fix anonymous function complex command handling. | Peter Stephenson | 2014-10-03 | 1 | -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 reversed | Peter Stephenson | 2014-10-03 | 1 | -4/+4 |
| | |||||
* | 33343: Variant anonymous function synax with arguments. | Peter Stephenson | 2014-10-03 | 1 | -7/+24 |
| | | | | Don't expand arguments as if in command position. Test. | ||||
* | 33323: fix bug in removing math functions and complete -M option to functions | Oliver Kiddle | 2014-10-02 | 1 | -1/+3 |
| | |||||
* | 33320 (cf. PWS 33311): revert 33069, fix lexing of bangchar during completion | Barton E. Schaefer | 2014-10-02 | 3 | -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. |