Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-03 | Return empty string for dirtree_path() of "" (instead of NULL). | Rob Landley | |
2020-10-03 | Non-recursive dirtree_path() needs to return start of allocation | Rob Landley | |
when passed in extra allocation length or else free() gets very unhappy. | |||
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-26 | Teach dirtree that top level "" node is "." but not show in dirtree_path(). | Rob Landley | |
2020-09-23 | Have read_password() read from tty device, handle ctrl-c and ctrl-d. | 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-23 | Chris Sarra pointed out that nerfing xprintf() so it doesn't actually flush | Rob Landley | |
broke the password: prompt. | |||
2020-09-23 | TEST_HOST with util-linux 2.29.2 was... unhappy. | Rob Landley | |
2020-09-23 | Fix more TEST_HOST version skew. | Rob Landley | |
2020-09-23 | cksum and hostid are already implemented | Firas Khalil Khana | |
Both of [cksum](https://github.com/landley/toybox/blob/master/toys/posix/cksum.c) and [hostid](https://github.com/landley/toybox/blob/master/toys/example/hostid.c) are already implemented, unless you're planning on removing them. | |||
2020-09-20 | Fix a typo | Firas Khalil Khana | |
Fix a small typo, should be `compress` not `compess`. | |||
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-27 | xparsedate: support default date(1) output format. | Elliott Hughes | |
This round trip occurs in practice with $KBUILD_BUILD_TIMESTAMP in kernel builds. | |||
2020-08-25 | simplify | Rob Landley | |
2020-08-25 | tar.test: fix the -Igzip test to work with toybox file. | Elliott Hughes | |
GNU says "/dev/stdin" for the filename, but we say "-". | |||
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 | Tweak error message. | Rob Landley | |
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. | |||
2020-08-23 | mv should only prompt for file being unwriteable when stdin is a tty. | Rob Landley | |
2020-08-23 | Peter McConalogue pointed out that cp/mv -i prompt should default N. | Rob Landley | |
Also, the failing mv test was because posix says to prompt when mv-ing over an unwriteable file only when stdin is a tty (but -i prompts either way) | |||
2020-08-23 | Teach VERBOSE to do more for xpect. | Rob Landley | |
2020-08-21 | xputsl: fix the *other* line in this function :-) | Elliott Hughes | |
Some of the grep tests were still failing because we weren't flushing stdout --- xflush takes a bool that says whether to actually flush, so we need to pass 1, not 0. | |||
2020-08-21 | Fix cp -P to not follow symlinks. | Martin Stjernholm | |
Also fix help text to say that it is not the default. | |||
2020-08-21 | Honor --no-preserve-owner for archive creation, and tidy up header comments. | Rob Landley | |
2020-08-21 | cpio: fixes for Android kernel build. | Elliott Hughes | |
Allow -pd to work by changing -p from an option that takes an argument to an option that implies there will be an argument (that is, `-pd x` is `-p -d x` with x being the directory for -p, rather than `-p d x` with d being the directory, as we previously interpreted it). Fix -d (aka --make-directories) to not be a no-op. Previously we acted as if this was always on. Accept --quiet and effectively just ignore it, since toybox cpio doesn't seem to produce any output that --quiet would suppress. | |||
2020-08-20 | Minor roadmap intro tweak. | Rob Landley | |
2020-08-20 | xputsl: write to stdout, not stdin! | Elliott Hughes | |
This is why the tests have been failing since 42303209f44a335025b9cd1dbe5dd2f3069f2e99. | |||
2020-08-19 | Cleanup symlink handling. | Rob Landley | |
2020-08-19 | Patch out memory leak in tar.c | Chris Sarra | |
2020-08-19 | Typo. | Rob Landley | |