Peter Stephenson
40a881569f
31650: use zlong for mailcheck parameters to ensure range
2013-08-11 20:19:53 +01:00
joe M
b9e16ac818
31648: fix timing errors in mailcheck
2013-08-10 19:48:13 +01:00
Peter Stephenson
8ae8fae400
31644: Fix insertion of multibyte characters into editor line.
...
This was broken for a string that came from outside ZLE in the case
where the editing buffer wasn't metafied, i.e. not in completion.
2013-08-08 20:10:06 +01:00
Peter Stephenson
0b185e3dcd
users/17908: Keep history line in sync between ZLE and shell.
...
Update ZLE version if history is read, pushed or popped with ZLE active
2013-08-08 19:48:11 +01:00
Peter Stephenson
9ebf22b34b
31631: Use cygwin_conv_path if available.
...
Prefer it to cygwin_conv_to_posix_path.
2013-08-05 19:55:15 +01:00
Peter Stephenson
568e0db7a9
31611: attempt to fix crash completing redirection in do loop
2013-08-02 18:58:35 +01:00
Peter Stephenson
9d32c82da3
17591: fix error message for invalid fd in print -u
2013-07-29 10:44:07 +01:00
Peter Stephenson
4095e175b6
31574: alternative fix for bad fd if no FD_CLOEXEC.
...
Remove dump records more consistently in that case.
2013-07-25 09:45:33 +01:00
Peter Stephenson
e282fd8ecb
31750: fix for HISTREDUCEBLANKS option.
...
Don't truncate line after marked words if there's more
non-white-space text, which is probably comments.
2013-07-24 15:54:55 +01:00
Peter Stephenson
31c5c7bb11
unposted: fix previous commit: ihwend -> hwend
2013-07-22 21:00:50 +01:00
Peter Stephenson
6533ae0719
31559: Fix history line problem with aliases and comments
2013-07-22 20:58:57 +01:00
Peter Stephenson
709dbbbda8
31549: Fix third problem with file descriptor management.
...
Replace ad-hoc subsh_close file descriptor for pipe management with the new
job-based addfilelist() mechanism.
2013-07-21 18:23:04 +01:00
Peter Stephenson
39ab9952e8
31545: Use of FD_CLOEXEC to remove possibility of fd reuse.
...
File descriptors of mmap'd dump files are closed if and only if
an exec is performed.
2013-07-20 23:23:18 +01:00
Peter Stephenson
cda21a28e6
31536 with additions: Fix hang in previous process substitution fix.
...
Close applicable file descriptors when waiting for a job.
2013-07-19 12:09:32 +01:00
Peter Stephenson
3c5732223f
31528: use job table to record file descriptors associated with process subst
2013-07-17 21:33:16 +01:00
Mikael Magnusson
d904e85904
31483: Call zrefresh() before unqueue()ing signals
...
Not doing so causes problems for example with this .zshrc
zle -N zle-line-init foo
zle -N set-local-history bar
foo() { zle set-local-history -n 1 }
bar() { zle reset-prompt }
2013-06-27 13:02:23 +02:00
Peter Stephenson
347a63da0c
31465: fix basic completion and globbing uses of disabled patterns
2013-06-13 18:40:36 +01:00
Peter Stephenson
fdf2867e5f
31444: Basic code for enable/disable -p
2013-06-13 18:38:33 +01:00
Barton E. Schaefer
e36e7d9ade
31474: create patchlevel.h correctly when using a separate build tree
2013-06-13 09:46:43 -07:00
Peter Stephenson
68d0d76db5
31441: use array to decide which forms of pattern are enabled
2013-06-01 20:39:09 +01:00
Peter Stephenson
a4d3b8f676
31419: Add time zone and year to string formatted time output from zstat
2013-05-21 17:42:57 +01:00
Barton Schaefer
1182a75e1b
upon "read" of a short line, assign all variables passed as arguments.
...
It was noted that (print 1 2 | read one two three four) assigned values
only to $one and $two except in the case where EOF was reached.
2013-05-20 23:38:58 -07:00
Mihai Moldovan
d88bd1409e
Unused function attribute fix for clang compilation
2013-05-10 10:00:52 +01:00
Frank Terbeck
2405b0ac0c
31376: Make sure every execve() is prefixed by winch_unblock()
...
This was suggested by Bart Schaefer in 31375.
2013-05-05 20:33:36 +02:00
Frank Terbeck
9604bc9a9f
Revert "31372: Do not block SIGWINCH for child processes"
...
This reverts commit f8ab02ad5f
.
As Bart suggested in 31375.
2013-05-05 20:33:07 +02:00
Bart Schaefer
f8ab02ad5f
31372: Do not block SIGWINCH for child processes
...
Something similar may also be needed in the zpty and clone modules.
2013-05-05 11:27:39 +02:00
Bart Schaefer
4e43360261
31361: handle negative optno ("no" prefix used)
...
when storing options with parseopts_insert() for sticky contexts
2013-04-30 00:22:03 -07:00
Bart Schaefer
f4b0833270
31353: fix handling of floating point in ternary
2013-04-30 00:18:13 -07:00
Bart Schaefer
d19e18c68d
31350: block SIGWINCH nearly all the time, except
...
when about to calculate prompts or do synchronous read, so
syscalls are not interrupted by window size changes.
2013-04-30 00:08:49 -07:00
Bart Schaefer
fa7c51971d
31272: Avoid double free, get_compctl should not free its arguments.
2013-04-20 08:40:18 -07:00
Peter Stephenson
424ff5644b
users/17754: failing to retie an array
...
and colon-separated scalar shouldn't be a fatal error
2013-04-10 18:14:41 +01:00
Peter Stephenson
369dc3a107
31246: make a separate patch level header for releases
2013-04-09 20:21:57 +01:00
Frank Terbeck
daf4f19c3f
31172: Let vared define custom init and finish hooks
...
Using this, you can do things like this in a more straight-forward
manner:
foo-init() { CURSOR=0; }
zle -N foo-init
foo=$'Some longer\nbuffer with\nmultiple lines.'
vared -i foo-init foo
2013-04-05 17:23:45 +02:00
Frank Terbeck
6654b87b45
31174: zle: Make sure state changes are refreshed after init hook
...
If `zrefresh' is not called _after_ the zle-line-init hook, any changes
made to the editor's state (be it changes to $CURSOR or $BUFFER or
called widgets like `clear-screen') will only be picked up after the
first character is typed into the editor.
2013-04-05 17:23:45 +02:00
Aaron Schrab
07478c6bc3
Generate patch level using git describe
...
Generate the patch level using `git describe` rather than relying on the
CVS $Revision$. Need to use the `--tags` option, since currently there
are no annotated tags. The `--long` option should be used so that the
output will always be in the 'tag-commits-hash' format rather than just
naming a tag when that would fully describe the current commit.
Since changes to the patchlevel could now be caused by changes to any
file, force the rule to be called every time that `make` is run. Only
update the file when there are actually changes to prevent unnecessary
rebuilding of other build products (currently just `params.o` and
`zsh`).
2013-04-03 22:10:17 +02:00
Peter Stephenson
b6f704a642
Jun. T: typo in vi-goto-mark
2013-04-02 16:20:28 +00:00
Bart Schaefer
0c226a6282
31158: following a wildcard with a repetition produces a bad pattern error
2013-03-19 15:05:35 +00:00
Mikael Magnusson
1d3d92a0c9
31140: avoid crash when hitting recursion limit
2013-03-13 19:54:20 +00:00
Peter Stephenson
fb3ad98f71
31141: Tighten NO_CLOBBER restrictions on {fd} syntax
...
to apply only if $fd is exactly an fd and nothing else.
2013-03-10 21:45:04 +00:00
Mikael Magnusson
8a9b141652
30496: Parse argument to %F and %K as prompt sequences
2013-03-10 12:33:04 +00:00
Peter Stephenson
3def943d04
users/17665: add FORCE_FLOAT option
2013-03-05 20:04:53 +00:00
Peter Stephenson
555b95c5f3
31060:"+" before a flag for "functions" or
...
"autoload" should suppress display of function body.
2013-02-22 20:26:32 +00:00
Oliver Kiddle
d88a46b1a9
31037: return to previous position with vi-goto-mark using `` or ''
2013-02-09 21:27:47 +00:00
Peter Stephenson
44757a653c
30993: fix parameter modifier crash with :wq on empty string
2013-01-22 16:28:58 +00:00
Bart Schaefer
3ed9e4d1b9
unposted: tweak 30949 to fix buffer pointer
2013-01-08 07:18:50 +00:00
Bart Schaefer
dda51b9dbb
30949: restore "read -q" behavior lost by 27188
2013-01-06 18:55:00 +00:00
Peter Stephenson
841e60c340
this prevent process-based features from working in their arguments
2012-12-21 11:28:33 +00:00
Peter Stephenson
f73d92f5dc
add missing mod_export
2012-12-16 18:43:24 +00:00
Peter Stephenson
1869eeb393
30876: fix obscure failures to propagate non-zero status
...
from optimised simple commands within lists
2012-12-13 10:36:59 +00:00
Bart Schaefer
431c22024d
users/17445: fix handling of leading zeroes in floating point
2012-12-08 19:50:20 +00:00