1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-06 06:51:33 +01:00
Commit graph

8114 commits

Author SHA1 Message Date
Oliver Kiddle
13fc579343 33467: correct return status on functions and numerous other minor fixes 2014-10-14 23:04:45 +02:00
Peter Stephenson
66320ca93a 33459: test for variable substitution in variable splitting 2014-10-13 11:38:48 +01:00
Oliver Kiddle
03241e50b0 33438: use the new way of splitting strings with a dynamic separator
from 33423 and quote separators where needed
2014-10-13 11:13:55 +02:00
Barton E. Schaefer
2d14c085b7 33445: fix handling of -s when combined with -i at shell invocation
Fixes a long-standing (25+ years) bug where using -i -s together did have
the documented effect of disabling command line script files but also had
the side-effect of invoking ZLE, thereby ignoring the redirected input.
2014-10-12 11:18:30 -07:00
Peter Stephenson
3b5d77d819 33423: expand ${(p)...} to allow ${(ps.$param.)...} 2014-10-12 17:52:11 +01:00
Barton E. Schaefer
521313b4b9 Tests for workers/33429 2014-10-11 11:18:34 -07:00
Barton E. Schaefer
9fce88f3b8 Merge branch 'master' of git://git.code.sf.net/p/zsh/code
Conflicts:
	ChangeLog
2014-10-10 23:14:20 -07:00
Barton E. Schaefer
605a73e415 33429: disallow non-integer values for HISTSIZE and SAVEHIST of "fc -p", and fix crash on zero values for same 2014-10-10 23:12:57 -07:00
Oliver Kiddle
98ce8a658e 33424: use common function for completing Debian architectures 2014-10-11 01:28:10 +02:00
Oliver Kiddle
19f038b5fa 33420: complete -R/-m options and fix feature completion 2014-10-10 17:03:59 +02:00
fREW Schmidt
de56e09fcb 33375: new sv completion 2014-10-10 15:50:57 +02:00
Daniel Shahaf
0cb4c23b39 33396: new xxd completion 2014-10-10 15:37:50 +02:00
Yuri D'Elia
df5d69f50f 33397: new xautolock completion 2014-10-10 15:29:06 +02:00
Barton E. Schaefer
22c4ea424c 33403: be conservative about redirecting _call_program stderr, the caller may have already done so 2014-10-09 17:54:47 -07:00
Frank Terbeck
a03227de23 33405: vcs_info: Make sure maxexports is set when VCS_INFO_set is called
Reported-by: From: Marco Hinz <mh.codebro@gmail.com>
2014-10-09 18:36:13 +02:00
Marc Finet
0f73b35f4e 33391: vcs_info git: fix applied patch detection on git am
git-am also uses .git/rebase-apply for patch list but
the file original-commit does not exist (as no commit exist).
This patch handles both git rebase and git am. Also:
 - get the first line (rather than the first char) when the message
   contains only one line;
 - remove unused function (ironically that should have been used here).
