Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/landley/toybox

toybox
https://github.com/landley/toybox

Cleanup of logger.c. (Asked for more testing on the list.)

f7fa69a772006faebec5b272e77cf8e2502087af authored over 4 years ago
Attempt internationalization of HR_COMMAS, 9 digit memory sizes for top,

and use the comma format when selected even if <3 digits (no 0.0M)

54965cadfe8f1aef663600cb07d3edbb0acf8769 authored over 4 years ago
logger.c was failing to properly log local0-local6 facilities, due to a string parsing error. This patch enables proper local facility handling.

6dedeb79511b4bbdcd2e1fbac10e2aa5d74930c5 authored over 4 years ago
Fix segfault for sh -c 'echo {a..Z}'

Bash produces different output for that test, but I'm not sure I care?
http://lists.landley.net/...

a7fe8d598ce8f4b0163ba72609aaa2c66f6a4315 authored over 4 years ago
Autodetect pid length.

1ff35e6c508fc605fd4268d479e5473f50debb67 authored over 4 years ago
Add commas to top display, and adjust memory units to megabytes if >10G RAM.

ec5e6e12ee6d7047ab013f3a2826abdb52666ea0 authored over 4 years ago
Implement brace sequence expressions ala {a..z} and {1..37..2}

cb064374c86259f74899162b28c4896e898401e3 authored over 4 years ago
SIGHUP to init.c triggers inittab reload

537e983f862d96933aa43325f5c1525378478acc authored over 4 years ago
Implement select.

fcba64ecad07c0756e0bb4ec3a79039d485590c9 authored over 4 years ago
Implement case/esac, add more wildcard tests.

adc863faabf7267b9c853686558d0e4a45a07a72 authored over 4 years ago
xparsedate: support default date(1) output format.

This round trip occurs in practice with $KBUILD_BUILD_TIMESTAMP in
kernel builds.

d1a446687a9c1072c254beffceda1c4d724035bc authored over 4 years ago
simplify

314917a5c522a463d45a007702cf29a39f4028b4 authored over 4 years ago
tar.test: fix the -Igzip test to work with toybox file.

GNU says "/dev/stdin" for the filename, but we say "-".

9239b1aa282485a180d09bae6e85d73a630e71c8 authored over 4 years ago
tar: add -I (--use-compress-program) support.

This also changes the other compression options (such as -j) so that we
pass no arguments for co...

b9fa85fc5eb2e9484e000381154972b9bfef71eb authored over 4 years ago
Tweak error message.

d07f530f328cc1362d7100d3f040fabcc501af74 authored over 4 years ago
Cleanup watchdog.c, as described on the list.

f876693b8cbb8b846906dcc541564ef21932f3aa authored over 4 years ago
Introducing toys/pending/watchdog.c

This patch introduces a simple watchdog implementation for toybox. We
send the appropriate ioctl...

6b4c32ae39860c88ed7d2699705ed503b1889bdb authored over 4 years ago
mv should only prompt for file being unwriteable when stdin is a tty.

fab8d674b398231333f39fab7da821fb82212069 authored over 4 years ago
Peter McConalogue pointed out that cp/mv -i prompt should default N.

Also, the failing mv test was because posix says to prompt when mv-ing over an
unwriteable file ...

dfd403c8d24e881d09703a580cb6a3c8d257adf3 authored over 4 years ago
Teach VERBOSE to do more for xpect.

152e32857a50d37eb05cceb901391a32a43eda10 authored over 4 years ago
xputsl: fix the *other* line in this function :-)

Some of the grep tests were still failing because we weren't flushing
stdout --- xflush takes a ...

07a896862ddf65d150d4edc46be5914cffe11587 authored over 4 years ago
Fix cp -P to not follow symlinks.

Also fix help text to say that it is not the default.

050e36a10ebf91bfe8307eea7fc5156d5daf8fc9 authored over 4 years ago
Honor --no-preserve-owner for archive creation, and tidy up header comments.

1740f71a5b316cc6db827e7102aaa08d1e3ddeb8 authored over 4 years ago
cpio: fixes for Android kernel build.

Allow -pd to work by changing -p from an option that takes an
argument to an option that implies...

