Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-02 | Fix "make tests" exiting on failure when test run in subshell. | Rob Landley | |
2021-06-02 | date: add -s. | Elliott Hughes | |
Used by someone's script. | |||
2021-06-02 | Add tests for other sha2 variants. | Rob Landley | |
2021-06-01 | Merge sha1sum and sha256sum tests. | Rob Landley | |
2021-06-01 | Clear environment variables between tests. | Rob Landley | |
2021-06-01 | Add sha256sum tests. | Rob Landley | |
2021-06-01 | fix USE declarations | Dan Brown | |
2021-06-01 | clean up unsuccessful attempt to calculate constants | Dan Brown | |
2021-06-01 | attempt to calculate round constants instead of using lookup table; doesn't ↵ | Dan Brown | |
work for SHA-512's 64-bit values | |||
2021-06-01 | first rough version of built-in hash sums | Dan Brown | |
2021-06-01 | add entry points for sha224,256,384,512 | Dan Brown | |
2021-06-01 | add sha256sum command which runs built-in sha1sum routine | Dan Brown | |
2021-05-29 | toysh: wchar_t->unsigned and turn "not" into a flag. | Rob Landley | |
2021-05-29 | Dear gcc: no, it really can't be used uninitalized. | Rob Landley | |
2021-05-28 | xparsedate should ignore trailing + or - (does not change timezone) | Rob Landley | |
2021-05-28 | Teach xparsedate() to handle more whitespace. | Rob Landley | |
2021-05-26 | Add find -quit | Rob Landley | |
2021-05-26 | Better link to LP64 documentation. | Rob Landley | |
2021-05-22 | Freenode->libera.chat ala ethereal->wireshark. | Rob Landley | |
https://boingboing.net/2021/05/19/freenode-irc-staff-quit-after-new-owner-seizes-control.html https://lwn.net/Articles/856543/ | |||
2021-05-19 | readelf: fix 32-bit build on Android. | Elliott Hughes | |
2021-05-19 | Commands in pending do not default y. | Rob Landley | |
2021-05-19 | 0.8.5 release0.8.5 | Rob Landley | |
2021-05-18 | The linux console code is inconsistent: most console= lines accept | Rob Landley | |
/dev/name but for some reason powerpc's hvc driver does not. | |||
2021-05-16 | Add black and white mode (x to toggle) | Rob Landley | |
2021-05-15 | Promote readelf to other. | Rob Landley | |
2021-05-15 | Cleanup readelf. | Rob Landley | |
2021-05-15 | modprobe: don't stop on empty lines. | Elliott Hughes | |
I don't _think_ that can happen with the .dep files since they're machine-generated, but the config files can and do contain empty lines to aid readability. (Not found on Android, so I haven't tested this, but the code already even contained a special case for empty lines. I haven't touched the /proc/modules loop because the kernel definitely isn't going to insert empty lines, and that code _would_ need to be modified to cope with empty lines, and since I can't test this, that would be not just pointless but also irresponsible!) | |||
2021-05-15 | Missed a couple in the wchar_t -> unsigned conversion. | Rob Landley | |
2021-05-15 | Convert utf8towc from wchar_t to unsigned (to match wctoutf8). | Rob Landley | |
The maximum unicode code point is 0x10ffff which is 21 bits. | |||
2021-05-15 | Clear errno in loop. | Rob Landley | |
Fixes theoretical bug I haven't actually seen. | |||
2021-05-15 | Promote unicode (merge into ascii.c) | Rob Landley | |
2021-05-15 | Style cleanup. | Rob Landley | |
2021-05-15 | The (insane) unicode consortium arbitrarily limited the codepoint space | Rob Landley | |
(utf8 can go to 7 bytes but unicode can't) so only test unicode range. | |||
2021-05-14 | Update README | peterennis | |
typo | |||
2021-05-11 | Add $BASHPID to show current process in () and such. ($$ is top level shell) | Rob Landley | |
2021-05-10 | Tighten up echo help text. | Rob Landley | |
2021-05-06 | Fix nohang wait. | Rob Landley | |
2021-05-02 | More job control plumbing. | Rob Landley | |
2021-05-02 | Add OpenBSD support | Ella-0 | |
2021-05-01 | telnet: just use dprintf() for IAC sequences. | Elliott Hughes | |
I don't see the need for the separate buffer, and just using dprintf() directly is less code. The only downside really is having to get the right number of `%c`s in your format string. | |||
2021-04-30 | Make && and || work on function calls. | Rob Landley | |
2021-04-28 | Toysh don't free function arguments before function returns. | Rob Landley | |
2021-04-27 | Make toysh function return properly and run next statement. | Rob Landley | |
2021-04-27 | Make toysh actually run a shell function. | Rob Landley | |
2021-04-27 | Use cheaper test that works with "toybox" name as a prefix. | Rob Landley | |
2021-04-27 | More line buffering. | Elliott Hughes | |
This patch does two things: 1. Enable line buffering for echo and yes. I found this through test flakiness from the toybox xargs tests running in CI on devices where "echo" is provided by toybox. For `echo y`, GNU echo does one write of "y\n" but toybox echo was doing two writes, which makes it more likely (4% on the heavily-loaded CI machines) for writes from the two processes to be interleaved. 2. Fix line buffering on glibc if you're calling `toybox foo` rather than `foo`. Otherwise we come through once and switch to unbuffered mode, then again and switch to line buffered mode --- which doesn't seem to actually work in glibc unless you specify a buffer (so passing toybuf and sizeof(toybuf) works, but NULL and 0 doesn't). I hit the second issue trying to reproduce the first issue on the desktop rather than on Android. (If you're scratching your head wondering "why yes(1) too, not just echo(1)?", that represents a blind alley I went down when I mistook which tool was in use. It seemed like the same principle should apply, and it matches what other implementations do.) | |||
2021-04-27 | Don't send reverse DNS lookups out into the world for something that's | Rob Landley | |
mostly only safe to use behind a firewall or through a VPN these days. | |||
2021-04-26 | More toysh function work. | Rob Landley | |
Of course "x() { echo hello; } | tr e f; x" allows the pipe but not the call. Ok, take out the union so you can && after a function declaration. | |||
2021-04-26 | Bugfix: sed s command couldn't skip initial match. | Rob Landley | |
2021-04-25 | First pass at toysh function() definition plumbing. | Rob Landley | |