aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-19Calculate block and inode usage in group table and bitmaps.Rob Landley
2007-02-18Precalculate block and inode usage given a starting file tree. This compiles,Rob Landley
probably doesn't actually work yet.
2007-02-18An old test suite wrapper I wrote, cleaned up a bit and checked for copyrights.Rob Landley
2007-02-16Add atolx() which understands extensions for kilobytes and megabytes and such.Rob Landley
2007-02-14Calculate st_nlink for each node, via a small but n^2 algorithm.Rob Landley
2007-02-13MacOS X has a defective sed with no -r.Rob Landley
2007-02-12More work on mke2fs.c. Random in-progress snapshot...Rob Landley
2007-02-12Make kconfig build on MacOS X. (Because it's there.)Rob Landley
2007-02-04Add parent pointer to dirtree, more work on mke2fs (populate dirtree, countRob Landley
index blocks).
2007-02-04Rename functions.c to lib.c. (Easier name to remember.)Rob Landley
2007-02-03Add xstat(), read_dirtree(), and read_dirtree_node().Rob Landley
2007-02-03Teach build to build only the toys/*.c selected in .config, and teachRob Landley
CFG_TOYSH_DEBUG to shut up the spurious "gcc can't tell that this is never actually used uninitialized because gcc is stupid" warnings.
2007-02-02Trim a redundant definition that confuses older compilers. (Regression testingRob Landley
against Red Hat 9.)
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