Peter Stephenson
e33411990e
AUTO_CD behaviour depends on SHIN_STDIN, document
2014-11-11 19:51:05 +00:00
Jun T
c9804bebd8
33599: workaround zpty issue that causes vi test
...
cases to fail on MacOS and FreeBSD
2014-11-09 22:06:52 +01:00
clutton
d6252ce011
33640: look in /boot/modules instead of /modules for third-party modules
2014-11-09 21:59:16 +01:00
Oliver Kiddle
31df6c4d32
33643: elaborate documentation of the PRIVILEGED option
2014-11-09 17:53:25 +01:00
Oliver Kiddle
f01188ec2a
33639: fix bug with vi operators on a blank line
...
and with backward bracket matching
2014-11-09 17:51:26 +01:00
Oliver Kiddle
82aa706cbf
33659: use --dump-options to get most of the gpg options to complete
2014-11-09 17:19:37 +01:00
Peter Stephenson
65f56b5656
33655: remove overlap of node flags
2014-11-08 21:59:58 +00:00
Peter Stephenson
0ccbc3873f
Handle -a option to whence in combination with -m.
2014-11-08 20:49:07 +00:00
Barton E. Schaefer
63f3030aaa
33648: _gpg completes for gpg2 as well
2014-11-08 12:23:29 -08:00
Oliver Kiddle
36b8f83319
33624: keep region active when widget fails
2014-11-07 11:29:13 +01:00
Mikael Magnusson
a9004ce32f
33607: Fix some minor problems in zattr module
...
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-07 11:10:30 +01:00
Barton E. Schaefer
7abd611a23
33614 (based on RedHat BZ-978613): signal safety when updating global state in execshfunc()
2014-11-06 10:50:20 -08:00
Oliver Kiddle
c7ff843ecf
33604: fix change merging for vi mode where a change has just been undone
2014-11-05 22:50:48 +01:00
Oliver Kiddle
4b66ec003f
33596: make local keymap keybinding hide global keymap
...
binding that is a prefix of the local binding
2014-11-04 14:08:20 +01:00
Oliver Kiddle
73ca153159
33593: support numeric argument to vi-join
2014-11-03 00:36:00 +01:00
Oliver Kiddle
4d89ec25f1
33575: reset vi change start position if text is inserted
...
before it or on history movement
2014-11-03 00:31:57 +01:00
Peter Stephenson
023c2236e1
Treat exec from subshell as if forked
...
This removes weird behaviour when optimising the last command.
In particular SHLVL is correct from a subshell executed as the last
command.
2014-11-02 15:29:06 +00:00
Oliver Kiddle
6a29f66f8a
unposted: quash compiler warning
2014-10-31 18:00:05 +01:00
Oliver Kiddle
1d261ef53a
correct cursor position in test
2014-10-31 13:38:32 +01:00
Peter Stephenson
1e14fd57a8
unposted: Add /.project to .gitignore for use by GitEye
2014-10-31 10:28:37 +00:00
Peter Stephenson
ef4fb421f5
33582: don't include tcp.mdh in zftp.c.
...
It's a private module definition header that doesn't need
to be exposed.
2014-10-31 10:23:29 +00:00
Jérémie Roquet
52d37d7ff4
Take more care with errors from setuid().
...
This is to ensure the user is aware of errors unsetting the
PRIVELEGED option.
2014-10-31 10:02:36 +00:00
Oliver Kiddle
fd302c9837
33570, 33576: make killring/yank-pop work in vi mode after
...
vi-put-before and vi-put-after
2014-10-30 21:52:36 +01:00
Barton E. Schaefer
9d2cfa7af6
Merge branch 'master' of git://git.code.sf.net/p/zsh/code
...
Conflicts:
ChangeLog
2014-10-29 08:49:33 -07:00
Jun T
d36421d376
33566: quash null pointer constant compiler warning
2014-10-29 08:48:17 -07:00
Barton E. Schaefer
691547cda6
33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko 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-29 08:45:57 -07:00
Oliver Kiddle
16cfa78aa9
33528: take notice of last column position when using vi-yank
...
and an upward cursor movement
2014-10-29 13:34:37 +01:00
Mikael Magnusson
ed90154e58
33562: Fix thinko in previous commit
2014-10-27 20:54:20 +01:00
Mikael Magnusson
ded97b8ed9
33561: The time builtin forgot to unmetafy TIMEFMT
2014-10-27 20:46:48 +01:00
Peter Stephenson
0412c0baaa
33564: care with monitor option in test
2014-10-26 21:24:23 +00:00
Peter Stephenson
9a551ca859
33542: test logic for waiting for already exited processes
2014-10-26 19:04:47 +00:00
Peter Stephenson
b4f7ccecd9
33531 with additions: retain status of exited background jobs.
...
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-26 17:47:42 +00:00
Barton E. Schaefer
e18b5bf0b2
33526: fix completion path prefix handling when NO_CASE_GLOB is in effect
2014-10-24 09:06:32 -07:00
Peter Stephenson
11c3bc3d73
33480, slightly tweaked: fix for $' completion.
...
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-24 09:54:55 +01:00
Mikael Magnusson
242b419fbc
33485: fix a missing ;; case terminator
2014-10-24 08:56:31 +02:00
Oliver Kiddle
746b53d5d7
33520: correct cursor positioning following a vi mode yank operation
2014-10-24 00:18:32 +02:00
Oliver Kiddle
bd6f119942
unposted: specify 8 char indent for ChangeLog in .editorconfig
2014-10-23 22:13:57 +02:00
Oliver Kiddle
2fe4bfb100
33519: last character in the buffer can be cut, changed or yanked using vi-forward-char
2014-10-23 22:12:06 +02:00
Oliver Kiddle
bdedf7b40b
33518: add support for "_ vi buffer and arguments to vi-set-buffer from a zle widget
2014-10-23 21:47:23 +02:00
Oliver Kiddle
72c666fb4f
33514: even with a named vi buffer, we should update the default buffer
2014-10-23 17:14:19 +02:00
Oliver Kiddle
9d54f0ecde
33513: vi mode deletions should replace cut buffer not append to it
2014-10-23 17:10:37 +02:00
Oliver Kiddle
a39c3adece
33512: add support for "0 vi buffer and yank to it
2014-10-23 17:00:31 +02:00
Barton E. Schaefer
b6921a2b44
33515: suppress parser error messages in comp_match()
2014-10-22 20:21:10 -07:00
Barton E. Schaefer
2d4743ce50
33493: use correct command name in error messages about "ulimit" failure; restore internal copy of limits if setrlimit() fails, so the error won't repeat
2014-10-22 08:42:37 -07:00
Oliver Kiddle
2ecc4bab41
33486: new completion function
2014-10-21 20:57:01 +02:00
Oliver Kiddle
5e592fd9b0
33485: fixes for zstyle context handling
2014-10-21 20:53:51 +02:00
Oliver Kiddle
af9f623273
33481: resolve completion clashes and tidy-up SUSE/Mandriva related functions
2014-10-21 16:11:09 +02:00
Peter Stephenson
e02ff159b3
see 33475: allow .cpp files to be completed as gcc input
2014-10-17 09:43:32 +01:00
Syohei YOSHIDA
f144cb732f
33455: update GNU global option completion
2014-10-14 23:12:43 +02:00
Oliver Kiddle
13fc579343
33467: correct return status on functions and numerous other minor fixes
2014-10-14 23:04:45 +02:00