Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-18 | Implement pgrep -clv (and remove some accidentally checked in debug code). | Rob Landley | |
Still need to do -n and -o. | |||
2016-01-18 | Implement basic pkill plumbing, and fix FORCE_FLAGS on flag context switch. | Rob Landley | |
2016-01-17 | Extend utf8 fontmetrics so ps can use them. | Rob Landley | |
Also, I forgot to check in uuid_show() last time. | |||
2016-01-17 | Add -L label and UUID support to mkswap. | Rob Landley | |
2016-01-17 | Update draw_str() and friends to do standard escaping for ^X <AB> U+ABCD. | Rob Landley | |
2016-01-16 | Move create_uuid() to lib and xpoll() to lib/net.c. | Rob Landley | |
2016-01-16 | Add swapon -d (discard) | Rob Landley | |
2016-01-15 | Command line files without paths were attempting to use stdin as their dirfd, | Rob Landley | |
(because ls uses nonstandard directory recursion which collates all the command line arguments under a fake top node, which needs more thorough initialization). | |||
2016-01-15 | Locale setting is case sensitive. | Rob Landley | |
2016-01-15 | More utf8 test files. | Rob Landley | |
2016-01-15 | Fix sort -f, add tests, make TEST_HOST pass new tests. | Rob Landley | |
2016-01-14 | Implement most of pgrep and pkill. | Rob Landley | |
Needs testing and a few more options connected up. | |||
2016-01-14 | Make "find -execdir toys echo {} +" batch correctly and show topdir results. | Rob Landley | |
I dunno if find -execdir should show depth-first like it's doing, bit given that ubuntu's treating "+" and ";" the same for execdir... eh? Also, testing "find toys tests -mindepth 2 -execdir echo {} +" against the toybox source is easy (and why if (revert) fchdir() is needed), but adding that to the test suite means making a nontrivial hierarchy of files to test against (don't wanna use the project source because it's expected to change in ways that would break the tests)... The old "real world data vs test data" problem. | |||
2016-01-12 | Expand defconfig/allyesconfig/allnoconfig help text to explain what they're for. | Rob Landley | |
2016-01-10 | Fix tail -f /does/not/exist. | Elliott Hughes | |
Exit immediately if we don't actually have anything to -f --- it's -f's big brother -F that retries by name rather than by fd. | |||
2016-01-10 | Fix hwclock -u. | Elliott Hughes | |
You can't pass a NULL value to setenv(3). The "put things back how they were" intent of this code is best achieved by calling unsetenv(3) in the NULL case. (This causes a crash with "hwclock -u" on Android. glibc silently corrupts the environment instead.) | |||
2016-01-10 | Fix perror_exit_raw. | Elliott Hughes | |
Some things are worse when you remove the 'p'. | |||
2016-01-10 | Make cursor left/right change sort type in iotop. | Rob Landley | |
2016-01-08 | Fix cat -. | Elliott Hughes | |
Commit 4b4ab6a50998 broke loopfiles' handling of "-". This broke the existing cat tests, so no new test is necessary here. | |||
2016-01-08 | The sense of -L was flipped. | Elliott Hughes | |
2016-01-07 | Make scan_key() specify timeout in miliseconds, split out terminal_probesize(), | Rob Landley | |
add function key definitions and shift/ctrl/alt cursor keys. | |||
2016-01-05 | Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable format | Rob Landley | |
checking, and fix up format checking complaints. Added out(type, value) function to stat to avoid a zillion printf typecasts. | |||
2016-01-05 | Some utf8/unicode stress test files. | Rob Landley | |
2016-01-05 | Work towards making "find . -execdir echo {} + -execdir ls {} +" work, | Rob Landley | |
(not finished yet) plus some error message improvements. | |||
2016-01-02 | Fix find --prune. | Rob Landley | |
2016-01-02 | Fix "find . -exec echo {}" segfault, and stop measuring environment space, | Rob Landley | |
The segfault was spotted/fixed by Daniel K. Levy back in September, and again by Isabella Parakiss yesterday. While we're there, remove the environment size measurement code (the 128k limit was lifted by linux commit b6a2fea39318, which went into 2.6.22 released July 2007). | |||
2016-01-01 | First pass at iotop. | Rob Landley | |
Lotsa TODOs: Currently exit it with ctrl-c, not q. Doesn't show totals, PID instead ofTID, PR instead of PRIO (type/pri), human_readable can't display fixed point, IO isn't a percentage, COMM instead of COMMAND (so no [kernelthread] brackets), and no cursor left/right to change sort field... | |||
2015-12-31 | Tweak error message. | Rob Landley | |
2015-12-30 | Don't let mktemp -q /path/to/file delete arbitrary files, and don't have | Rob Landley | |
"mktemp -u > /dev/full" leave file around. | |||
2015-12-30 | lsb/mktemp: Add -u flag | Kylie McClain | |
The -u flag creates a file, and unlinks it before exiting. This is usually known as "unsafe mode", or "dry-run" mode. GNU mktemp has it, as does Busybox's mktemp and likely many others. | |||
2015-12-30 | First half of iotop. Add READ, WRITE, IO, DREAD, DWRITE, SWAP, DIO, and | Rob Landley | |
corresponding percentile fields to ps. Move FLAG_ macro usage to ps-specific code (top/iotop have their own flag contexts). Split init and match code into shared and ps-specific parts. Fix bug in COMMAND for privileged processes. | |||
2015-12-30 | Add more keys to scan_key() and fix hang in scan_key_getsize(). | Rob Landley | |
2015-12-30 | make "ls -m | cat" assume 80 columns. | Rob Landley | |
2015-12-30 | I didn't add comma_args() to lib.c, I added it with the other comma functions. | Rob Landley | |
(Oops. Missed a file checkin, build break, my bad.) | |||
2015-12-29 | Add strafter() to lib. | Rob Landley | |
2015-12-29 | Make pidof use comma_scan() | Rob Landley | |
2015-12-29 | Move comma_args() from ps.c to lib. | Rob Landley | |
(Moved header a while ago, forgot to check in function move.) | |||
2015-12-27 | Add scan_key_getsize() doing the ANSI probe, switch scan_key() to TAGGED_ARRAY, | Rob Landley | |
and add test_scankey. | |||
2015-12-24 | Move get_line() header to pending.h because posix has FILE * versions. | Rob Landley | |
2015-12-23 | Factor out draw_str() and friends. | Rob Landley | |
2015-12-22 | First guess at cp xattr support, ala --preserve=context,xattr | Rob Landley | |
2015-12-22 | Convert cp from magic constants to TAGGED_ARRAY() | Rob Landley | |
2015-12-21 | Cleanup tail -f. | Rob Landley | |
2015-12-21 | Rich Felker's reading of posix is that fchown() and fchmod() must be allowed | Rob Landley | |
on files opened read-only, so revert last commit (force writeable logic). | |||
2015-12-21 | Add ps -o psr,rtprio,sched. | Elliott Hughes | |
These three are currently available in Android's ps but not in toybox ps. | |||
2015-12-21 | Implement tail -f. | Josh Gao | |
2015-12-19 | Redo linestack to handle embedded NULs. | Rob Landley | |
2015-12-19 | Start of vi. | Rob Landley | |
2015-12-18 | Next giant chunk of ps work: add _NAME_TAG bitmask values to tags.h | Rob Landley | |
(leading underscore version is 1<<NAME_TAG version, with 1LL for >31 shift), suck lots of magic constants out of ps and use tag macros instead, redo command line display so there's now 6 variants (CMD COMM ARGS from posix, NAME CMDLINE from android, and COMMAND for completeness). Document more cases where posix is nuts or widely ignored. | |||
2015-12-16 | Don't discard previous block when mkstatus finds another span tag with same id. | Rob Landley | |