Barton E. Schaefer
a4ff8e6957
34590: queue_signals() around more scopes that manipulate global state
2015-02-20 18:45:36 -08:00
Peter Stephenson
b237ba0a8e
34587: ensure multibyte characters don't overflow.
...
They could start incorporating tokens, with bad karma.
Add test.
2015-02-20 16:25:54 +00:00
Barton E. Schaefer
df7a657b10
34568: use META_HEAPDUP when passing dlerror() string to metafy()
2015-02-19 08:26:03 -08:00
Peter Stephenson
f36f6208bf
unposted: Seems it's 2015
2015-02-19 15:58:29 +00:00
Peter Stephenson
2cbf9d7e65
34573: Safer failure to handle command substitution
2015-02-19 12:01:16 +00:00
Peter Stephenson
52e938bac9
34570: Another nasty command / math substituion thing.
...
Mark arithmetic substitutions with tokens to make sure the substitution
go knows what to do. Before it was guessing by counting the
parentheses at the end.
2015-02-19 10:22:40 +00:00
Peter Stephenson
9b21dcada9
Fix up memory allocation for previous patch
2015-02-17 09:56:09 +00:00
Peter Stephenson
126fb61c7c
34560: Fix $(( that's actually a multiline cmd subst.
2015-02-16 17:16:57 +00:00
Peter Stephenson
041a85243e
34558: preexec doc fix.
...
It was wrongly claming the first parameter was empty if the line was
removed from the history.
2015-02-16 16:12:07 +00:00
Peter Stephenson
8ebe18c081
34530: PRINT_EXIT_VALUE with anonymous functions.
...
Simpler fix, avoiding structural changes.
2015-02-16 12:37:38 +00:00
Barton E. Schaefer
2335d62548
34551: Avoid adding an extra "/" to the target path in cd_try_chdir() when the current directory is "/"
2015-02-15 20:20:03 -08:00
Barton E. Schaefer
2c13d9fb0d
34543: Prevent crash on garbage bytes inside $(...)
...
Garbage input (nul bytes, etc.) can cause the $(...) parser to become
confused during look-ahead and attempt to back up the input too far.
This commit catches the error but does not fix the underlying cause.
2015-02-14 10:43:10 -08:00
Mikael Magnusson
dd988542f4
Fix typo from 28487
2015-02-14 02:00:25 +01:00
Peter Stephenson
daa7d99702
34546: further $_ with anon function fix.
...
Also add tests.
2015-02-13 21:31:31 +00:00
Peter Stephenson
7e6faf7237
34519: $_ for arguments of anonymous function
2015-02-12 19:48:50 +00:00
Barton E. Schaefer
ae7dcab5ed
34476: change _store_cache assignment format
...
Avoids potentially expensive lexical analysis of the array values.
2015-02-12 09:31:09 -08:00
Barton E. Schaefer
7398fea059
34514: Back out 34485, an alternate solution needs to be worked out.
...
(Tweaked to keep the unrelated hunk of the E01 test.)
2015-02-12 09:27:53 -08:00
Peter Stephenson
638bccb1c5
users/19850: add pattern support to watch variable
2015-02-11 12:52:22 +00:00
Mikael Magnusson
0209635832
34490: Fix leak on print -zf/-sf error
2015-02-10 13:03:51 +01:00
Mikael Magnusson
2dbbc88d0b
34488: Fix use-after-free for print -zf and print -sf
2015-02-10 13:03:49 +01:00
Peter Stephenson
da86d6b4f2
34485: More rationalisation for anonymous functions.
...
Don't attempt to treat as "simple" case as there are too many
hidden problems.
Pull out some post-execution functions to a common case in
execcmd().
2015-02-09 16:39:29 +00:00
Mikael Magnusson
dfbb5e4853
34466: Fix double unmeta in rm verification
2015-02-09 05:13:34 +01:00
Daniel Hahler
7d15b9a9cb
34468: completion: git: stash: handle 'save' being the default
...
"git stash" should complete arguments for "git stash save", but without
the message part.
2015-02-08 20:27:26 +01:00
Daniel Hahler
8f403ab25c
34467: completion: git: minor doc fixes
...
I am not sure about the deprecation of user-commands, but from other
places in the doc and commit history this deprecation was meant to be
reverted?!
2015-02-08 20:27:25 +01:00
Daniel Hahler
28d520bc21
34470: completion: adb: add "sideload" command
...
btw: there is another compdef available for `adb` from
zsh-users/zsh-completion; see
https://github.com/zsh-users/zsh-completions/issues/291 .
2015-02-08 20:27:25 +01:00
Daniel Hahler
ffaf99288f
34469: git completion: add "stash" from refs/stash to __git_heads
2015-02-08 20:27:25 +01:00
Daniel Shahaf
860ef4e125
34464: Update mtr completion to mtr 0.82
2015-02-07 22:28:03 +00:00
Jun-ichi Takimoto
2810317ae2
34456: lopts should be initialized as an array
...
otherwise an empty element remains in lopts, which causes
a trouble when _arguments -- '*:' is called.
2015-02-06 23:06:07 +09:00
Peter Stephenson
1a91cb7fb1
users/19825: Clear statement about POSIX compatibility
...
Right of start of manual where we already refer to ksh.
2015-02-06 10:46:58 +00:00
Barton E. Schaefer
a7925f9a1c
unposted: fix formatting of "--".
2015-02-03 19:26:51 -08:00
Peter Stephenson
79378d4acd
users/19800: more help for $HISTORY_IGNORE
2015-02-03 17:13:26 +00:00
Jun-ichi Takimoto
1f62d8d0be
34451: use mmap() also on Mac OS X
...
Let MAP_ANONYMOUS be an alias to MAP_ANON if the former is not
defined.
2015-02-03 20:50:26 +09:00
Peter Stephenson
1a7473cbc1
34455: Further gdbm parameter fixes.
...
Fix memory leak with name of parameter.
Unset old parameter before opening db as it might close an existing
db.
2015-02-03 10:31:03 +00:00
Barton E. Schaefer
1254538a41
34447: fix assignment of key-value array to ztie'd parameter.
...
Add gdbmhashsetfn() for this purpose. Erases and reorganizes the database
before bulk assign.
2015-02-02 09:46:08 -08:00
Daniel Shahaf
a5333cc344
34444: git completion: minor improvements
...
- 'git rebase': complete arguments in the same word as the option
- 'git commit': provide message for --fixup/--squash
2015-02-02 15:32:59 +00:00
Barton E. Schaefer
3ae6fb965f
34446: add "ztie -r" and "zuntie -u", update documentation
2015-02-01 14:01:53 -08:00
Daniel Shahaf
061dc888d3
34411: _hg completion: Complete bookmark names for -r
...
While there, simplify `hg tags` parsing.
2015-02-01 11:36:02 +00:00
Peter Stephenson
ce211bb8d1
34439: unset variable about to be tied
2015-01-30 20:03:02 +00:00
Peter Stephenson
1c942291f8
34435: Update emulate completion.
...
Add new feature to run command in emulation.
Factor out handling of quoted command string to new function.
2015-01-30 16:24:20 +00:00
Peter Stephenson
bc8491c3dc
34430: parameter fixes for gdbm tied hash.
...
Probably fix the issue with correct parameter hiding or not hiding.
A little extra safety checking.
Possibly fixed a memory leak with untying.
2015-01-29 21:05:17 +00:00
Barton E. Schaefer
22ad56296d
unposted: fix other typeset doc errors
2015-01-28 09:07:25 -08:00
Barton E. Schaefer
6558ab611b
34421: clean up typeset documentation
...
Also remove duplicated ChangeLog entry for 34365.
2015-01-28 08:04:52 -08:00
Jun-ichi Takimoto
1faf2888e9
34415: cache list of all python modules
2015-01-28 23:58:23 +09:00
Jun-ichi Takimoto
f591458321
34423: fix a typo in _ruby
2015-01-28 23:19:48 +09:00
Peter Stephenson
5fc4946b4d
Missing change log entry
2015-01-27 20:59:20 +00:00
Frank Terbeck
88c7badb8b
34419: vcs_info documentation: Fix wording
...
As suggested by Daniel Shahaf.
2015-01-27 21:14:47 +01:00
Daniel Shahaf
2c85612c4b
34412: complete all groups for chown under sudo
2015-01-27 11:02:57 +00:00
Barton E. Schaefer
5751de7975
34403: refine 34399 to avoid settyinfo() when the input descriptor is not a TTY
2015-01-26 18:48:25 -08:00
Mikael Magnusson
cae0be3af6
34387: Avoid loading the main zsh binary as a module
2015-01-27 00:18:47 +01:00
Mikael Magnusson
bac2bbd058
34382: Handle NULL return from dlerror() more gracefully
2015-01-27 00:17:23 +01:00