Barton E. Schaefer
0f5e670cde
"typeset -p" uses "export" commands or the "-g" option for parameters that are not local to the current scope
2016-10-24 07:14:39 -07:00
Daniel Shahaf
71dd0ab62e
39706: _tilde_files: Offer named directories. Document.
2016-10-24 00:53:45 +00:00
Daniel Shahaf
4eef3e6f0e
39708: Document _email_addresses.
2016-10-24 00:53:36 +00:00
Daniel Shahaf
f1c0480afc
39707: Document _dir_list.
2016-10-24 00:53:32 +00:00
Peter Stephenson
6f071b2309
39715: Handle multibyte characters in complist listing
2016-10-23 21:32:58 +01:00
Barton E. Schaefer
8e3e727933
39710 (cf. Alex George: 39709): handle the %o format in the "all-expansions" tag
...
Also allow a single unique match to appear in the "expansions" tag of _expand in the same way as _user_expand (users/21955 commit 18200dc0
)
2016-10-22 21:53:21 -07:00
Peter Stephenson
11343d89ef
39688: Skip out of P_EXACTLY pattern loop if P_PURES.
...
If it's really a pure string, there's only one exact match. We could
overwrite the next pointer; usually this didn't matter because
we'd hit a termination, but if we reallocated we might be looking
at garbage.
2016-10-20 12:20:18 +01:00
Peter Stephenson
d2c9f85f59
39683: Update scan pointers after possible alloc.
...
Problem could cause next scan index to point into an invalid block
when handling meta characters.
2016-10-20 10:43:52 +01:00
Barton E. Schaefer
b2d280038f
39680: correctly handle case of popping last arena
...
This mattered only when compiling with --enable-stack-allocation because
otherwise the heap was never completely empty.
2016-10-19 07:31:46 -07:00
Peter Stephenson
7e7e2d7e63
39678: metafication of printf %q argument and result
2016-10-19 10:39:58 +01:00
m0viefreak
5b192a4cd1
39590: zle: Call zle-line-pre-redraw after inserting a completion result
...
This is necessary to make sure redrawhook() is called while
cycling results in menu completion.
2016-10-18 14:19:59 +00:00
Daniel Shahaf
ecc0a5ece2
39654: (based on patch by Baptiste Daroussin) Better support bmake, FreeBSD's default make(1) implementation.
...
Don't pass gmake options to bmake.
Add bmake-speciic codepath for completing targets and parsing the makefile.
2016-10-18 01:39:45 +00:00
Daniel Shahaf
ae3b675ce6
39657: _zstyle: Complete the -g, -s,-b,-a, -t,-T, -m options.
2016-10-18 01:34:53 +00:00
Daniel Shahaf
713857cea0
39657: _zstyle: When completing a style for an unrecognised context, complete all known styles.
...
Previously, vcs_info styles weren't completed.
2016-10-18 01:34:52 +00:00
Daniel Shahaf
13cfa036c8
39657: Make a helper function global.
2016-10-18 01:34:52 +00:00
Daniel Shahaf
a8754b63fc
39500: compdescribe: perform on-screen-width computation using the "nice" length, since the matches are rendered by nice*() functions by compadd
...
Remove two "###" question comments relative to the patch posted, since the
answer to them is (clearly) negative.
2016-10-16 12:40:58 +00:00
Oliver Kiddle
87965e5e02
39624: remove space before compdef that prevents yafc completion function being used plus other tweaks
2016-10-14 11:39:14 +02:00
Oliver Kiddle
17f9d6b521
39623: new evince completion
2016-10-14 11:32:34 +02:00
Martijn Dekker
31c6cfca9c
39625: case needs to reset lastval if no pattern matched
2016-10-13 10:49:02 +01:00
Oliver Kiddle
9d393f7b7d
39622: add test cases for recent _arguments fixes, exclusion lists and -A/-S
2016-10-13 10:05:18 +02:00
Oliver Kiddle
7b3ec54ebe
39611: with _arguments sets completion stopped if one of the rest arguments starts with a dash
2016-10-13 10:03:13 +02:00
Matthew Martin
c40226022a
39533: add the new -L option, sort options and add some exclusions
2016-10-13 09:56:57 +02:00
Peter Stephenson
276197d1d1
36108: command -[vV] assumed -p
2016-10-11 15:16:17 +01:00
Peter Stephenson
8f2ce89a0c
39599: Don't reset status before "case" execution
2016-10-10 10:55:48 +01:00
Daniel Shahaf
b4cc190db9
39522: add-zsh-hook/add-zle-hook-widget: Promise append semantics.
...
The sentence about "as widgets" is removed since there is a whole paragraph
about that later on.
2016-10-07 14:01:00 +00:00
Daniel Shahaf
59a67b31b0
39489: _path_files: Interpret -P as literally, rather than as a pattern.
...
Follow-up to the last commit.
2016-10-07 13:59:06 +00:00
Daniel Shahaf
7ad0001183
39479 + 39481 minus _path_files hunk (see 39489): Completion: audit 'compset -P' calls to use shortest match where applicable, plus random drive-by tweaks.
...
Found by grepping for patterns that can match needles of various lengths:
:grep 'compset -[PS].*[\#^*()\|<>?~\]' Completion/
2016-10-07 13:56:31 +00:00
Julien Cretin
a96e34b459
39579: Fix string calculation for parameter quoting.
...
Where there was no closing quote the size or position of the null
could be wrongly calculated.
2016-10-06 10:57:10 +01:00
Peter Stephenson
ffa6c76253
39578: Test more ERR_RETURN cases with "&&" and functions
2016-10-06 09:48:48 +01:00
Peter Stephenson
bcb52460f3
39571: Fix ERR_EXIT bug with && and function.
...
"foo && bar" inside a function could cause the code outside
the function not to perform ERR_EXIT or ERR_RETURN when needed.
2016-10-05 17:46:42 +01:00
Peter Stephenson
0854ee56bc
39568: "! <complex-command>" suppresses ERR_EXIT
2016-10-05 13:52:31 +01:00
Peter Stephenson
d033f03688
39566: missed ChangeLog
2016-10-05 12:37:02 +01:00
Peter Stephenson
dc517212ca
39566: Improve usefulness of command_not_found_handler.
...
Don't behave as if command not found if return status is non-zero
as this may simply be the return status of the replacement command.
Let the function report a command not found instead.
2016-10-05 12:14:43 +01:00
Barton E. Schaefer
429f8ae71d
39561: missing unqueue_signals() when ZSH_HEAP_DEBUG
2016-10-04 13:30:37 -07:00
Barton E. Schaefer
ccc0b6f8a6
39550: reset signal queue in recursiveedit()
2016-10-03 09:40:39 -07:00
Barton E. Schaefer
4abbb4b473
39548: DEBUG for queueing_enabled
2016-10-03 09:37:10 -07:00
Barton E. Schaefer
b71abea40f
39547: handle zero delta in calc_timeout()
2016-10-03 09:35:14 -07:00
Peter Stephenson
4ab3fcc90d
39545: Add some missing unqueue_signals().
...
All of these are added simply to fit existing logic in other branches.
2016-10-03 13:43:20 +01:00
Peter Stephenson
36a11804b4
39521: Refactor start of execcmd().
...
By splitting into _analyse and _exec execpline2() has easier
access to the state at the start of execution. Use this
to ensure we fork if this is a builtin with no arguments.
2016-10-03 09:59:01 +01:00
Peter Stephenson
6b2585147b
39540: "! command" should suppress ERR_EXIT and ERR_RETURN
2016-10-02 19:17:19 +01:00
Daniel Shahaf
4f2a1810f2
39495: add-zle-hook-widget: Add end-of-options guard to hook invocation.
...
Currently, the only special widget that takes arguments is zle-keymap-select.
2016-09-30 23:15:57 +00:00
Daniel Shahaf
dfc9214984
39480: _reportbug: Complete absolute filenames, too.
2016-09-30 23:15:57 +00:00
Barton E. Schaefer
0a5bf8e767
unposted: update or remove references to typeset behavior obsoleted by 35586.
2016-09-30 15:57:15 -07:00
Barton E. Schaefer
3608fa7961
39509: in the event the current directory has been removed, use chasedots semantics for "cd ..".
2016-09-30 15:52:08 -07:00
Peter Stephenson
c942c7e8b6
39519: restore missing PM_EXPORT flags.
...
This was missing when exporting using USE_SET_UNSET_ENV coce variant.
2016-09-30 11:35:50 +01:00
Peter Stephenson
bb2bbcc944
39517: back off 39502 (WC_ASSIGN causes fork in pipe).
...
This isn't a robust fix as WC_ASSIGNs simply precede the main wordcode.
2016-09-30 11:34:15 +01:00
Peter Stephenson
d08674ef8c
39498: use PRIVILEGED option to decide on problematic parameter imports
2016-09-30 10:41:44 +01:00
Mikael Magnusson
5cf2ffb327
Call the pre-redraw hook if there is text in the buffer on init
2016-09-30 10:48:20 +02:00
Oliver Kiddle
13d0b278be
39514: pass on --git-dir when calling git to get completion matches
2016-09-30 09:57:50 +02:00
Oliver Kiddle
573895dd60
39513: new doas completion
2016-09-30 09:57:33 +02:00