fa1af3b085ccbf9aacf423e12f69e04a41dcd1a7 authored over 4 years ago
Minor roadmap intro tweak.

c88d3b8bfa339a00a42187529a87085ca68b5a1f authored over 4 years ago
xputsl: write to stdout, not stdin!

This is why the tests have been failing since
42303209f44a335025b9cd1dbe5dd2f3069f2e99.

0edcf02d769d07eae662df4e044177f984c343ef authored over 4 years ago
Cleanup symlink handling.

88e92d59ec33c41d45b8315ef3d765a639a4ddbe authored over 4 years ago
Patch out memory leak in tar.c

5ceee6bee1ea09f43ebe6c1fc7ae87993a1daaae authored over 4 years ago
Typo.

df71fc33af720fc1137be008019377eb081daed8 authored over 4 years ago
xputsl: remove unused variable.

e04ce13e65ca289d3ee47a3dc3dcd04b647eab78 authored over 4 years ago
Add missing longopts alias for chgrp/chown and rmdir

Heavily used long params under some contexts for already implemented
options:

chgrp/chown:
A...

f486337d9fc5f5f1cc9435de3233a7073067e3e1 authored over 4 years ago
If we fflush(stdout) first we can just write to filehandle.

42303209f44a335025b9cd1dbe5dd2f3069f2e99 authored over 4 years ago
cleanup: use FLAG() macros, inline parse_arguments(), STDIN_FILENO is 0.

ee63b5f474b2e32c70b43d0dad535b0006d350f7 authored over 4 years ago
list_signals: fit to window size.

Helps for terminals narrower than 80 columns (such as ConnectBot on a
current Android device).

330c07adb8110876f1c3f4d08408fcd27580d09a authored over 4 years ago
toybox: fit list of commands in terminal width.

This can still be pretty ragged because it just leaves space for the
longest name at the end of ...

1b276a864b311ea55d0b413b9031b8c4128bc7e5 authored over 4 years ago
Don't mess with root_download in distclean.

Yeah, it means distclean doesn't delete _everything_, but in this case it's
intentional, and "re...

b012ff9ed9cda1be1cf92c2f007df99ef15a4eec authored over 4 years ago
getty: ensure utmp is updated.

The key issues here turned out to be that getty is responsible for
creating the file if it doesn...

32b8a54ca2c08d54447917c80a5a6311932004e5 authored over 4 years ago
Fix spelling errors

98943e25c8d24423c74e4a31d70f274c78e35e51 authored over 4 years ago
People have been having trouble finding the toybox web page (despite being

the first google hit for "android toybox"), and want toybox --help to
mention it. I was referred ...

efb8060a591b6ed13c16c4034db43652e03f90d5 authored over 4 years ago
toysh: next round of wildcard plumbing

1d67afafcec61ef5e0bb743b174a450d1c4c7a1e authored over 4 years ago
date.test: add more UTC offset tests.

Rob's code supports more formats than mine did, so add the extra tests.

397677b55ba7c089302a816ca4677b64b76909c6 authored over 4 years ago
Inline convert_tz()

d75a535e000db6eda21275858e4f41fa1591e692 authored over 4 years ago
xparsedate: support UTC offsets.

Requested in https://github.com/landley/toybox/issues/130, quoting an
old version of the toybox ...

babcb4bcf4c5c37e545f174db9ba99c62ebb877a authored over 4 years ago
Toysh signal handling adds a few EINTR recovery corner cases to lib.

dc7654192c4b0c599cf5f742673a0829d6eddcd9 authored over 4 years ago
echo: fix trailing \0.

This is a follow-on from 310eefe, addressing the case where sscanf fails
and returns -1.

3ba988c453056cbdda2bc26f1b9cbc3b4697acd0 authored over 4 years ago
xargs: fix help formatting.

ab8f7729c0f7609a33e003ca145ca39f254ccbc4 authored over 4 years ago
Mark Salyzyn implemented support for xargs -P (run parallel jobs) because he

has a build script that goes much faster with it, and added tests for it.

I reimplemented it a d...

9552ab89c61726e685254639029a621fa1132f62 authored over 4 years ago
Don't need "match", just test *t.

