Barton E. Schaefer
935758ab7f
31637: be more selective about retry of lchdir() in cd_do_chdir()
...
Change of directory should not be retried relative to the current directory
when it has already failed along some path that does not refer to the
current directory.
2013-08-18 20:24:45 -07:00
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
Bart Schaefer
daa9e1fd54
users/17042: don't stomp the environment in "jobs -Z" unless we've first
...
copied it to new memory.
2012-11-18 18:27:18 +00:00
Peter Stephenson
7c56d77184
30789: Add CONTINUE_ON_ERROR for old behaviour.
...
New behaviour is for scripts to exit on error instead of returning
to top level and executing the next command.
2012-11-15 21:08:15 +00:00
Bart Schaefer
cba5449c3d
30786: do not enter interactive history editing or command execution if
...
"fc" is called from a ZLE widget.
2012-11-08 16:50:38 +00:00
Peter Stephenson
64e925bd65
30783: We don't want leading "="s to be active when
...
tokenising strings that aren't going to be treated as command line
arguments
2012-11-08 12:28:11 +00:00
Peter Stephenson
cd0c6153e0
30735: array substitutions aren't simple:
...
prevent crash on process substitution therein
2012-10-25 08:54:31 +00:00
Peter Stephenson
4b86cc48f7
30726: make shell options passed to emulate stick along with the emulation
2012-10-11 20:14:01 +00:00
Peter Stephenson
ad92cb3203
30724: shell code optimisd to use execsimple() doesn't have a valid thisjob
2012-10-11 16:36:14 +00:00
Peter Stephenson
34ed3eaecd
users/17318: only increment the undo variable return value for the
...
first request in a row
2012-10-09 16:27:11 +00:00
Peter Stephenson
0fda80344b
users/17314: ensure an undo change number
...
uniquely specifies a point in editing history by incrementing
the value returned by the variable.
2012-10-09 14:57:13 +00:00
Peter Stephenson
8d9cb7f42e
fix trivial typo with "functions +T"
2012-10-09 09:24:22 +00:00
Peter Stephenson
4e2cdd7956
30722: fix some cases where emulations or options were not propagated properly
...
from the emulate command
2012-10-07 19:46:46 +00:00
Peter Stephenson
321471891e
30718: emulate command evaluations should apply sticky emulation
...
to autoloads, too
2012-10-07 17:50:18 +00:00
Peter Stephenson
76ac7bf742
30716: make IGNORECLOSEBRACES an emulation option
2012-10-05 21:42:59 +00:00
Peter Stephenson
eb562c9f2c
30715: use enum lextok for variables containing lexical tokens
2012-10-05 21:35:05 +00:00
Peter Stephenson
61b9529ff8
users/17310: we can't treat < after [ as a normal character.
...
Document problem and test for case that needs to work.
2012-10-03 18:11:12 +00:00
Peter Stephenson
76590bd93c
users/17304: angle brackets aren't associated with special parsing
...
inside square brackets
2012-10-02 12:46:45 +00:00
Peter Stephenson
dbec4fa6cc
30692: allow autoload +X -m to work
...
change to _path_files to make it load in that fashion
2012-09-21 19:08:35 +00:00
Peter Stephenson
8e43f7f3c8
30687 with typo corrected: don't REPORTTIME if zleactive
2012-09-21 12:45:12 +00:00
Peter Stephenson
e550c98d69
30647, 30649: allow underscores in numeric constants
2012-09-11 16:02:41 +00:00
Peter Stephenson
dd3a8ead16
users/17236: r and other fc output didn't metafy when listing to a file
...
other than stdout
2012-09-08 19:19:06 +00:00
Peter Stephenson
361e171672
30656: prevent SIGFPE in division by -1 by multiplying instead
2012-09-06 18:22:30 +00:00
Peter Stephenson
9c49c8dd27
John Stahara: 30641: bindkey -N error report is misleading
...
when copying keymap.
2012-08-25 18:02:32 +00:00
Peter Stephenson
13b8a25456
Jun T.: 30640: MacOS doesn't define __STDC_ISO_10646__ but we need
...
the replacement wcwidth function anyway
2012-08-23 19:19:26 +00:00
Peter Stephenson
6f3ff6b653
30633: "functions -T" only traces marked function, not called functions
2012-08-21 18:03:01 +00:00
Peter Stephenson
e92a823a4b
30629 plus unposted formatting changes:
...
support socket buffer size limit properly in ulimit;
improve consistency of output and documentation and tweak formatting appropriately
2012-08-17 13:26:22 +00:00
Peter Stephenson
9fdcd824d8
30627: support RLIMIT_NTHR as on NetBSD
2012-08-17 11:12:34 +00:00
Peter Stephenson
97cf64a7ee
Hiramatsu Yoshifumi: 30621 patch-ab (from NetBSD pkgsrc):compilation on
...
__INTERIX
2012-08-16 19:12:26 +00:00
Peter Stephenson
268e56a144
30169: repeat "typeset -T" with same two first arguments is not an error
2012-08-16 14:00:11 +00:00
Peter Stephenson
1849668c81
30617: rationalise replacement tgoto() prototype
2012-08-16 13:42:21 +00:00
Peter Stephenson
1c0ed3b498
Aaron Scrab: 30604: make repeating vi skip character useful by ignoring
...
character just matched
2012-08-13 08:47:13 +00:00
Peter Stephenson
3e39278c24
Aaron Schrab: 30603: repeating vi skip characters command caused bad position
2012-08-13 08:44:05 +00:00
Peter Stephenson
85a698b8ec
YAMAMOTO Takashi: 30599: don't use replacement wcwidth if not ISO-10646
2012-08-07 18:29:02 +00:00
Peter Stephenson
129ebac4b0
Bart: 30560: unset ordinary array element by setting to null
2012-07-15 18:06:40 +00:00
Bart Schaefer
e1491b2542
30540: typeset flag handling with SECONDS
2012-06-30 17:40:18 +00:00
Bart Schaefer
9af1cd4722
30530,30533: fix problems with COLUMNS or LINES < 1, and related issues
2012-06-27 07:10:29 +00:00
Peter Stephenson
cbb8a3c762
30518: attempt to supply tgoto() prototype when missing only.
...
For Solaris 10 and earlier.
2012-06-21 08:45:02 +00:00
Peter Stephenson
c3fb9dbfa3
Dima Kogan: 30515: fix globbing problem with large files:
...
failure owing to bad cast with large integers
2012-06-18 09:05:01 +00:00
Phil Pennock
52ef609f69
30513: zsh/regex metafy fixes for widechar
2012-06-16 01:21:02 +00:00
Peter Stephenson
d64e62ef11
Danek: 30485: trailing garbage after signal number not recognised in kill
2012-05-22 08:57:22 +00:00
Peter Stephenson
d60de3001b
30469: Src/builtin.c: allow reverse listing of history using
...
fc -r, but don't allow reverse execution of commands at all.
2012-05-08 11:29:32 +00:00
Mikael Magnusson
8ac002dab1
unposted: fix trailing spaces from previous commit
2012-05-02 13:59:28 +00:00
Mikael Magnusson
f7ce5878b8
30425 (fixed): Add localhistory/globalhistory to $ZLE_STATE as set by the set-local-history zle widget
2012-05-02 13:30:33 +00:00
Peter Stephenson
cd1b5d86e0
users/17046: don't count too many elements when splitting quoted parameter
...
substitution on null parameter
2012-05-01 19:43:44 +00:00
Peter Stephenson
c335b7f0a1
30455: remove max array length test
2012-04-25 09:31:57 +00:00
Peter Stephenson
e49e41725a
unposted: add test for valid identifier to 30431
2012-04-22 20:49:39 +00:00
Peter Stephenson
cb4ff5e970
30439: ${...:*...} with nonexistent or non-array after *
...
should return no results
2012-04-22 18:39:53 +00:00
Peter Stephenson
5eb53bf88d
30431 with typo in _typeset fix:
...
add ${...:|...} and ${...:*...} operators, as documented
2012-04-22 18:10:42 +00:00
Bart Schaefer
19fe2dcc03
30433: double backslash is not line continuation.
2012-04-21 18:42:56 +00:00
Peter Stephenson
4f142f2794
30413: (q-) parameter flag should quote null string
...
(q-q) etc. should be treated as errors
2012-04-16 11:26:09 +00:00
Peter Stephenson
b8d7e068fc
30410 plus one other case: avoid divide-by-zero errors
...
in TIMEFMT interpretation
2012-04-15 13:46:35 +00:00
Peter Stephenson
653abd34a9
30391: tweak to ignore DISABLED flag in new hash-based arrayuniq()
2012-04-13 16:01:20 +00:00
Bart Schaefer
4a4d9f3cbe
30383, users/16991 (Vaclav), users/17000: Improve speed of arrayuniq() by
...
implementing a hash seive algorithm; add test to exercise it.
2012-04-10 01:17:02 +00:00
Peter Stephenson
791ada572b
add some braces to avoid compiler warnings
2012-03-30 11:01:11 +00:00
Peter Stephenson
13a45d74eb
users/16932: implement $UNDO_CHANGE_NO and argument to undo widget
2012-03-29 20:31:33 +00:00
Peter Stephenson
a76c8de44c
30351 + 30352: metafy strings on import into zsh variables
2012-03-13 09:47:01 +00:00
Bart Schaefer
fa8a0e241c
30320: "emulate" accepts invocation-time flags; other small doc tweaks.
2012-03-07 06:10:42 +00:00
Peter Stephenson
86f8e8de69
30307 plus tweak suggsted by Wayne: use %lld for zlong when long long
2012-03-05 10:06:28 +00:00
Peter Stephenson
7614be7fe1
30303: emulate inside function marked for execution tracing enables xtrace
2012-03-01 13:00:52 +00:00
Bart Schaefer
30361b650c
30184: use a HASH_EXECUTABLES_ONLY test that matches the test used by
...
exec.c:iscom() during path search.
2012-03-01 03:35:04 +00:00
Bart Schaefer
8c37e6f077
30272 (tweaked): most failures of fork() cause non-interactive shells to
...
exit nonzero; bad options to "exec" cause exit under POSIX_BUILTINS.
2012-03-01 03:33:18 +00:00
Mikael Magnusson
47a48ced0e
30276: Src/glob.c: Use zlong rather than int when calculating brace expansions of the form {1..9}.
2012-02-29 17:06:07 +00:00
Peter Stephenson
6f93994a5a
30299: "$*" was split with SHWORDSPLIT if IFS was empty or unset
2012-02-29 09:57:40 +00:00
Bart Schaefer
15138d4fb7
30242: use PREFORK_SINGLE for ${...=...} in POSIX emulation
2012-02-20 17:50:39 +00:00
Peter Stephenson
53f893d062
30181, plus rename of PF_* flags to PREFORK_*:
...
Pass sh-wordsplitting instructions to paramsubst() using flags,
avoiding side effects of explicitly setting and unsetting the
SHWORDSPLIT option.
2012-02-12 20:27:48 +00:00
Bart Schaefer
3489c15799
30193: remnulargs() after poking into string in case length changes
2012-02-09 20:12:33 +00:00
Peter Stephenson
fe7337447c
Timothy Redaelli: file name manipulations
...
in history can return NULL if HAVE_CANONICALIZE_FILE_NAME
2012-02-08 09:35:17 +00:00
Peter Stephenson
a84560cbf2
Holger Macht via Ismail: 30185: openSUSE directory missed from
...
module definition
2012-02-07 15:41:01 +00:00
Peter Stephenson
4735ee67af
30127: forbid fc from executing history lines in reverse
2012-02-05 19:28:16 +00:00
Frank Terbeck
c8381cda78
30111: Src/exec.c: Fix segfaults with exec options.
2012-01-16 22:14:11 +00:00
Peter Stephenson
c214b86e94
30101: add HASH_EXECUTABLES_ONLY option
2012-01-08 16:02:54 +00:00
Peter Stephenson
9934781a97
30098: Jun T.: alternative to 30079: don't setlocale() in setlang() if LC_ALL set
2012-01-07 23:21:00 +00:00
Peter Stephenson
2d47270112
unposted: fix uninitialised variable warning in pcre
2012-01-06 10:08:53 +00:00
Peter Stephenson
9b923cccea
30084: `zle -T tc func' for zle testing of termcap output
2012-01-05 20:01:24 +00:00
Frank Terbeck
1a330ad751
30079: Src/params.c: Restore LC_ALL' when setting
LANG'.
2012-01-04 22:35:55 +00:00
Peter Stephenson
731877dd78
30084: missing zsfree(argzero)
2012-01-04 17:50:11 +00:00
Bart Schaefer
bcd0fd1128
queue_signals() to prevent adjustwinsize() loop on FreeBSD
2012-01-02 19:31:16 +00:00
Peter Stephenson
ae146b0fe2
30041: fix bash-style offsets for positional parameters when scalars
2011-12-21 22:39:28 +00:00
Bart Schaefer
81cb361d73
30033: silence valgrind warnings
2011-12-20 17:15:50 +00:00
Peter Stephenson
93139f39f1
30000 plus some comments: Better POSIXJOBs behaviour.
...
Don't restore default SIGTTOU etc. behaviour if still doing job control.
Only carry on doing job control in subshell if it's a real
(...) subshell
2011-12-12 19:25:02 +00:00
Peter Stephenson
acb97e6115
29991: allow explicit "d" for days in time qualifiers
2011-12-11 17:22:59 +00:00
Peter Stephenson
e3182c18de
29955++: IGNORE_CLOSE_BRACES option
2011-12-08 19:42:07 +00:00
Oliver Kiddle
fe1dc5102a
29952: fix cut'n'paste error in nanosecond timestamp support
2011-12-07 01:31:20 +00:00
Peter Stephenson
74eed99c31
29940: metafy() added null termination even if buffer was not modifiable
2011-12-03 23:15:37 +00:00
Peter Stephenson
724fd07a67
29934: Stef van Vlierberghe: uninitialised memory after lexer realloc
2011-12-03 17:24:45 +00:00
Peter Stephenson
79dd647496
Ismail Dönmez: 29920: NO_EXEC problem with arithmetic substitution
2011-11-28 09:48:22 +00:00
Peter Stephenson
cf4e27a129
29907: Jun T.: remove declaration of unused variable
2011-11-17 12:27:18 +00:00
Bart Schaefer
7c5173ba0f
users/16581: skip correction shortcut based on command table search when
...
the word is not in command position; on rejected command correction,
reset incremental path hashing.
2011-11-15 15:08:56 +00:00
Peter Stephenson
45faf8f5b2
29891: make zle -lL with arguments work
2011-11-04 14:14:26 +00:00
Peter Stephenson
fdb00982f5
Jun T: 29883: cast resource types to types they should be anyway
2011-10-31 09:48:58 +00:00
Peter Stephenson
6cd43e7d70
29879: metafy dlerror message to avoid corruption
2011-10-28 10:46:23 +00:00
Peter Stephenson
faa02346a8
29844, 29845: remove bogus
...
error on closing fd's 0 to 9; update test
2011-10-26 18:48:13 +00:00
Peter Stephenson
68d1c094db
29865: don't compile pcre if no pcre-config
2011-10-26 16:46:09 +00:00
Peter Stephenson
31c422299d
29859: compadd handles its own options
2011-10-26 12:45:10 +00:00
Phil Pennock
2f3c16d40f
29838: metafy/unmetafy strings for PCRE matching (UTF-8 fixes)
2011-10-24 11:31:25 +00:00
Peter Stephenson
8dc39360c9
29820: _pick_variant -b to match builtin
2011-10-14 19:01:41 +00:00
Bart Schaefer
188abdd708
29799: swap order of RESET_PROMPT / REFRESH in adjustwinsize().
2011-10-02 01:10:11 +00:00
Bart Schaefer
748bd73d88
unposted: cross-reference zmodload from the modules intro doc.
...
29769: follow-up 29677 to handle the case where thisjob == -1.
2011-09-25 18:09:13 +00:00
Peter Stephenson
84f8330e0d
users/16375: initialise nrefs on each loop in match tests
2011-09-18 17:44:12 +00:00
Peter Stephenson
3dba9a8614
29776: fix case of double quotes in double-quote-style
...
parsing where end character is something else
2011-09-15 14:04:51 +00:00
Peter Stephenson
a6de37ec2b
29744: don't mess up non '-A' cases in read -E fix
2011-08-29 17:21:39 +00:00
Peter Stephenson
af071465b1
29731: fix read -AE, test that and read -Ae
2011-08-28 17:06:27 +00:00
Peter Stephenson
ca7269e82d
users/16289: don't delete temporary files on disown.
...
Document.
2011-08-28 16:38:28 +00:00
Bart Schaefer
f7111d3358
29694: avoid overwriting current history word when not expanding an alias
...
or history event in-place.
2011-08-18 02:24:10 +00:00
Peter Stephenson
85b00bb0f7
29703: crash when failing to parse process substitutions
2011-08-17 20:26:05 +00:00
Peter Stephenson
815e52cdbf
users/16253, users/16255: a nulstring should be split like an empty string
2011-08-17 19:00:08 +00:00
Mikael Magnusson
cd3acd762d
29681: use [] to dereference region_highlights
2011-08-17 10:15:49 +00:00
Wayne Davison
2c9b4e769f
29650: Don't lose time info after a suspend+restore.
2011-08-16 15:27:05 +00:00
Peter Stephenson
3ba487ca77
unposted: use pm->node.nam to get names for parameters in errors
2011-08-15 19:32:30 +00:00
Bart Schaefer
516ea294b8
29677: Do not allow external processes in a pipeline to become suspended
...
when the end of the pipe is controlled by a builtin in the current shell
which cannot itself become suspended.
2011-08-14 18:34:27 +00:00
Mikael Magnusson
8af2cbd1f2
unposted: fix capitalized word in the middle of a sentence
2011-08-14 14:21:27 +00:00
Mikael Magnusson
d0366e1960
unposted: fix a typo in a comment.
2011-08-14 14:16:45 +00:00
Peter Stephenson
515554acbc
fix datetime autofeatures
2011-08-11 19:43:46 +00:00
Peter Stephenson
548c4562fe
fix tests using zsh/datetime that I broke
2011-08-11 19:32:50 +00:00
Peter Stephenson
8cbd510002
29674: add $epochtime to datetime
2011-08-11 18:45:04 +00:00
Peter Stephenson
bbbaed2b53
29663: add $EPOCHREALTIME to zsh/datetime
2011-08-10 11:31:18 +00:00
Bart Schaefer
92ee9324a9
29654: "wait" should resume stopped jobs identified by process ID as well
...
as by job number; temporary (?) workaround for pipelines getting lost if
TSTP is delivered when a shell builtin is the tail of the pipe.
2011-08-10 03:21:15 +00:00
Peter Stephenson
a3ae9f5d12
29643: set incompfunc to zero when executing hook or trap function
2011-08-04 08:30:50 +00:00
Peter Stephenson
4a3ce8ab89
29644: work around _describe bug, plus cosmetic tweaks
2011-08-03 20:57:32 +00:00
Peter Stephenson
d48faef8cd
29633: more care with anonymous and other functions
2011-08-03 18:45:17 +00:00
Peter Stephenson
7d1480af54
29626: arguments to anonymous functions shouldn't be parsed as command words
2011-07-28 09:20:02 +00:00
Peter Stephenson
45913f43e5
29561: Allow closing of fd's not recorded by the shell
2011-07-25 10:20:09 +00:00
Peter Stephenson
a8657c4b40
29555: fix problem using open fd beyond max_zsh_fd
2011-07-19 09:26:56 +00:00
Peter Stephenson
5c3c825e5f
users/16131: skip reading empty history file
2011-07-18 18:13:03 +00:00
Peter Stephenson
a05a51ce8a
29542: fix crash in hbegin(), remove bad test
...
29543: fix backslash-newline within words with histlexwords
2011-07-12 08:37:11 +00:00
Peter Stephenson
ad29258c8c
29530: ${...?...} shouldn't cause an error with NO_EXEC option
2011-07-01 15:23:01 +00:00
Peter Stephenson
e1680e6840
29503: Missing popheap() on failed autoload
2011-06-23 19:29:24 +00:00
Peter Stephenson
6062529d3f
29492: add argument handling to anonymous functions
2011-06-19 20:12:00 +00:00
Peter Stephenson
437d5d98f6
unposted: Remove additional for loop noticed by Mikael
2011-06-19 19:42:41 +00:00
Peter Stephenson
962624e8c3
29491: remove some variables set but not used
2011-06-19 16:26:10 +00:00
Peter Stephenson
c31caeb086
29490: add RLIMIT_RTTIME
2011-06-19 00:10:34 +00:00
Bart Schaefer
98b29d02ca
29481: always return a matching job in findproc() but scan the whole list
...
to prefer running jobs
2011-06-15 15:38:14 +00:00
Bart Schaefer
21c39600ef
29472: findproc() needs at least to also return stopped jobs.
2011-06-12 15:06:37 +00:00
Peter Stephenson
03b0edaa63
29462: fix warning
2011-06-06 09:08:21 +00:00
Peter Stephenson
d7582f006f
29459: Further fixes for parameter flag completion,
...
plus drive-by fix for double-quoted parameter completion with flags
2011-06-04 21:32:06 +00:00
Peter Stephenson
d292edc4dc
29452: allow completion of parameter flags
2011-06-03 22:06:59 +00:00
Peter Stephenson
22af58bf2b
29451: ${##stuff} removes stuff from the head of $#
2011-06-03 22:03:43 +00:00
Peter Stephenson
12e246495c
29413: "print -S" for saving to history with lexical word split
2011-06-03 19:54:43 +00:00
Peter Stephenson
31456074c8
histlexwords splitting of ";;" in case
2011-05-27 21:56:09 +00:00
Bart Schaefer
8a6222a372
29382: apply 29374 to zccmd_input too.
2011-05-27 13:54:07 +00:00
Mikael Magnusson
bd2d0636d2
29329: fix undefined behaviour in math.c
2011-05-27 01:42:30 +00:00
Peter Stephenson
54acd80359
29374: exit ZLE immediately if exit pending when keypress expected
2011-05-26 09:19:11 +00:00
Bart Schaefer
e39dfaeb95
29367, 29368: avoid redirecting the xtrace of simple commands along with
...
their standard error.
2011-05-24 15:49:03 +00:00
Peter Stephenson
29d0aa8ef8
29351: casts needed to pass integers through stdarg
2011-05-23 16:08:47 +00:00
Mikael Magnusson
0198b8423d
29224: Support negative LEN in ${VAR:OFFSET:LEN} like bash.
2011-05-19 16:24:38 +00:00
Mikael Magnusson
6a29bc80d0
29261: Add g:: flag.
2011-05-19 16:16:28 +00:00
Mikael Magnusson
72cb7cfc6f
29307, 29308 + replies: Fix some doubled words in docs and comments.
2011-05-19 16:10:46 +00:00
Bart Schaefer
6699851bcb
29313: better sh emulation with SHWORDPLIT and empty $IFS
2011-05-18 01:49:15 +00:00
Bart Schaefer
86b900ad97
29312, users/16032: add "zparseopts -M"
2011-05-18 00:23:00 +00:00
Peter Stephenson
ad30100e09
29282: hide prototypes for ZSH_HEAP_DEBUG with #ifdef's
2011-05-14 17:23:23 +00:00
Bart Schaefer
fdb4a83213
29276: always typedef Heapid for use by auto-generated header files.
2011-05-14 04:10:07 +00:00
Peter Stephenson
f61ae85acf
29268: extra dupstring() for value to be used in completion match group
2011-05-14 00:36:06 +00:00
Peter Stephenson
506615ff94
29267: add -enable-zsh-debug and use for debugging completion matcher groups
2011-05-14 00:07:41 +00:00
Peter Stephenson
9c0a19669b
Danek: 29254: fix some compiler warnings
2011-05-13 18:12:05 +00:00
Peter Stephenson
a5ff5b61a4
Jérémie Roquet: 29258: mark a couple more functions for export.
2011-05-13 11:59:05 +00:00
Mikael Magnusson
1ac8412d6f
29208: make vimatchbracket more useful in emacs mode
2011-05-12 15:55:12 +00:00
Peter Stephenson
7fc9a4414d
29217: main shell now depends on zshcurses.h and zshterm.h
2011-05-11 08:59:55 +00:00
Peter Stephenson
d770d2554b
rename system.h to zsh_system.h
2011-05-10 16:44:38 +00:00
Peter Stephenson
de06c83334
29214: use -I rather than explicit path to find headers
2011-05-10 16:40:27 +00:00
Peter Stephenson
c59e19cd77
29191 (Danek) and 29203 (with fixes): make TERMINFO variable special.
2011-05-10 15:40:32 +00:00
Peter Stephenson
bafa15955d
29195: Separate nameddir hash to avoid clash of
...
"bool" type on Solaris
2011-05-09 10:38:02 +00:00
Peter Stephenson
ae4a0ab46c
29193: badly placed variable declaration
2011-05-09 10:27:32 +00:00
Peter Stephenson
d89361739a
29165: use term.h globally if needed at all.
2011-05-09 09:49:08 +00:00
Bart Schaefer
70fd751a82
users/15986: handle EINTR in zccmd_input
2011-05-08 23:19:11 +00:00
Bart Schaefer
6150565494
29175: optimize freeheap
2011-05-07 19:32:57 +00:00
Peter Stephenson
8e0a5b0aa0
29134: change termcap prototypes locally for AIX
2011-05-03 12:03:46 +00:00
Peter Stephenson
17e3f742f1
29129: reading of end of fd array
2011-05-02 12:32:41 +00:00
Bart Schaefer
2938c58c82
29107: replace overlapping strcpy with memmove
2011-04-29 15:23:33 +00:00
Wayne Davison
348d2842f3
Use "const" qualifier in termcap prototypes.
2011-04-26 19:08:26 +00:00
Bart Schaefer
ecb32c6b12
Jun T.: 29031: increment global minfo state when inserting characters
...
on the line during interactive menu selection.
2011-04-24 19:10:20 +00:00
Frank Terbeck
32974286d4
29008, 29012: Add --enable-additional-fpath' option to add arbitrary directories to the default
$fpath'.
2011-04-18 20:36:31 +00:00
Wayne Davison
c06f5b4556
Fix compiler warning due to state.doff duplication.
2011-04-15 14:56:53 +00:00
Peter Stephenson
7657ea65dc
28997: make --enable-libc-musl explicit
2011-04-14 09:11:02 +00:00
Peter Stephenson
d2fd8b86cf
Valentin Ochs: 28990: more changes needed for signals.
2011-04-12 14:51:31 +00:00
Peter Stephenson
35ddd9c4ba
users/15953: handle EINTR when using read -k or -q with -u or -p
2011-04-11 16:34:21 +00:00
Wayne Davison
9e0b7684e5
28977: fix copying of uninitialized memory when trying to
...
spell-correct a really long string.
2011-04-06 00:04:06 +00:00
Peter Stephenson
47d1215cb4
Stef van Vlierberghe: 28965 (as posted in 28967):
...
findproc() should not return processes not marked as SP_RUNNING
2011-04-01 11:02:15 +00:00
Bart Schaefer
67847a96ee
28926: No newline after the last line in listlist() when printing the list
...
in a single column.
2011-03-28 04:50:20 +00:00
Peter Stephenson
e4059eedc7
Mikael: 28941: fix $CURSOR access when metafied
2011-03-27 17:55:41 +00:00
Peter Stephenson
ee52e3c349
28936: ${#$} and ${#?} also didn't work
2011-03-21 11:09:50 +00:00
Peter Stephenson
4263d2b821
28889: ${##} should return the length of $#
2011-03-11 21:05:59 +00:00
Peter Stephenson
f2dca9e155
users/15864: turn zsh_directory_name into a hook
2011-03-11 16:32:07 +00:00
Peter Stephenson
cc69ecfb9e
28886: Fix region_highlight dynamic updates for $PREDISPLAY
2011-03-11 10:33:33 +00:00
Peter Stephenson
7bc97b920b
28866: with POSIX_BUILTINS "command" prefix resets specialness
2011-03-06 21:37:38 +00:00
Frank Terbeck
2eac105770
28853: Fix typo: preceed -> precede
2011-03-04 13:25:25 +00:00
Bart Schaefer
6e50d3d7db
28823: make it an error to tie the same scalar to two different arrays
2011-03-01 05:18:15 +00:00
Peter Stephenson
5035892725
Frank, 28812 as modified in 28813:
...
fix allocation of wide array in wcs_ztrdup()
2011-02-28 12:05:31 +00:00
Peter Stephenson
655370ff3c
28799: lexical analyser didn't stop early enough with completion words
2011-02-24 13:48:47 +00:00
Peter Stephenson
4bfb5daa7e
28795 plus typos noticed by Mikael: careful with forked shells
2011-02-23 09:47:05 +00:00
Peter Stephenson
dbbcbf67cb
28791: exit on errors with special builtins with POSIXBUILTINS
2011-02-22 20:09:20 +00:00
Peter Stephenson
73ebca4fe9
28783: allow parentheses to be special in more places with SH_GLOB
2011-02-21 11:32:47 +00:00
Peter Stephenson
0e792b9447
28784: exit on exec redirection error with POISX_BUILTINS
2011-02-21 11:28:49 +00:00
Peter Stephenson
24e97ba046
28773: add zle-history-line-set widget
2011-02-18 22:34:29 +00:00
Peter Stephenson
212ca9edf9
28772: Update regions in region highlight dynamically
2011-02-18 22:08:45 +00:00
Peter Stephenson
3a23e82941
28762: fix coproc file desriptor closing
2011-02-17 19:52:41 +00:00
Peter Stephenson
459953f029
28671: better cursor positioning after undo
2011-02-11 19:32:21 +00:00
Bart Schaefer
90b83e028a
users/15770 HASH_DIRS tracks INTERACTIVE
2011-02-11 04:04:05 +00:00
Peter Stephenson
94225e07fc
28638: add $usergroups parameter
2011-01-19 12:42:53 +00:00
Peter Stephenson
aa58d139ff
Mikael: 28637: ${foo:0:} caused crash
2011-01-18 10:29:58 +00:00
Peter Stephenson
4f9ee790e0
28630: Ricky Zhou: fix crash with isident()
...
28634: add test
2011-01-16 20:35:29 +00:00
Peter Stephenson
ef4055d97c
unposted: fix return types in 28617
2011-01-11 20:42:40 +00:00
Peter Stephenson
fe59d196a0
28611: remove unused special behaviour for vi mark 26
2011-01-11 20:12:18 +00:00
Peter Stephenson
dfc26195c9
28617: NO_EXEC option was doing too much work in
...
parameter subscripting, parameter assignment, and globbing
2011-01-10 18:24:17 +00:00
Peter Stephenson
e72999c092
gi1242+zsh@gmail.com: 28594:
...
Various new and improved completions
2011-01-09 16:57:01 +00:00
Peter Stephenson
a89f0559c2
28590: make read return status non-zero on error
2011-01-07 10:05:35 +00:00
Peter Stephenson
6318e041d1
unposted: fix argument type for write_loop()
2011-01-06 21:31:06 +00:00
Peter Stephenson
020e116c54
28588: fix textual display after =~ test
2011-01-06 20:28:50 +00:00
Bart Schaefer
87d6527628
28578: fix handling of numeric escapes that expand to "%" in printf
...
format strings, so they are not treated as format introducers.
2011-01-06 16:49:25 +00:00
Peter Stephenson
dd0ad1ac23
28568: buffer overflow examining paths
2011-01-05 18:22:08 +00:00
Bart Schaefer
bc1a12f91e
users/15662: array slice assignment with one index positive and one negative.
2010-12-21 16:54:30 +00:00
Peter Stephenson
904e537204
unposted: restore unintentionally removed .PHONY entries
2010-12-20 16:51:25 +00:00
Peter Stephenson
f6cff33fb7
unposted: release 4.3.11
2010-12-20 16:03:28 +00:00
Peter Stephenson
a7bc22ca00
Paul 28538 / me 28540 / couple of unposted casts:
...
use char * for pointer arithmetic rather than void *
2010-12-20 10:28:43 +00:00
Peter Stephenson
c8d07027c8
28537: fix word splitting on "((" when it was nested subshells rather than
...
arithmetic
2010-12-19 17:42:09 +00:00
Bart Schaefer
70acf8ed59
"prep" target depends on Makemod
2010-12-18 23:03:20 +00:00
Peter Stephenson
655174ca42
uncommitted: fix properly
2010-12-17 23:05:31 +00:00
Peter Stephenson
a9421446d2
Mikael: users/15653: zle_highlight=(none) turns off suffix highlighting
...
unposted: note suffix highlighting in NEWS
2010-12-17 14:01:23 +00:00
Peter Stephenson
246bcd10a7
Mikael: 28531: typos
2010-12-16 13:55:35 +00:00
Bart Schaefer
66152e8ada
28530: replace (z+opts+) flag with (Z:opts:), add reserved (_ 🎏 ).
2010-12-15 04:05:50 +00:00
Peter Stephenson
ef5cf45780
unposted: another neatening of lexflags use in ZLE
2010-12-14 10:40:42 +00:00
Peter Stephenson
ebcead7543
lexsave/lexrestore lexflags
...
add new LEXFLAGS_ZLE
2010-12-14 10:35:38 +00:00
Peter Stephenson
eab4f9a83c
28528: Rearrange zleparse to lexflags
...
Add (z+n+)
2010-12-14 09:59:04 +00:00
Peter Stephenson
5858e79f4d
28526: remove bogus newline with stripped comment zplitting
2010-12-13 11:20:46 +00:00
Peter Stephenson
0a5702457b
28510: add (z+c+) and (z+C+) parameter flags
2010-12-12 22:44:50 +00:00
Peter Stephenson
c66f52bad9
Mikael: 28480: allow PROMPT_EOL_MARK to be an empty string
2010-12-06 19:34:32 +00:00
Peter Stephenson
3e97b749f4
28486: $compstate[parameter] needs untokenizing
2010-12-06 10:49:51 +00:00
Peter Stephenson
25b12c5d11
28474, 28478: extended {START..END..STEP} syntax
2010-12-05 21:07:48 +00:00
Peter Stephenson
9371146ad7
28469: fix memory leak in anonymous function
2010-12-05 16:59:41 +00:00
Bart Schaefer
cf17c39832
28461: flush stderr in PRINT_EXIT_VALUE handling.
2010-11-27 19:46:32 +00:00
Peter Stephenson
2e37fda925
28559: flush shell output in PROMPT_SP handling
2010-11-27 17:13:29 +00:00
Wayne Davison
3f42b0a617
Use newer PROMPT_SP behavior for hasxn terms too.
2010-11-26 18:50:22 +00:00
Wayne Davison
d89e55fe0e
Overwrite PROMPT_SP string if it should remain invisible,
...
even with an upcoming newline.
2010-11-25 17:16:27 +00:00
Peter Stephenson
fc6c76519b
28434: make ${NAME:OFFSET} always use zero-offset
2010-11-25 10:34:32 +00:00
Peter Stephenson
cc9bc2dd0b
28424: new POSIX_STRINGS option
2010-11-22 11:42:47 +00:00
Peter Stephenson
e6946adf57
28425: remove null arguments and untokenize
2010-11-20 23:46:26 +00:00
Peter Stephenson
8f20b2361c
28419: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst:
...
KSH_ARRAY ${*:0:1} gives $0, etc.
2010-11-18 13:57:18 +00:00
Peter Stephenson
23bdfc7fd2
28418: add ${NAME:OFFSET:LENGTH} substitution
2010-11-18 10:07:55 +00:00
Bart Schaefer
ad56692b16
28384: improve error message on assignment to a field of a read-only hash.
...
CVS ----------------------------------------------------------------------
2010-11-03 22:40:33 +00:00
Peter Stephenson
73d622e9c4
28363: fix insert bug refreshing zle with wide characteter
2010-10-25 14:59:18 +00:00
Peter Stephenson
3f3d80c394
28360: NO_UNSET option should check parameters with trailing options
2010-10-22 16:32:36 +00:00
Peter Stephenson
467cd12e13
Mikael: 28356: don't increment old display line too far when refreshing
2010-10-17 17:59:27 +00:00
Peter Stephenson
bdb38058e4
28345: make ${(D)...} return a fully usable command line argument
2010-10-15 18:56:16 +00:00
Peter Stephenson
af5a85f363
28339: backslash-newline history without HIST_LEX_WORDS
...
28340: assignment to range of scalar variable with multibyte characters
2010-10-10 17:51:29 +00:00
Peter Stephenson
6fea7f0d3c
28332: backslash-newline with HIST_LEX_WORDS
2010-10-10 17:26:38 +00:00
pdpennock
d234059b1c
28338: keep =~ from inverting sense of subsequent tests (after &&/||)
2010-10-10 00:05:24 +00:00
Peter Stephenson
1cdaf8c459
28327: fix pseudolexical word splitting with RC_QUOTES
2010-10-07 16:49:50 +00:00
Peter Stephenson
92c826555d
not yet posted: fix some more HIST_LEX_WORDS anomalies
2010-10-06 13:07:43 +00:00
Peter Stephenson
8aac69241f
28319: (z) splitting oddities
2010-10-06 08:27:09 +00:00
Peter Stephenson
22899d3788
28285: zle-isearch-update and zle-isearch-exit
2010-10-06 08:25:28 +00:00
Peter Stephenson
66f32a80dc
28308/28310: HIST_LEX_WORDS, check for quick history read
2010-10-02 21:03:03 +00:00
Peter Stephenson
377f2bb812
28309: fix infinite loop padding with extra wide characters
2010-10-02 19:55:30 +00:00
Peter Stephenson
5ca08eccd0
28295 plus tweak: use lexer to split words from history file
2010-09-25 18:49:36 +00:00
Peter Stephenson
8856dc878e
28282: new function zlecallhook()
...
fix arguments to zle-keymap-select
2010-09-20 09:27:46 +00:00
Bart Schaefer
9530331b4f
28268: I/O to a terminated (or never created) coprocess emits a
...
"no coprocess" diagnostic, instead of either nothing or "bad file number".
2010-09-19 19:20:33 +00:00
Peter Stephenson
f1495f5099
28259: Finally fix some ancient problems with here-documents
2010-09-14 14:46:26 +00:00
Peter Stephenson
3b6b4982b9
28258: fix undefined variable in traps
2010-09-14 12:52:31 +00:00
Peter Stephenson
ade705cf5b
28253: document -h argument to atribute commands
2010-09-12 18:56:40 +00:00
Peter Stephenson
7e5a7a9135
28237: new parameter ZLE_LINE_ABORTED
...
28241: don't list .safe with bindkey -lL
2010-09-08 12:32:32 +00:00
Peter Stephenson
ff955f61b4
28229: can list individual keymaps
2010-09-05 20:39:08 +00:00
Peter Stephenson
17dee17e4e
28227: improved documentation on keymaps
...
28226: improve bindkey -lL for aliased keymaps
2010-09-05 19:24:44 +00:00
Peter Stephenson
8bc64084a4
28220 plus some comments: fix "HELLO=$HELLO shellfunc"
2010-08-31 19:32:56 +00:00
Peter Stephenson
afc3a7c412
28202: unmetafy line for reversemenucomplete
2010-08-31 18:09:15 +00:00
Peter Stephenson
c7ff1b79dd
28179, users/15314, users/15310, users/15200:
...
various job and process control fixes
2010-08-22 20:08:57 +00:00
Peter Stephenson
ef9b4ad79e
28172: mark processes as not stopped if sent SIGCONT
2010-08-18 21:21:17 +00:00
Peter Stephenson
a15007fe64
28167: reset more variables on invalidating completion list
2010-08-15 18:40:04 +00:00
Peter Stephenson
8e5061d0c6
28160, 28164: fix redisplay problem after display reset
2010-08-13 08:52:06 +00:00
Peter Stephenson
80eee3a4a3
28122 (Frank) / 28139: add ZLE_STATE
2010-08-11 12:48:19 +00:00
Peter Stephenson
edcd71603d
Daiki Ueno: 28112: fix character width assignment
2010-08-02 09:02:30 +00:00
Peter Stephenson
fc7ad5cc1c
users/15219: PRINTEXITVALUE if terminated by signal
2010-07-31 22:03:41 +00:00
Peter Stephenson
5659426c2a
always print job status if non-zero status and PRINTEXITSVALUE
2010-07-31 21:06:10 +00:00
Peter Stephenson
9a17762b0c
users/15217: use top-level status when redrawing prompt
2010-07-31 19:36:53 +00:00
Peter Stephenson
a5a27ad5ec
<hamer@hamer.org.ua>: 28104: fix completion crash due to NULL pointer.
...
Actually commit the code.
2010-07-29 11:08:28 +00:00
Peter Stephenson
278a892888
28102: use lstat() when checking ignore-parents
2010-07-26 14:00:46 +00:00
Peter Stephenson
76aef28b31
28073: allow #! scripts to search path if interpreter not found
2010-07-15 18:44:12 +00:00
Peter Stephenson
5da6530d83
28065 plus unposted zsh.mdd:
...
add cdr and related functions and docs
2010-07-09 14:47:48 +00:00
Peter Stephenson
e3f764d1ef
28047: attempt to make locking with fc command more useful
2010-06-22 11:00:31 +00:00
Peter Stephenson
e6f14352d6
28037: improved error messages for module autoloads
...
of math functions and builtins
2010-06-14 11:57:08 +00:00
Peter Stephenson
825c1a1141
28010: use getcwd() as fallback
2010-06-14 11:48:06 +00:00
Peter Stephenson
64d431d98b
28025: (D) parameter flag
2010-06-11 20:08:01 +00:00
Peter Stephenson
7850fc5a2c
28006: make zgetcwd() fall back to pwd,
...
only use "." if setting pwd
2010-06-08 08:51:03 +00:00
Peter Stephenson
4ad0a25af1
27983: colours could be output twice
2010-06-03 19:36:16 +00:00
Peter Stephenson
099dc207fa
27994: better error for failed parameter autoload
2010-06-03 13:38:17 +00:00
Peter Stephenson
fdebbca754
27990: don't use return value from setupterm()
...
to decide if module booted OK
2010-06-02 13:13:43 +00:00
Peter Stephenson
147cedfb6f
27965, 27966: Improve ${(q)...}: newline appears as $'\n;,
2010-05-27 18:57:34 +00:00
Peter Stephenson
9ecfa0842b
unposted: fix typo in previous commit
2010-05-12 10:17:58 +00:00
Peter Stephenson
09960dc5b9
27951: Add $ZSH_EVAL_CONTEXT and $zsh_eval_contxt
2010-05-12 10:06:59 +00:00
Peter Stephenson
a6ea7ab36d
27947: some cases where we should execute EXIT traps
2010-05-05 09:49:39 +00:00
Peter Stephenson
edc01c0455
Mikael: 27929 + doc: global aliases shouldn't trigger HIST_IGNORE_SPACE
2010-04-28 08:55:35 +00:00
Peter Stephenson
443d873258
27926: fix completion suffix when inserting last word
2010-04-27 08:58:34 +00:00
Peter Stephenson
11440d17d1
27889: Force more use of GLOB_SUBST in parameters if ~ is used
2010-04-20 21:16:21 +00:00
Peter Stephenson
e2d855f364
27865: fix problem with glob_subst in parameter subsitution
2010-04-09 15:40:13 +00:00
Peter Stephenson
815cc9fc0d
rationalise widths of non-printing characters to zero.
2010-03-27 19:04:35 +00:00
Peter Stephenson
e71df91bd2
27827: fix infinite loop in recursive alias at end of parsed string
2010-03-25 14:03:40 +00:00
Peter Stephenson
c2fdffa316
27823: fix memory access in 27822
2010-03-22 23:20:11 +00:00
Peter Stephenson
b16923b096
27812: display invalid bytes in multibyte characters specially
2010-03-22 19:46:53 +00:00
Peter Stephenson
08dec290d4
Fix ZLE access to pushed history line
2010-03-22 16:22:13 +00:00
Peter Stephenson
be2381eb52
27804: don't hang in isearch if invalid character found
2010-03-18 16:03:09 +00:00
Peter Stephenson
53745d8df0
27793 and follow ups: add PATH_SCRIPT option to find script using $PATH
2010-03-16 09:43:51 +00:00
Peter Stephenson
43df0a21c0
27785: IFS doesn't have a null in it in POSIX
...
unposted: note & needs quoting in :s in glob qualifier
2010-03-11 22:38:58 +00:00
Peter Stephenson
e050b88b97
Michael Hwang: 27773: document how linked lists are joined together
2010-03-07 21:48:26 +00:00
Peter Stephenson
21193d7f01
users/14905 + 14906: problems with :s in parameter expansion
2010-02-27 00:18:13 +00:00
Peter Stephenson
31123a1184
users/14902: another go at strftime
2010-02-26 17:07:18 +00:00
Peter Stephenson
d5a0f7623c
users/14900: ULONG_MAX is a valid return value from strotoul()
2010-02-26 15:30:37 +00:00
Peter Stephenson
e8c1e2ff4c
users/14897: extra test in strftime builtin for time conversion
2010-02-26 14:24:57 +00:00
Peter Stephenson
07b6256d8e
27756: add OS file locking to calendar
...
add errflag test to loop over fcntl()
2010-02-26 12:09:20 +00:00
Peter Stephenson
a3b971a27e
27755: add "zsystem supports" to zsh/system
2010-02-25 11:15:26 +00:00
Peter Stephenson
bec3de98df
27754 plus NEWS change: add "zsystem flock"
2010-02-24 21:37:24 +00:00
Peter Stephenson
48315b019b
unposted: add debug code to zclose()
2010-02-22 11:35:13 +00:00
Peter Stephenson
7977ce0747
27721: rationalise initialisation of file descriptors
2010-02-22 10:12:22 +00:00
Peter Stephenson
ed5d053514
27722: bad error reporting and checking in conditions
2010-02-19 12:45:35 +00:00
Peter Stephenson
bbc88550db
27723: eval shouldn't modify non-zero return statuses
2010-02-19 12:26:08 +00:00
Peter Stephenson
dbf51cf3f0
27708: remove distracting initial semicolons in job outpt
2010-02-13 20:28:36 +00:00
Peter Stephenson
a589007d59
unposted: initially clear list for P glob qualifier
2010-02-13 20:25:49 +00:00
Peter Stephenson
f4f0becb63
27694: add P glob qualifier for prepending
2010-02-09 17:47:02 +00:00
Peter Stephenson
192c4f6ac1
27693: Missed this.
2010-02-09 14:24:01 +00:00
Peter Stephenson
9fe0077305
Geoff: 27693: rename underscore to avoid name clash
2010-02-09 13:58:11 +00:00
Peter Stephenson
4a0ddedf0a
unposted: a couple of typeset -g's and a comment
2010-02-08 11:49:28 +00:00
Peter Stephenson
7da34421c1
27675: Michael Hwang: fix crash in hash builtin
2010-02-07 18:49:28 +00:00
Peter Stephenson
8ac97f3308
27648, 267650/1, unposted README change:
...
Turn off repeat and turn on ulimit in emulation modes
2010-02-03 18:34:32 +00:00
Peter Stephenson
0d8a580951
users/14752: add #! line to zed
...
allow script run with -i to exit on return
2010-01-29 21:44:54 +00:00
Peter Stephenson
06b7029aa8
27638, based on Frank Terbeck, 27633: SOURCETRACE option
2010-01-27 19:24:22 +00:00
Peter Stephenson
ec46ff026e
users/14732: Test X:/ rather than X: in Cygwin
2010-01-22 20:42:09 +00:00
Peter Stephenson
f0287c6e17
users/14723: invalid converted characters should never match valid ones
2010-01-21 11:11:05 +00:00
Peter Stephenson
f02778f83c
27611: cache parameter values in math eval so subscripts are eval'd once
2010-01-20 17:17:45 +00:00
Peter Stephenson
af68ff74cd
27608: fix memory for mbegin, mend & regexp test
2010-01-20 11:16:22 +00:00
Peter Stephenson
8890e6e19f
27600: extend =~ syntax to set positional variables for matches
2010-01-17 21:48:25 +00:00
Peter Stephenson
036cb0ce95
Joakim Rosqvist: 27591 as modified in 27594:
...
KEYBOARD_HACK variable
2010-01-13 12:05:22 +00:00
Peter Stephenson
f80bc2b5f6
27566: add ulimit -c hard and immediate return on argument error
2010-01-05 16:29:35 +00:00
Peter Stephenson
de4dac8874
27565: sanity check numeric arguments to ulimit
2010-01-05 15:58:15 +00:00
Peter Stephenson
b397fbbe7a
27556: sanitize more variables in lexsave()
...
avoiding crashes in inner loops
2010-01-04 12:21:06 +00:00
Wayne Davison
6e317e4b96
Add symlink-based hist-file locking.
2009-12-18 19:50:45 +00:00
Wayne Davison
693fd5b56e
Check the return value of all pipe(), read(), and write() calls.
...
Gets rid of all the remaining "ignoring return value" compiler
warnings, and makes some read/write operations safer by ensuring
that an EINTR is handled.
2009-12-16 18:39:06 +00:00
Wayne Davison
74d17bc282
Get rid of some "ignoring return value" compiler warnings
...
and provide read_loop() and write_loop() functions.
2009-12-16 18:38:44 +00:00
Peter Stephenson
512c62fc03
27503: fix crash with hook functions
2009-12-11 22:21:26 +00:00
Peter Stephenson
7293565963
27479: prevent completions split across backslash-newline
...
from causing too much mayhem
2009-12-07 21:40:04 +00:00
Peter Stephenson
7bc089c6be
Mikael: 27453: highlighting for removable completion suffixes
...
27466: document it
2009-12-05 19:38:07 +00:00
Peter Stephenson
3206b8a2ea
27442 plus tweak: wait returns status for $! even if exited
2009-12-02 09:46:12 +00:00
Peter Stephenson
c969dea22f
27441: add "sa" for suffix alias completion highlighting
2009-11-30 17:26:47 +00:00
Peter Stephenson
1d5a54270b
Richard Hartmann: 27440: typos in module warnings
2009-11-30 09:59:40 +00:00
Bart Schaefer
6c48ef6b45
27415: Src/Zle/computil.c: comparguments "*::..." descriptions could step
...
on sequentially earlier descriptions when completing for a word other than
the last word on the command line.
2009-11-21 06:51:14 +00:00
Bart Schaefer
96feec40a5
users/14548: Src/Modules/termcap.c: prevent libtermcap from exiting on an
...
unknown terminal type
2009-11-11 16:26:19 +00:00
Peter Stephenson
a3055b2363
Mikael: 27362: some more attr fixes
2009-11-07 23:57:27 +00:00
Peter Stephenson
f30af94885
27357: fix compiler warnings in attr module
...
27358: fix error if $0 altered in sourced file
2009-11-06 22:38:47 +00:00
Peter Stephenson
39e4cfd4db
Jun T.: 27351: zdelattr missed first argument
2009-11-05 09:44:32 +00:00
Peter Stephenson
eeb5b6c941
Mikael: 27347: enhance extended attribute support
2009-11-04 11:33:59 +00:00
Peter Stephenson
a92507d2b8
Mikael: 27337: fix bug searching for / when
...
scanning symlinks in cd
2009-11-03 10:00:34 +00:00
Peter Stephenson
500431077b
Apple opensource patches suggested by Jun T. in 27300
2009-09-30 20:32:18 +00:00
Peter Stephenson
68fabbda6a
Jun T.: 27292: fix length in socket call
2009-09-29 14:25:34 +00:00
Wayne Davison
2f8aaaf5e4
27286: Made movefd() return the targetfd on success. Added
...
a little more error checking in the callers of movefd().
2009-09-22 16:04:13 +00:00
Peter Stephenson
51409732d0
27284: better use of movefd()
2009-09-22 09:17:05 +00:00
Peter Stephenson
997eafdcad
27283: failure to dup fd caused mayhem
2009-09-21 20:49:21 +00:00
Peter Stephenson
e85349fbf7
users/14411: Src/hashtable.c: only hash stat-able executable regular
...
files as commands
2009-09-21 09:22:20 +00:00
Peter Stephenson
c88fd11377
Holger Weiss: 57248: fix anchoring for vi searches
2009-09-06 21:37:14 +00:00
Peter Stephenson
1acf23db3e
27243: reverse indexing of arrays with beginning index out of range returned
...
wrong value
2009-09-05 19:49:19 +00:00
Peter Stephenson
6d4d1261a5
27240: fix fix for lexing in test builtin
2009-09-02 15:26:44 +00:00
Peter Stephenson
c81ba09d8f
27218: don't unquote $line generated in comparguments for _arguments
2009-08-17 21:06:03 +00:00
Peter Stephenson
fff4f63b97
27216: set chwords to NULL when freed
2009-08-16 20:37:44 +00:00
Peter Stephenson
2237f7376e
users/14307: end of command line in completion with variant zsh syntax
2009-08-15 16:59:21 +00:00
Peter Stephenson
207acdfe89
27211: handle Cygwin device files & drives specially in compfiles
2009-08-05 10:14:53 +00:00
Clint Adams
5bf950d685
27202: unbreak _GNU_SOURCE on Debian GNU/kFreeBSD.
2009-08-01 04:20:35 +00:00
Peter Stephenson
72f0b14a04
27188: improve read -q by using read -k code
2009-07-24 18:35:49 +00:00
Peter Stephenson
2c81423516
27181: extend POSIX_CD to handle target directory printing behaviour
2009-07-21 09:34:08 +00:00
Bart Schaefer
bda90c969f
27159: restore pre-23067 behavior of SIGINT outside a "wait", so that
...
foreground jobs that handle or ignore interrupts are not orphaned.
2009-07-20 04:38:56 +00:00
Peter Stephenson
606cfb5a5e
27167: add POSIX_CD option to test "." after CDPATH
2009-07-19 19:07:14 +00:00
Peter Stephenson
f43022eec0
users/14240: assignment before a function definition is an error
2009-07-17 20:32:33 +00:00
Peter Stephenson
351f6541e9
Eric Blake: 27151: cd handling with initial // for Cygwin
2009-07-15 08:43:25 +00:00
Peter Stephenson
3257f6b8d5
27134: Close SHTTY on exec.
...
27135: POSIX_JOBS leaves MONITOR on in subshell and doesn't save
parent job table.
2009-07-12 15:09:56 +00:00
Peter Stephenson
653d6a0dd9
27131: allow MONITOR in subshell by not closing SHTTY
2009-07-11 19:06:51 +00:00
Peter Stephenson
bdfebe3e32
27129: fix status at start of function, command subst, etc.
2009-07-11 16:42:53 +00:00
Peter Stephenson
4db28c55b6
27126: a few more contexts where executing empty lists gives status zero
2009-07-10 22:10:25 +00:00
Peter Stephenson
b4c2ea2cec
27125: handle nested use of colour code buffer allocation
2009-07-10 21:32:44 +00:00
Peter Stephenson
73be7ee553
27106: reset status on command that expands to empty
...
27122: add POSIX_JOBS option
2009-07-10 11:08:39 +00:00
Peter Stephenson
bd2ee44b78
27119: job output to stdout if non-interactive
...
no automated jobs notifications
2009-07-10 09:10:59 +00:00
Peter Stephenson
5df700fb5b
27112: allow jobbing output if not interactive
2009-07-09 20:33:56 +00:00
Peter Stephenson
ce4137c858
Eric Blake: 27109: don't attachtty() if not interactive
2009-07-09 20:20:53 +00:00
Peter Stephenson
2d628b0bce
Eric Blake: 27109: don't attachtty() if not interactive
2009-07-09 20:20:30 +00:00
Peter Stephenson
aabd747d4f
Eric Blake: 27109: don't attachtty() if not interactive
2009-07-09 19:50:58 +00:00
Peter Stephenson
aa563b1a3f
27110: Only turn on MONITOR if set explicitly or INTERACTIVE
2009-07-09 19:42:20 +00:00
Peter Stephenson
b31ca21b46
27100: Allow MONITOR option in non-interactive shells for testing.
2009-07-08 17:06:02 +00:00
Peter Stephenson
c6a3ccc8d7
27092: missing then-clause for if wasn't an error
2009-07-06 20:44:28 +00:00
Peter Stephenson
5c5a388ed7
27087: change return codes from failed "."
2009-07-02 13:46:36 +00:00
Peter Stephenson
55e4beb8d8
27085: add accept-search handling to scrollist keymap
2009-07-01 17:09:37 +00:00
Peter Stephenson
041057687f
27083: non-zero status on failures to find or execute file in "."
2009-07-01 15:07:25 +00:00
Peter Stephenson
88d07936a2
27080: it wasnt possible to exit menu selection cleanly
2009-07-01 13:41:18 +00:00
Peter Stephenson
10787467bc
27079: save lexical context in test builtin
2009-07-01 09:07:07 +00:00
Peter Stephenson
506c845b25
Greg Klanderman: 27057: %e and %f time formats were swapped
2009-06-26 21:10:04 +00:00
Peter Stephenson
72529e4fa6
27304: add ${(q-)..} flag
2009-06-05 11:15:48 +00:00
Clint Adams
bd35231e70
27025: define _GNU_SOURCE on the Hurd.
2009-05-30 17:55:50 +00:00
Peter Stephenson
71865fd36d
27021: fix length of saved glob flags in pattern matching
2009-05-29 21:06:40 +00:00
Peter Stephenson
0f4c321380
26975: compilation issues in bin_print()
2009-05-20 09:53:13 +00:00
Peter Stephenson
feb29659f1
users/14143 plus tweak in padding code:
...
use default IFS if IFS is unset
2009-05-20 09:04:39 +00:00
Peter Stephenson
1134e72a7a
Greg Klanderman: 26972: fix problem ni 26964.
2009-05-19 08:41:16 +00:00
Peter Stephenson
a4106e0523
Greg Klanderman: 26964 (modified): PROMPT_EOL_MARK
2009-05-17 18:23:09 +00:00
Peter Stephenson
9169cd747f
Paul Ackersviller: 26962: updated HP-UX dynamic linking
2009-05-16 12:13:00 +00:00
Peter Stephenson
feb2df4b63
26958: Fix reallocation problem in prompts
2009-05-12 19:58:04 +00:00
Peter Stephenson
d1abd3e7cf
26957: Fix some memory problems with read builtin
...
unposted: fix a WARN_CREATE_GLOBAL warning
2009-05-12 11:11:14 +00:00
Peter Stephenson
c18b6c2c99
26956: tidy up some zle variables for module unloading
...
note issue found on HP-UX
2009-05-11 09:03:25 +00:00
Peter Stephenson
ff0b4ebdd5
26950: warn on failed attempt to change user or group ID
...
26593: print warning but dont fail test if simple Unicode conversion fails
2009-05-08 14:30:31 +00:00
Peter Stephenson
6195160598
26984: ensure zle window sizes are reset with video data
2009-05-08 08:37:31 +00:00
Peter Stephenson
a6ff95d0c1
26954: read should pass through invalid multibyte characters
2009-05-07 16:04:21 +00:00