Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-31 | Fix blkid typo (label wasn't detected in murderfs). | Rob Landley | |
2016-01-31 | Tweak to "find" tests. | Rob Landley | |
2016-01-30 | Add grep -B -C | Rob Landley | |
2016-01-30 | Add grep -A | Rob Landley | |
2016-01-30 | Fix two CFG_TOYBOX_SUID corner cases: | Rob Landley | |
1) Don't try to force re-exec unless we actually dropped permissions. (Fixes "./toybox mount" when no suid bit on toybox binary, which previously exited.) 2) Set temporary toys.which value for error reporting. (Fixes "ln -s toybox mount && ./mount" with CFG_TOYBOX_DEBUG and no suid bit, which previously segfaulted.) | |||
2016-01-28 | Add SIGWINCH support to top, and implement -o and -n in pgrep/pkill. | Rob Landley | |
2016-01-28 | Adding -M broke ps -k header printing without -M. | Rob Landley | |
2016-01-28 | Bugfix I forgot to checkin, plus a wrapper function. | Rob Landley | |
2016-01-27 | Don't resort or recalculate headers for cursor up/down, do PGUP PGDN, and | Rob Landley | |
down move way down past end of list. | |||
2016-01-27 | Add cpu line to top, and fix a bug initializing upticks slot. | Rob Landley | |
2016-01-27 | long opts and -f for unshare | izabera | |
2016-01-27 | Don't try to be fancy with top headers, just hardwired the standardish ones. | Rob Landley | |
Still need to do the cpu(s) line in top. | |||
2016-01-26 | Add ps -M to measure/expand field widths if they don't fit. | Rob Landley | |
(Still truncates at the right edge to fit terminal width, but last commit made -w the default when no terminal width detected.) | |||
2016-01-26 | Add ps -O (inserts extra args before last field), and make -w the default | Rob Landley | |
when we haven't got a terminal width. Replace top CMDLINE with ARGS. More ps infrastructure genericization: parse reverse unconditionally. Break out get_headers() with global references moved to caller. change quick_ko() to default_ko() (dlist_terminate is now caller's job). | |||
2016-01-25 | Fix comma_args error reporting. | Elliott Hughes | |
None of the current callers' callbacks set errno, so this was resulting in bogus errors like "No device or address" when ps tried to complain about a misspelled field. | |||
2016-01-25 | Fix compiler warnings in traceroute. | Elliott Hughes | |
If we're fixing warnings in pending... | |||
2016-01-25 | Next lump of top work. Add -o DISPLAY_FIELDS -k FALLBACK_SORTS -s SORT_BY plus | Rob Landley | |
the start of -h HEADER (mostly parses text, but doesn't display %ESCAPES yet). Added UP, DOWN, and R keys. Made only iotop STAYROOT (not top), added comment explaining why. Bumped iotop's historical -O and -K to capital letters. Added quick_ko() to add argument list from string instead of arg_list. | |||
2016-01-22 | Factor out insanitize() from seq.c to next_printf() in lib. | Rob Landley | |
2016-01-21 | Replace slot[] constants with SLOT_blah, fix some that weren't displaying right. | Rob Landley | |
Make fallback sort do string sort after numeric tie, retain absolute uptime even though relative is needed for %CPU (hence utime2). | |||
2016-01-21 | I cleaned up the code in 'netstat.c' as belows. | Lipi Lee | |
- Adjust to 80 columns - remove a useless function(strchr_nul), variable, type casting and compile warnings(fgets) - clean up netstat command option condition - change useless double pointer to single point and dynamic memory allocation to static one - fix a ambiguous return type and typo | |||
2016-01-21 | Add a sed test from the posix mailing list. | Rob Landley | |
2016-01-20 | Correct units of %MEM and %VSZ. | Rob Landley | |
2016-01-20 | Add basic top support to ps.c, delete toys/pending/top.c. | Rob Landley | |
While I'm there, pack the ps help text, break out TOP_COMMON (todo: update config2help to collate that properly), add -o CPU showing which processor this pid is running on, implement -o C (it's %cpu without the fractional part), add -o %MEM, fix header padding. | |||
2016-01-20 | First stab at making readfileat() realloc() in a loop to read long files. | Rob Landley | |
2016-01-19 | Another CFG_TOYBOX_DEBUG test. | Rob Landley | |
2016-01-19 | runcon needs to exec, not recurse. | Rob Landley | |
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. |