From dbf10c643797bb4ca16cea7a70e76840fb59bd39 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 24 Oct 2020 06:56:44 -0500 Subject: Past time for 0.8.4 --- www/news.html | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) (limited to 'www') diff --git a/www/news.html b/www/news.html index 003af553..ba1d1f4b 100644 --- a/www/news.html +++ b/www/news.html @@ -8,6 +8,164 @@ a development environment. See the links on the left for details.

News

+

October 24, 2020

+

+"We are now cruising at a level of two to the power of twenty-five thousand to +one against and falling, and we will be restoring normality just as soon as we +are sure what is normal anyway."

+

- The Hitchhiker's Guide to the Galaxy

+
+ +

After a longer and slightly more +turbulent +development cycle than some +(the "the year +of hindsight" has not let up) +Toybox 0.8.4 +(git commit) +is out, with new commands sha3sum and watchdog.

+ +

The FAQ got noticeably larger, and the README has +more links. New command features include the sed -s flag, +cpio --no-preserve-owner now affects archive creation, +Elliott added tar -I and multi-type +find -type a,b,c support, Mark Salyzyn added xargs -P to +run parallel jobs, the ps and top commands +now autodetect pid length, and top adjusts units for memory display based on +system size.

+ +

Toysh and toyroot: +lots of new work on toysh: 29 commits to sh.c since last release, adding 1500 +lines and deleting 700, plus a bunch of sh.tests entries). Since last release +we implemented wildcards, case/esac and select, brace expansion sequences +(ala {1..10..2} and {a..z}), +the remaining variable slice types ${a#y} ${a%y} ${a^y} ${a,y} +${a/search/replace}, the "source" shell builtin, +the start of job control, and several bugfixes. +Plus the standalone "make sh" build understands MAYFORK now.

+ +

Documentation: +Some of the README contents moved to the FAQ, and the README's "presentations" +section got some new links. +New FAQ entries explaining mkroot ("how do I build a working Linux system +with toybox") and cross compiling (how to get/setup the 2 compilers and +3 libc we regression test against), plus "where does toybox fit into the +linux/android ecosystem". +The "toybox --help" output now lists the project's web page (by request).

+ + +

Elliott removed +getevent (an android board bringup/hardware debugging tool built by running +a python script against kernel headers, not really in scope for toybox), +fixed xargs help formatting, and taught the toybox multiplexer's +command list output (and "kill -l") to measure the current the terminal width +when wordwrapping (previously hardwired to 80 columns).

+ +

If you're curious, I checked in my release procedure +checklist, and +vixed a stale link in the nav bar on the left ("statistics" changed domains). +Firas Khaliki Khana fixed some issues in the roadmap, and Rob +tweaked the roadmap so status.html is slightly more current.

+ +

Tests: +The "make tests" target now fails if any of the tests it ran failed. +Lots of TEST_HOST tests got fixed (checking for specific error messages exposes +TEST_HOST to version skew, and scripts/test.sh will now skip TEST_HOST +commands that aren't installed) and added toyonly annotations as necessary +(replacing most uses of SKIP_HOST). +Eric Molitor added automated github tests on MacOS and Ubuntu using their +"workflows" thing. +The clang asan plumbing slows some code down more than 10 times, so some testing timeouts were expanded. + +

Pending: +Eric Molitor did a bunch of work on route: moved it to sbin, added xsend and +xrecv, taught display_routes() and setroute to use the rtnetlink API and +do hostname lookups, added support for mss, win, and irtt, merged ipv6 and ipv4 +codepaths with autodetection of address type, implemented RTA_CACHEINFO +support, switched exit paths to perror_exit(), and removed unused code. +Ethan Sommer fixed warnings in dhcpd, removed a bunch of unnecessary +; after GLOBALS() blocks and an unnecessary return in df. +Erik Moqvist fixed dns setting in the dhcp client. +Rob did some cleanup on bootchartd, traceroute, getty... +Elliott fixed getty to reliably update utmp. +Chris Sarra added ipv6 support to wget. +Ariadne Conill submitted several small fixes from testing Alpine Linux with +toybox, and Antoni Villalonga i Noceras fixed typos in error messages.

+ +

Bugfixes: +Elliott avoided sign extension in devmem, and Ethan Sommer switched it from +getpagesize() to posix sysconf(_SC_PAGESIZE). +Elliott fixed chmod -R +ignoring dangling symlinks, fixed stty misparsing c_iflags, fixed the chattr f2fs test with +compression enabled, taught blkid not to show empty tags, taught xparsedate() +to read date's default output format, fixed a recent echo -e \0 regression, +changed cpio -p parsing to match a bug in the gnu version +which an existing script depended on, +and switched hwclock back to looking +only at /dev/rtc0 for reasons involving kernel version skew and vendor bug reports.

+ +

David Legault pointed out that unescape2() (and thus echo -e) wasn't handling +\0 right. +Khem Raj reported that mips glibc doesn't have SIGSTKFLT, leading to +a build break if we assume glibc behaves consistently, which led to a bunch of +macos signal portability cleanups from Elliott. +William Djupström fixed tar extracting long file paths, adding hardlinks +to an archive, and reported that --exclude wasn't working. +Peter McConalogue pointed out that cp/mv -i prompt should +default N, and mv should only prompt when stdin is a tty. +Patrick Oppenlander made rtcwake and hwclock default to UTC if /dev/adjtime +isn't available, suggested watchdog catch SIGINT, and caught an +uninitialized offset in blkdiscard which gcc apparently didn't. +Ryan Pritchard reported that file wasn't getting gif heights right, +and Elliott added gif version output so TEST_HOST provided similar output. +Martin Stjernholm fixed cp -P to not follow symlinks and updated +the help text to say it's not the default. +Antoni Villalonga added more --long asiases to chgrp/chown/rmdir. + +

The symlink indirection code subtly broke xexec() so it would still try to call +a builtin when given a path to a command (fixed now). +The code to trip \n off xgetline() was using the length of the allocation +instead of the length of the read. +Netcat no longer leaks sockfd into child processes. +Patch "fuzz" support was outputting context lines from the hunk, not the +file. Chrisrfq fixed i2cdetect parameter reading. +Chris Sarra taught dd not to throw an error trying to truncate device files, +added a misshing fflush() to lib/password.c, fixed a parse error in logger +preventing local facility logging from working right, taught init +to reload inittab when it receives SIGHUP, and fixed a memory leak in tar.

+ +

Library: +New xvdaemon() function daemonizing on nommu systems, to wean commands +off daemon() which requires TOYBOX_FORK. +Teach sendfile_len() to use copy_file_range() when available, with compile +time probe. Fix xsignal_all_killers() to install the correct handler. +Rob switched dirtree_path() to a non-recursive implementation, and +taught dirtree that a top level entry named "" is equivalent to +"." but should not show up in dirtree_path(), +read_password() now reads from tty device rather than stdin, and handles ctrl-c and ctrl-d, and +human_readable() now has HR_NODOT so it can print single digit numbers without going "0.0". +Petri Gynther increased the vmstat column sizes so it didn't fit +in 80 columns anymore. +Elliott added UTC offset support to xparsedate().

+ +

Infrastructure: +mkroot now only passes --no-preserve-owner to cpio (so initramfs files +belong to root rather than whichever user ran the build) when using toybox's +version, because the other one is brain-damaged and errors out not +understanding it. (It understands it for extract, but not create. Yes really.) +New PENDING variable you can set to enable more than just sh and route out +of pending. +The "make distclean" no longer deletes root_download (where mkroot's "extra plumbing" +file saves source code downloads it tarballs, such as dropbear).

+ +

Cleanup: +Cleanup openvt (35 lines added, 78 lines removed) +Cleanup blkdiscard so lib/args.c parses the -o and -l numbers, which means +32 bit systems are limited to 2 gigabyte sizes which is a TODO item systemwide. +oneit now uses flag macros and mentions -rn in the help. demo-utf8towc +now has main.c call setlocale for it. +Some cleanup on stty.

+

May 11, 2020

Ford: Ah. A -- cgit v1.2.3