Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-02-04 | Add parent pointer to dirtree, more work on mke2fs (populate dirtree, count | Rob Landley | |
index blocks). | |||
2007-02-04 | Rename functions.c to lib.c. (Easier name to remember.) | Rob Landley | |
2007-02-03 | Add xstat(), read_dirtree(), and read_dirtree_node(). | Rob Landley | |
2007-02-03 | Teach build to build only the toys/*.c selected in .config, and teach | Rob 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-01-31 | Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_. | Rob Landley | |
2007-01-25 | Update args.c to implement numeric arguments. | Rob Landley | |
2007-01-25 | The fdlength() ioctl apparently doesn't work on files (and the lseek trick | Rob 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-23 | More random progress on mke2fs. Nothing to see yet. | Rob Landley | |
2007-01-20 | Add "echo". Has -n and -e (but not \0123 yet). | Rob Landley | |
2007-01-20 | Merge a memset with an existing loop, tweak comments. | Rob Landley | |
2007-01-19 | Merge two similar loops and expand a comment. | Rob Landley | |
2007-01-19 | Another suggestion from Manuel: Grab 2 bits instead of 1 inside a loop. Saves | Rob Landley | |
4 bytes and reduces running time by one half of one percent. | |||
2007-01-18 | In bunzip replace setjmp/longjmp handling with error_exit(), replace string | Rob Landley | |
based handling of a 6-byte header with with two 24-bit integer reads. Use xmalloc() and xzalloc(). | |||
2007-01-18 | Add fdprintf(). Remove reread() and rewrite() which handle -EINTR, which | Rob 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-18 | More optimizations originally suggested by Manuel Nova: Use a sentinel value | Rob 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-17 | Minor cleanups. | Rob Landley | |
2007-01-17 | Turn a memmove into a while(), reducing running time by 3.5% in my tests. | Rob Landley | |
2007-01-17 | Another application of Manuel Nova's "math instead of ifs" trick. Saves 17b. | Rob Landley | |
2007-01-17 | Minor optimization the compiler already does for us (according to bloatcheck), | Rob Landley | |
but it looks cleaner. | |||
2007-01-17 | Fix off by one error in a test. | Rob Landley | |
2007-01-17 | Comment and whitespace changes. | Rob Landley | |
2007-01-16 | Memmove is 11 bytes shorter than the unrolled loop, and Manuel Nova pointed | Rob Landley | |
out how to turn an if/else into a multiply and subtract (saving 2 bytes). | |||
2007-01-16 | Add a quick and dirt bzcat (stdin to stdout only for the moment) to test | Rob Landley | |
out the bunzip2 library. | |||
2007-01-14 | Add start of mke2fs/gene2fs, and some other stuff I've been working on. | Rob Landley | |
2007-01-08 | xread() and xwrite() should take void *, not char *. | Rob Landley | |
2007-01-08 | Add xaccess() | Rob Landley | |
2007-01-08 | Add rewrite(), writeall(),and xwrite() to match the read versions. | Rob Landley | |
2007-01-07 | xopen() wants 2 arguments unless you're creating a file, in which case you | Rob 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. | |||
2006-12-31 | Remove more warnings. | Rob Landley | |
2006-12-30 | Comment tweak. | Rob Landley | |
2006-11-26 | Trawling through the archives: a broken test, an unnecessary memset, and a | Rob Landley | |
unrolling a small memmove. | |||
2006-11-26 | More whitespace/cowbell. (And change comment style to //.) | Rob Landley | |
2006-11-25 | Add my old micro-bunzip library. Needs some cleanup... | Rob Landley | |
2006-11-25 | Add cat -v. | Rob Landley | |
2006-11-25 | More work on option parsing. "df -t tmpfs" actually seems to work now. | Rob Landley | |
2006-11-24 | Fix a half-dozen bugs in argument parsing. More seems to work than not now. | Rob Landley | |
2006-11-19 | Allocate a more sane amount of memory. | Rob Landley | |
2006-11-19 | Add one if() that has lots of whitespace fallout. | Rob Landley | |
2006-11-19 | New option parsing infrastructure (doesn't use getopt). Hook it up to | Rob Landley | |
existing applets. Still a bit buggy, but bits of it work. | |||
2006-11-03 | Implement which. Add hello world to menuconfig. Wrap the various applet main | Rob Landley | |
functions in main.c with USE() macros so --gc-sections can strip them. | |||
2006-11-02 | Thinko: the Config.in for the toys should be in ./toys, not ./lib. | Rob Landley | |
2006-11-02 | Add xabspath(), is_file_type(), which_in_path(), and find_in_path(). | Rob Landley | |
2006-11-01 | Linked list functions, forgot to add this to the repository. | Rob Landley | |
2006-11-01 | The darn thing accidentally created a branch. I had to copy a half-dozen | Rob Landley | |
files to temporary locations to get them out of the way of the merge, and the next checkin will be putting them _back_. This commit is entirely to humor mercurial, and if I could figure out how to avoid getting it in this weird state, I would. | |||
2006-11-01 | The Config files don't need the CONFIG_ prefix. | landley | |
2006-10-31 | Add menuconfig, plus some basic Config info, lots of which is just future | landley | |
plans for toysh. Nothing's currently _using_ this config info, but at least it's being generated now. | |||
2006-10-30 | Add reread(), readall(), and xread() on the bus ride in to work... | landley | |
2006-10-30 | Implement df. Add -Wall to build and fix up warnings. Add copyright notices. | landley | |
Add error_msg() and itoa() to library. Remove argc from globals (since argv is null terminated), add optflags to globals. | |||
2006-10-26 | Rest of thinko fix. | landley | |
2006-10-26 | Thinko fix. | landley | |