Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-20 | Replace list_working with just list, "make list list_pending" shows combined ↵ | Rob Landley | |
list. | |||
2016-03-23 | Fix bzcat.test (as noted by Andy Chu), wean tests off $TOPDIR and supply $FILES | Rob Landley | |
instead, move tests/blkid into tests/files/blkid. | |||
2016-03-23 | Redo build stuff in response to Andy Chu's suggestions. | Rob Landley | |
Toybox single binaries are now made directly with the new name instead of stomping toybox and getting renamed. Unstripped files now live in generated/unstripped. Target to run all tests is now "make tests" to avoid conflict with "make test". .singleconfig now has .PHONY: entries for all test_$NAME targets. Default install location changed to /usr/toybox, code.html now says how to change it (set $PREFIX). scripts/install.sh --uninstall works now. (And you get to keep the pieces!) | |||
2016-03-12 | Update scripts/single.sh and cp.c so "make mv" isn't actually building cp. | Rob Landley | |
2016-03-02 | Factor out command name at the start of test name, have runtest.sh print it. | Rob Landley | |
2016-03-01 | The last-ever release of uClibc hasn't got prlimit, so probe. | Rob Landley | |
2016-03-01 | Use shell builtins instead of calling wc/awk/sed. (Fewer forks in build loop.) | Rob Landley | |
Based on suggestions from Nicholas Boichat. | |||
2016-03-01 | config2help: add missing ctype.h include | Mike Frysinger | |
This file uses isspace which is defined in the ctype.h header. | |||
2016-02-26 | Switch to $! for make.sh process enumeration. | Rob Landley | |
2016-02-25 | Musl needs an extra #include. | Rob Landley | |
2016-02-19 | Add test_COMMAND for each command, update "make help" to describe TEST_HOST | Rob Landley | |
and VERBOSE=fail, and fix a quote mismatch. | |||
2016-02-14 | Add "make list", rename make working->list_working and pending->list_pending, | Rob Landley | |
and filter out commands that aren't nofork but aren't installed either (toyflags 0, I.E. recognized aliases like "-sh" called from login). | |||
2016-02-10 | Wean scripts/install.c off toys.h so cross compiling less brittle. | Rob Landley | |
2016-02-10 | Don't include toys.h from config2help.c (so cross-compiling from systems we | Rob Landley | |
don't run on is easier), and use HELP_ instead of help_ for macro prefixes to avoid name collisions (such as help_exit() the function). | |||
2016-02-07 | Dependencies for "make COMMAND" | Rob Landley | |
2016-02-07 | Add "make ls" and friends targets, with "make working" and "make pending" lists. | Rob Landley | |
2016-02-07 | Add a warning when building commands out of pending. | Rob Landley | |
2016-02-05 | Debian unstable is even more pedantic than previous debian. | Rob Landley | |
2016-02-02 | Update to status.html and some test suite cosmetic tweaks. | Rob Landley | |
2016-01-18 | Implement basic pkill plumbing, and fix FORCE_FLAGS on flag context switch. | Rob Landley | |
2016-01-15 | Locale setting is case sensitive. | Rob Landley | |
2016-01-15 | Fix sort -f, add tests, make TEST_HOST pass new tests. | Rob Landley | |
2016-01-10 | Make cursor left/right change sort type in iotop. | Rob Landley | |
2015-12-27 | Add scan_key_getsize() doing the ANSI probe, switch scan_key() to TAGGED_ARRAY, | Rob Landley | |
and add test_scankey. | |||
2015-12-18 | Next giant chunk of ps work: add _NAME_TAG bitmask values to tags.h | Rob Landley | |
(leading underscore version is 1<<NAME_TAG version, with 1LL for >31 shift), suck lots of magic constants out of ps and use tag macros instead, redo command line display so there's now 6 variants (CMD COMM ARGS from posix, NAME CMDLINE from android, and COMMAND for completeness). Document more cases where posix is nuts or widely ignored. | |||
2015-12-16 | Don't discard previous block when mkstatus finds another span tag with same id. | Rob Landley | |
2015-12-13 | Start of TAGGED_ARRAY() infrastructure. | Rob Landley | |
This lets you have struct arrays with a string as the first member, ala: struct {char *name; int x, y} blah thingy[] = TAGGED_ARRAY(BLAH, {"one", 1, 2}, {"two", 3, 4}, {"three", 5, 6} ); And it produces #defines for the array index of each, ala: #define BLAH_one 0 #define BLAH_two 1 #define BLAH_three 2 So you can use thingy[BLAH_two].x and still reorder the elements at will. Note: if you screw up the array initializers, temporarily replace TAGGED_ARRAY(BLAH, with { and the ); with }; and the compiler will give you better error messages. (With the macro the compiler reports errors on the TAGGED_ARRAY line, not where the comma is missing in its contents.) Currently the TAGGED_ARRAY( and ); must be on their own lines, and the { and start of each attached string must be on the same line. | |||
2015-12-10 | Expand toys.optargs to 64 bits so people adding more options to ls don't run ↵ | Rob Landley | |
out. Keep the low 32 bits of FLAG_x constants as 32 bit numbers so that at least on little endian platforms it's still normal 32 bit math outside of lib/args.c. | |||
2015-11-02 | Don't pass target $CFLAGS to host builds (telling x86 compiler to be big-endian | Rob Landley | |
seldom ends well). Instead add -DBUILD_FOR_HOST to $HOSTCC and wrap #ifdefs around problematic (smack) includes from toys.h. | |||
2015-10-30 | Now that toybox is chmod -w, mv needs -f to overwrite it. | Rob Landley | |
2015-10-29 | Tweak permissions of toybox binary. | Rob Landley | |
2015-10-14 | make.sh: missing cflags for config2help | Alejandro Joya | |
config2help might require extra parameters to be passed to the compiler. For example it might need an additional header path. | |||
2015-09-29 | Make defconfig build for nommu. | Rob Landley | |
Adds XVFORK() macro, teaches xpopen_both() to call /proc/self/exe with NULL argv (and converts cpio -p to use that), adds TOYBOX_FORK guards to some unconverted commands. | |||
2015-09-23 | The -o /dev/null trick in probing isn't compatible with elf2flt, so use ↵ | Rob Landley | |
tempfile. | |||
2015-09-11 | Replace toys.exithelp with help_exit() in lib. | Rob Landley | |
2015-08-30 | Build updates: make change should use top level .config for global settings, | Rob Landley | |
add NOSTRIP variable to force skipping strip, and save intermediate flag data in generated/flags.raw and have mkflags.c error message point to that. | |||
2015-08-29 | Menuconfig option for musl-libc pretending mmu is just pining for the fijords. | Rob Landley | |
2015-08-08 | scripts/mkflags.c: add missing unistd.h, ctype.h | Isaac Dunham | |
2015-08-05 | Cosmetic tweak: newline at the end of "make change". | Rob Landley | |
2015-07-06 | Save failure reason for each make change .bad file. | Rob Landley | |
2015-07-03 | Probe for fork() instead of relying on a distro-specific #define. | Rob Landley | |
2015-06-25 | Suggestion from Elliott Hughes: tweak test infrastructure to notice if | Rob Landley | |
command exits with high errno and assume it segfaulted. | |||
2015-05-31 | Redo mkstatus.py to grep pending for pending data and trust toybox | Rob Landley | |
defconfig output for ready command list, to reduce manual updating. | |||
2015-05-09 | Probe for -Wno-string-plus-int. | Rob Landley | |
LLVM has its own nuts warnings about things that aren't wrong, but disabling them with the relevant -Wno-* warning disabling command line option drives gcc nuts because it's a command line option it doesn't recognize. (gcc 4.2.1 dies with an error. gcc 4.6 warns about it _only_ if it's warning about something else. (PICK ONE, either you warn about this or you don't, distract people from actual problems with noise about something clearly unrelated to what just changed is extra-stupid.) So just probe for it, and add the flag only if it doesn't complain about it while we're producing an unrelated warning. | |||
2015-05-03 | Yank smack from singleconfig. | Rob Landley | |
Need to come up with a better solution to this, but the problem is that single.sh's symbol enabling isn't dependency aware, and "silentoldconfig" prompts. I suspect the better solution is "write a kconfig replacement". | |||
2015-05-03 | If a shortopt is configured out right before a bare longopt, the option ↵ | Rob Landley | |
parsing infrastructure segfaults because there's no next shortopt but the list isn't empty. (There was a test for this, but we're simultaneously traversing two lists and it was testing the wrong one.) | |||
2015-04-19 | Cleanup getprop, add qstrcmp() to lib for qsort (because posix-2008 broke | Rob Landley | |
alphasort), add compile-time probe for config symbol TOYBOX_ON_ANDROID. | |||
2015-04-17 | Link against libattr and libsmack. | Xavier Roche | |
2015-04-17 | Make toybox --version use the "git describe" info if it's available. | Rob Landley | |
2015-03-06 | Yank $STRIP from config (and STRIP=no weirdness) and just allow strip to fail. | Rob Landley | |