1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-17 15:01:40 +02:00
Commit graph

8201 commits

Author SHA1 Message Date
Peter Stephenson
a8927bf27b 33793: add 0b binary interpretation to integer constants 2014-11-26 17:26:58 +00:00
Jun T
c4110f7f4e 33769: workaround for KEYTIMEOUT to work from test
cases on Darwin and FreeBSD
2014-11-25 22:49:14 +01:00
Oliver Kiddle
feda07c641 33770: avoid calling identical FIONREAD ioctl twice in succession 2014-11-25 22:14:50 +01:00
Oliver Kiddle
ee38545c62 users/19365: completer for current directory of other shell processes 2014-11-25 20:03:53 +01:00
Barton E. Schaefer
05e919dc56 33791: fatal errors in an "always" construct yield nonzero status
Fatal errors in the try-block part of an "always" construct cause the
entire construct to have nonzero status, even when TRY_BLOCK_ERROR is
used to suppress the error.
2014-11-25 09:15:20 -08:00
Daniel Hahler
1fec267156 33746: read -q doc refers to -t 2014-11-24 10:05:44 +00:00
Mikael Magnusson
e2fe81ae9a 33785: Fix leaks of desthost in ztcp
Found by coverity.
2014-11-24 08:16:48 +01:00
Barton E. Schaefer
2b615bedaf 33775: error opening file in $(<...) is not fatal 2014-11-23 16:02:48 -08:00
Oliver Kiddle
a526a2203b 33743: use posix_openpt in zpty if it is available 2014-11-24 00:05:59 +01:00
Peter Stephenson
9161a16b2e 33729: "git remote add" should complete local repositories 2014-11-23 21:03:37 +00:00
Stephane Chazelas
fe65defba2 33740: doc for output of hideval parameter flag 2014-11-23 18:31:02 +00:00
Stephane Chazelas
ff292af95f 33740: FAQ: another way of avoiding MULTIOs effects on pipes 2014-11-23 18:29:09 +00:00
Barton E. Schaefer
02bca2ea0f 33763 (cf. Baptiste Daroussin 33747): fix nested item list in generated zshmodules.1 2014-11-22 14:52:31 -08:00
Barton E. Schaefer
22b4ededcf 33750: handle function autoloads for DEBUG_BEFORE_CMD
gettext2() lacked a case for the WC_AUTOFN word code, tripping a dputs()
on TRAPDEBUG the first time each autoloaded function was run.
2014-11-21 21:56:56 -08:00
Barton E. Schaefer
626398f37d add menu reference to Text Objects 2014-11-21 21:54:37 -08:00
saga
8cd812a1d3 33712: add --auto-remove option 2014-11-21 12:05:22 +01:00
Oliver Kiddle
69594a6cf0 33738: account for a selection in vi-replace-chars 2014-11-21 11:40:01 +01:00
Oliver Kiddle
58da0f495c 33730: vim style text objects for selecting words 2014-11-21 11:40:00 +01:00
Sebastien Alaiwan
0151ab0749 33728: Complete bzr shelve subcommand 2014-11-21 09:46:54 +00:00
Peter Stephenson
a3cc409b9b unposted but c.f. 33723: typo in FAQ
sed argument had unterminated substitution.
2014-11-20 17:12:15 +00:00
Peter Stephenson
fe17d3c113 users/19404: Login shells may not be interactive
Update the FAQ to point this out after years of neglect.
2014-11-19 15:51:20 +00:00
Peter Stephenson
dded99b085 33679: Note on patter s in case statements
They work exactly like groups in other patterns, despite contrary
indications.
2014-11-19 15:48:58 +00:00
Oliver Kiddle
0a4223d908 unposted: reindent large block 2014-11-17 23:03:10 +01:00
Oliver Kiddle
d29e02c1a3 33704: keybindings, documentation, tests and minor
fixes for vim style visual selection changes
2014-11-17 23:01:00 +01:00
Oliver Kiddle
36878852ef 33636: add support for a linewise visual selection mode 2014-11-17 22:50:34 +01:00
Oliver Kiddle
492b6cec28 33635: adapt region to function as vim style visual selection mode 2014-11-17 22:47:59 +01:00
Oliver Kiddle
0ea8f28e7b 33700: new widget for put in vim style visual selection mode 2014-11-17 16:32:04 +01:00
Oliver Kiddle
c95c2ac838 33699: support short delays in zle tests where we
need KEYTIMEOUT to elapse
2014-11-17 16:29:10 +01:00
Oliver Kiddle
25cc978a99 33633: support vim style text objects 2014-11-17 00:49:32 +01:00
Oliver Kiddle
15fc2cd4f0 33632: use viopp and visual local keymaps if they exist 2014-11-17 00:49:31 +01:00
Oliver Kiddle
1e934556f7 33697: new vim style vi-backward-word-end widgets 2014-11-15 21:33:32 +01:00
Oliver Kiddle
13f3eec61d 33696: simple up/down line widgets that don't go through history lines 2014-11-15 21:31:29 +01:00
Oliver Kiddle
f26abf3a17 33695: fix various vi-indent problems and vi-swap-case on a blank line 2014-11-15 21:27:44 +01:00
Artur Penttinen
8505837f89 19371 plus tweak: run-help helper for ip 2014-11-13 20:25:00 +00:00
Peter Stephenson
c01a178ece Marc Finet: problems with working directory rationalisation.
Ensure the length of the directory is kept up to date.

Abort following symlinks as soon as there's an error.
2014-11-13 19:44:01 +00:00
Barton E. Schaefer
c1d9623d2e 33686: set PS1 before pattern-matching for it
If run as a privleged user, the default PS1 does not contain "%", so
don't use the default PS1 when expecting to match "%" in the output.
2014-11-13 09:27:14 -08:00
Barton E. Schaefer
53344183e1 33656: different algorithm for "whence -am" to produce results more 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-13 09:20:46 -08:00
Oliver Kiddle
99382e689d 33669: allow an empty line to be yanked with yy
This  by allocating 1 byte instead of 0 for the empty buffer.
2014-11-13 09:58:34 +01:00
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