aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-01Toybox option parsing must stop at the first non-option argument.Rob Landley
2007-01-31Missing comma, and slight simplification in defconfig sed invocation.Rob Landley
2007-01-31Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_.Rob Landley
2007-01-31Add make install_flat.Rob Landley
2007-01-31Small cleanup to prepare for cross-compile friendly make install.Rob Landley
2007-01-31Added tag 0.0.2 for changeset d2e38cb0b1cdRob Landley
2007-01-31I forgot to add count.c a while ago. (Memo to self: grab snapshots and build0.0.2Rob Landley
out of directory more often, to make sure I've checked in all the files...)
2007-01-31Move download->downloads (be consistent) and add a skeletal index bar alongRob Landley
the left (copied from firmware linux, half the tabs go nowhere).
2007-01-31This creates an almost valid empty ext2 filesystem, except for a few superblockRob Landley
fields (blank free_blocks and free_inodes), and no root directory. (And technically, no lost+found either.)
2007-01-29mke2fs: Stopping for dinner. It compiles.Rob Landley
2007-01-28More work on mke2fs.Rob Landley
2007-01-27Move superblock initialization to a function. Trim unused padding fromRob Landley
superblock.
2007-01-27One more field, minor shrinking, and start on block groups.Rob Landley
2007-01-26Filling out most of the ext2 superblock correctly now.Rob Landley
2007-01-25Update args.c to implement numeric arguments.Rob Landley
2007-01-25The fdlength() ioctl apparently doesn't work on files (and the lseek trickRob Landley
doesn't work on some devices, and we can't always tell _when_ it failed), so go to the binary search for now.
2007-01-23More work on mke2fs.Rob Landley
2007-01-23More random progress on mke2fs. Nothing to see yet.Rob Landley
2007-01-20Add "yes" command.Rob Landley
2007-01-20Teach pwd to detect write errors.Rob Landley
2007-01-20Comment and whitespace cleanupsRob Landley
2007-01-20Helps to "hg add" echo.c. Also, implement \0123 escapes for -e.Rob Landley
2007-01-20Add "echo". Has -n and -e (but not \0123 yet).Rob Landley
2007-01-20Merge a memset with an existing loop, tweak comments.Rob Landley
2007-01-19Merge two similar loops and expand a comment.Rob Landley
2007-01-19Another suggestion from Manuel: Grab 2 bits instead of 1 inside a loop. SavesRob Landley
4 bytes and reduces running time by one half of one percent.
2007-01-18Add count command.Rob Landley
2007-01-18Save 4 bytes of stack space.Rob Landley
2007-01-18In bunzip replace setjmp/longjmp handling with error_exit(), replace stringRob Landley
based handling of a 6-byte header with with two 24-bit integer reads. Use xmalloc() and xzalloc().
2007-01-18Add fdprintf(). Remove reread() and rewrite() which handle -EINTR, whichRob Landley
shouldn't be a problem if we register signal handlers with sigaction(SA_RESTART) Straighten out count and len (I generally consistently use "count" for the current progress and "len" for the total, but this time I got them backwards for some reason and don't want to confuse myself in future.)
2007-01-18More optimizations originally suggested by Manuel Nova: Use a sentinel valueRob Landley
for limit[] to move a test out of a loop. Unroll a single-bit get_bits() to avoid a function call in the common case on a hot path. And one more application of the old "two tests in one via typecasting and/or math" trick.
2007-01-17Minor cleanups.Rob Landley
2007-01-17Turn a memmove into a while(), reducing running time by 3.5% in my tests.Rob Landley
2007-01-17Another application of Manuel Nova's "math instead of ifs" trick. Saves 17b.Rob Landley
2007-01-17Minor optimization the compiler already does for us (according to bloatcheck),Rob Landley
but it looks cleaner.
2007-01-17Fix off by one error in a test.Rob Landley
2007-01-17Comment and whitespace changes.Rob Landley
2007-01-16Memmove is 11 bytes shorter than the unrolled loop, and Manuel Nova pointedRob Landley
out how to turn an if/else into a multiply and subtract (saving 2 bytes).
2007-01-16Add a quick and dirt bzcat (stdin to stdout only for the moment) to testRob Landley
out the bunzip2 library.
2007-01-14Add start of mke2fs/gene2fs, and some other stuff I've been working on.Rob Landley
2007-01-08xread() and xwrite() should take void *, not char *.Rob Landley
2007-01-08Add xaccess()Rob Landley
2007-01-08Add rewrite(), writeall(),and xwrite() to match the read versions.Rob Landley
2007-01-07xopen() wants 2 arguments unless you're creating a file, in which case youRob Landley
need 3. Doing varargs for this doesn't really appeal to me (bugs in waiting) so I made an xcreate() that takes 3 args, and had xopen() call it with 0 for the third argument. That way, if we feed O_CREAT to xopen() the permission 000 result should be easy to spot.
2007-01-07Two unrelated additions I'm working on cross over in this file. In theory IRob Landley
can use mercurial branches to keep this sort of thing separate, but at the moment I'm just going to check in some dangling config entries that don't control anything yet.
2007-01-04Blah. The sed filter's not right, I'll try again later.Rob Landley
2006-12-31Remove more warnings.Rob Landley
2006-12-31Make some of gcc 4.1's dumber warnings go away.Rob Landley
2006-12-30Comment tweak.Rob Landley
2006-12-14Note the mailing list.Rob Landley