Ecosyste.ms: OpenCollective

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

Toybox

Toybox provides common Linux command line utilities together in a single BSD-licensed executable that's simple, small, fast, and reasonably standards-compliant.
Collective - Host: opensource - https://opencollective.com/toybox - Website: https://landley.net/toybox/about.html - Code: https://github.com/landley/toybox

Make basename use basename().

github.com/landley/toybox - 90e8605ea587c4ebd00de77e3c71551b6e26b7c0 authored almost 12 years ago by Rob Landley <[email protected]>
Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out other places that were setting it that no longer need to.

github.com/landley/toybox - 662a267c9b52f256b027d0f176a846b1d973ab99 authored about 12 years ago by Rob Landley <[email protected]>
Make dirtree_handle_callback() start with dirtree_ like the rest of the dirtree functions.

github.com/landley/toybox - 090c5c607ec682e5cfc03bbc745cd1ed28d5d6ce authored about 12 years ago by Rob Landley <[email protected]>
Add losetup. (Who knows, it might even work.)

github.com/landley/toybox - ef2af2e4d6ddb25cc9b17167e9db5a49b1265abe authored about 12 years ago by Rob Landley <[email protected]>
Fix invalid free in toysh.

github.com/landley/toybox - 5e9d8657675a79b17f00e625749214e79bf116a1 authored about 12 years ago by Felix Janda <[email protected]>
Getting the pwd -L behavior right is fiddly.

github.com/landley/toybox - 90c6dfa16cff8a70f27a867c3d97f6968384f755 authored about 12 years ago by Rob Landley <[email protected]>
Ashwini Sharma pointed out that my previous tweak to [!abc] groups still didn't get the error reporting right (test case "touch -d 12 -r f2 f1"). This says "no 'r' with 'd'" for that, and still shouldn't be able to fall off the end of the list (segfault) because an option can't conflict with itself (that's what the ~(1<<i) on lib/args.c line 317 is for).

github.com/landley/toybox - 8abf095265341f1db12abb1497b5c92b683c6890 authored about 12 years ago by Rob Landley <[email protected]>
Add some tests for pwd.

github.com/landley/toybox - 840ed125b4789e638a38cbc99667a8a4dcdeb2ce authored about 12 years ago by Felix Janda <[email protected]>
Fix option grouping.

github.com/landley/toybox - 6d91e0fcaa4e80eac6053ea14944537d7a6a057b authored about 12 years ago by Rob Landley <[email protected]>
TOYBOX_DEBUG warns about lack of suid bit when running a STAYROOT command, but it shouldn't warn just because the multiplexer command "toybox" is stayroot.

github.com/landley/toybox - bf1e70f3554c2f591e15df7abca03138861e5c6c authored about 12 years ago by Rob Landley <[email protected]>
Add options -L and -P to pwd.

github.com/landley/toybox - 3bb115d6d65559450bb8c6663971317153ce1abe authored about 12 years ago by Felix Janda <[email protected]>
Add tests to mkfifo based on tests for mkdir.

github.com/landley/toybox - 63e042cf95ce4ce21af465a845cdbdc780ead108 authored about 12 years ago by Felix Janda <[email protected]>
mkfifo -m is already implemented.

github.com/landley/toybox - d0d0f40bbbc43896e071702f51e09f206ad1809e authored about 12 years ago by Felix Janda <[email protected]>
A screen width of 1 is possible (in some weird setups), and gives ls -C a division by zero error.

github.com/landley/toybox - f02ca1e5d07157b66fde51068881611ab44cce68 authored about 12 years ago by Rob Landley <[email protected]>
Minor cleanups.

github.com/landley/toybox - 27cec9ac4ca6c207ea7e74e109e362659f8dfeeb authored about 12 years ago by Rob Landley <[email protected]>
Minor tweaks.

github.com/landley/toybox - e5af216104c71b817b7000a09942dbabc468c1d7 authored about 12 years ago by Rob Landley <[email protected]>
Add some tests for mkdir

