aboutsummaryrefslogtreecommitdiff
path: root/toys/pending
AgeCommit message (Collapse)Author
2018-06-21Promote fmt to otherRob Landley
2018-06-21Tweak fmt width calculation.Rob Landley
2018-06-20Redo of fmt.c around loopfiles_lines() and understanding tab indents.Rob Landley
2018-06-11Promote ping to toys/netRob Landley
2018-06-11Fix ping -f, add summary section, yank TOYFLAG_ROOTONLY.Rob Landley
Traditional "ping flood" would be "ping -fi0 -c0" but we require root for -i<.2
2018-06-09Show workaround for the kernel bug when ping hits it.Rob Landley
Patches were submitted upstream to fix it at https://patchwork.kernel.org/patch/9847017/ and http://lkml.iu.edu/hypermail/linux/kernel/1710.3/04715.html to no effect.
2018-05-03Promote uuidgen.Rob Landley
2018-05-03Add uuidgen.Elliott Hughes
Reuse create_uuid, but make it match the current RFC.
2018-04-20Update tftp.cfilipperich
Optionally, accept and acknowledge OACK from server after sending original RRQ, if the server implements RFC2347 and responds first with an OACK before sending DATA packets.
2018-04-08Add mkpath() for common case of mkpathat(), and #define magic constants.Rob Landley
2018-03-23Inline toys/e2fs.h into mke2fs.c. (Debris from the dawn of time.)Rob Landley
2018-03-18Un-default fmt(1) while it's in pending.Elliott Hughes
2018-03-18The author of that bc.c says it won't be ready for 6 months and I'm notRob Landley
to touch it in the meantime, so no point having it in pending.
2018-03-13Add beep feature to watchMinghui Liu
2018-03-12bc cleanup: a few obvious inlines.Rob Landley
Inline #define bcg TT (from generated/globals.h) Inline BC_FLAG with FLAG_ values from generated/flags.h. Replace BC_MAX() and BC_MIN() with maxof() and minof() from Inline BC_INVALID_IDX (it's used twice and doesn't need a typecast). Inline bc_func_insertParam() and bc_func_insertAuto() (each is used once).
2018-03-12bc cleanup: move for(int i;) declarations to int i; for(i;).Rob Landley
Coding style: declarations go at the start of blocks.
2018-03-11Add bc to pendingGavin Howard
2018-01-31Ahem, I _said_ basic ping support.Rob Landley
2018-01-21gzip cleanup: fix test_gzip, unify do_gzip/do_gunzip, inline gzerror_msg().Rob Landley
2018-01-20Fix gunzip to past test_gunzip.Rob Landley
2018-01-03Cleanup pass on gzip.c.Rob Landley
2018-01-01Promote logger, and fluff up help text a bit.Rob Landley
2018-01-01Cleanup logger.c, and move the facilitynames/prioritynames SYSLOG_NAMESRob Landley
stuff syslog.h does into lib.c and portability.h
2017-12-29Promote iconv.Rob Landley
2017-12-29Cleanup iconv.Rob Landley
Implement -c, fix endless loop when illegal char happens with !outleft (don't need to check errno, just in == toybuf), refill buffer each time (less efficient handling of illegal chars but never have to worry about how long constitutes a valid sequence in unknown encoding). Fix input longer than 2k (memmove() has src/dest switched, second time through loop in starts at offset inleft...) Made it start at beginning every time. Switch iconv_open() error msg to show to/from and errno (rather than hardwired english text).
2017-12-27Promote setfattrRob Landley
2017-12-27Minor cleanup on setfattr.cRob Landley
2017-12-24Add fmt.Elliott Hughes
A very simple implementation of fmt, good enough for my daily use of !!fmt in vi to reflow checkin comments like this.
2017-12-10Cleanup pass on stty: collate do_stty() calls for future inlining,Rob Landley
collapse flag arrays to fewer lines, factor out xtcgetattr(), strip curly brackets around single lines, don't have a separate error message for tcsetattr() return code if more thorough check is on next line, take advantage of O_RDONLY being zero, document -F.
2017-12-05Use NULL rather than 0 in vargs.Elliott Hughes
Top bits count too!
2017-12-03Commands in pending should default n.Rob Landley
2017-12-03Add stty(1).Elliott Hughes
Full POSIX stty with Linux extensions. Output and behavior match coreutils 8.26 as far as I can tell. For some reason busybox 1.22 stty always shows all the special characters, even when they match "sane". I've matched coreutils, since "shows differences from sane" is easy to describe and obviously useful. Flags in the various arrays are not in the order they're introduced in POSIX or in the Linux header file: they're in the order that they're output by coreutils' stty. The -g output matches coreutils and busybox. I implemented iuclc, xcase, and olcuc even though they've been removed from POSIX because the others implement them, and "man stty" defines "raw" and "sane" in terms of them (where POSIX doesn't define "sane" in any useful sense). This builds fine against glibc 2.24, and as far as I can tell all the constants used were in Linux 2.6 so I'm assuming that there shouldn't be any #ifdef nonsense needed for any reasonable vintage of C library.
2017-12-03Gaƫl PORTAY wants mdev to work when Linux has the block layer configured out.Rob Landley
2017-08-23Fix iconv build and add trivial test.Elliott Hughes
2017-08-17lsof cleanup.Rob Landley
2017-07-17Redo ping plumbing. Actual ping part isn't there yet because kernel weirdness.Rob Landley
2017-07-17Split out xgetaddrinfo() from xconnect()Rob Landley
2017-07-09dd cleanup: binary search is overkill, eliminate struct pair,Rob Landley
simplify strstarteq, use local variable "conv" instead of toys.optargs.
2017-07-09Fix -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-07Make dd use atolx_range(), and teach atolx_range() about "w" suffix (word, *2).Rob Landley
2017-06-09Promote dmesg back to lsb.Rob Landley
2017-06-09Cleanup dmesg (as posted to the list).Rob Landley
2017-05-26Be more consistent about periods in help text.Elliott Hughes
2017-05-24Add 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-23Add minof/maxof macros that autodetect type. Make xzcat use them.Rob Landley
2017-05-21Promote chrtRob Landley
2017-05-21Cleaup chrtRob Landley
2017-05-19Add bzip2 support to tar.Elliott Hughes
Also trivial cleanup of pipe -> xpipe. Bug: http://b/38215123
2017-05-07Fix error in writing output that was causing zcat to always fail.Mike Moreton
2017-04-30Implement zlib-based gzip/gunzip/zcat.Elliott Hughes