2014-10-09 18:11:08 +02:00
Peter Stephenson
185476e70e Update version number to 5.0.7-dev-0 to avoid installation clashes with 5.0.7 2014-10-08 19:55:33 +01:00
Mikael Magnusson
9982ab6fb5 unposted: ChangeLog entry for 33365 2014-10-07 20:55:21 +02:00
Peter Stephenson
208bdede3e unposted: 5.0.7 2014-10-07 19:11:30 +01:00
Mikael Magnusson
49a3086bb6 33365: avoid buffer overflow for very long fds in >& fd syntax 2014-10-06 20:34:28 +02:00
Peter Stephenson
43c8bc81cf unposted (discussed offline): update README for integer import vulnerability 2014-10-06 17:16:12 +01:00
Barton E. Schaefer
a65fb0677c 33354: when backgrounding a pipeline, close all pipe descriptors in the parent
Add test for both this and 33345+33346
2014-10-04 21:08:56 -07:00
Bart Schaefer
74e26bf126 33346: another bit of the 33345 repair 2014-10-03 08:50:25 -07:00
Peter Stephenson
31750795fe 33345: fix anonymous function complex command handling.
Longstanding problem caused simple anonymous function incorrectly to
reset the overall "complext" state, causing wordcode to be diverted
into execsimple(), which caused a crash 'cos ist wasn't simple.
2014-10-03 16:29:56 +01:00
Peter Stephenson
a778215b7c unposted: comments in previous commit were reversed 2014-10-03 14:20:24 +01:00
Peter Stephenson
7666ceb2bc 33343: Variant anonymous function synax with arguments.
Don't expand arguments as if in command position. Test.
2014-10-03 14:17:33 +01:00
Mikael Magnusson
7eb949a6bb Fix some typos in the documentation 2014-10-03 04:54:48 +02:00
Peter Stephenson
859cccba7a Make 5.0.6-dev-1 2014-10-02 20:31:01 +01:00
Oliver Kiddle
00a654af5c 33323: fix bug in removing math functions and complete -M option to functions 2014-10-02 19:29:32 +02:00
Peter Stephenson
8cbff0b82e remove "major" from README 2014-10-02 18:14:13 +01:00
Peter Stephenson
64d32d840d Update source distribution information for 5.0.7. 2014-10-02 17:19:51 +01:00
Peter Stephenson
fb707c0acb 33332: test safer numeric import from environment 2014-10-02 17:17:47 +01:00
Barton E. Schaefer
57252dc1e0 33320 (cf. PWS 33311): revert 33069, fix lexing of bangchar during completion
add typtab_flags bits (replaces specialcomma boolean) to record any unusual handling of typtab entries; signal safety; make bangchar non-special during completion lexing of the command line.
2014-10-02 08:39:43 -07:00
Peter Stephenson
7adc786b05 tiny typo 2014-10-02 16:21:24 +01:00
Peter Stephenson
f16813792e 33325: fix ksh autoloads with redirections on function definitions 2014-10-02 16:15:10 +01:00
Oliver Kiddle
dad5063a7c 33315: fix pattern to match freebsd10 and later 2014-10-02 15:02:33 +02:00
Barton E. Schaefer
c080bd52bc 33319: fix parens in example from 33312 2014-10-01 21:31:20 -07:00
Axel Beckert
3aa5544638 33284: Completion/Unix/Command/_*magick: Add JPEG 2000 file extensions 2014-10-02 02:51:34 +02:00
Peter Stephenson
5e516898d7 33312: document redirections applied to function definitions 2014-10-01 20:36:55 +01:00
Barton E. Schaefer
8727049674 33298: make lexrestore() more signal-safe 2014-09-30 20:34:58 -07:00
Peter Stephenson
0557c226fc 33294: $functions[func_with_redir] plus extra tests 2014-09-30 12:58:52 +01:00
Peter Stephenson
15222bcdcb Fix some compiler warnings in Zle 2014-09-30 09:58:19 +01:00
Barton E. Schaefer
32473f59a3 Merge branch 'master' of git://git.code.sf.net/p/zsh/code
Conflicts:
	ChangeLog
2014-09-29 17:52:33 -07:00
Peter Stephenson
8cb67e721b 33286: handle redirections for multiply named functions 2014-09-29 21:31:37 +01:00
Peter Stephenson
cf6b0f5663 33285: apply function definition redirections at execution 2014-09-29 21:02:59 +01:00
Frank Terbeck
4a529201b8 33277: Fix VCS_INFO_reposub's command expansion
Reported-by: Marco Hinz <mh.codebro@gmail.com>
2014-09-29 19:20:11 +02:00
Peter Stephenson
f2aaea5cd3 users/19183: improve unlikely error case with fdopen in history code 2014-09-29 17:17:26 +01:00
Peter Stephenson
546203a770 33276: safer import of numerical variables from environment 2014-09-29 17:15:56 +01:00
Barton E. Schaefer
60e31a45b0 33268: interactive shells treat SIGPIPE like SIGHUP if and only if SHTTY is disconnected 2014-09-29 08:59:31 -07:00
Barton E. Schaefer
7cabee52d8 33256: fix prompttrunc() counting of %{ %} spans 2014-09-27 09:26:21 -07:00