Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-19 | Comment tweak. | Rob Landley | |
2018-08-17 | Make microcom use set_terminal() and move speed setting into set_terminal(). | Rob Landley | |
2018-08-04 | wc: fix the column width heuristics even further. | Elliott Hughes | |
This was found by https://kernel.googlesource.com/pub/scm/linux/kernel/git/shuah/linux-kselftest/+/master/tools/testing/selftests/splice/default_file_splice_read.sh which broke after the recent change. Plus this actually fixes another of our existing test failures on the host. I'm assuming we don't want to try the "exact fit" heuristics until we have a concrete need for them. (I haven't fully understood the circumstances under which they're used, though the two remaining host test failures appear to be because of them.) Bug: http://b/111891791 Test: ran tests | |||
2018-08-04 | file: slightly improve .class, add .dex. | Elliott Hughes | |
2018-07-28 | Check for integer overflow in pathologically broken elf files by moving the | Rob Landley | |
sh_size>file length test inside the loop and changing the vars to unsigned. | |||
2018-07-18 | ps.c cleanups after help text reshuffle. | Rob Landley | |
2018-07-18 | Factor out "ps -o help" to show fields, move help text into -o type array, | Rob Landley | |
add comments to get_ps(). | |||
2018-07-09 | Fix wc column widths. | Elliott Hughes | |
2018-06-14 | Fix cut -DF as awk replacement by not matching delimiterless lines with -D | Rob Landley | |
2018-06-14 | Change do_lines() semantics to end with a callback(0,0) to indicate EOF, | Rob Landley | |
adjusting existing users. | |||
2018-06-12 | top: remove flicker in interactive mode. | Elliott Hughes | |
2018-06-12 | top: running processes are shown in bold. | Elliott Hughes | |
2018-06-02 | Convert more ps help text to two columns. | Rob Landley | |
2018-05-27 | Teach "file -" to recognize ELF files, add bounds checking and comments. | Rob Landley | |
2018-05-06 | Support fractional seconds (and other time units) in `top -d`. | Elliott Hughes | |
LTP uses `top -d 0.1`, which isn't convincingly useful, but general support for other time units might be useful, and switching to xparsetime addresses both at once. Also fix 3169d948c049664bcf7216d4c4ae751881099d3e where I mistakenly treated `rev` and `toys.optflags&FLAG_b` as interchangeable. (Without this second fix, `top -b` looks fine but `top` is broken!) Also fix xparsetime to reject input such as "monkey" or "1monkey". | |||
2018-04-23 | Don't include spurious '\r's in `top -b` output. | Elliott Hughes | |
2018-04-18 | Add the flags linux kernel build checks for. | Rob Landley | |
2018-04-13 | Add getconf. | Rob Landley | |
2018-04-12 | Fix "cp -p" doesn't preserve timestamps bug | Minghui Liu | |
2018-04-08 | Add cp --parents | Rob Landley | |
2018-04-08 | Add mkpath() for common case of mkpathat(), and #define magic constants. | Rob Landley | |
2018-03-19 | Ryan Prichard pointed out that du -d0 should act like du -s, but the plumbing | Rob Landley | |
wouldn't let him assign a negative default value, so I fixed it. | |||
2018-02-22 | Bugfix, facility values are <<3 in the headers. | Rob Landley | |
2018-02-18 | Work around a musl-libc bug that has facilitynames/prioritynames in headers | Rob Landley | |
but then the link fails. | |||
2018-02-10 | Fix ps -T again, but this time read files from tid directory, not pid. | Rob Landley | |
(Otherwise updating pid to parents makes threads read thread parent data.) | |||
2018-02-10 | Rename struct strawberry -> struct ofields, and carveup -> procpid. | Rob Landley | |
The first contains display fields selectable by the -o argument, the second contains the /proc/$PID data for one process. | |||
2018-02-09 | Andreas Gampe suggested a different fix. | Rob Landley | |
(Bionic _does_ do the malloc(0)!=0 thing, the problem is pedantic access checking, not null dereference. So test count instead.) | |||
2018-02-08 | Thinko pointed out by Andreas Gampe (causing segfaults in top, oops). | Rob Landley | |
2018-02-04 | Add crc32. | Rob Landley | |
In cksum, make -H pad with leading zeroes to 8 chars, don't output len with -N, and don't output filename with zero arguments. | |||
2018-01-24 | Revert the ps -T thing until I understand what Elliott wants. | Rob Landley | |
2018-01-15 | Fix "ps -T 1234" to show thread belonging to that PID. | Rob Landley | |
2018-01-15 | Merge shared_main() back into ps_main() and top_main(), add comments. | Rob Landley | |
2018-01-15 | Add more comments to ps. | Rob Landley | |
2018-01-06 | Move millitime() into lib.c. | Rob Landley | |
2018-01-01 | Promote logger, and fluff up help text a bit. | Rob Landley | |
2017-12-29 | Promote iconv. | Rob Landley | |
2017-12-26 | Fix xargs -0 with -n. | Elliott Hughes | |
Also make -0 and -E mutually exclusive (rather than just ignore -E with -0). Bug: https://github.com/landley/toybox/issues/78 | |||
2017-12-11 | An incomplete list of deviations from posix (it's a start). | Rob Landley | |
2017-11-26 | Recognize sh/frv fdpic, and add types for bpf and new microblaze. | Rob Landley | |
2017-11-26 | Use endianness info to read executable type. | Rob Landley | |
2017-11-23 | Add "time -v". | Elliott Hughes | |
This shows the other fields in getrusage. I've chosen to only show the ones actually maintained by Linux. | |||
2017-11-21 | Make find -exec + obey ARG_MAX just like xargs. | Elliott Hughes | |
This isn't ideal, but it matches xargs and none of us is likely to have time to do the best possible thing any time soon. Bug: http://b/65818597 Test: ./toybox find /usr/local/google/ndkports/ -exec echo {} + | |||
2017-11-16 | Minor tweaks. | Rob Landley | |
2017-11-16 | Add "df -i". | Elliott Hughes | |
Also switch to u64 for calculations. Some FUSE file systems have inode counts large enough to overflow s64. | |||
2017-11-03 | file(1): add ogg, TrueType font, LLVM bitcode, PEM certs, and PE executables. | Elliott Hughes | |
More of the files encountered on the Android system image (plus PE executables, which we build but which shouldn't actually make it to the system image!). | |||
2017-10-31 | Add top -m, fix width truncating for narrow screens (off by one), and add ↵ | Rob Landley | |
iotop -H | |||
2017-10-31 | Fix cut -s and -f when delimiter not found (posix says print whole line). | Rob Landley | |
2017-10-25 | Make -c work with unicode chars, and first stab at -C measuring columns. | Rob Landley | |
2017-10-17 | Fix groups(1) and id -G. | Elliott Hughes | |
Both should only output the groups. | |||
2017-10-10 | Complete rewrite of cut. Handle multipe ranges, add -DFO options, start | Rob Landley | |
of utf8 support (not finished yet)... Adds new loopfiles_lines() wrapper to lib.c that calls do_lines from loopfiles. |