Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-25 | OpenEmbedded needs commands installed in specific places. | Rob Landley | |
2019-01-12 | stat: add --format synonym for -c. | Elliott Hughes | |
Used in the AOSP x86 host build. | |||
2018-12-19 | readlink: add --canonicalize synonym for -f. | Elliott Hughes | |
Internally, Google uses all the longopts; Android currently only uses this one. I was tempted to add the others, but went with "add them when a toybox user needs them" rather than "add them when you've seen them used". | |||
2018-12-04 | Clean up some --help formatting. | Elliott Hughes | |
Be consistent about upper versus lower case. (Upper seems to have the majority, so I went with that, though I'm happy to provide the opposite patch as long as we're consistent!) Be consistent about using \t. (Though saving a few bytes seems like it might be better done in the code that generates help.h rather than directly in the source, since tabs make careful ASCII art layout hard enough that we regularly have things misaligned.) Remove trailing periods (most of which seem to have been added by me). Always use the US "human readable" rather than my British "human-readable", and be more consistent about declaring whether we're showing multiples of 1000 or 1024. Just say "verbose" rather than adding a useless "mode" or "output". | |||
2018-11-19 | A few more GLOBALS() single character argument style conversions. | Rob Landley | |
2018-11-17 | Convert more GLOBALS argument vars to the new single letter code style. | Rob Landley | |
2018-11-13 | Instead of #warning about the musl bug, work around it (wrap syscalls ourselves) | Rob Landley | |
2018-11-02 | Convert more option vars to the new (single letter) coding style. | Rob Landley | |
2018-10-30 | Promote watch to other. | 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-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-07 | Fix build break on x32 target. | Rob Landley | |
2018-10-04 | blockdev: BLKRAGET returns 512-byte sectors. | Elliott Hughes | |
Bug: https://github.com/landley/toybox/issues/104 | |||
2018-09-29 | Command not in pending or example should probably default y. | Rob Landley | |
2018-09-26 | Don't claim to have i2cget non-byte mode support yet. | Rob Landley | |
2018-09-21 | Promote i2ctools. | Rob Landley | |
(Fixed one declaration not at start of a block.) | |||
2018-08-21 | Use \033 instead of \e gcc extension. | Rob Landley | |
2018-08-19 | Oneit shouldn't reboot the system if it's not pid 1. | Rob Landley | |
2018-08-17 | Make microcom use set_terminal() and move speed setting into set_terminal(). | Rob Landley | |
2018-07-04 | Add xgetrandom() with probe for new system call (else open/read /dev/{,u}random) | Rob Landley | |
2018-07-04 | diff: add timestamps to the ---/+++ lines and --color. | Elliott Hughes | |
(My apologies for mixing these two unrelated changes up.) | |||
2018-06-28 | stat: `stat -f` uses %T rather than %t. | Elliott Hughes | |
(At least for coreutils 8.28.) | |||
2018-06-28 | stat: fix %a in default output. | Elliott Hughes | |
`stat -c %a` doesn't output a leading zero, but `stat` does. | |||
2018-06-28 | stat: remove hideous GNUism. | Elliott Hughes | |
Even GNU coreutils 8.28 doesn't use the lopsided `quoting' any more. | |||
2018-06-28 | Tweak help text to clarify time fields are access/modification/creation time. | Rob Landley | |
2018-06-21 | Promote fmt to other | Rob Landley | |
2018-05-06 | Fix bug in 'xxd' causing incorrect translation for upper-case characters. | Zach van Rijn | |
2018-05-03 | Promote uuidgen. | Rob Landley | |
2018-04-08 | Add readlink -m to show where a missing path would be. | Rob Landley | |
Note: ubuntu will show -m through a file, this treat that as error. | |||
2018-04-06 | Fix precedence error in vmstat. | Elliott Hughes | |
toys/other/vmstat.c:98:12: error: logical not is only applied to the left hand side of this bitwise operator [-Werror,-Wlogical-not-parentheses] if ((!toys.optflags&FLAG_n) && isatty(1)) terminal_size(0, &rows); ^ ~ | |||
2018-03-28 | Haroon Maqsood pointed out "vmstat 1 1" didn't stop and "vmstat -n" didn't | Rob Landley | |
print the first header line. | |||
2018-03-23 | Add the extra info we've got back to the error message. | Rob Landley | |
2018-03-21 | Collate two error messages that both mean "your kernel is broken". | Rob Landley | |
2018-03-21 | Fix vmstat for large machines. | Elliott Hughes | |
48 cores is too much to fit in toybuf. | |||
2018-03-12 | Add xxd -o. | Elliott Hughes | |
2018-03-10 | Add getra and setra to blockdev | Ng Zhi An | |
Bug: 74390492 | |||
2018-01-14 | Switch xgettty() -> tty_fd() (returning -1 instead of erroring out if none). | Rob Landley | |
2017-12-27 | Promote setfattr | Rob Landley | |
2017-12-26 | Add xxd -i (and xxd -ri). | Elliott Hughes | |
The original xxd doesn't support -r with -i. The original also outputs "unsigned char name[] = { ... };" for input other than stdin, but that actually makes it less useful --- many languages support array initializers, but far fewer support that exact declaration syntax. Also fix the -c range checking and defaulting: ><= in the argument string only works for floating point arguments. Bug: http://b/64711851 | |||
2017-12-03 | Add uptime -p. | Elliott Hughes | |
We (Android) give up trying to teach folks what "up 142 days, 1:45" means... Bug: http://b/65205261 | |||
2017-12-02 | Android has its loop devices under "block" as Elliott says "by reason of | Rob Landley | |
historical accident", so fall back to check there. Also remove an obsolete comment TODO block, check !parent for dirtree top of tree instead of '/' in the filename, and typecast some printf arguments for 32-bit systems. | |||
2017-10-31 | Only show LABEL= when there is one. | Rob Landley | |
2017-10-10 | Tweak help_exit() to show "See %s --help" message on the same line. | Rob Landley | |
2017-09-21 | Add #warning about musl intentionally breaking chrt. | Rob Landley | |
2017-07-17 | Split out xgetaddrinfo() from xconnect() | Rob Landley | |
2017-05-27 | Replace two space indents with tab indents in help text (for consistency). | Rob Landley | |
2017-05-27 | Add separators in help -a with command name. | Rob Landley | |
2017-05-26 | Be more consistent about periods in help text. | Elliott Hughes | |
2017-05-24 | Add and use xmmap. | Elliott Hughes | |
Everyone forgets that mmap returns MAP_FAILED rather than NULL on failure. Every use of mmap in toybox was either doing the wrong check, or no check at all (including the two I personally added). | |||
2017-05-21 | Promote chrt | Rob Landley | |