Ecosyste.ms: OpenCollective

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

github.com/landley/toybox

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

Speed up seq: use toybuf for block writes and add an integer fast path.

769b8a1c42a1c44fec930795fd3ce8799ec39537 authored about 4 years ago
Sigh, remove debug code checked in by mistake.

67476b1b3d9462c0fddb4b95c173dc76ea1c933c authored about 4 years ago
The "fall back to C.UTF-8" check was backwards, and make TOYFLAG_LINEBUF

configurable.

4e47b8e583903752c08a29873ffcb868173c70d8 authored about 4 years ago
Remove last traces of CONFIG_TOYBOX_I18N.

`make macos_defconfig` was grumbling.

2fa16e73fba0e908309aadad4d4668b86a1134e5 authored about 4 years ago
Better conversion of toycans-big.jpg to png. (Just rotate 90 degrees.)

d2457a405139bf41325c2b1b5356ad76343c77b1 authored about 4 years ago
Rename randbuf and hook up -s

a62196fc159469c946becdd107d6810ce2139650 authored about 4 years ago
Promote pwgen.

02938f4536fd27dab4a24ae000fcacab49b1d315 authored about 4 years ago
Cleanup pwgen as described on the list.

http://lists.landley.net/pipermail/toybox-landley.net/2020-December/012169.html

7492489b2250ee19117b59cb5b40696857506914 authored about 4 years ago
scripts/runtest.sh: fix `toyonly` in a way that also works for mksh.

mksh doesn't support the =~ extension, so my previous change -- while
fixing the host -- broke A...

da0da1f147a317388570b9a8d6d08df24d0ddab4 authored about 4 years ago
sed: add 'x' flag to the 's' command.

The GNU tar manual, when talking about the `tar --transform` option that I
need to implement, de...

50d8ed89b1e02917e83a33b3d62f465192dd500f authored about 4 years ago
unicode: new toy.

Based loosely on the Plan9/Inferno utility, and a convenient way to go back
and forth between co...

ed3d5eb0eaf74e6686bc2576b2c4d5a5343dfd57 authored about 4 years ago
id.test: hacks to pass on Raspberry Pi OS.

The rest of `make tests` all pass on a Raspberry Pi 400.

49c02dbe435681015a88c636749d144044fc5e4a authored about 4 years ago
Remove CONFIG_TOYBOX_I18N and just always support utf8.

75b89012c90470a27d66b54ad89901b94fcfd169 authored about 4 years ago
Fix find empty argument handling and add test.

0e675d98f3aba7a834dc56c2ae419f20da376f44 authored about 4 years ago
new toy: Add pwgen

Add new toy `pwgen`.
A usefule password generation utility.

b5d276c1047350a13551a98f470fa2d78f4a84f8 authored about 4 years ago
tr: fix pathological flushing.

The AOSP build doesn't use tr (or anything that's still in pending), but
the kernel folks have b...

72ec2b37468d7f1f0c15e6b201f914802d9d3b4f authored about 4 years ago
scripts/runtest.sh: fix `toyonly` for sed.

sed lies to fool autoconf, but also confuses the toybox test suite.
Without this patch we're ski...

ec6639407b9eabf986ba81cfa6f2910feddf32dc authored about 4 years ago
Small cleanup.

5657214ac24a62e96b366097ffbfba39ebcd3380 authored about 4 years ago
chmod: support complex modes.

Change 5109da9b3e6a898c8e0ad647303a1b375e3d97d3 caused test.test to call
chmod with mode `u+s+s`...

60e8974e215801f6c29de9f4b786f45323e9af89 authored about 4 years ago
true is mentioned twice

5fddea07aa15b9ff0d5f25c3a9a2b6a6b4db47b0 authored about 4 years ago
toysh: Adjust $0 for scripts.

66f9027e9c3b3c8410dc45036b31a0b93e93e8a6 authored about 4 years ago
Minor tweaks.

a52f04319843de7c88476a78d6f6f48ef4e02e12 authored about 4 years ago
Luke Frankart pointed out a typo (0x111 should be 0111). Fix and update

tests to catch this. While there add -k to test sticky bit.

5109da9b3e6a898c8e0ad647303a1b375e3d97d3 authored about 4 years ago
Fix help text to explain why o+s isn't +t, add test +s not setting +t.

