Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-08 | Remove lots of debugging dprintf()s. | Rob Landley | |
2020-01-08 | Fix commaless brace discard. | Rob Landley | |
2020-01-08 | Implement quote removal and fix unterminated bracket expansion. | Rob Landley | |
2020-01-07 | Bracket support in progress. Mind the dprintf()s. | Rob Landley | |
2020-01-06 | date.c: add a few more important specifiers to --help. | Elliott Hughes | |
Odd (and un-toyboxy) that we advertise the locale-specific output formats but not the ISO ones :-) | |||
2020-01-06 | date.test: defuse a time bomb. | Elliott Hughes | |
One of these tests fails in the gap between the locale it's run in changing the year and Europe/Berlin's changeover (caught by our automated testing, which tends to celebrate every new year by finding mistakes in tests like this). Another test has been failing consistently since 2020 because the default date output format includes the day of the week. Rather than implement Zeller's Congruence in the shell, explicitly use a format that doesn't include the day of the week for that test (and reuse the now-fixed calculation of the current year used by the other year-sensitive test). | |||
2020-01-06 | SebiderSushi reported that chmod g+s wasn't working. | Rob Landley | |
2020-01-06 | Cleanup chmod tests. | Rob Landley | |
2020-01-03 | Add local variables support. | Rob Landley | |
2020-01-03 | Only free the environment variables we didn't inherit from exec. | Rob Landley | |
2020-01-03 | Finish cd, make help -ahu unconditional, fix expand memory cleanup path, | Rob Landley | |
set $HOME $PWD and $OLDPWD, fix prompt \w, shuffle some functions around to avoid prototypes, implement tilde expansion, add FORCE_COPY. | |||
2020-01-03 | No, optflags gets cleared by toy_init(), use toys.rebound instead. | Rob Landley | |
2020-01-03 | Add MAYFORK to "help", teach it to behave differently when called as a | Rob Landley | |
builtin, and add -u. | |||
2020-01-01 | Use FLAG() macros. | Rob Landley | |
2020-01-01 | Add MAYFORK to more pseudo-builtins. | Rob Landley | |
This doesn't (yet) add shell builtin awareness to time, kill, or pwd, just lets them run in the shell process. | |||
2020-01-01 | Factor out array_add(), replace argxtend(). | Rob Landley | |
2020-01-01 | If allocation update is done in blocks, initial allocation has to populate | Rob Landley | |
a full block. | |||
2019-12-31 | toysh: start of <(echo hello) support. | Rob Landley | |
2019-12-29 | Implement single command env assignments (abc=def command) and make debug | Rob Landley | |
output #definable. | |||
2019-12-29 | Debug basic pipe support and I/O flush for builtins. | Rob Landley | |
2019-12-28 | Add VERBOSE=xpect | Rob Landley | |
2019-12-28 | Fiddle with docs a bit. | Rob Landley | |
2019-12-28 | More sheer pedantry. | Rob Landley | |
2019-12-28 | Rename get_chunk()/dump_chunk() to read_chunk()/write_chunk(). | Rob Landley | |
2019-12-28 | Cleanup, mostly whitespace. | Rob Landley | |
2019-12-28 | Sheer pedantry. | Rob Landley | |
2019-12-28 | Cleanup: use FLAG() macros and new argument variable names. | Rob Landley | |
2019-12-28 | Allow dlist_terminate() to be called repeatedly on same list. | Rob Landley | |
2019-12-28 | Next round of sh plumbing: more work on redirect and pipe, use CLOEXEC. | Rob Landley | |
2019-12-28 | Change variable type to avoid typecast. | Rob Landley | |
2019-12-28 | tar: fix memory write error | Emmanuel Nicolet | |
Clear the last byte of the allocated buffer. | |||
2019-12-26 | Fix setsid with vfork, redo command line arguments. | Rob Landley | |
Switch -t to -c (like man page says), add -w (wait) and -d (detach from tty) | |||
2019-12-23 | Toysh passes two tests now! Woo! (Otherwise, does not remotely work right now.) | Rob Landley | |
2019-12-23 | Add "texpect" and add a couple simple examples to sh.test. | Rob Landley | |
2019-12-22 | gzip: reject non-gzip files in zlib path. | Elliott Hughes | |
It turns out that zlib defaults to just copying data verbatim if the input isn't in gzip format, rather than rejecting it. Explicitly add a check that zlib isn't doing that. (The toybox inflation path already errors out.) Also add the missing test. | |||
2019-12-22 | Streamline init for NOFORK (fewer unnecessary syscalls for shell builtins). | Rob Landley | |
2019-12-22 | Bugfix: tee with no arguments was writing to stdout twice. | Rob Landley | |
Add basic smoketest while we're at it. | |||
2019-12-21 | Add patch -F (fuzz factor) | Rob Landley | |
2019-12-21 | Tighten up unquote_file() | Rob Landley | |
2019-12-21 | Very basic patch smoketest | Rob Landley | |
2019-12-20 | Making sh single build work broke other single builds. Fix them again. | Rob Landley | |
2019-12-20 | patch: support [FILE [PATCH]] arguments. | Elliott Hughes | |
POSIX only mentions -i/stdin, but GNU patch -- and Larry Wall's patch 1.3, found via https://en.wikipedia.org/wiki/Patch_(Unix) -- also support supplying the name of the file to patch and the name of the patch file as optional arguments. The AOSP build makes use of this syntax to patch snakeyaml to remove references to java.beans.* stuff. | |||
2019-12-15 | Nothing in pending should default y. | Rob Landley | |
2019-12-14 | Any substitute EVAL should supply its own -- | Rob Landley | |
2019-12-14 | Teach "make sh" to make the multiplexer and builtins, even though it's "single". | Rob Landley | |
2019-12-14 | Bugfix: xgetline() wasn't returning NULL at EOF. | Rob Landley | |
2019-12-14 | dirtree.c: avoid spurious EINVAL warnings. | Elliott Hughes | |
An Android engineer complained that they were seeing this when not running as root: $ adb shell ls ls: ./postinstall: Invalid argument ls: ./init: Permission denied ls: ./data_mirror: Invalid argument ls: ./init.environ.rc: Invalid argument ls: ./metadata: Invalid argument acct adb_keys apex From strace, it was here: newfstatat(4, "adb_keys", 0x7fc67eca88, AT_SYMLINK_NOFOLLOW) = -1 EACCES (Permission denied) readlinkat(4, "adb_keys", 0x5e843c7720, 4095) = -1 EINVAL (Invalid argument) So stop looking at st.st_mode (and then deciding to do a readlinkat()) if we didn't actually successfully stat(). | |||
2019-12-13 | fix loopback device mount fail | wayling | |
When we "losetup" success need mount loop device. Found this issue on AndroidQ | |||
2019-12-12 | Next round of toysh work, with associated lib plumbing. | Rob Landley | |
2019-12-06 | Squash a warning. | Rob Landley | |