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

2518 commits

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