1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-17 15:01:40 +02:00
Commit graph

622 commits

Author SHA1 Message Date
Peter Stephenson
455f8519b2 34275: assume zpty can't be used for testing Cygwin 2015-01-14 14:25:18 +00:00
Peter Stephenson
5f4325a0a4 Propagate float/integer type in arithmetic assignment.
Add test.

Mention this and also floating point mod change in README.
2015-01-12 16:38:00 +00:00
Barton E. Schaefer
2753d49003 34247: regression test for 34230. 2015-01-11 18:50:17 -08:00
Peter Stephenson
aaa19267c2 test for alias expansion in command substitution 2015-01-10 20:36:57 +00: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
Peter Stephenson
b83aa727ca 34077: further tests for return status from "for" loops 2015-01-02 21:16:41 +00: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
5b855e40bd unposted: Add missing -f arg to zsh in D04parameter.ztst 2014-12-14 00:06:47 +00:00
Oliver Kiddle
88f4e24d4c 33924: allow vi line/characterwise mode to be forced 2014-12-08 17:24:48 +01:00
Jun-ichi Takimoto
0da4b11add 33829: unbind ESC~ as a more reliable workaround 2014-12-07 16:31:48 +09:00
Oliver Kiddle
7a4a309973 33860: minor fixes to vi mode changes 2014-12-05 20:13:33 +01:00
Oliver Kiddle
d2505f108e 33823: overwrite mode shouldn't replace newlines 2014-11-30 23:37:01 +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
Peter Stephenson
62e4db10fe unposted: test binary input using 0b 2014-11-26 20:58:36 +00:00
Jun T
c4110f7f4e 33769: workaround for KEYTIMEOUT to work from test
cases on Darwin and FreeBSD
2014-11-25 22:49:14 +01: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
d29e02c1a3 33704: keybindings, documentation, tests and minor
fixes for vim style visual selection changes
2014-11-17 23:01:00 +01:00
Oliver Kiddle
c95c2ac838 33699: support short delays in zle tests where we
need KEYTIMEOUT to elapse
2014-11-17 16:29:10 +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
Barton E. Schaefer
c1d9623d2e 33686: set PS1 before pattern-matching for it
If run as a privleged user, the default PS1 does not contain "%", so
don't use the default PS1 when expecting to match "%" in the output.
2014-11-13 09:27:14 -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
Jun T
c9804bebd8 33599: workaround zpty issue that causes vi test
cases to fail on MacOS and FreeBSD
2014-11-09 22:06:52 +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
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
73ca153159 33593: support numeric argument to vi-join 2014-11-03 00:36:00 +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
1d261ef53a correct cursor position in test 2014-10-31 13:38:32 +01: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
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
Peter Stephenson
0412c0baaa 33564: care with monitor option in test 2014-10-26 21:24:23 +00:00
Peter Stephenson
9a551ca859 33542: test logic for waiting for already exited processes 2014-10-26 19:04:47 +00: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
Peter Stephenson
66320ca93a 33459: test for variable substitution in variable splitting 2014-10-13 11:38:48 +01:00
Barton E. Schaefer
521313b4b9 Tests for workers/33429 2014-10-11 11:18:34 -07: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
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
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
Peter Stephenson
fb707c0acb 33332: test safer numeric import from environment 2014-10-02 17:17:47 +01:00
Peter Stephenson
f16813792e 33325: fix ksh autoloads with redirections on function definitions 2014-10-02 16:15:10 +01:00
Peter Stephenson
0557c226fc 33294: $functions[func_with_redir] plus extra tests 2014-09-30 12:58:52 +01: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
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
4d0d6e8bed Further tweaking of the descriptor leak regression test that sometimes hangs 2014-08-31 14:08:20 -07:00
Peter Stephenson
cc6e9db29d 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00