Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-05 | getconf: add pathconf(3) variables. | Elliott Hughes | |
Also improve the -l output to include sections (because you need to know whether you're dealing with a pathconf variable to supply the required path). | |||
2018-10-05 | getconf: fix glibc NPROCESSORS_ONLN. | Elliott Hughes | |
glibc doesn't have _XOPEN_UUCP (though bionic does), which meant that the generated array of values was out of sync with the hand-written array of names. This patch removes that by using a unified array and the preprocessor. A side benefit of this for me is that it makes toybox easier to integrate in the AOSP build system (the less shell script magic, the better). | |||
2018-10-04 | Add the current state of AOSP to the roadmap. | Elliott Hughes | |
2018-10-04 | Make it possible to build the AOSP .config against glibc. | Elliott Hughes | |
It's possible that we should just pull setprop back out of toybox to live with getprop in system/core/, but this lets us build the same toybox configuration for device and host in AOSP. (Longer term we'd like to use host bionic, but if we enable this we can start experimenting on the tobyox side before the bionic side is finished.) | |||
2018-10-04 | blockdev: BLKRAGET returns 512-byte sectors. | Elliott Hughes | |
Bug: https://github.com/landley/toybox/issues/104 | |||
2018-09-29 | Command not in pending or example should probably default y. | Rob Landley | |
2018-09-26 | Don't claim to have i2cget non-byte mode support yet. | Rob Landley | |
2018-09-21 | Promote i2ctools. | Rob Landley | |
(Fixed one declaration not at start of a block.) | |||
2018-09-21 | Implement i2c utilities. | Elliott Hughes | |
This is enough to cover the use cases of the Android users I know of. Bug: http://b/115644518 | |||
2018-09-21 | Stack can grow in either direction, so needs signed subtraction and abs(). | Rob Landley | |
Both positive and both negative should work, even crossing midpoint (which should never happen on linux) works in two's complement. | |||
2018-09-16 | file: remove %s with no corresponding argument. | Rob Landley | |
I've had added the argument, but I don't know what it wants? Ubuntu's file calls a bmp file "data". | |||
2018-09-16 | Nommu systems want to _exit() after vfork when exec fails, but should do ↵ | Rob Landley | |
cleanup ala fflush(0) after a normal exec() failure. | |||
2018-09-16 | It should never matter on Linux (where the top half of virtual address space | Rob Landley | |
is reserved for the kernel), but technically a pointer is unsigned long. | |||
2018-09-16 | Fluff up the roadmap a bit. | Rob Landley | |
2018-09-15 | Add .bmp supoprt to file(1). | Elliott Hughes | |
2018-09-15 | Add .wav support to file(1). | Elliott Hughes | |
2018-09-15 | Fix glibc build after 013876f067a11ebfcf47789921b376e7bf3bf5b8. | Elliott Hughes | |
/usr/include/unistd.h:626:15: error: conflicting types for 'confstr' | |||
2018-09-11 | Add a couple Android NDK links for reference. | Rob Landley | |
2018-09-09 | Variable data needs to go at the end. | Rob Landley | |
2018-09-08 | Tweaks to make building with Android NDK's llvm happier. | Rob Landley | |
2018-09-08 | Clean up test.c | Kevin Spiteri | |
* A number of logic and style fixes * No longer changes toys.optargs and toys.optc * Now supports ( ) ! -a -o * Supports POSIX special cases for low argument count | |||
2018-08-31 | Convert option style. | Rob Landley | |
2018-08-29 | added fold test for discussion | maqsood3525@live.com | |
2018-08-28 | Add a test case raised on the list. | Rob Landley | |
2018-08-26 | Add binary file detection to grep. | Rob Landley | |
2018-08-26 | Convert more commands to the new option/GLOBALS code style. | Rob Landley | |
2018-08-26 | Remove ls sub-option: always support --color. | Rob Landley | |
(Well, when you say --color or "alias ls='ls --color=auto'" in your shell.) | |||
2018-08-25 | Convert more argument variables in GLOBALS() to new style. | Rob Landley | |
2018-08-25 | Coding style change: 1) Use argument letter for variable names filled out by | Rob Landley | |
that argument (so "t:" fills out TT.t), 2) go ahead and collate arguments of same type on same line. (Order's guaranteed by C99 either way.) | |||
2018-08-21 | Use \033 instead of \e gcc extension. | Rob Landley | |
2018-08-19 | Oneit shouldn't reboot the system if it's not pid 1. | Rob Landley | |
2018-08-19 | Comment tweak. | Rob Landley | |
2018-08-18 | Allow enough space padding for "192.168.123.456/24" to consistently indent. | Rob Landley | |
2018-08-17 | Make microcom use set_terminal() and move speed setting into set_terminal(). | Rob Landley | |
2018-08-08 | Add bc (and its tests) to pending | Gavin Howard | |
2018-08-07 | Added support for a fourth field in mdev.conf | Faustas Azuolas Bagdonas | |
2018-08-07 | Forgot to check in the deflate header change, and pending shouldn't default y. | Rob Landley | |
2018-08-05 | Add ifconfig -S (short view), and do some minor cleanups while there. | Rob Landley | |
2018-08-05 | Tweak help text. | Rob Landley | |
2018-08-05 | Make gzip/zcat use lib/deflate.c when not using zlib, and inline fix_time(). | Rob Landley | |
2018-08-04 | Fix modprobe error handling. | Elliott Hughes | |
modprobe was failing if you `modprobe a.ko`, then `modprobe b.ko` where b.ko depends on a.ko --- b.ko will fail to load because a.ko is already loaded. The code to handle this was incorrectly checking `rc` rather than `errno` against EEXIST. (We should pull the insmod.c equivalent of `ins_mod` out into lib/ and reuse it in modprobe.c, but I didn't want to get bogged down.) Bug: https://issuetracker.google.com/112069618 Reported-by: Wen Xie <xiewen3@motorola.com> | |||
2018-08-04 | wc: fix the column width heuristics even further. | Elliott Hughes | |
This was found by https://kernel.googlesource.com/pub/scm/linux/kernel/git/shuah/linux-kselftest/+/master/tools/testing/selftests/splice/default_file_splice_read.sh which broke after the recent change. Plus this actually fixes another of our existing test failures on the host. I'm assuming we don't want to try the "exact fit" heuristics until we have a concrete need for them. (I haven't fully understood the circumstances under which they're used, though the two remaining host test failures appear to be because of them.) Bug: http://b/111891791 Test: ran tests | |||
2018-08-04 | Add tests for grep with implicit/explicit BREs and explicit EREs. | Elliott Hughes | |
This is in POSIX, but pcre2grep gets it wrong (https://bugs.exim.org/show_bug.cgi?id=2294). | |||
2018-08-04 | file: slightly improve .class, add .dex. | Elliott Hughes | |
2018-08-03 | Typo. | Rob Landley | |
2018-08-03 | xgetrandom: use getrandom result if it succeeds | Patrick Oppenlander | |
2018-08-03 | Don't include toys.h and lib/*.c in config2help.c, the host vs cross compiler | Rob Landley | |
build context (probes for portability.h) is too fiddly to keep stright, just copy the parts we need into the host tool. | |||
2018-08-03 | configure: fix typo | Francesco Valla | |
2018-08-03 | Fix error message pointed out by Reverend Homer. | Rob Landley | |
2018-08-02 | Move pending/compress.c to lib/deflate.c, first pass at genericizing it. | Rob Landley | |