aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-14Move guts of help command into show_help() in lib/help.c, with config ↵Rob Landley
TOYBOX_HELP controlling infrastructure.
2013-04-14Tweak help text.Rob Landley
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-06Fix argument parsing so -- doesn't include itself in output.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-28Change uuencode test to match what other uuencode implementations actually ↵Rob Landley
produce.
2013-03-27Where I left off on analysis of other multicall binaries...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-27uudecode test should just call "uudecode" (not multiplexer via a path), and ↵Rob Landley
first test shouldn't succeed if toybox isn't even there.
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-21Update news page and link to ELC 2013 talk on toybox.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
2013-03-18The old nbd-client I wrote in 2010. Needs cleanup.Rob Landley
2013-03-17Remove unused min/max macros.Rob Landley
2013-03-16Move mdev into the pending directory, since it's not done yet.Rob Landley
2013-03-15Isaac Dunham took the public domain xz-embedded code and made an xzcat. I ↵Rob Landley
glued all his files together into one big one and threw it in pending. It needs something between cleanup and a complete rewrite.
2013-03-14Simplify license text, as mentioned on the mailing list.Rob Landley
Reasoning: it was never my intent to require anybody to copy license text into another project if they cut and pasted something out of toybox. The "permission for any purpose" is as close to public domain as you can get in our current screwed up legal system without making people uncomfortable the _other_ way. (Besides, my initial reading of that was "all copies of the source code" but that's not what it says, and somebody pointed out that Android has "show license text" options because paranoid lawyers think that sort of thing applies to the BINARY version, which is nuts.)
2013-03-13Added tag 0.4.4 for changeset 52e69f6710caRob Landley
2013-03-13Remove more debug code from find.Rob Landley
2013-03-13A couple quick fixes to find so I can try it out.Rob Landley
2013-03-13Find by Gurang Shastri.Rob Landley
2013-03-11Compile time probe to fish O_NOFOLLOW out of linux headers when fcntl ↵0.4.4Rob Landley
doesn't conform to posix-2008.
2013-03-09O_NOFOLLOW is specified by posix-2008 and varies by target, don't try to ↵Rob Landley
supply them for broken headers.
2013-03-05Call stat "stat" instead of "st" in menuconfig. Use xmalloc() instead of malloc.Rob Landley
perror_msg() sets return code already. Truncate long english messages that don't get translated. Don't return int from a function hardwired to always return 0. Don't test for that hardwired return value to change and print an error message that can never happen and would be a duplicate anyway. More whitespace cleanup. C does not require typecasting void *. Remove 404 URL to stat.html that isn't in posix.
2013-03-05Fix whitespace in submitted stat command.Rob Landley
2013-03-05Fix another allyesconfig build break in the pending directory.Rob Landley