aboutsummaryrefslogtreecommitdiff
path: root/toys
AgeCommit message (Collapse)Author
2013-04-22stat: Remove unimplemented options and clean up help textFelix Janda
2013-04-22Add library function for the file permission formatting in ls and statFelix Janda
2013-04-27Add firmware field to modinfo output.idunham
2013-04-26Add posix headers to toynet.h, move xioctl() to lib.c, introduce lib/net.c ↵Rob Landley
and move xsocket() to it.
2013-04-25And another round of ifconfig cleanup.Rob Landley
2013-04-24Yet more drive-by cleanup of ifconfig.Rob Landley
2013-04-24Isaac Dunham pointed out that the kernel treats - and _ as identical in ↵Rob Landley
module names, so modinfo should too. Made it use mmap() while I was there, and some cosmetic refactoring.
2013-04-21More find cleanupFelix Janda
2013-04-20More find cleanupFelix Janda
2013-04-20stat cleanupFelix Janda
2013-04-19stat: Reindent from 4 to 2 spacesFelix Janda
2013-04-20More ifconfig cleanup.Rob Landley
2013-04-20ifconfig cleanup (Reorder functions to eliminate need for prototypes, put ↵Rob Landley
main at end).
2013-04-18find: Improve operator processingFelix Janda
2013-04-19Another round of ifconfig cleanup.Rob Landley
2013-04-17Add -f to chmod (just turns off -v).Rob Landley
2013-04-16More ifconfig cleanup.Rob Landley
2013-04-16Fix the help commit I screwed up, and replace leading tabs with spaces.Rob Landley
2013-04-16More ifconfig cleanup.Rob Landley
2013-04-16Isaac Dunham's help string cleanup.Rob Landley
2013-04-14Move guts of help command into show_help() in lib/help.c, with config ↵Rob Landley
TOYBOX_HELP controlling infrastructure.
2013-04-14ifconfig uses __caddr_t in one location; this is not guaranteed to work ↵Isaac Dunham
everywhere. It does not compile OOB on musl, so I changed it to the portable equivalent, char *. This compiles on musl, and should compile anywhere.
2013-04-12Convert tabs to spaces.Rob Landley
2013-04-12xzcat: more cleanup and some shrinking.Isaac Dunham
-drop __always_inline (c. 1.5k of binary size), -remove the xz_dec_bcj_end and memzero macros (memeq is left because of negative returns), -disable XZ_DEC_SINGLE and XZ_DEC_PREALLOC, since we aren't using them. (160 bytes) -Merge xz_dec_lzma2_end into xz_dec_end -Move xz_crc32 to where it's defined. (That does not seem to be duplicated elsewhere in toybox.)
2013-04-11uuencode tweak: output a non-whitespace character for 0 in traditional mode.Rob Landley
2013-04-11More ifconfig cleanup.Rob Landley
2013-04-11More xzcat cleanup.Rob Landley
2013-04-11More of same.Isaac Dunham
Actually, it's not quite the same: -use crc_init(xz_crc32_table,1) -- I guessed on this one based on a match between magic constants, then tested it. First try was wrong, but this works. (This is the sole difference in terms of actual _code_, as opposed to cleaning up defines and the like--here, it adds 48 bytes to final size if xzcat is the only toy, but drops 32 bytes if bzcat is also enabled...) -Move some crc64 code to where the comments are. This puts them near the area where they're used. -Remove some relics of separate files (we had half a dozen "this file is in the public domain" notices, a duplicate include, and used extern declarations for functions in the samefile)
2013-04-10More cleanup on find.Rob Landley
2013-04-10Redo find's indenting from tabs to two spaces.Rob Landley
2013-04-10Partial cleanup of findFelix Janda
- Remove unnecessary headers - dump_node is not used anywhere - exec_buf is unused - Replace SUCCESS with 1 and simplify code accordingly - a==0 -> !a - Simplify an incremation pattern using pre-increments - Add static keyword to functions - Make error messages print to stderr
2013-04-10Some xzcat cleanup by Isaac Dunham.Rob Landley
2013-04-05More ifconfig cleanups, mostly removing unused code.Rob Landley
2013-04-04Drive-by cleanup on ifconfig.Rob Landley
2013-04-04An ifconfig bugfix from the original submitter.Rob Landley
2013-04-02Kyungwan Han submitted ifconfig.Rob Landley
2013-04-02Clean uudecode up the rest of the way, move pending->posix and default y.Rob Landley
2013-03-28More uudecode cleanup.Rob Landley
2013-03-28More uudecode cleanup.Rob Landley
2013-03-27Incremental cleanup of uudecode.Rob Landley
2013-03-27Fix the USE() macro around NEWTOY, tweak help text, remove unnecessary ↵Rob Landley
wrapper, tweak whitespace and curly brackets.
2013-03-26Add help text for pending test command. (No actual implementation yet.)Rob Landley
2013-03-26Finish uuencode cleanup, default y, move it from pending to posix.Rob Landley
2013-03-24First round of uuencode cleanup: generate table, tweak help text, remove ↵Rob Landley
unnecessary output buffers, simplify base64 functions..
2013-03-24Logger, by Ilya Kuzmich.Rob Landley
2013-03-22uuencode/decode tests and tweaks from Erich Plondke.Rob Landley
2013-03-21Fix a bug in patch I fixed back in 2010 but forgot to apply here.Rob Landley
2013-03-21Add -a to who and switch to default y in defconfig.Rob Landley
2013-03-20Explain that code in the "pending" directory isn't necessarily ready for ↵Rob Landley
prime time.
2013-03-18uuencode and uudecode by Erich Plondke.Rob Landley