summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 33624: keep region active when widget failsOliver Kiddle2014-11-072-1/+4
|
* 33607: Fix some minor problems in zattr moduleMikael Magnusson2014-11-072-37/+34
| | | | | | | | | | | | | | | | | | | 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-062-0/+11
| | | | in execshfunc()
* 33604: fix change merging for vi mode where a change has just been undoneOliver Kiddle2014-11-054-5/+16
|
* 33596: make local keymap keybinding hide global keymapOliver Kiddle2014-11-042-1/+6
| | | | binding that is a prefix of the local binding
* 33593: support numeric argument to vi-joinOliver Kiddle2014-11-033-14/+36
|
* 33575: reset vi change start position if text is insertedOliver Kiddle2014-11-033-1/+9
| | | | before it or on history movement
* Treat exec from subshell as if forkedPeter Stephenson2014-11-023-1/+23
| | | | | 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-312-0/+4
|
* correct cursor position in testOliver Kiddle2014-10-312-1/+5
|
* unposted: Add /.project to .gitignore for use by GitEyePeter Stephenson2014-10-312-0/+3
|
* 33582: don't include tcp.mdh in zftp.c.Peter Stephenson2014-10-312-1/+3
| | | | | 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-312-1/+16
| | | | | 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-307-88/+132
| | | | vi-put-before and vi-put-after
* Merge branch 'master' of git://git.code.sf.net/p/zsh/codeBarton E. Schaefer2014-10-295-15/+57
|\ | | | | | | | | Conflicts: ChangeLog
| * 33528: take notice of last column position when using vi-yankOliver Kiddle2014-10-294-15/+50
| | | | | | | | and an upward cursor movement
| * 33562: Fix thinko in previous commitMikael Magnusson2014-10-272-2/+5
| |
| * 33561: The time builtin forgot to unmetafy TIMEFMTMikael Magnusson2014-10-272-1/+5
| |
* | 33566: quash null pointer constant compiler warningJun T2014-10-292-1/+3
| |
* | 33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko ↵Barton E. Schaefer2014-10-293-7/+14
|/ | | | | | | | 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.
* 33564: care with monitor option in testPeter Stephenson2014-10-262-1/+3
|
* 33542: test logic for waiting for already exited processesPeter Stephenson2014-10-262-2/+29
|
* 33531 with additions: retain status of exited background jobs.Peter Stephenson2014-10-268-35/+157
| | | | | | | | 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.
* 33526: fix completion path prefix handling when NO_CASE_GLOB is in effectBarton E. Schaefer2014-10-242-1/+13
|
* 33480, slightly tweaked: fix for $' completion.Peter Stephenson2014-10-242-4/+16
| | | | | | | 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.
* 33485: fix a missing ;; case terminatorMikael Magnusson2014-10-242-0/+6
|
* 33520: correct cursor positioning following a vi mode yank operationOliver Kiddle2014-10-243-1/+33
|
* unposted: specify 8 char indent for ChangeLog in .editorconfigOliver Kiddle2014-10-232-0/+6
|
* 33519: last character in the buffer can be cut, changed or yanked using ↵Oliver Kiddle2014-10-233-1/+9
| | | | vi-forward-char
* 33518: add support for "_ vi buffer and arguments to vi-set-buffer from a ↵Oliver Kiddle2014-10-236-20/+107
| | | | zle widget
* 33514: even with a named vi buffer, we should update the default bufferOliver Kiddle2014-10-232-1/+3
|
* 33513: vi mode deletions should replace cut buffer not append to itOliver Kiddle2014-10-232-4/+7
|
* 33512: add support for "0 vi buffer and yank to itOliver Kiddle2014-10-235-14/+27
|
* 33515: suppress parser error messages in comp_match()Barton E. Schaefer2014-10-222-0/+6
|
* 33493: use correct command name in error messages about "ulimit" failure; ↵Barton E. Schaefer2014-10-223-1/+8
| | | | restore internal copy of limits if setrlimit() fails, so the error won't repeat
* 33486: new completion functionOliver Kiddle2014-10-212-0/+73
|
* 33485: fixes for zstyle context handlingOliver Kiddle2014-10-2123-145/+164
|
* 33481: resolve completion clashes and tidy-up SUSE/Mandriva related functionsOliver Kiddle2014-10-218-71/+40
|
* see 33475: allow .cpp files to be completed as gcc inputPeter Stephenson2014-10-172-1/+6
|
* 33455: update GNU global option completionSyohei YOSHIDA2014-10-142-0/+19
|
* 33467: correct return status on functions and numerous other minor fixesOliver Kiddle2014-10-1445-686/+570
|
* 33459: test for variable substitution in variable splittingPeter Stephenson2014-10-132-0/+25
|
* 33438: use the new way of splitting strings with a dynamic separatorOliver Kiddle2014-10-132-11/+17
| | | | from 33423 and quote separators where needed
* 33445: fix handling of -s when combined with -i at shell invocationBarton E. Schaefer2014-10-122-4/+21
| | | | | | 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-123-5/+35
|
* Tests for workers/33429Barton E. Schaefer2014-10-112-0/+18
|
* Merge branch 'master' of git://git.code.sf.net/p/zsh/codeBarton E. Schaefer2014-10-1015-104/+284
|\ | | | | | | | | Conflicts: ChangeLog
| * 33424: use common function for completing Debian architecturesOliver Kiddle2014-10-1111-86/+106
| |
| * 33420: complete -R/-m options and fix feature completionOliver Kiddle2014-10-102-18/+27
| |
| * 33375: new sv completionfREW Schmidt2014-10-102-0/+75
| |