e3ce0338d4c4d60052b6f9f92175218cf6cf97c8 authored about 4 years ago
Minor cleanup.

fdfffae6da237b861ff3ef7394a9fc539e5a6e8c authored about 4 years ago
Fix microcom to set serial device's terminal correctly.

Can't use the same set_terminal() logic as ptys because it not displaying
data, it should just a...

c251e32521229b7bd89a765481e2cd3b1ef02357 authored about 4 years ago
Fix printenv -0 (broken by the lib/args.c 0 prefix change).

0ea04980e327efaf315a58408d926b674b55cb32 authored about 4 years ago
Tweak date.c.

b9181ee8936f23c35bd78e09942595bdcbaa6d14 authored about 4 years ago
That last sh.c change had a lib/ change I forgot to check in.

6e81203998b8142e58dbd53f35e605e80028bdb9 authored about 4 years ago
Factor out do_source(), fpathopen(), and prompt_getline().

Use 0 optstr prefix, fix bug initializing toys.envc one too low.

1866f9255eb3b1f3a6f4be1dd60461a050599d98 authored about 4 years ago
Change test default to VERBOSE=fail, add all/quiet for old =1 and default.

a24b186ea84ca5c65b367a17dfade57e9c6fd704 authored about 4 years ago
date: add --iso and the %:z output format.

I didn't know until implementing this that --iso is actually called
--iso-8601 and that GNU date...

1377dd2221010b67fdf9127ce41fa2dbefe94b98 authored about 4 years ago
Allow 0 prefix to optstr to include argv[0] in optargs[0].

52bbc1e0a410b44a926b04aaae3b00f9f50da81e authored about 4 years ago
Properly install toybox files with $TARGET suffixes.

3e28f611e452b52b21360c56dbf250d242bbb4a5 authored about 4 years ago
readelf: harden against invalid input.

