• R/O
  • SSH

yash: List of commits

修訂. 時間 作者
r4021 2020-09-04 21:28:47 magicant

Construct valuelist & splitlist in expand_four_T

This refactoring slightly reduces pointer dereferences.

r4020 2020-08-27 23:24:50 magicant

Don't insert redundant / in command -v (#40670)

The format string "%s/%s" was the root cause of the issue. We should not
insert any more slash if the parent directory pathname (the first %s)
ends with a slash.

r4019 2020-05-31 11:44:29 magicant

Version 2.50

r4018 2020-05-31 11:33:25 magicant

Update ja.po

r4017 2020-05-31 11:33:24 magicant

Up version to 2.50

r4016 2020-04-17 23:56:07 magicant

More tests on $LINENO

r4015 2020-04-17 23:56:07 magicant

Export correct value of $LINENO (#39279)

r4014 2020-04-17 23:56:05 magicant

Better placement of comment

r4013 2020-01-05 23:10:22 magicant

Test using GitHub Actions

r4012 2019-12-23 23:12:55 magicant

Revert "Remove j_nonotify"

This reverts commit e0400605ac29a42ceeed8bcf86fe628a53d67c56.

Commit e040060 mistakenly assumed that the j_nonotify flag had been used
only to prevent the job from being removed, but in reality also from
being reported when the -b shell option is enabled.

As a result of the commit, the job status was being reported redundantly
when a job exits after resumed by the "fg" built-in.

r4011 2019-12-22 22:56:00 magicant

Fork inside exec_simple_command

Previously the exec_simple_command function required the finally_exit
argument to be true when executed for CT_EXTERNALPROGRAM. I don't think
this implicit precondition very intuitive because it effectively
nullifies the finally_exit parameter.

Starting from this commit we fork inside the exec_simple_command
function to allow the parameter to be false.

r4010 2019-12-22 17:00:13 magicant

Optimize read when stdin is a regular file

POSIX requires that the shell do not read too much from the standard
input. For this reason reading from the standard input is not buffered
by default. Without buffering, the "read" syscall is called for each
byte to be read, which may degrade the performance of the shell.

After this commit, when the standard input is a regular file, the input
is buffered to improve the performance. After reading, the file
descriptor is repositioned so that it works as if there has been no

r4009 2019-12-22 01:00:14 magicant

Optimize process forking with pipefail

When the pipe-fail option is on, the shell needs to await not only the
last command of a pipeline but also other commands. Because of this, the
optimization of not forking an unnecessary process for the last command
was not applied when the option was on.

If there is only one command in the pipeline, however, the pipe-fail
option can be ignored and the optimization is applicable.

r4008 2019-12-22 01:00:13 magicant

completion/set: Describe pipefail option consistently

Previously, the description for yash's pipefail option was different
from that for other shells for no reason.

r4007 2019-12-21 23:30:23 magicant

sample yashrc: Warn on crontab -r

Some users accidentally remove their crontab by typing "crontab -r" when
they intend to edit it by "crontab -e". To prevent unrecoverable loss,
a wrapper function for the crontab command is now installed in the
sample yashrc.

r4006 2019-12-04 23:27:17 magicant

completion/git-rebase: Support Git 2.24.0

r4005 2019-11-11 23:19:28 magicant

Ignore empty key sequence in terminfo (#39741)

If an empty key sequence is in le_keycodes, the read_next function would
loop infinitely. Such a sequence should be ignored even if defined in
the terminfo database.

Patch contributed by hvdijk

r4004 2019-09-22 00:04:53 magicant

Version 2.49

r4003 2019-09-21 22:59:17 magicant

Suppress compile-time warning from clang 8

r4002 2019-09-21 22:59:16 magicant

Up version to 2.49

r4001 2019-09-21 22:59:15 magicant

Update ja.po

r4000 2019-09-21 12:41:24 magicant

Make nounset option effective in arithmetic expansion

The nounset option should reject unset variables in arithmetic expansion
as well so that the user can get an error when they mistakenly used a
misspelled variable.

This will be a next POSIX requirement:

r3999 2019-07-15 19:33:21 magicant

completion/rsync: Complete local pathnames

r3998 2019-07-15 18:23:50 magicant

completion/git: Complete remote refs correctly

r3997 2019-07-09 21:43:15 magicant

Japanese documentation for for-local option (#39372)

r3996 2019-07-09 21:43:14 magicant

completion/set: Complete the for-local option (#39372)

r3995 2019-07-09 21:43:13 magicant

Reorganize tests for for-local option (#39372)

r3994 2019-07-09 21:43:12 magicant

Document the forlocal option as for-local (#39372)

r3993 2019-07-09 21:43:10 magicant

Add the forlocal option (#39372)

Patch contributed by Martijn Dekker.

r3992 2019-06-06 00:41:45 magicant

Expand ""$* to an empty string (#39280)

The words ""$*, ""$@, $*"", and $@"" should expand to an empty string
rather than nothing when there are no positional parameters.

Show on old repository browser