github.com/landley/toybox - c5b15dbd1aa21566417d606111b02e993069408c authored about 12 years ago by Felix Janda <[email protected]>
Add -m option to mkdir

github.com/landley/toybox - 208f6c16e146a6745a45c3ec7e019a1d8cb7ade3 authored about 12 years ago by Felix Janda <[email protected]>
Elie De Brauwer pointed out that xputs() isn't reliably reporting errors because there's no flush. Rather than change the output granularity, flush before exit and check errors there. (We still need xputc() doing it so "yes" doesn't continue forever.)

github.com/landley/toybox - a48e5792bb26f95c18055f58d602ac279ebd4002 authored about 12 years ago by Rob Landley <[email protected]>
Whitespace.

github.com/landley/toybox - a8f3bf04aee8f1c6716a420719af57cd6c5a7caa authored about 12 years ago by Rob Landley <[email protected]>
Update mkstatus.py, roadmap.html, and status.html.

github.com/landley/toybox - 7a78d92da70d24947fa9e828a960658ea32b74e7 authored about 12 years ago by Rob Landley <[email protected]>
Fix tac to handle the "abc\ndef" case properly

github.com/landley/toybox - de08aef53c4611de5b64b332ac6c1b9c920b7d0b authored about 12 years ago by Elie De Brauwer <[email protected]>
Refactoring broke rev

github.com/landley/toybox - 7d01b3180735273710d63bd58b90748f4ecf21da authored about 12 years ago by Elie De Brauwer <[email protected]>
Web page update for release.

github.com/landley/toybox - 8390c65cea50f76af7efc80e14c71ed0e440d343 authored about 12 years ago by Rob Landley <[email protected]>
Minor cleanups.

github.com/landley/toybox - 93504e6d26987a061484b6bfe86c6affe4019ae2 authored about 12 years ago by Rob Landley <[email protected]>
Missing letter in help text.

github.com/landley/toybox - 28eeadd37b196486f5401d447266790f84364732 authored about 12 years ago by Rob Landley <[email protected]>
Extend seq to support -f (format string) and -s (string separator) as requested by LSB

github.com/landley/toybox - 434d35197957969ee200fff0424807c1a97e7d2d authored about 12 years ago by Elie De Brauwer <[email protected]>
LSB does not allow killall to kill itself

github.com/landley/toybox - 41b47485578e8b3ee84bf5f81f76500fa7e02e55 authored about 12 years ago by Elie De Brauwer <[email protected]>
Extend killall with support for -v and -i

github.com/landley/toybox - ca4035bdacfd83f815323c9c597f2683fc4aa218 authored about 12 years ago by Elie De Brauwer <[email protected]>
Adding implementation of rev including tests

github.com/landley/toybox - fadbd6078081afe62cf120f9346b1d69aa79d486 authored about 12 years ago by Elie De Brauwer <[email protected]>
Adding tests for tac based on cat tests

github.com/landley/toybox - e9e10b58c2ea156e59c78642d5a88756e3649d56 authored about 12 years ago by Elie De Brauwer <[email protected]>
Added tag 0.4.2 for changeset 8947c0d35e58

github.com/landley/toybox - 91d7014d90cac3f1841d89c9fc005e323220f3da authored about 12 years ago by Rob Landley <[email protected]>
Simplify tac, the newline checking is already done in the get_line() function

github.com/landley/toybox - d4d51198e8d7b650850d8c6e0b02b511ff61c07f authored about 12 years ago by Elie De Brauwer <[email protected]>
The Linux kernel "make clean" calls rm -f with no arguments, which apparently is not an error.

github.com/landley/toybox - 5806b9ff1656d9d32563a61457cb64ed025002dd authored about 12 years ago by Rob Landley <[email protected]>
Add stat submission to new "pending" directory, along with infrastructure to support pending.

github.com/landley/toybox - b1c002ac55339d7b7ec53214397f841c56cf6488 authored about 12 years ago by Rob Landley <[email protected]>
essat's flag not to follow symlinks isn't in the system call, and if libc is supposed to implement this as a wrapper uClibc gets it wrong. So use the stat info about symlinks instead. (Doesn't check the parent directory, but if that's read only we can't delete the file anyway so prompting is moot.)

github.com/landley/toybox - b9bde7b403a8dcf8e8a1417383bb70816a7c1958 authored about 12 years ago by Rob Landley <[email protected]>
Meddle.

The <1 has to come first in the option string, normalize whitespace,
sprintf of %d maxes out at ...

github.com/landley/toybox - d52e76d50879542702b89cc8cc873358232d2e3f authored about 12 years ago by Rob Landley <[email protected]>
Set executable bits on two test scripts.

github.com/landley/toybox - d394a1fb216b3a4653848f6625f8f731d7d34ac7 authored about 12 years ago by Rob Landley <[email protected]>
Add README file to each toys/ directory, teach build infrastructure to get fancy name from that. This means adding new directories shouldn't require touching build scripts.

github.com/landley/toybox - aa777fe07df104e8d33b958fb4e19c81245ac9a3 authored about 12 years ago by Rob Landley <[email protected]>
Adding -s (single shot) and -o (omit pids) options to pidof

github.com/landley/toybox - 7c6209d6c336df74984e62aa88679c06641ae309 authored about 12 years ago by Elie De Brauwer <[email protected]>
Adding sha1sum tests based on RFC 3174

github.com/landley/toybox - 2a55ccb8c7948d453e64676116817a30572f71d8 authored about 12 years ago by Elie De Brauwer <[email protected]>
Adding tests for cat

github.com/landley/toybox - 6c5762880c0347d831a01d7b89bb76537bd4b9c2 authored about 12 years ago by Elie De Brauwer <[email protected]>
Complicate the rm -i behavior to do what posix specifies.

github.com/landley/toybox - 37de8ed2aac771c118702b2315ccac7e02ecb729 authored about 12 years ago by Rob Landley <[email protected]>
Make yesno() always read from stdin and write to stderr. (If we need to find our tty, open /dev/tty, but existing users don't.)

github.com/landley/toybox - db8eb323b3b8ded0eb75c0872563784ae4356e99 authored about 12 years ago by Rob Landley <[email protected]>
New rm command.

github.com/landley/toybox - c087a4a911c29f081efbdbaf7c4513f34acf1928 authored about 12 years ago by Rob Landley <[email protected]>
Update link to posix in docs (open group broke their website).

github.com/landley/toybox - 62f00217cf92ec33b6a4700d1560cefe28eac1dd authored about 12 years ago by Rob Landley <[email protected]>
Have dirtree_add_node() set parent so error message can provide full path.

github.com/landley/toybox - 3162c27324bb6a26cfb9e47b266d2a3ee451f47b authored about 12 years ago by Rob Landley <[email protected]>
Use sched_{set,get}affinity directly so musl doesn't have to provide wrappers.

github.com/landley/toybox - 5434415c11af6ea91f61fe2e873cfc29afc5657f authored about 12 years ago by Rob Landley <[email protected]>
Minor whitespace tweak.

github.com/landley/toybox - 6093554a95fee1acd5b2aaad387b92fa4ae97d41 authored about 12 years ago by Rob Landley <[email protected]>
First guess at what internationalization support for expand would look like.

github.com/landley/toybox - ddd4685b3482dfe4bea9d72fee2b47bddde42697 authored about 12 years ago by Rob Landley <[email protected]>
Generate status page with new pubs.opengroup.org urls.

github.com/landley/toybox - e0cc81ef759b22e79c516bf5dbc6207c45447e4f authored about 12 years ago by Rob Landley <[email protected]>
Remove unused structure definition.

github.com/landley/toybox - 4ddc73b07f321ffd70604b9cede1a03b97ae4bd6 authored about 12 years ago by Rob Landley <[email protected]>
The open group changed their website stupidly, so opengroup.org/onlinepubs forwards to a dead server and you have to use pubs.opengroup.org/onlinepubs now. Change the hello template to note the new location. (Waiting to see if they fix it upstream before touching every command in toys/posix.)

github.com/landley/toybox - 4eb2256b01ff3e0b17dfcbaff3d1a85a739c7b6f authored about 12 years ago by Rob Landley <[email protected]>
Add header that musl libc needs.

github.com/landley/toybox - 503c8b839d8a40f08f8934940133d7574be43916 authored about 12 years ago by Rob Landley <[email protected]>
Fix ancient glibc workaround to force fstatat64

github.com/landley/toybox - 62fd9d0b36d8f56a002ea88621b2f895ea55abb8 authored about 12 years ago by Rob Landley <[email protected]>
Minor cleanup: unify two codepaths that do the same thing.

github.com/landley/toybox - 55970d0c2c0c78ebe386cf000129435476057817 authored about 12 years ago by Rob Landley <[email protected]>
Would the compiler like to warn me about declaring two variables with the same name in the same function? No? Carry on then...

github.com/landley/toybox - ed7abaf0968a850e262a2ae8f5a8e0b41aaa5879 authored about 12 years ago by Rob Landley <[email protected]>
Felix Janda pointed out that the r in mbrtowc() stands for "restartable" so it's already buffering the partial data we feed it, so rolling back most of the last commit to wc.

github.com/landley/toybox - 6e3876a5a6800e289d34b107bddf71f17c641694 authored about 12 years ago by Rob Landley <[email protected]>
Re-add backspace support to expand (oops) and fix test to expect data plus backspace characters rather than the chracters cancelling each other out before output.

github.com/landley/toybox - f6379761b605a606764bc139c5b64c75c45e0559 authored about 12 years ago by Rob Landley <[email protected]>
Largeish rewrite of expand, mostly described on the mailing list.

github.com/landley/toybox - 3cbe8d52155ff4dfb6b3184ed5cdb66688de9753 authored about 12 years ago by Rob Landley <[email protected]>
md5sum tests from RFC 1321

github.com/landley/toybox - 4d904aa766f5052745ee4e5f8381b64bfde6a779 authored about 12 years ago by Rob Landley <[email protected]>
Use the specified compiler for preprocessing.

github.com/landley/toybox - 80aab262f1cb76477a31918b668110c2b0a11a22 authored about 12 years ago by Rob Landley <[email protected]>
The previous wc -m didn't handle multibyte characters that crossed a buffer boundary, so take a guess at making that work. (I haven't got a test case for this. I also don't know how to handle invalid sequences so just don't count them.)

github.com/landley/toybox - a9464f41539f4800744b4185c6a4d4c5e38eeadf authored about 12 years ago by Rob Landley <[email protected]>
First round of expand cleanups.

github.com/landley/toybox - 11ca9293c62041d5d0a4c44de21ba786524bfac3 authored about 12 years ago by Rob Landley <[email protected]>
login: Avoid gcc to drop exit condition because of "always false condition".

github.com/landley/toybox - a03f3e120c96ed58e6913dae3d21bdea59390c2b authored about 12 years ago by Jonathan Clairembault <[email protected]>
Squash "type punned pointer" nonsense with a bigger hammer. (Sheesh.)

github.com/landley/toybox - a5f8c733d478a57ad03c0b0efe7fa995e4c364a2 authored about 12 years ago by Rob Landley <[email protected]>
The headers of uClibc and older glibc got unhappy with O_DIRECTORY and some other stuff. Fix it up in portability.h.

github.com/landley/toybox - 9f8217ce73762c0ac4eea8e7ab2120ca6eb1361d authored about 12 years ago by Rob Landley <[email protected]>
Cleanup i18n support (#ifdefectomy, move global init to process launch). Teach make.sh to emit "#define FLAG_x 0" for options inside disabled USE macros so we can unconditionally refer to them.

github.com/landley/toybox - 6cf0a115451d6d5ead94860f0731040dc2293db0 authored about 12 years ago by Rob Landley <[email protected]>
Update touch: add remaining posix arguments, make existing ones work.

github.com/landley/toybox - 471ce1b29933702bdd63bf27e4470898cb37b451 authored about 12 years ago by Rob Landley <[email protected]>
Fix typo.

github.com/landley/toybox - de51192c854d20b19d25daedca9e7ecdc72e13f1 authored about 12 years ago by Rob Landley <[email protected]>
expand: handle backspace.

github.com/landley/toybox - ab52d02963fcb0aecd8089ddc5cdc4d783092a4b authored about 12 years ago by Jonathan Clairembault <[email protected]>
Remove readlink -m for being poorly defined ("readlink -m /dev/null/and/more" answers what question, exactly?), rewrite xabspath() to work right and not depend on realpath, fix subtle longstanding bug in llist_traverse().

github.com/landley/toybox - fe91e68e8d1e6a2974b57a9855032ad94d137e8e authored about 12 years ago by Rob Landley <[email protected]>
Add expand command as described in POSIX-2008.

Erratum: Do not handle backspace.

github.com/landley/toybox - 939fa7408fa68af8568fd07de64a1606af0a0c06 authored about 12 years ago by Jonathan Clairembault <[email protected]>
Make internalization support optional

github.com/landley/toybox - 250e0055fe0596f0f13d6e30f0bfe086702f5a25 authored about 12 years ago by Felix Janda <[email protected]>
Update readlink so -f works. Add -menq while there.

github.com/landley/toybox - bd2e2279d2b8f491ff9a56f6bd9000b0215778f8 authored about 12 years ago by Rob Landley <[email protected]>
Commit 698 adding cut should ahve included the actual cut.c file. (Oops.)

github.com/landley/toybox - db0fff3f849097a20641a15a8f39e5ea67402e9b authored about 12 years ago by Rob Landley <[email protected]>
Teach option parsing about [groups] of related options.

github.com/landley/toybox - 7f909bd163630a2ce710653e0fafb7bae7171745 authored about 12 years ago by Rob Landley <[email protected]>
Init global context to toybox multiplexer early so error_exit() doesn't segfault trying to print current command name, and change TOYBOX_DEBUG+TOYBOX_SUID complaint about not having the suid bit set to warning rather than exit..

github.com/landley/toybox - 6c62448f72ed9fc2b6a59ee09735283c07060cdb authored about 12 years ago by Rob Landley <[email protected]>
Fix leak (call endmntent).

github.com/landley/toybox - 491eb800ef69a5e06f798372db8b32c87051ea90 authored about 12 years ago by Rob Landley <[email protected]>
More touch cleanup to use generic infrastructure: use getdate() from libc, use flag macros, option parsing can collect argument strings in global block, use existing perror_* macros.

github.com/landley/toybox - bbda4efd9d7cda269d71ae99054e1ad2590d1b02 authored about 12 years ago by Rob Landley <[email protected]>
Fix touch warnings (unused variables, failure to reserve space for null terminator).

github.com/landley/toybox - 47ee6f300326f65fe4dfcee5470f1f99018d442a authored about 12 years ago by Rob Landley <[email protected]>
Refactor touch (cleanup whitespace, brackets, function order), code otherwise same.

github.com/landley/toybox - f6261b3a80a29da78d8b6976ceeb71dcb30f3745 authored about 12 years ago by Rob Landley <[email protected]>
Add touch from Choubey Ji.

github.com/landley/toybox - ea52189f6d88673c7d380d4808f8f78063ad5042 authored about 12 years ago by Rob Landley <[email protected]>
Add cut from Jason Kyungwan Han.

github.com/landley/toybox - 734b530f3797d6d11dc3ab996a889482cc88a8ab authored about 12 years ago by Rob Landley <[email protected]>
Set optc when optstring NULL.

github.com/landley/toybox - 4521f416ba8422563db6a762061a4a960db1bbf7 authored about 12 years ago by Rob Landley <[email protected]>
Add rebound support to intercept error_exit() and longjmp instead.

github.com/landley/toybox - caf39c26827f355c4e107f55c5c51f67c484bfd7 authored about 12 years ago by Rob Landley <[email protected]>
Make ls default to -C if no option specified and it's outputting to a tty.

github.com/landley/toybox - 02261e8082b9b098b20a4291fc2583f3c41db8d2 authored about 12 years ago by Rob Landley <[email protected]>
Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style.

The actual code should be the same afterward, this is just cosmetic refactoring.

github.com/landley/toybox - 7aa651a6a4496d848f86de9b1e6b3a003256a01f authored about 12 years ago by Rob Landley <[email protected]>
Announce release, add anchor tags to roadmap, tweak downloads in header (new bin directory pointing to downloads/binaries/$CURRENT).

github.com/landley/toybox - 571b0706cce45716126776d0ad0f6ac65f4586e3 authored about 12 years ago by Rob Landley <[email protected]>
Added tag 0.4.1 for changeset 8871e8002812

github.com/landley/toybox - 10df0ccb7875581c029ba65eafe7a56d215531bf authored about 12 years ago by Rob Landley <[email protected]>
Older versions of glibc predated posix-2008. They still provide most of what we need, but require a boot to the headers to get them to admit it. Note that uClibc lies and claims to be glibc so we have to specifically exclude it here.

github.com/landley/toybox - 4e79810a727d810b977dfeffb3ba654447a0b1fe authored about 12 years ago by Rob Landley <[email protected]>
Yet another attempt to get the fiddly patch file creation logic right.

github.com/landley/toybox - 6fa8404c5cad710205e2cdb0f96b92a9810cafab authored about 12 years ago by Rob Landley <[email protected]>
On 32 bit platforms %ld doesn't match uint64_t, so do long long and %lld (rather than deal with verbose PRIu64 nonsense).

github.com/landley/toybox - 9a853484082744d83e3c85a361be748d46003cc9 authored about 12 years ago by Rob Landley <[email protected]>
Fix reversed test: patch creates a file if /dev/null or dated the epoch _and_ first hunk being replaced is 0 lines at start of file, not one or the other.

github.com/landley/toybox - ffba380a466e010e475462bdfacf0a7045f9e00b authored about 12 years ago by Rob Landley <[email protected]>
Change df percentage calculation to match posix, spotted by Roy Tam.

github.com/landley/toybox - c65e89b70b5892d40d4fcab567e615aafcda688a authored about 12 years ago by Rob Landley <[email protected]>
wc -m only cares about counting characters. Attached is a try on implementing it and some test cases for it. The test cases are only for UTF-8 locales.

github.com/landley/toybox - abb8ca2455f3efd6f8f0eed78c54829bf0a9001e authored about 12 years ago by Felix Janda <[email protected]>
Make sha1sum and md5sum default to y.

github.com/landley/toybox - e5138f409785757aa7d77d558b4bf0d9f01a6176 authored about 12 years ago by Rob Landley <[email protected]>
Use stridx.

github.com/landley/toybox - 58fe702905a02a0a5da43a06177d7e88dae82128 authored about 12 years ago by Rob Landley <[email protected]>
Add vconfig.c - Creates virtual ethernet devices.

github.com/landley/toybox - 20f070c3e77cd4e9e77e42cff697d93c80c377a2 authored about 12 years ago by Kyungwan Han <[email protected]>
attached are some simple tests for dirname and wc and a fix for a small typo in another test script.

github.com/landley/toybox - add77b1dd346aa5e4a02265345f52007166d95a4 authored about 12 years ago by Felix Janda <[email protected]>