• R/O
  • SSH

yash: List of commits

修訂. 時間 作者
r3971 2019-01-19 11:32:23 magicant

typeset: Print reparsable simple command starting w/ keyword (#37634)

The print_one_command function always prints redirections after the
other command components. As a result, a simple command printed could
not be re-parsed by the shell if the command name word was preceded by a
redirection (but not by any assignment) and the word would otherwise be
a keyword.

Such a word is now quoted so that it can successfully be re-parsed even
though it is printed as the first word of the command.

r3970 2019-01-15 23:41:26 magicant

Include wchar.h in job.c

Some functions used in job.c are declared in wchar.h.

r3969 2019-01-14 16:36:37 magicant

Neglect jobs in subshell with no-fork optimization (#38823)

When the no-fork optimization takes effect on a subshell, it was not
forgetting the original shell's jobs. The subshell was able to falsely
await the original shell's jobs.

The subshell should behave as if it is a child process created by the
fork_and_reset function. This commit extracts part of it as the
become_child function so that it can be directly called in the main
shell process performing the no-fork optimization.

r3968 2019-01-14 00:45:29 magicant

Remove j_nonotify

Now print_job_status_all does not remove printed jobs, we don't need to
protect a job that is being awaited by wait_for_job. Hence the
j_nonotify flag is removed. The j_beingwaitedfor flag, only used for
assertions, is added in place of it.

r3967 2019-01-13 00:34:03 magicant

Test exit status of interrupted wait built-in (#14262)

r3966 2019-01-13 00:20:46 magicant

Test special built-in syntax error in command built-in (#18703)

r3965 2019-01-10 00:40:20 magicant

Test $LINENO in eval and dot script

r3964 2019-01-10 00:40:19 magicant

Test $LINENO in interactive mode correctly (#21676)

The former test was nonsense because the shell was not being executed in
the interactive mode.

Also adding a test for function definition.

r3963 2019-01-10 00:40:18 magicant

Test $LINENO in command substitution

r3962 2019-01-10 00:03:13 magicant

Test exec built-in clearing and adding array (#25716)

r3961 2019-01-09 23:42:40 magicant

Test subshell function body behavior (#26120)

r3960 2019-01-09 23:42:39 magicant

Test line continuation in function definition

r3959 2019-01-06 22:31:45 magicant

Test line continuation within backquoted command substitution (#36278)

r3958 2019-01-05 17:37:30 magicant

test: More test on -o unary primary (#36662)

r3957 2019-01-05 17:06:26 magicant

More test on empty expansion (#14009)

r3956 2019-01-05 16:03:30 magicant

echo: Recognize "\e" escape sequence

r3955 2019-01-05 15:27:12 magicant

Test \\ in echo built-in

r3954 2019-01-05 15:27:11 magicant

Amend tests/POSIX

r3953 2019-01-05 15:27:10 magicant

Move some parser tests

The test cases moved do not contain any redirection, hence they should
not be in redir-y.tst.

r3952 2019-01-05 15:27:09 magicant


r3951 2018-12-22 16:39:12 magicant

Version 2.48

r3950 2018-12-22 12:24:40 magicant

Speed up summarize.sh

r3949 2018-12-19 01:12:09 magicant

Up version to 2.48

r3948 2018-12-16 23:56:51 magicant

Ensure synchronization in command printing tests

In the background command, "cat fifo" must be executed synchronously for
correct synchronization.

r3947 2018-12-16 23:56:50 magicant

Test command printing for re-evaluation

New utility functions are added for brevity of test cases.

r3946 2018-12-16 17:14:23 magicant

Update Japanese translation

r3945 2018-12-16 17:14:22 magicant

Don't rebuild docs after configuration

Products that are built by asciidoc should not depend on Makefile
because users should not be forced to install asciidoc to rebuild the

r3944 2018-12-16 17:14:21 magicant

Don't test disabled double-bracket command

r3943 2018-12-16 12:08:06 magicant

Save pending here-documents in print_embedded_command

An embedded command has another context for pending here-document
contents that is isolated from that of the outer command. We should
refresh the list of pending here-document contents before printing the
embedded command.

r3942 2018-12-16 12:08:05 magicant

Test command printing

Show on old repository browser