1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00
Commit graph

2579 commits

Author SHA1 Message Date
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