d2ad946f2af729890e80d0e9228f23a0ca62a450 authored over 4 years ago
find: support -type a,b,c.

Fixes #227.

70a55cf954ecabb858a12b754f4547bcaf78dc2d authored over 4 years ago
toysh: more wildcard plumbing

d0584bf09a2cf1f91fd524cf339520b26ee0afa0 authored over 4 years ago
toysh: Start of wildcard plumbing.

cf98e3c310528084d393a50dfa2e1ed1d49999ab authored over 4 years ago
patch fuzz: Always output original file's ' ' context lines, not from hunk.

de303e914bc3836e74a798deb211bf9b1ee8c325 authored over 4 years ago
toysh: NOSPLIT shouldn't collate whitespace $IFS

3eead7d3ae4ca93c4eda0167e679bd8d5aa1b59b authored over 4 years ago
toysh: honor nosplit, expand_one_arg shouldn't free (that's what del list for)

e2c176dd30a7b70f1e2273f6b5423e5a91841961 authored over 4 years ago
Fixing up failing tests cases.

b9068aefecb55b97ff7c8310d06ab8758755b60b authored over 4 years ago
Chunk of job control plumbing and start of ${x:1:3} variable slicing support.

4fe9f1e4107986c5897979c0b62c333eaa7da7e9 authored over 4 years ago
wget: do not append toybox version at runtime

The sprintf() call, while technically valid (17 bytes fits in an 18
byte allocation) trips Alpin...

66f80c83e376b31f4b1ffed36ced7b2729423f6a authored over 4 years ago
toys.h already includes poll.h

63073aa6e16ebd0aa96e000847cb13fb0eb352fe authored over 4 years ago
dhcp6: use portable s6_addr instead of linux kernel-specific __in6_u.__u6_addr8

The glibc headers also provide that member, but s6_addr is the portable way.
This fixes compilat...

089e360ff11cce0f3355c1ff1420e0387c5c8745 authored over 4 years ago
The bionic/clang asan plumbing slows the test down >10x, so expand timeout.

c0dca293c1301a6315684703706597db07a8dbe1 authored over 4 years ago
Add github action support to build with MacOS and Ubuntu * Builds at 02:00 each day * Builds on each push

9e0242634766e2e3bbedc620ab78d90f29e1e6b0 authored over 4 years ago
William Djupström reported tar --exclude wasn't working. Fix and add test.

