Mikael Magnusson
7dcaa2ff60
hist: remove wrong NULL terminator
...
This actually writes a NULL to some arbitrary location in the caller function's stack. Found by Coverity (Issue 1255746).
2015-01-10 08:48:18 +01:00
Peter Stephenson
cfd91eac07
Rearrange context saving.
...
Variables are now associated with the module that declares them, being
initialised and saved/restored there. However, as many variables are
used for communication between modules, many of them are set in multiple
places, so the assignment is ambiguous.
2015-01-09 21:33:39 +00:00
Mikael Magnusson
bc55ddf364
Fix a typo in bin_print error message
2015-01-09 12:37:25 +01:00
Peter Stephenson
c0d01a6fe0
Fix command substitutions to parse contents as they are read in.
...
Do this by refactoring misnamed lexsave()/lexrestore() to allow
continuity of history and input.
Add test.
2015-01-08 12:24:00 +00:00
Barton E. Schaefer
93846edb0d
34154/34155: reorder bin_print() to avoid leaking the output descriptor when incorrect/incompatible options were passed
2015-01-07 22:45:46 -08:00
Jun-ichi Takimoto
152b797596
34144: allocate origline by ztrdup(), not by dupstring()
...
If origline is allocated in heap, it will have been freed
when menuselect() is called directly as a widget.
2015-01-07 21:48:28 +09:00
Bart Schaefer
8fea30a571
34122: module: allow NULL third argument as intended
...
Found by Coverity.
2015-01-06 23:51:19 +01:00
Mikael Magnusson
4701b05cf7
34138: wcs_nicechar: only deref widthp if it was given
2015-01-06 23:51:18 +01:00
Mikael Magnusson
38dc59907b
34120: compctl, jobs: Check contents instead of array
...
text is an array in the struct, and can never be null.
Found by Coverity (Issue 1255780).
2015-01-06 23:51:01 +01:00
Mikael Magnusson
c425cc9632
34108: Don't leak ifs stuff
...
Found by Coverity (Issue 1255785).
2015-01-06 23:51:00 +01:00
Mikael Magnusson
6a5339fdd5
34107: getsubsargs: free ptr1 before returning
...
Found by Coverity (Issue 439073).
2015-01-06 23:51:00 +01:00
Mikael Magnusson
bd2175fe7d
34134: anon funcs: don't leak shf and related data
...
Found by Coverity (Issue 439076).
2015-01-06 23:50:37 +01:00
Mikael Magnusson
1507719d0a
34112: typeset: fix leak of oldval
...
Found by Coverity (Issue 1255803).
2015-01-06 23:47:30 +01:00
Mikael Magnusson
adae710eb0
34106: hist: use zhtricat instead of tricat
...
Found by Coverity (Issue 1255769).
2015-01-06 23:47:23 +01:00
Mikael Magnusson
5a9be69185
34113: whence: use dupstring to not leak memory
...
All other assignments to buf use the heap, and it's never freed. Found
by Coverity (Issue 1255786).
2015-01-06 23:47:12 +01:00
Mikael Magnusson
8035794a56
34119: complist: Fix leak of string in clnicezputs
...
Found by Coverity (Issue 1255808).
2015-01-06 23:47:05 +01:00
Mikael Magnusson
6c72895bc2
34105: subst: remove dead code
...
Found by Coverity (Issue 1255810).
2015-01-06 23:46:55 +01:00
Mikael Magnusson
9e5dc2925c
34121: compresult: Remove unneeded NULL check
...
The variable is set to if NULL at the start of the function, and derefed
on the previous line. Found by Coverity (Issue 1255843).
2015-01-06 23:46:49 +01:00
Mikael Magnusson
ea6bb993e9
34104: compctl: Remove pointless check
...
cc has already been derefed a bunch of times leading up to here. Found
by Coverity (Issue 1255841).
2015-01-06 23:46:31 +01:00
Mikael Magnusson
221ecf5010
34115: compcore: Fix size argument to zfree
...
Found by Coverity (Issue 1255852), has no impact unless using
--enable-zsh-mem, and even then it is minimal.
2015-01-06 23:46:18 +01:00
Mikael Magnusson
18b60d8512
34117: zle: size_t is unsigned, use int instead
...
The function wctomb returns an int according to my manpage, and we
furthermore check if it is negative, and then return it, and the function
signature is int, so declaring it as an int seems to make more sense.
2015-01-06 23:46:06 +01:00
Mikael Magnusson
c935381479
34116: computil: Check for NULL before passing to strlen
...
The rest of this function appears to be very careful about checking these,
then forgets in this one spot. Found by Coverity (Issue 1255805).
2015-01-06 23:45:51 +01:00
Mikael Magnusson
6b79f29fb2
34118: Don't crash when writing out history if HOST is unset
...
Found by Coverity (Issue 1255793).
2015-01-06 23:45:26 +01:00
Mikael Magnusson
a150563fb0
34114: emulate: Handle aborting from mixed -L/-c correctly
...
Somehow Coverity found this (Issue 1255797, Failure to restore non-local value).
2015-01-06 23:45:09 +01:00
Barton E. Schaefer
7e7449592a
34103: fix ancient double-quote handling thinko in subst_parse_str()
...
This doesn't seem to have mattered, but must in some obscure cases
2015-01-06 09:34:12 -08:00
Barton E. Schaefer
f9cc5a6e56
34093: "whence" should always return nonzero when it finds that nothing matches its arguments
2015-01-06 09:33:44 -08:00
Peter Stephenson
98f465c09f
34092: fix miscount of symlink resolution for "..".
...
This caused problems with expanding a path with ".." in "whence -S".
2015-01-04 19:42:45 +00:00
Peter Stephenson
f9cba834cd
34091: typo with "whence -s" expansions
2015-01-04 19:05:39 +00:00
Peter Stephenson
454bb777cf
users/19671: remove confusion with whence -a.
...
If the argument is a full path don't try to search the path for it.
2015-01-02 22:25:24 +00:00
Peter Stephenson
33d1439fdb
users/19667: whence -S shows intermediate steps in symlink expansion
2015-01-02 21:32:51 +00:00
Daniel Shahaf
e11ad500dd
34070: fix starting position for memset() from 34005.
2014-12-28 20:11:09 -08:00
Takeshi Banse
1cd8023570
34064: assignment before command replaces array with export even when KSH_ARRAYS
2014-12-27 22:05:05 -08:00
Barton E. Schaefer
d6a32ddeed
34065: following an "if" condition, do not test lastval for ERR_EXIT until a new command is run
...
Includes unposted regression tests.
2014-12-27 21:55:58 -08:00
Peter Stephenson
89012cf94c
34015: disallow strange environment variable names.
...
These are ones with the top bit set in any character.
Don't import them, and don't export them.
2014-12-19 22:15:24 +00:00
Peter Stephenson
fd934e1187
34005: region_highlights memory fix
...
Zero uninitialised part of memory when reallocing
2014-12-19 21:55:31 +00:00
Barton E. Schaefer
95381783e9
34002: zshcalloc() in init_keymaps()
2014-12-18 18:58:25 -08:00
Barton E. Schaefer
bf075b9e0d
33992: do not attempt attachtty() for process group zero (which is possible in a linux pid namespace)
2014-12-18 18:58:25 -08:00
Peter Stephenson
ecef922df1
34008: metafy the environment on arrival in the shell
2014-12-18 19:55:53 +00:00
Peter Stephenson
f3cb9a7754
34006: unmetafy anything put into the environment
2014-12-18 19:36:03 +00:00
Peter Stephenson
04e555a92e
33981: more care with region_highlights management
2014-12-18 18:54:55 +00:00
Jun-ichi Takimoto
fe51f39dad
33978: avoid infinite loop in interactive mode
...
Update command line when accept-and-hold is called in the
interactive mode of menu select.
2014-12-18 03:49:51 +09:00
Jun Kuriyama
e12b515082
33984: bin_dirs() should use zputs() to print metafied directory names
2014-12-16 23:40:32 -08:00
Chirantan Ekbote
0c4cb0cc1b
33982: minimal support for pid namespaces by recognizing that GETPGRP() may return 0
2014-12-16 23:35:57 -08:00
Barton E. Schaefer
36ec763dbd
33976: fix overlapping strcpy()
2014-12-15 16:41:08 -08:00
Oliver Kiddle
1e0064e58b
33956: document key binding changes and remove ^X binding
2014-12-13 19:34:24 +01:00
Oliver Kiddle
5b7950e6ef
33846: additional default vi-mode key bindings
2014-12-13 19:32:55 +01:00
Oliver Kiddle
edb9c94025
33950: ignore KEYTIMEOUT for vi operators
2014-12-12 14:14:00 +01:00
Peter Stephenson
d067ebcacd
33876: etc.: Separate errors and keyboards interrupts
...
Combination of 12 commits from interrupt_abort branch.
Basic strategy is to introduce bits to errflag and to set and
reset them separately.
Remove interrupt status on return to main keymap.
Turn off ERRFLAG_INT for always block.
Restore bit thereafter: we probably need a new variable in order
to allow user interrupts to be reset in the always block.
Add TRY_BLOCK_INTERRUPT
This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too.
Ensure propagation of SIGINT from exited job.
If received by foreground job, shell uses ERRFLAG_INT, not
ERRFLAG_ERROR, to set the new state.
Reset errflag before precmd()
Add always block in _main_completion to fix ZLS_COLORS
Ensures we get the right state of $ZLS_COLORS at the end of _main_complete
even if there's an interrupt. However, the "right state" is a bit messy
as it depends on styles.
2014-12-11 09:41:17 +00:00
Jun-ichi Takimoto
45d0046d8f
33940: handle backslash-meta correctly in lexer
2014-12-10 08:20:40 +09:00
Jun-ichi Takimoto
0a07ffd47c
33932: revise boundary check in unmeta()
2014-12-09 02:41:01 +09:00
Oliver Kiddle
88f4e24d4c
33924: allow vi line/characterwise mode to be forced
2014-12-08 17:24:48 +01:00
Barton E. Schaefer
48cd1b6c3b
33894: boundary conditions in unmeta(), unmetafy()
...
Check that we aren't running off the end of the string when converting the
next byte after a Meta byte. This is just defensive programming in case
of bad metafied strings coming through from gettokstr(), some repairs
there are likely still needed.
2014-12-07 11:20:01 -08:00
Barton E. Schaefer
9ddd022ff0
33854: errors end recursion through scanner()
...
Makes **/ more easily interruptible
2014-12-07 11:20:01 -08:00
Oliver Kiddle
7a4a309973
33860: minor fixes to vi mode changes
2014-12-05 20:13:33 +01:00
Oliver Kiddle
b0a659e710
33845: save correct cursor position with push-line from vi command mode
2014-12-05 20:13:32 +01:00
Oliver Kiddle
d2505f108e
33823: overwrite mode shouldn't replace newlines
2014-11-30 23:37:01 +01:00
Oliver Kiddle
62aa039317
33820: detect support for realpath() with a NULL
...
argument and fixes to the use of it
2014-11-30 23:33:30 +01:00
Oliver Kiddle
40c5e00de0
33800: remove old workaround for ancient systems to
...
consume typeahead before setting up the terminal
2014-11-30 23:29:25 +01:00
Oliver Kiddle
0d4b548d1e
33818: fix types passed to sizeof detected by coverity as being wrong
2014-11-30 23:19:55 +01:00
Barton E. Schaefer
49d6aace41
33816, 33819: GLOB_ASSIGN changes integer and floating type variables to string scalars
2014-11-28 13:30:22 -08:00
Wayne Davison
389954beec
unposted: fix compiler set-but-not-used warning.
2014-11-28 11:55:17 -08:00
Marc Finet
2598010adf
33815: Fix word transposition bug.
...
With a one-character word the wrong two words could be transposed.
2014-11-28 09:40:24 +00:00
Peter Stephenson
a8927bf27b
33793: add 0b binary interpretation to integer constants
2014-11-26 17:26:58 +00:00
Oliver Kiddle
feda07c641
33770: avoid calling identical FIONREAD ioctl twice in succession
2014-11-25 22:14:50 +01:00
Barton E. Schaefer
05e919dc56
33791: fatal errors in an "always" construct yield nonzero status
...
Fatal errors in the try-block part of an "always" construct cause the
entire construct to have nonzero status, even when TRY_BLOCK_ERROR is
used to suppress the error.
2014-11-25 09:15:20 -08:00
Mikael Magnusson
e2fe81ae9a
33785: Fix leaks of desthost in ztcp
...
Found by coverity.
2014-11-24 08:16:48 +01:00
Barton E. Schaefer
2b615bedaf
33775: error opening file in $(<...) is not fatal
2014-11-23 16:02:48 -08:00
Oliver Kiddle
a526a2203b
33743: use posix_openpt in zpty if it is available
2014-11-24 00:05:59 +01:00
Barton E. Schaefer
22b4ededcf
33750: handle function autoloads for DEBUG_BEFORE_CMD
...
gettext2() lacked a case for the WC_AUTOFN word code, tripping a dputs()
on TRAPDEBUG the first time each autoloaded function was run.
2014-11-21 21:56:56 -08:00
Oliver Kiddle
69594a6cf0
33738: account for a selection in vi-replace-chars
2014-11-21 11:40:01 +01:00
Oliver Kiddle
58da0f495c
33730: vim style text objects for selecting words
2014-11-21 11:40:00 +01:00
Oliver Kiddle
0a4223d908
unposted: reindent large block
2014-11-17 23:03:10 +01:00
Oliver Kiddle
d29e02c1a3
33704: keybindings, documentation, tests and minor
...
fixes for vim style visual selection changes
2014-11-17 23:01:00 +01:00
Oliver Kiddle
36878852ef
33636: add support for a linewise visual selection mode
2014-11-17 22:50:34 +01:00
Oliver Kiddle
492b6cec28
33635: adapt region to function as vim style visual selection mode
2014-11-17 22:47:59 +01:00
Oliver Kiddle
0ea8f28e7b
33700: new widget for put in vim style visual selection mode
2014-11-17 16:32:04 +01:00
Oliver Kiddle
25cc978a99
33633: support vim style text objects
2014-11-17 00:49:32 +01:00
Oliver Kiddle
15fc2cd4f0
33632: use viopp and visual local keymaps if they exist
2014-11-17 00:49:31 +01:00
Oliver Kiddle
1e934556f7
33697: new vim style vi-backward-word-end widgets
2014-11-15 21:33:32 +01:00
Oliver Kiddle
13f3eec61d
33696: simple up/down line widgets that don't go through history lines
2014-11-15 21:31:29 +01:00
Oliver Kiddle
f26abf3a17
33695: fix various vi-indent problems and vi-swap-case on a blank line
2014-11-15 21:27:44 +01:00
Peter Stephenson
c01a178ece
Marc Finet: problems with working directory rationalisation.
...
Ensure the length of the directory is kept up to date.
Abort following symlinks as soon as there's an error.
2014-11-13 19:44:01 +00:00
Barton E. Schaefer
53344183e1
33656: different algorithm for "whence -am" to produce results more consistent with "whence -m"
...
This uses the scanmatchtable routine to collect the names that match the
input pattern, then uses the original -a path search loop to generate
the output, to avoid duplicating test conditions and output formats.
2014-11-13 09:20:46 -08:00
Oliver Kiddle
99382e689d
33669: allow an empty line to be yanked with yy
...
This by allocating 1 byte instead of 0 for the empty buffer.
2014-11-13 09:58:34 +01:00
Oliver Kiddle
f01188ec2a
33639: fix bug with vi operators on a blank line
...
and with backward bracket matching
2014-11-09 17:51:26 +01:00
Peter Stephenson
65f56b5656
33655: remove overlap of node flags
2014-11-08 21:59:58 +00:00
Peter Stephenson
0ccbc3873f
Handle -a option to whence in combination with -m.
2014-11-08 20:49:07 +00:00
Oliver Kiddle
36b8f83319
33624: keep region active when widget fails
2014-11-07 11:29:13 +01:00
Mikael Magnusson
a9004ce32f
33607: Fix some minor problems in zattr module
...
Remove the listattr call in zgetattr, it only caused no error to be output
when trying to retrieve an xattr from a file with no xattrs. When a file
had xattrs, it would just add an extra syscall for no good reason.
Always set an array parameter in zlistattr, this makes the returned value
much easier to use; in fact the _zattr completer didn't account for this
and zlistattr foo <tab> on a file with only one attribute did not work.
Almost all of the patch is only reindent, the only modification that's
not a pure deletions is:
- ret = 1 + (attr_len > val_len || attr_len < 0);
+ ret = 1 + ((val_len > 0 && attr_len > val_len) || attr_len < 0);
which makes sure we return the correct error in the new path due to the
removed listattr call. (If val_len is -1 due to no attribute existing,
it doesn't mean the user should retry the call because the attribute
grew in size).
2014-11-07 11:10:30 +01:00
Barton E. Schaefer
7abd611a23
33614 (based on RedHat BZ-978613): signal safety when updating global state in execshfunc()
2014-11-06 10:50:20 -08:00
Oliver Kiddle
c7ff843ecf
33604: fix change merging for vi mode where a change has just been undone
2014-11-05 22:50:48 +01:00
Oliver Kiddle
4b66ec003f
33596: make local keymap keybinding hide global keymap
...
binding that is a prefix of the local binding
2014-11-04 14:08:20 +01:00
Oliver Kiddle
73ca153159
33593: support numeric argument to vi-join
2014-11-03 00:36:00 +01:00
Oliver Kiddle
4d89ec25f1
33575: reset vi change start position if text is inserted
...
before it or on history movement
2014-11-03 00:31:57 +01:00
Peter Stephenson
023c2236e1
Treat exec from subshell as if forked
...
This removes weird behaviour when optimising the last command.
In particular SHLVL is correct from a subshell executed as the last
command.
2014-11-02 15:29:06 +00:00
Oliver Kiddle
6a29f66f8a
unposted: quash compiler warning
2014-10-31 18:00:05 +01:00
Peter Stephenson
ef4fb421f5
33582: don't include tcp.mdh in zftp.c.
...
It's a private module definition header that doesn't need
to be exposed.
2014-10-31 10:23:29 +00:00
Jérémie Roquet
52d37d7ff4
Take more care with errors from setuid().
...
This is to ensure the user is aware of errors unsetting the
PRIVELEGED option.
2014-10-31 10:02:36 +00:00
Oliver Kiddle
fd302c9837
33570, 33576: make killring/yank-pop work in vi mode after
...
vi-put-before and vi-put-after
2014-10-30 21:52:36 +01:00
Barton E. Schaefer
9d2cfa7af6
Merge branch 'master' of git://git.code.sf.net/p/zsh/code
...
Conflicts:
ChangeLog
2014-10-29 08:49:33 -07:00
Jun T
d36421d376
33566: quash null pointer constant compiler warning
2014-10-29 08:48:17 -07:00
Barton E. Schaefer
691547cda6
33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko in status message for INT/QUIT signals; check errflag in output loops
...
Two semi-related patches for keyboard interrupt handling in completion,
most importantly so that unexpectedly long completion listings can be
interrupted.
2014-10-29 08:45:57 -07:00
Oliver Kiddle
16cfa78aa9
33528: take notice of last column position when using vi-yank
...
and an upward cursor movement
2014-10-29 13:34:37 +01:00
Mikael Magnusson
ed90154e58
33562: Fix thinko in previous commit
2014-10-27 20:54:20 +01:00
Mikael Magnusson
ded97b8ed9
33561: The time builtin forgot to unmetafy TIMEFMT
2014-10-27 20:46:48 +01:00
Peter Stephenson
b4f7ccecd9
33531 with additions: retain status of exited background jobs.
...
Add linked list of unwaited-for background jobs.
Truncate at value of _SC_CHILD_MAX discarding oldest.
Remove old lastpid_status mechanism for latest exited process only.
Slightly tighten safety of permanently allocated linked lists so
that this doesn't compromise signal handling.
2014-10-26 17:47:42 +00:00
Peter Stephenson
11c3bc3d73
33480, slightly tweaked: fix for $' completion.
...
Improves case where completing after the $' but before any
closing quote, or if the closing quote is absent.
No other change --- we still don't attempt to exand the quotes if
we're inside them.
2014-10-24 09:54:55 +01:00
Oliver Kiddle
746b53d5d7
33520: correct cursor positioning following a vi mode yank operation
2014-10-24 00:18:32 +02:00
Oliver Kiddle
2fe4bfb100
33519: last character in the buffer can be cut, changed or yanked using vi-forward-char
2014-10-23 22:12:06 +02:00
Oliver Kiddle
bdedf7b40b
33518: add support for "_ vi buffer and arguments to vi-set-buffer from a zle widget
2014-10-23 21:47:23 +02:00
Oliver Kiddle
72c666fb4f
33514: even with a named vi buffer, we should update the default buffer
2014-10-23 17:14:19 +02:00
Oliver Kiddle
9d54f0ecde
33513: vi mode deletions should replace cut buffer not append to it
2014-10-23 17:10:37 +02:00
Oliver Kiddle
a39c3adece
33512: add support for "0 vi buffer and yank to it
2014-10-23 17:00:31 +02:00
Barton E. Schaefer
b6921a2b44
33515: suppress parser error messages in comp_match()
2014-10-22 20:21:10 -07:00
Barton E. Schaefer
2d4743ce50
33493: use correct command name in error messages about "ulimit" failure; restore internal copy of limits if setrlimit() fails, so the error won't repeat
2014-10-22 08:42:37 -07: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
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
Mikael Magnusson
49a3086bb6
33365: avoid buffer overflow for very long fds in >& fd syntax
2014-10-06 20:34:28 +02: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
Oliver Kiddle
00a654af5c
33323: fix bug in removing math functions and complete -M option to functions
2014-10-02 19:29:32 +02: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
f16813792e
33325: fix ksh autoloads with redirections on function definitions
2014-10-02 16:15:10 +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
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
Peter Stephenson
d19d9c1eff
33242: tokens following if, for, repeat, while aren't in command position
2014-09-26 14:07:43 +01:00
Peter Stephenson
691a7e4b3d
users/19143: fix depth glob search with trailing slashes
2014-09-25 19:12:34 +01:00
Peter Stephenson
0c7a3d6864
33212: try to put /usr/local/share/zsh/site-functions in default fpath
2014-09-20 20:14:09 +01:00
Peter Stephenson
08e5191ff0
users/19097: remove $functypetrace in favour of ref to $zsheval_context
2014-09-18 19:09:52 +01:00
Mikael Magnusson
78dd672e1a
33136: P glob qual appends words when negated
2014-09-16 00:27:05 +02:00
Barton E. Schaefer
03e53c8f25
33143: POSIX_ARGZERO more closely matches bash et al.
2014-09-12 15:28:51 -07:00
Peter Stephenson
246404a44d
Add $functypestack special parameter in zsh/parameter
2014-09-12 20:35:16 +01:00
Peter Stephenson
8bf3595e3a
users/19059 based on users/19058: remove ineffiency with multiple * matches
2014-09-08 16:38:51 +01:00
Barton E. Schaefer
956829c18e
33122: typo from 32891 caused incorrect matches for pcre_match -n
2014-09-07 10:48:32 -07:00
Barton E. Schaefer
5a9f3ac773
33118: record original param unset state when treating empty the same as unset,
...
to avoid incorrect NO_UNSET errors
2014-09-06 22:15:28 -07:00
Barton E. Schaefer
4414e54ea7
33116: followup to 32580 to prevent double-locking with shared or incremental history
2014-09-06 22:10:30 -07:00
Barton E. Schaefer
a3b1e3ffb1
33100: check $fd more rigorously in "exec {fd}<&-"
2014-09-03 08:46:56 -07:00
Barton E. Schaefer
839a72de10
33077: SHTTY = -1 when closing it in closem()
2014-08-31 13:53:25 -07:00