I also promised to fix readelf. Where in file(1) I made no attempt to
say what was bad (or even ...

2ee4b7207e9dbfd385740d5f142dfb95b0a621ed authored about 4 years ago
file: harden against invalid input.

I promised months ago I'd fix this, and there was a (not visible to the
public but filed by a me...

0c567294d476ae6cab863e774844cd94e51b88e2 authored about 4 years ago
date: add --utc (synonymous with -u)

693eaf6c22a8a64645af6732731d6ef2a0432838 authored about 4 years ago
file: identify Android Binary XML.

Android is introducing a new binary XML format that is a drop-in
replacement for many existing ....

7f213d0d08686188a745ae1dfd886c792d16c5bf authored about 4 years ago
Make the static musl x86-64 binaries segfault for fewer people.

Even though the gcc toolchain ./configure is told it's cross compiling,
it optimizes for the cur...

7f4f7e1f329518842fea180c4f7deb2dff368406 authored about 4 years ago
Teach devmem about nommu and 0x prefix on address. Print hex or decimal

output depending on whether address was hex or decimal.

54e2cd704fb44b8e87bc4507ee852f22eeedfbe9 authored about 4 years ago
xregcomp: add the specific regex we couldn't parse to the error message.

This makes it more likely that you can actually debug something like
"sed: bad regex: empty (sub...

e1a5111cbbfe18707fb26a65ed7af654f30a132c authored about 4 years ago
portability.h: ensure _FILE_OFFSET_BITS=64 takes effect.

I added a #include above this, which caused subtle breakages on 32-bit
systems. Move it to the t...

90c4e155dd0acf79f4f725c9dcd985304824c156 authored over 4 years ago
Make it easier to switch regex implementations.

One reason to use toybox on the host is to get the same behavior across
Android/Linux/macOS. Unf...

aed6c26fe4792e19f8ad99bef058f690fc2deecf authored over 4 years ago
Tweak help text again.

7b0ea0a21fb2d97c7bd24987f8ccf27548c0b004 authored over 4 years ago
Tweak release notes.

095891525bcb4fea341a27f75b5b5d52915cf5aa authored over 4 years ago
Silence kernel messages that stomp the command line after boot.

bc46bc619fcd83c3e85b054042577c95d1511484 authored over 4 years ago
Don't "quiet" the kernel builds. You can KARGS=quiet if you like.

83d1ddc8ed3039ad4a6b9d32aa716bc8ab625c08 authored over 4 years ago
Past time for 0.8.4

dbf10c643797bb4ca16cea7a70e76840fb59bd39 authored over 4 years ago
Just the FAQ's, ma'am.

35dccebea56fac58131890f30b4d377aafad5839 authored over 4 years ago
Fix endless recursion bug on nommu for sh -c 'echo $(echo)'

c5793830331433f80ea7f9b07601679a6dae6e90 authored over 4 years ago
Fix thinko.

efcc4a1f6aa8207a5d89c0900f28c216e5d93cb0 authored over 4 years ago
Add nommu-able xvdaemon() and use it to remove some TOYBOX_FORK dependencies

660e6a384d8c7b32a8486a0aeb31f75939a99b75 authored over 4 years ago
blkdiscard: fix uninitialised offset

0030729a09896602b55571afb8be7fa9b29b730c authored over 4 years ago
Tweak watchdog help.

e4e6fd8b454c11a4663b6c7afacad0ed4008a0cb authored over 4 years ago
Promote watchdog.

e8ff755cba9e249d0e43212acbc0c3bf38af1622 authored over 4 years ago
Typo.

9c8b40514fc3adfe76cc60fe183ad162adbd327e authored over 4 years ago
Can't call daemon() on nommu.

b840ceb0db53ee96e79f1f7fe1547eefb68df75a authored over 4 years ago
More tests, and a workaround to pass one of them.

(The bug is that "echo hello \" followed by just enter should end the $PS2
state but it persists...

d0d4107534ac1b7c6ebf8d1e194d7c58ed0e5c52 authored over 4 years ago
Do an "exec >/dev/console 2>&1" early in mkroot init so we have

debug output if anything later in the script fails.

273c9e72c1a578915cc4db6a83ca5e0f6a1771f4 authored over 4 years ago
Implement source, fix empty ${x-alt}, use %zu as suggested by e5ten.

082363afd054e10d4db0188c39a7447cbce029fa authored over 4 years ago
Add sha3sum.

aaa5ff1a464863da10cdb756c504c65d80c47e00 authored over 4 years ago
rtcwake: default to UTC if /etc/adjtime can't be read

This is consistent with the util-linux implementation.

29229bf0fdebfbc7fe5088a073dd74d0ea57dc3b authored over 4 years ago
hwclock: default to UTC if /etc/adjtime can't be read

This is consistent with the util-linux implementation.

55edd44d8f351606b948347c1c78263c054eaf89 authored over 4 years ago
stty: don't mangle c_iflags.

Fixes https://github.com/landley/toybox/issues/251 where `stty 300` was
mangling c_iflags to 0x3...

6e331aef7f2ce0c6f905ab099028d8cf8f91b1a0 authored over 4 years ago
chattr.test: don't fail on f2fs with compression enabled.

f2fs with compression enabled only lets you `chattr +c` on an empty
file.

f554ce0a4b592272b9171c7c141480a159fa7194 authored over 4 years ago
Patrick Oppenlander suggested watchdog also catch SIGINT.

3c11c47faf8af11fc18557a124d543bc1d0c22cb authored over 4 years ago
Three trivial code cleanups and a comment tweak.

0b18e14e80a5627f67eb093c556bf2fa5014718c authored over 4 years ago
Nitpicky cleanup.

We need to *name = 0 explicitly for the !name && !statless case, so don't
need the +1 in memset ...

85e7f1671c28bb4808b0eb46aab9152ca2bb4bff authored over 4 years ago
dirtree_path: always honor size request.

tar asks dirtree_path() to reserve space for a trailing '/', but recent
changes broke that for t...

6a5b8bf6cb7a5f481c3bab6fb285d977851e4e2f authored over 4 years ago
Fix && || traversing loops, and typecast past size_t being stupidly typed.

8eb9d6e0d3217bd0b1ffba73b3dfda1f79787845 authored over 4 years ago
Implement ${var/search/replace}

0612ad28343073b9d6fc13b4640967cf0351f958 authored over 4 years ago
Fix up ${x%y} ${x^y} ${x,y} and add tests.

114f415ca15daaf3e491161885513812eba5b2fc authored over 4 years ago
Fix bug introduced last commit: the if (name) else case needs to zero it.

b61876564c2977a2d776b26dc7a2dcf28ed00bb7 authored over 4 years ago
toysh: more variable/wildcard plumbing and tests.

67bd0be1a4ed817954c9dcededf9bd9cb8c2f431 authored over 4 years ago
The non-recursive dirtree_path wasn't stripping a trailing / from initial path.

0f2658c806586190be3aca21826e77fff9e50f1b authored over 4 years ago
toysh: Yank debug scaffolding.

841a7966d8a34906e1871572709270fe23b2ff9c authored over 4 years ago
toysh file wildcards: echo toys/*/*.c works now.

880acdba145620219f6eb98c73d72e3692f858f0 authored over 4 years ago
Update i2ctools.c

Fix i2cdetect parameter reading so "last" value is read from correct argument.

a24efe483b587f2af13fad29de6580fdd64a8407 authored over 4 years ago
Implement ${x#y} and ${x##y}

Debug wildcard * match, teach skipslash() to fill out a wildcard deck,
make collect_wildcards() ...

ce683cdce2629721339f526c5059af9b3042958e authored over 4 years ago
Return empty string for dirtree_path() of "" (instead of NULL).

07c316a2bbf0ad0f41229ca668def609a5f50f2c authored over 4 years ago
Non-recursive dirtree_path() needs to return start of allocation

when passed in extra allocation length or else free() gets very unhappy.

424632aaa30e85e069678da8c413a35c4d321cf6 authored over 4 years ago
Cleanup pass on route.c

f570a02c6c544b9d8f277c43506cdde92d947d73 authored over 4 years ago
Debug wildcard plumbing.

838e9c69f06682c4f2ee7d9104b417994eae1e94 authored over 4 years ago
Implement wildcard match plumbing. (Not yet fully debugged.)

8a25a5b0eae4c979c94c253b28e03a0765c1be0c authored over 4 years ago
Teach dirtree that top level "" node is "." but not show in dirtree_path().

0d73d98537e4c058537ffa735b8592d1a89a1028 authored over 4 years ago
Have read_password() read from tty device, handle ctrl-c and ctrl-d.

8079673ef5d0691f7ccd4268cfd8fd3d8de44471 authored over 4 years ago
Only attempt to truncate regular files in dd.

9cce74afd2561663bceab9a5ce609109b18aca57 authored over 4 years ago
Add ftruncate logic to handle non-regular files

ftruncate was failing on device files, leading to whole dd.c failures.
This patch allows us to d...

204f8c56d69a858eb3455da798c63f6477e1f3b7 authored over 4 years ago
Cleanup pass on stty.c

3c534fdc78e1d9d7914017bfcd5ff579bb754c70 authored over 4 years ago
Chris Sarra pointed out that nerfing xprintf() so it doesn't actually flush

broke the password: prompt.

0ab021951b405906d0d559ee0be717a643d9b0c7 authored over 4 years ago
TEST_HOST with util-linux 2.29.2 was... unhappy.

68de708ac569c060f9234dd3120854cbef513c53 authored over 4 years ago
Fix more TEST_HOST version skew.

95d1e298dc068bf0ea5f6a8cc04b367b0a025877 authored over 4 years ago
cksum and hostid are already implemented

Both of [cksum](https://github.com/landley/toybox/blob/master/toys/posix/cksum.c) and [hostid](h...

3a98d0d09b0116680847eea9eb10df19e2455d18 authored over 4 years ago
Fix a typo

Fix a small typo, should be `compress` not `compess`.

88b34c4bd3f8c6f96e15bfcc18a7a8d2c1e1628a authored over 4 years ago
Fix multiline case/esac parsing, make syntax_err() exit non-interactve

contexts like scripts, and tweak debug scaffolding.

79c2d3a08a673328401df6790a092cea1cfe7163 authored over 4 years ago
Replace HR_COMMAS with HR_NODOT

The comma thing turned into an internationalization can of worms,
don't go there. Keep the "show...

5b7cc6d6c2a549188ce652d44b2583c01fb48188 authored over 4 years ago
Add ipv6 support to wget.c

2450930d8bc51f961ac1d2b92cccecd8a8e64a1c authored over 4 years ago
blkid: don't show empty tags.

The util-linux blkid (even if explicitly asked with -s) won't show you a
tag with no value.

d294c99fe5bb4d0f8a5187e23c81b5a8fe7224e8 authored over 4 years ago
Use flag macros and document -rn options.

53b2daab9413fe8dab202fd72e5a238594cb0371 authored over 4 years ago
Use the infrastructure properly.

2372c00c5ce81b173601e70525fba84920ac4c9c authored over 4 years ago