Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-09-09 | Redo/add seq precision logic. | Rob Landley | |
Josh Gao hit a case where "seq 1000000 1000001" output 1e+06, and while he was there changed several things to work like existing seq implementations. I changed a couple back (commenting out the test cases) until somebody came come up with a reason (or existing use case) to do it that way. | |||
2017-09-05 | Replace remaining mb*towc() calls with utf8towc(). | Rob Landley | |
2017-09-05 | Tweak utf8towc() to return -1 earlier sometimes (instead of -2), and add test | Rob Landley | |
program to compare against libc output. | |||
2017-09-02 | In wc, replace mbrtowc() with new utf8towc() which doesn't have a context struct | Rob Landley | |
or care about locale. | |||
2017-08-31 | Another try at fixing the ps segfault resulting from /proc entries vanishing | Rob Landley | |
out from under us due to asyncronous process exit. The directory we're traversing vanishing can result in DIRTREE_ABORTVAL being returned, which we turn into a NUL entry, but then we were trying to look at that null entry's children. Oops. | |||
2017-08-23 | Fix iconv build and add trivial test. | Elliott Hughes | |
2017-08-17 | lsof cleanup. | Rob Landley | |
2017-07-22 | Typo (env -0 was checking the flag wrong). | Rob Landley | |
2017-07-21 | netcat: make -l exit after handling a request. | Josh Gao | |
Bug: http://b/62305466 | |||
2017-07-17 | typo | Rob Landley | |
2017-07-17 | Redo ping plumbing. Actual ping part isn't there yet because kernel weirdness. | Rob Landley | |
2017-07-17 | Split out xgetaddrinfo() from xconnect() | Rob Landley | |
2017-07-11 | Don't remove "remount" from the option list during early parsing, the mount | Rob Landley | |
flag doesn't get set right otherwise and it tries to overmount instead. | |||
2017-07-09 | dd cleanup: binary search is overkill, eliminate struct pair, | Rob Landley | |
simplify strstarteq, use local variable "conv" instead of toys.optargs. | |||
2017-07-09 | Fix -Wformat compiler warning in expr.c. | Elliott Hughes | |
Android forces -Wformat on for all source. toys/pending/expr.c:116:28: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] ret->s = xmprintf("%.*s", m[1].rm_eo-m[1].rm_so, target+m[1].rm_so); ~~^~ ~~~~~~~~~~~~~~~~~~~~~ | |||
2017-07-07 | Make dd use atolx_range(), and teach atolx_range() about "w" suffix (word, *2). | Rob Landley | |
2017-07-02 | Add -t, deviations from posix, redo loop to have fewer duplicate tests. | Rob Landley | |
2017-07-02 | strings tests and bugfixes | Ilya Kuzmich | |
Fixes missing newline in output if last byte of the input is string. Fixes one-off offset bug. Adds strings tests. Signed-off-by: Ilya Kuzmich <ilya.kuzmich@gmail.com> | |||
2017-06-27 | whitespace/comment tweaks. | Rob Landley | |
2017-06-27 | teach head -c | Ilya Kuzmich | |
Not POSIX, but implemented in coreutils, busybox and freebsd. | |||
2017-06-19 | Manually inline TOP_COMMON and PGKILL_COMMON help text until I can teach | Rob Landley | |
the help infrastructure to handle it. (The lifetime rules are all wrong for hunks that get reused. Needs a largeish rewrite.) | |||
2017-06-14 | Grep exits with 2 for errors, which can happen at any time ( > /dev/full). | Rob Landley | |
2017-06-12 | Add grep -M match and -S skip supporting wildcard patterns. | Rob Landley | |
They don't imply -r because you might do find . -type f | xargs -S blah regex | |||
2017-06-11 | Provide error messages for files we can open but not read (ala directories). | Rob Landley | |
2017-06-10 | Fix bug where grep stopped at first dangling symlink and error_exited(). | Rob Landley | |
2017-06-09 | Promote dmesg back to lsb. | Rob Landley | |
2017-06-09 | Cleanup dmesg (as posted to the list). | Rob Landley | |
2017-06-04 | Don't add cpio TRAILER!!! entry by default, add new --trailer option if you | Rob Landley | |
want that. (This lets you concatenate cpio archives with "cat". Kernel's initramfs extractor doesn't need it.) | |||
2017-06-01 | Allow ':' in property names. | Elliott Hughes | |
Bug: http://b/62114389 Test: setprop Change-Id: I165bcc01bb2422d991f746c5e6490cbdfb74472f | |||
2017-05-28 | teach head -v and -q | Ilya Kuzmich | |
Not POSIX, but implemented in coreutils and busybox. Tests use sed to compensate for the stdin naming difference. Signed-off-by: Ilya Kuzmich <ilya.kuzmich@gmail.com> | |||
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-25 | Add -0 to env. | Rob Landley | |
2017-05-25 | Teach env that - as first argument means -i for some reason. (Posix!) | Rob Landley | |
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-23 | Add minof/maxof macros that autodetect type. Make xzcat use them. | Rob Landley | |
2017-05-21 | Promote chrt | Rob Landley | |
2017-05-21 | Cleaup chrt | Rob Landley | |
2017-05-19 | Add bzip2 support to tar. | Elliott Hughes | |
Also trivial cleanup of pipe -> xpipe. Bug: http://b/38215123 | |||
2017-05-19 | Implement date %N, loosely inspired by Elliott Hughes's patch. | Rob Landley | |
I didn't implement %37N's ability to insert zeroes, so removed those two tests. If you really need it, I can add the divide loop back. | |||
2017-05-14 | factor shouldn't give incorrect answers for >64-bit integers. | Elliott Hughes | |
2017-05-08 | Move strend() to lib/lib.c | Rob Landley | |
2017-05-08 | Now that xopen() no longer returns stdio, !fd doesn't need strcmp("-") to verify | Rob Landley | |
2017-05-07 | Fix error in writing output that was causing zcat to always fail. | Mike Moreton | |
2017-05-07 | Error if we can't autodetect filesystem type. | Rob Landley | |
2017-04-30 | Building mkpasswd on Android makes no sense. | Elliott Hughes | |
And won't work anyway because we don't have crypt(3). | |||
2017-04-30 | Implement zlib-based gzip/gunzip/zcat. | Elliott Hughes | |
2017-04-19 | Add ls -ll (with --full-time as a compatibility synonym) to show nanoseconds. | Rob Landley | |
(And, for some reason, timezone. Individual files have timezones?) | |||
2017-04-12 | Default to -b rather than -q when output is to a tty. | Rob Landley | |