(Also fix -v output going to stderr when it shouldn't.)

d313e8d271aacb56fe9ff6db901a987d739ca98b authored over 4 years ago
More sh tests.

4754cba6f3066e60cd4da4b4a9205392be5dea18 authored over 4 years ago
Bugfix: the code to trim \n off xgetline() was using allocated not read length.

f00639a92d015e42ca8b10b86dc6a12e5f11bb62 authored over 4 years ago
More sh tests

5100ebb672a4151dedf2ae4cc7f4bc4fdaa84b7b authored over 4 years ago
More shell tests.

2739c304bf57b845dd876cd3c035438143d6ebe3 authored over 4 years ago
Have "make tests" fail if any of the tests failed.

This is sort of a hack because I want to move the individual tests to
subshells, which means the...

d6a0b3031f0b92ac8ac3d18277efe04eb902a94d authored over 4 years ago
file: add GIF version information.

This let me compare against the host for #225.

399c73488b0e554ee9bf3bd83ea6900aa516f774 authored over 4 years ago
Ryan Prichard reported that file wasn't getting gif heights right.

718d73c023b765f1434edb5def188847b4cc044a authored over 4 years ago
Zach Van Rijn wanted his handle capitalized.

1a4e631d484c8b373a39bd055af613b5f152924c authored over 4 years ago
Fix test not to use shell builtin.

055d8eac143d2f294814af8dc7d6a243f156e202 authored over 4 years ago
hwclock: just assume /dev/rtc0.

(Apologies for the length of this commit message, but it's not entirely
clear how we arrived at ...

70e2232ce61c87f1dca869107b2998b7a4dfd0d2 authored over 4 years ago
Chunk of job control pumbing.

2d5b8f9c1bcd09932f3322823a26ee4c0a543b46 authored over 4 years ago
chmod: fix -R and dangling symlinks.

Found trying to run the libc++ tests.

For coreutils, `info chmod` says:

'chmod' ignores symb...

a01cee764f620c154fcccb688d7b1a742f7f687e authored over 4 years ago
Tests for tar memory fix.

53b2ceac9af6c4bfd120a170617e3bded526b427 authored over 4 years ago
tar: fix bugs with adding hardlinks to archive

ee25b232b47c741712e3576bf992d64d7c82ceac authored over 4 years ago
Inline/remove block_end() and skip_andor(). Add ->end pointer to sh_pipeline

pointing to end of current block so we don't have to search for it later.

4182944d6d5d214de3310272e1d3f25320ed493c authored over 4 years ago
Tweak comments and error handling

29e73bf0a06d08a8363c932f0479fb7e56fc979f authored over 4 years ago
Add tar test for long filenames.

ba1a79fa0e7138cd9af4195aa5ebc79ed8ab307c authored over 4 years ago
tar: fix extracting long file paths

7fe1bdfb5fc05f344e1a8f0ce1c89aa7bfea9a08 authored over 4 years ago
xexec() shouldn't call a builtin when it's given a path to a command, but

adding symlink indirection support put the basename() in the wrong place.

f224ac56d997a60dda25e4dbf33799cabecd721e authored over 4 years ago
Fix DNS 2 is the DHCP client.

f8e62d2283d28bbc15798636529efcefe6f99a8b authored over 4 years ago
Build works fine on glibc but breaks on musl, add a workaround.

aef40f69d2dda3c6e4c0963fdde715bdfc708c1f authored over 4 years ago
Fix AF_INET6 hostlookups

62e90fa1b72a6e3e4169adc158bbc4ec27017350 authored over 4 years ago
Autodetect if IPv6 address is used and display warning

589c7620399d1207e7067f0f6e2acecc011a3c06 authored over 4 years ago
Cleanup setRoute and resolve warnings about alignment and NULL args

1949f56ddde09653a10e8e5baa12fb3d10305a06 authored over 4 years ago
Implement hostname lookups in display_routes

d2ff5af24eb6236fc22379fcbe33082258ce0c9a authored over 4 years ago
Remove getevent from roadmap: it's an android board bringup tool built by

running a python script against the kernel headers, more or less a hardware
debugging tool that d...

4aad32f1e1592a15e758e19fe2ae5d53d8cfdaee authored over 4 years ago
Fix tests.

Includes removing a test that's just gratuitously checking whether or not
a corner case gratuito...

13275d2482da48bf5c529191b091933466100752 authored over 4 years ago
Let $PENDING select more commands out of pending to enable.

8cb4dbec6734761c0fa27aa4c3bd6e9952cb1286 authored over 4 years ago
Ahem. The new copy_file_range() check needs the config symbol probe.

b2dd9953d83b9e6d8012b6b1b43869316eb112b7 authored over 4 years ago
Use copy_file_range() when available.

a0849e8645a197179a5411a2e5b6478a38feff1f authored over 4 years ago
sed: add -s to the synopsis too.

9078931262538847f34d2a76c154ecdd5ad0efe1 authored over 4 years ago
Ethan Sommer pointed out an unnecessary return.

aafe864873bfeef4123e8ae703d8e6f939ac0941 authored over 4 years ago
Fluff out the FAQ some more and flush pending README changes.

Yes, I need to convert to README.md, it's on the todo list...

0cf49f501356f9644b7174ce1f010a794abda0bd authored over 4 years ago
Replace more SKIP_HOST with toyonly.

SKIP_HOST won't run a test when TEST_HOST set, but toyonly runs its arguments
whenever testing t...

c9e684a5a33233422f1f0457ba75a604f12e45b3 authored over 4 years ago
Annotate sed tests with toyonly.

2e2f76ed5af80ecd056a7237010dbc1af43e5cdf authored over 4 years ago
Add tests for sed -s

8098f58af16c3a8f71c40bdba3da7cd27fa353f2 authored over 4 years ago
Add sed -s

5c33e6c34d383609c1e75a08c671e088006e4a45 authored over 4 years ago
remove unneeded ; after GLOBALS

a17730d630da124b27be7af5fb9496d602645c32 authored over 4 years ago