Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-17 | Convert more GLOBALS argument vars to the new single letter code style. | Rob Landley | |
2018-11-17 | hostname: add -s/-f and -d. | Elliott Hughes | |
At least the AOSP build doesn't try to _set_ the hostname... | |||
2018-11-17 | cmp: add --quiet and --silent synonyms for -s. | Elliott Hughes | |
I actually only need --quiet to build AOSP, but it seems weird to add --quiet as a synonym for -s but _not_ add the more obviously related --silent. | |||
2018-11-17 | dirname: support multiple arguments. | Elliott Hughes | |
2018-11-17 | Volodymyr Medvid reported that install -d doesn't honor -o or -g. | Rob Landley | |
2018-11-17 | Cosmetic leanup (hide stderr prompts). | Rob Landley | |
2018-11-17 | Remove the "const" and "restrict" nonsense so it compiles without tainting lib.c | Rob Landley | |
2018-11-17 | Update bc for 1.1 release | Gavin Howard | |
2018-11-13 | Instead of #warning about the musl bug, work around it (wrap syscalls ourselves) | Rob Landley | |
2018-11-13 | basename: -s SUFFIX. | Elliott Hughes | |
AOSP doesn't need -a specifically, but since it's needed for -s we may as well accept it too. | |||
2018-11-13 | touch: ignore -f like everyone else. | Elliott Hughes | |
I assume it's actually meaningful on BSD/macOS and makes them behave like us, but I don't have access to a Mac to test that theory. | |||
2018-11-13 | mkdir: accept both --parent and --parents as synonyms for -p. | Elliott Hughes | |
Both occur in AOSP. (Until I looked, I had no idea there were _two_ long versions of -p...) | |||
2018-11-02 | Convert more option vars to the new (single letter) coding style. | Rob Landley | |
2018-11-02 | Trivial cleanup of uniq.c. | Rob Landley | |
2018-11-01 | Discard harmless error messages. | Rob Landley | |
genbuild() is a bunch of echo statements, and with enough parallelism piping its output to "head" can close the pipe before all the echo statements have run, then they complain about writing to a closed pipe. (We're intentionally discarding the output, it's not an error, so...) | |||
2018-11-01 | Update news.html for 0.7.8 release. | Rob Landley | |
2018-10-31 | Update version to 0.7.8.0.7.8 | Rob Landley | |
2018-10-30 | Promote watch to other. | Rob Landley | |
2018-10-30 | Use % for -n and shut up gcc's broken "may be used uninitialized" warnings. | Rob Landley | |
(Alas, llvm doesn't understand -Wno-maybe-uninitialized yet.) | |||
2018-10-30 | Update roadmap for AOSP. | Elliott Hughes | |
We've removed the need for perl and runalarm, rsync was misleading (as you'd hope!), and we now use a prebuilt of the xmllint in AOSP itself. | |||
2018-10-30 | getconf: add -a, fix the LFS_ output, and blame bionic rather than musl for ↵ | Elliott Hughes | |
UIO_MAXIOV/_SC_UIO_MAXIOV. | |||
2018-10-28 | Rename interestingtimes.c to tty.c. (It's the "not curses" code.) | Rob Landley | |
2018-10-27 | Don't unnecessarily recalculate library list. | Rob Landley | |
2018-10-27 | Zach Van Rijn asked for "find -empty". | Rob Landley | |
2018-10-27 | Dirtree shouldn't put a "No" in front of filename for "permission denied". | Rob Landley | |
2018-10-27 | Fix "make distclean defconfig toybox" all on one line (good of $CROSS_COMPILER | Rob Landley | |
changed), better error message when .config missing. | |||
2018-10-27 | Allow unstripped build to overwrite read-only output file. | Rob Landley | |
(Output file is read only because broken installs that write to the old filename will truncate+overwrite toybox binary otherwise.) | |||
2018-10-22 | Don't call TIOCGWINSZ on non-ttys | Nick Kralevich | |
Prior to calling TIOCGWINSZ on stdin/stdout/stderr, check to see if the file descriptor is a tty. Calling TIOCGWINSZ on a non-tty doesn't make any sense. Calling TIOCGWINSZ on a non-tty is mildly problematic for systems like Android where strict ioctl filtering is in place, and generates SELinux audit noise. Strict ioctl filtering for non-filesystem fifo_files (eg pipe() or pipe2() generated pipes) was enabled in Android in commit https://android-review.googlesource.com/c/platform/system/sepolicy/+/792599 | |||
2018-10-21 | Document % argument suffixes in toybox --help. | Rob Landley | |
2018-10-21 | Make ./top -d .1234567890m work. | Rob Landley | |
2018-10-21 | Add % to lib/args.c (long time in milliseconds), add xmillitime(), redo | Rob Landley | |
xparsetime() not to need floating point, adjust callers. | |||
2018-10-21 | Move start_redraw() to lib/ and have ps.c (top) use it. | Rob Landley | |
2018-10-20 | Some more --help consistency. | Elliott Hughes | |
From eyeballing the output of for i in `./toybox | tr " " "\n"` ; do ./toybox $i --help ; done | \ grep '^-' | grep -v "\t" | |||
2018-10-20 | The static NDK fix broke the dynamic NDK build. | Rob Landley | |
2018-10-20 | Add SPDX identifier, update copyright year, move kconfig note into kconfig/ | Rob Landley | |
directory. | |||
2018-10-10 | Fix static Android NDK build. | Rob Landley | |
2018-10-10 | Rewrite of watch. | Rob Landley | |
2018-10-10 | Trivial speedup to format_iso_time(), teach parsetime() leading garbage != 0. | Rob Landley | |
2018-10-10 | Add xsignal_flags() and more consistently use xsignal() instead of signal(). | Rob Landley | |
xsignal() wraps sigaction() giving control of SA_RESTART behavior and such. | |||
2018-10-07 | Fix non-android ps build. | Rob Landley | |
2018-10-07 | Fix getconf build for musl. | Rob Landley | |
2018-10-07 | libcutils isn't in the NDK. | Elliott Hughes | |
Bug: https://github.com/landley/toybox/issues/43 | |||
2018-10-07 | Fix build break on x32 target. | Rob Landley | |
2018-10-06 | getconf: add missing names used by AOSP. | Rob Landley | |
2018-10-06 | Say undefined for sysconf/pathconf -1, remove goto, help text tweak, | Rob Landley | |
remove curly brackets around single line if(). | |||
2018-10-06 | Check for cross compiler before creating any generated/* files w/probed vals. | Rob Landley | |
2018-10-06 | date.test: add some tests. | Elliott Hughes | |
These are reasonable examples I found in AOSP. I also came across "today" (which is the same as the more obvious "now"), "yesterday", "7 days ago" and "1 month ago". I'm not sure how far down that rabbit hole we want to go. But these ones at least seem reasonable. | |||
2018-10-06 | date: fix some tests. | Elliott Hughes | |
`errno` isn't meaningful here. | |||
2018-10-05 | getconf: add pathconf(3) variables. | Elliott Hughes | |
Also improve the -l output to include sections (because you need to know whether you're dealing with a pathconf variable to supply the required path). | |||
2018-10-05 | getconf: fix glibc NPROCESSORS_ONLN. | Elliott Hughes | |
glibc doesn't have _XOPEN_UUCP (though bionic does), which meant that the generated array of values was out of sync with the hand-written array of names. This patch removes that by using a unified array and the preprocessor. A side benefit of this for me is that it makes toybox easier to integrate in the AOSP build system (the less shell script magic, the better). |