Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-11 | date: some fixes. | Elliott Hughes | |
Add support for more input formats, primarily the ISO formats used by the AOSP build. I've improved/added to the tests a bit to cover these changes, and to explain the reasons for the various remaining test failures (none of which are regressions caused by this patch). | |||
2019-02-11 | Inline more functions only called once, unwrap wrappers, etc. | Rob Landley | |
2019-02-11 | Add SPDX identifier, and link to a wikipedia page. | Rob Landley | |
2019-02-10 | Remove unnecessary macros and typedefs, multipliation by sizeof(char), etc. | Rob Landley | |
2019-02-10 | Inline more macros only used once, replace BcId with struct str_len from lib, | Rob Landley | |
remove more unnecessary typecasts. | |||
2019-02-09 | Remove more unnecessary macros. Inline bc_parse_exprs[] with the bit order | Rob Landley | |
reversed so the mask is 1<<(x&7) instead of 1<<(7-(x&7)). Can't _quite_ make printString() use unescape() out of lib because \q is a thing? | |||
2019-02-09 | Remove more useless typecasts, wrappers, and inline a function. | Rob Landley | |
2019-02-09 | Remove some unnecessary wrappers, indirection, and typecasts. | Rob Landley | |
2019-02-08 | Sigh. Update release version for non-git source builds. | Rob Landley | |
2019-02-08 | Update news.html for 0.8.0 release.0.8.0 | Rob Landley | |
2019-02-07 | ps, top: fix VIRT and SHR fields. | Elliott Hughes | |
2019-02-05 | Promote sntp to net. | Rob Landley | |
2019-02-05 | The android NDK does not appear to have adjtime(). (It has the syscall, and | Rob Landley | |
it has clock_settime(), but not the libc adjtime() function...) *shrug* Stub it out in portability.h. | |||
2019-02-05 | Fix some llvm warnings. | Rob Landley | |
I don't know why NDK llvm is complaining about adjtime(), toys.h is #including <sys/time.h> which http://man7.org/linux/man-pages/man3/adjtime.3.html says is the right header...? | |||
2019-02-05 | Suppress warnings gcc should not be making (and a comment typo). | Rob Landley | |
2019-02-05 | Fix server loop timeout logic. | Rob Landley | |
2019-02-05 | Fix server mode and make request timeout 3 tries of 3 seconds (9 sec total). | Rob Landley | |
2019-02-04 | Reset screen wrap mode (broken by qemu -nographic output). | Rob Landley | |
2019-02-04 | sort -o: fix behavior when output file is one of the input files. | Elliott Hughes | |
Bug: http://b/123902291 | |||
2019-02-04 | Next round of sntp work: server and multicast modes, actually set time... | Rob Landley | |
2019-02-04 | unzip tests. | Elliott Hughes | |
I'm switching to a new laptop, and found this from 2017-07. I think these are the tests used for the Android libziparchive-based unzip. They pass on the host. | |||
2019-02-04 | who: make the output more like coreutils who. | Elliott Hughes | |
Also add a TODO for the (undocumented, half-finished) -a option. | |||
2019-02-03 | William Djupström pointed out that xexec() lost the absolute path check. | Rob Landley | |
2019-02-01 | Fix record-commands and logwrapper.c | Rob Landley | |
record-commands: Delete old log, only delete $WRAPDIR at end if path wasn't externally supplied, don't add the rm at the end to the log. logwrapper.c: don't skip filename when measuring space for command line malloc, use argv[0] instead of /proc/self/exe (which is realpath -f). | |||
2019-01-31 | Tweak build dependencies: rebuild toys/*/*.c when .o newer than .config. | Rob Landley | |
2019-01-31 | Sed assumed FLAG(r) was 1 but didn't document it above the NEWTOY line. (oops) | Rob Landley | |
2019-01-30 | Command logging wrapper to help analyze what commands scripts call and how. | Rob Landley | |
2019-01-28 | bc: Update to upstream version 1.1.0 | Gavin Howard | |
2019-01-25 | nc: allow immediate reuse of ports. | Josh Gao | |
Set SO_REUSEADDR when listening so that we can immediately reuse ports that are no longer being listened upon, instead of having to wait 60 seconds for the socket to be shutdown after being closed (even on localhost!). | |||
2019-01-25 | No real need to copy data into variables and do nothing else with it... | Rob Landley | |
2019-01-25 | Add "make bsd_defconfig" and "make macos_defconfig". | Rob Landley | |
2019-01-25 | OpenEmbedded needs commands installed in specific places. | Rob Landley | |
2019-01-24 | grep: "tried" should track arguments (not files) that existed, move -o "" test | Rob Landley | |
into display function, use unsigned length so output lines can be up to 4g each. | |||
2019-01-24 | More random in-progress sntp work. | Rob Landley | |
2019-01-22 | Whitespace: remove tabs from indentation. | Elliott Hughes | |
I accidentally added a tab in xargs.c, so as penance I'll clean up all the tabs. | |||
2019-01-22 | Fix sigjmp_buf/jmp_buf mismatches. | Elliott Hughes | |
Broke the bionic build: external/toybox/toys/net/netcat.c:188:37: error: incompatible pointer types assigning to 'sigjmp_buf *' (aka 'long (*)[33]') from 'jmp_buf *' (aka 'long (*)[32]') [-Werror,-Wincompatible-pointer-types] if (toys.optflags&FLAG_L) NOEXIT(child = XVFORK()); ^~~~~~~~~~~~~~~~~~~~~~~~ external/toybox/lib/lib.h:375:19: note: expanded from macro 'NOEXIT' #define NOEXIT(x) WOULD_EXIT(_noexit_res, x) ^~~~~~~~~~~~~~~~~~~~~~~~~~ external/toybox/lib/lib.h:367:16: note: expanded from macro 'WOULD_EXIT' toys.rebound = &_noexit; \ ^ ~~~~~~~~ 1 error generated. | |||
2019-01-22 | Actually calculating/displaying a reasonable time. | Rob Landley | |
Not yet setting, no server/multicast, should validate source address... | |||
2019-01-21 | Add more comments to ps.c and replace hardcoded value with a macro. | Rob Landley | |
If table grows >64 entries XX needs to change, but it can't be 128 yet because the slot value is a signed char. Currently 59 entries in table... | |||
2019-01-19 | Have test.sh use portability.sh too. | Rob Landley | |
2019-01-19 | Factor out scripts/portability.sh and have genconfig.sh use it to find sed/gsed. | Rob Landley | |
2019-01-19 | Fix various warnings building on FreeBSD. | Rob Landley | |
2019-01-19 | hostname: fix behavior when in jail. | Elliott Hughes | |
Only -d and -f should cause a DNS lookup. The rest should just act directly on the result of gethostname(3). Encountered with the AOSP buildbots' use of nsjail, but tested with both the Debian hostname and toybox hostname thus: ``` unshare -Uunr sh hostname android-build hostname hostname -s hostname -d hostname -f ``` (Not sure how to add that to the tests.) Also fix a SEGV with -s if the hostname doesn't contain a '.'. Also switch to the FLAG() macro. Also add the missing -s to the synopsis. Bug: http://b/123123255 | |||
2019-01-18 | xargs: make --help match reality. | Elliott Hughes | |
Implement -p, -t, and -r. Add some missing tests. Move -L and -x back to TODO since they're not implemented and I haven't yet even understood what they're supposed to do. | |||
2019-01-18 | Set of commands Ed Maste got building on FreeBSD. | Rob Landley | |
2019-01-18 | First chunk of sntp code. | Rob Landley | |
2019-01-18 | Teach xpoll() to measure time if interrupted, and wait for what's left. | Rob Landley | |
2019-01-18 | Airlock: linux-s390x build grew sha256sum dependency in 420, and remove "test". | Rob Landley | |
2019-01-16 | Move xsendto() to lib/net.c. | Rob Landley | |
2019-01-14 | Minor cleanups to patch. (Mostly whitespace and brackets.) | Rob Landley | |
2019-01-13 | Better support patching files with tabs in the name. | Rob Landley | |
Patch dates are optional these days, and I should properly work back from the end and only peel off properly formatted tab+date, but "tab followed by digit" is probably good enough and nobody's ever complained about just tab. And we still don't support patching filenames with newlines in them...) |