Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-06 | Don't recurse into multiplexer more than once. | Rob Landley | |
Fixes make sh && ./sh -c 'toybox ls' | |||
2020-02-05 | Fiddle with main() comments. | Rob Landley | |
2020-01-30 | Move TOYBOX_VERSION fallback definition to toys.h. | Rob Landley | |
(A git build takes it from "git describe".) | |||
2020-01-03 | Add MAYFORK to "help", teach it to behave differently when called as a | Rob Landley | |
builtin, and add -u. | |||
2019-12-22 | Streamline init for NOFORK (fewer unnecessary syscalls for shell builtins). | Rob Landley | |
2019-12-06 | main.c: fall back to user's locale. | Elliott Hughes | |
We still prefer C.UTF-8 for predictability, but macOS doesn't have that. | |||
2019-10-18 | Release 0.8.20.8.2 | Rob Landley | |
2019-10-15 | Off by one error when you try to run a command through two symlinks. | Rob Landley | |
2019-08-23 | Trivial style fixes while I was looking at main anyway. | Rob Landley | |
2019-08-23 | Fix "ln -s toybox potato; ./potato" unknown command problem. | Rob Landley | |
(Commit 7771e94e2a08 broke it.) | |||
2019-05-29 | Release 0.8.1.0.8.1 | Rob Landley | |
2019-04-16 | Call setlinebuf(stdout) from singleinit, so automatic flush each \n of output. | Rob Landley | |
Commands that want something different can override this, but it seems like a fairly minor optimization and write(1) exists if we want to micromanage... | |||
2019-02-08 | Sigh. Update release version for non-git source builds. | Rob Landley | |
2018-10-31 | Update version to 0.7.8.0.7.8 | Rob Landley | |
2018-09-21 | Stack can grow in either direction, so needs signed subtraction and abs(). | Rob Landley | |
Both positive and both negative should work, even crossing midpoint (which should never happen on linux) works in two's complement. | |||
2018-09-16 | It should never matter on Linux (where the top half of virtual address space | Rob Landley | |
is reserved for the kernel), but technically a pointer is unsigned long. | |||
2018-07-02 | Dereference one layer of symlink in multiplexer on lookup failure, so you can | Rob Landley | |
"ln -s gsed sed" or similar if you need to use nonstandard names for things. | |||
2018-06-23 | News and version update for 0.7.7 release.0.7.7 | Rob Landley | |
2018-02-24 | Update version string to 0.7.6.0.7.6 | Rob Landley | |
2017-10-21 | Use setlocale(LC_CTYPE, "C.UTF-8") for more targeted locale enable: | Rob Landley | |
(only enable character parsing, force utf8, "C" semantics otherwise.) | |||
2017-10-19 | Elliott wants to add TOYBOX_VENDOR. | Rob Landley | |
2017-06-19 | Past time for 0.7.4.0.7.4 | Rob Landley | |
2017-05-23 | fixup code style | Joyounger | |
Signed-off-by: Joyounger <aquanox@163.com> | |||
2017-02-21 | It's past time for 0.7.3.0.7.3 | Rob Landley | |
2017-02-17 | Fix the comment about the Android SIGPIPE behavior. | Elliott Hughes | |
2017-02-10 | Add back bionic SIGPIPE handler workaround accidentally removed in 3b51a07e478d | Rob Landley | |
2016-10-20 | Announce 0.7.2.0.7.2 | Rob Landley | |
2016-10-17 | The recent --help infrastructure fiddling made "toybox --help unknown" segfault | Rob Landley | |
because lookup failure left this->which NULL and error_exit() dereferenced it. (Oops.) | |||
2016-10-01 | Move --version handling next to --help handling, so it applies to all commands. | Rob Landley | |
Say "toybox" before version string. Tweak sed to preserve lie-to-autoconf. | |||
2016-08-13 | Add TOYFLAG_NOHELP to disable --help processing for individual commands, | Rob Landley | |
apply it to "true" and "false". | |||
2016-06-30 | Fix option parsing infrastructure bug. | Rob Landley | |
In main.c: used adjusted string with placeholers for removed options (so flag values don't move based on config, allowing FORCE_FLAGS to work). In scripts/mkflags.c: test was wrong, a bare longopt never matches a single letter command, but it was treated as always matching when comparing allyesconfig vs current config to determine which options were disabled, so there was a corner case that got the flag values wrong. | |||
2016-06-05 | Fix TOYBOX_VERSION | Paul Barker | |
The latest tagged version is 0.7.1. | |||
2016-05-10 | Use CFG_TOYBOX_NORECURSE to avoid | Rob Landley | |
<strike>all that tedious mucking about with hyperspace</strike> stack measuring in ways that confuse security stuff. | |||
2016-05-07 | Work around increasingly insane compiler developers wanting to make everything | Rob Landley | |
undefined behavior so the optimizer can silently eliminate your entire program. | |||
2016-04-10 | Didn't check in all my local basename_r->getbasename changes. (Oops.) | Rob Landley | |
2016-02-10 | main.c: fix non-root usage when installed suid root | Patrick Ohly | |
When toybox is installed suid root and invoked by a non-root user for commands which do not require root privileges, it drops the root privileges during initialization. However, since commit afba5b8efd the result check of setuid() was inverted such that it aborted on success, making toybox unusuable for non-root users. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> | |||
2016-02-02 | Release time.0.7.0 | Rob Landley | |
Calling it 0.7.0 because the fullscreen (cursor/utf8) infrasructure is in now. | |||
2016-01-30 | Fix two CFG_TOYBOX_SUID corner cases: | Rob Landley | |
1) Don't try to force re-exec unless we actually dropped permissions. (Fixes "./toybox mount" when no suid bit on toybox binary, which previously exited.) 2) Set temporary toys.which value for error reporting. (Fixes "ln -s toybox mount && ./mount" with CFG_TOYBOX_DEBUG and no suid bit, which previously segfaulted.) | |||
2015-11-03 | Version 0.6.10.6.1 | Rob Landley | |
2015-09-27 | Another chunk of nommu support, replacing toys.recursion with toys.stacktop. | Rob Landley | |
2015-09-11 | Replace toys.exithelp with help_exit() in lib. | Rob Landley | |
2015-08-06 | Make multiplexer's "command not found" exit 127. | Rob Landley | |
Somebody (carsonh on freenode) objected that they were running something like "toybox test 1 == 2" and couldn't distinguish the test failing from toybox not having the test command. Why they were running toybox out of the multiplexer instead of having a test symlink in the $PATH, I couldn't tell you. (Is "I know toybox is on this system, but don't know how it was configured" a problem people actually have?) *shrug* They care about it more than I do, so now you can't distinguish between the multiplexer not being found and the command the multiplexer tried to run not being found. Progress! | |||
2015-07-19 | Tweak version number. | Rob Landley | |
2015-05-03 | Replace android-specific hack with just signal(SIGPIPE, SIG_IGN). | Rob Landley | |
2015-04-30 | Add default sigpipe handler for android (as suggested by Elliott Hughes). | Rob Landley | |
2015-04-17 | Make toybox --version use the "git describe" info if it's available. | Rob Landley | |
2015-04-07 | Adding --version broke ./toybox command list. (Oops.) | Rob Landley | |
2015-04-05 | Add --version to multiplexer. | Rob Landley | |
Can't think of a better place to stick the actual version info than a #define at the top of main. Makefile and toys.h are equally awkward, querying git tags wouldn't work if building a release tarball... watch me forget to update this when cutting a release. | |||
2015-03-06 | The "no }" error with find | xargs sed is because toy_init() wasn't blanking ↵ | Rob Landley | |
the GLOBALS() block on a recursive call. (How that ever worked...) | |||
2015-02-15 | Only discard optargs in toy_exec() after finding the command to run ↵ | Rob Landley | |
(otherwise the fallback exevp() segfaults). |