aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-05-07Some work I did over the weekend on nbd_client, not sure where I left off...Rob Landley
2013-04-30generated/help.h depends on CONFIG_TOYBOX_HELPFelix Janda
2013-04-30Fix bare longopts to set unique optflag bits.Rob Landley
2013-04-29The host sort on many distros behaves stupidly, and sorts stuff in non-ascii ↵Rob Landley
order by default. Make it stop.
2013-04-29Fix xabspath when last path component exists but we haven't got permissions ↵Rob Landley
to open it (ala readlink -f /dev/sda as a normal user). Spotted by Ashwini Sharma.
2013-04-29Fix conflicting types for show_help().Rob Landley
2013-04-26Fix find -mtimeFelix Janda
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-26Remove leaked global path_mounts.Rob Landley
2013-04-26Eliminate leaked global bunzip_errors.Rob Landley
2013-04-26Quick sniff test to find leaked global variables.Rob Landley
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-22Forgot to check in a header that moved from ifconfig to toynet.h.Rob Landley
2013-04-21More find cleanupFelix Janda
2013-04-20More find cleanupFelix Janda
2013-04-21Fix some comments from way back when toybox first started (in 2006), when I ↵Rob Landley
was still cleaning busybox-isms out of my head...
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-20Commit 818 simplified the license text in the source tarball, this gets the ↵Rob Landley
web copy.
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-16Make genconfig use CFLAGS because building against a libc that isn't ↵Rob Landley
installed on the host may need --static to run the results.
2013-04-14Add tests for find's expression parsingFelix Janda
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