Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-08 | Teach devmem about nommu and 0x prefix on address. Print hex or decimal | Rob Landley | |
output depending on whether address was hex or decimal. | |||
2020-10-29 | Make it easier to switch regex implementations. | Elliott Hughes | |
One reason to use toybox on the host is to get the same behavior across Android/Linux/macOS. Unfortunately (as we've seen from a few bugs) one area where that doesn't quite work is that toybox uses the libc regular expression implementation. That's fine, and mostly what users want, but those folks trying to get the exact same behavior everywhere might want to switch in a known regex implementation (bionic's NetBSD regex implementation, say) for increased consistency. That actually works pretty well, but portability.h has an #ifndef test for REG_STARTEND before including <regex.h> that gets in the way. To make up for that, this patch removes the unnecessary #include <regex.h> from grep.c itself. | |||
2020-10-28 | Tweak help text again. | Rob Landley | |
2020-10-23 | Fix endless recursion bug on nommu for sh -c 'echo $(echo)' | Rob Landley | |
2020-10-22 | Add nommu-able xvdaemon() and use it to remove some TOYBOX_FORK dependencies | Rob Landley | |
2020-10-21 | blkdiscard: fix uninitialised offset | Patrick Oppenlander | |
2020-10-21 | Tweak watchdog help. | Rob Landley | |
2020-10-21 | Promote watchdog. | Rob Landley | |
2020-10-20 | Typo. | Rob Landley | |
2020-10-20 | Can't call daemon() on nommu. | Rob Landley | |
2020-10-19 | More tests, and a workaround to pass one of them. | Rob Landley | |
(The bug is that "echo hello \" followed by just enter should end the $PS2 state but it persists when the line is empty because resulting collated line still ends with \ so it wants another line.) | |||
2020-10-19 | Implement source, fix empty ${x-alt}, use %zu as suggested by e5ten. | Rob Landley | |
2020-10-18 | Add sha3sum. | Rob Landley | |
2020-10-15 | rtcwake: default to UTC if /etc/adjtime can't be read | Patrick Oppenlander | |
This is consistent with the util-linux implementation. | |||
2020-10-15 | hwclock: default to UTC if /etc/adjtime can't be read | Patrick Oppenlander | |
This is consistent with the util-linux implementation. | |||
2020-10-15 | stty: don't mangle c_iflags. | Elliott Hughes | |
Fixes https://github.com/landley/toybox/issues/251 where `stty 300` was mangling c_iflags to 0x300 because even if we don't match a full hex specification of struct termios, sscanf() will have overwritten the first value, which is c_iflag. | |||
2020-10-15 | Patrick Oppenlander suggested watchdog also catch SIGINT. | Rob Landley | |
2020-10-14 | Fix && || traversing loops, and typecast past size_t being stupidly typed. | Rob Landley | |
2020-10-14 | Implement ${var/search/replace} | Rob Landley | |
2020-10-13 | Fix up ${x%y} ${x^y} ${x,y} and add tests. | Rob Landley | |
2020-10-11 | toysh: more variable/wildcard plumbing and tests. | Rob Landley | |
2020-10-06 | toysh: Yank debug scaffolding. | Rob Landley | |
2020-10-06 | toysh file wildcards: echo toys/*/*.c works now. | Rob Landley | |
2020-10-05 | Update i2ctools.c | chrisrfq | |
Fix i2cdetect parameter reading so "last" value is read from correct argument. | |||
2020-10-04 | Implement ${x#y} and ${x##y} | Rob Landley | |
Debug wildcard * match, teach skipslash() to fill out a wildcard deck, make collect_wildcards() flush remove the parsing-only 0th entry. | |||
2020-10-02 | Cleanup pass on route.c | Rob Landley | |
2020-10-01 | Debug wildcard plumbing. | Rob Landley | |
2020-09-27 | Implement wildcard match plumbing. (Not yet fully debugged.) | Rob Landley | |
2020-09-23 | Only attempt to truncate regular files in dd. | Rob Landley | |
2020-09-23 | Add ftruncate logic to handle non-regular files | Chris Sarra | |
ftruncate was failing on device files, leading to whole dd.c failures. This patch allows us to dump device files. | |||
2020-09-23 | Cleanup pass on stty.c | Rob Landley | |
2020-09-14 | Fix multiline case/esac parsing, make syntax_err() exit non-interactve | Rob Landley | |
contexts like scripts, and tweak debug scaffolding. | |||
2020-09-12 | Replace HR_COMMAS with HR_NODOT | Rob Landley | |
The comma thing turned into an internationalization can of worms, don't go there. Keep the "show megabytes on systems with >10G" logic which includes not showing 0.0 for single digit values. | |||
2020-09-10 | Add ipv6 support to wget.c | Chris Sarra | |
2020-09-10 | blkid: don't show empty tags. | Elliott Hughes | |
The util-linux blkid (even if explicitly asked with -s) won't show you a tag with no value. | |||
2020-09-09 | Use flag macros and document -rn options. | Rob Landley | |
2020-09-09 | Use the infrastructure properly. | Rob Landley | |
2020-09-09 | Cleanup of logger.c. (Asked for more testing on the list.) | Rob Landley | |
2020-09-09 | Attempt internationalization of HR_COMMAS, 9 digit memory sizes for top, | Rob Landley | |
and use the comma format when selected even if <3 digits (no 0.0M) | |||
2020-09-08 | logger.c was failing to properly log local0-local6 facilities, due to a ↵ | Chris Sarra | |
string parsing error. This patch enables proper local facility handling. | |||
2020-09-05 | Fix segfault for sh -c 'echo {a..Z}' | Rob Landley | |
Bash produces different output for that test, but I'm not sure I care? http://lists.landley.net/pipermail/toybox-landley.net/2020-September/011990.html The problem is parse_word() guarantees its output's quotes/escapes are completed, but brace expansion happens after parse_word() and thus violating assumptions later code depends on to not do redundant error checking. The easy fix is to escape punctuation produced by parse_word (which in bash can only happen when you span upper and lower case ranges so "\" is the only interesting character). I could special case this to match bash exactly, but I'm waiting for someone to complain instead. | |||
2020-09-04 | Autodetect pid length. | Rob Landley | |
2020-09-04 | Add commas to top display, and adjust memory units to megabytes if >10G RAM. | Rob Landley | |
2020-09-03 | Implement brace sequence expressions ala {a..z} and {1..37..2} | Rob Landley | |
2020-09-02 | SIGHUP to init.c triggers inittab reload | Chris Sarra via Toybox | |
2020-08-31 | Implement select. | Rob Landley | |
2020-08-31 | Implement case/esac, add more wildcard tests. | Rob Landley | |
2020-08-24 | tar: add -I (--use-compress-program) support. | Elliott Hughes | |
This also changes the other compression options (such as -j) so that we pass no arguments for compression and just -d for decompression, which is what -I does to its filter and which appears sufficient. (I think I used -dc before just out of habit, since that's what I've been typing on the command line for decades.) | |||
2020-08-24 | Cleanup watchdog.c, as described on the list. | Rob Landley | |
2020-08-24 | Introducing toys/pending/watchdog.c | Chris Sarra via Toybox | |
This patch introduces a simple watchdog implementation for toybox. We send the appropriate ioctls to set the relevant timeouts, and intercept signals to safely shut down if required. |