Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-14 | Fix && || traversing loops, and typecast past size_t being stupidly typed. | Rob Landley | |
2020-10-14 | Implement ${var/search/replace} | Rob Landley | |
2020-10-13 | Fix up ${x%y} ${x^y} ${x,y} and add tests. | Rob Landley | |
2020-10-11 | toysh: more variable/wildcard plumbing and tests. | Rob Landley | |
2020-10-06 | toysh: Yank debug scaffolding. | Rob Landley | |
2020-10-06 | toysh file wildcards: echo toys/*/*.c works now. | Rob Landley | |
2020-10-04 | Implement ${x#y} and ${x##y} | Rob Landley | |
Debug wildcard * match, teach skipslash() to fill out a wildcard deck, make collect_wildcards() flush remove the parsing-only 0th entry. | |||
2020-10-02 | Cleanup pass on route.c | Rob Landley | |
2020-10-01 | Debug wildcard plumbing. | Rob Landley | |
2020-09-27 | Implement wildcard match plumbing. (Not yet fully debugged.) | Rob Landley | |
2020-09-23 | Only attempt to truncate regular files in dd. | Rob Landley | |
2020-09-23 | Add ftruncate logic to handle non-regular files | Chris Sarra | |
ftruncate was failing on device files, leading to whole dd.c failures. This patch allows us to dump device files. | |||
2020-09-23 | Cleanup pass on stty.c | Rob Landley | |
2020-09-14 | Fix multiline case/esac parsing, make syntax_err() exit non-interactve | Rob Landley | |
contexts like scripts, and tweak debug scaffolding. | |||
2020-09-10 | Add ipv6 support to wget.c | Chris Sarra | |
2020-09-05 | Fix segfault for sh -c 'echo {a..Z}' | Rob Landley | |
Bash produces different output for that test, but I'm not sure I care? http://lists.landley.net/pipermail/toybox-landley.net/2020-September/011990.html The problem is parse_word() guarantees its output's quotes/escapes are completed, but brace expansion happens after parse_word() and thus violating assumptions later code depends on to not do redundant error checking. The easy fix is to escape punctuation produced by parse_word (which in bash can only happen when you span upper and lower case ranges so "\" is the only interesting character). I could special case this to match bash exactly, but I'm waiting for someone to complain instead. | |||
2020-09-03 | Implement brace sequence expressions ala {a..z} and {1..37..2} | Rob Landley | |
2020-09-02 | SIGHUP to init.c triggers inittab reload | Chris Sarra via Toybox | |
2020-08-31 | Implement select. | Rob Landley | |
2020-08-31 | Implement case/esac, add more wildcard tests. | Rob Landley | |
2020-08-24 | Cleanup watchdog.c, as described on the list. | Rob Landley | |
2020-08-24 | Introducing toys/pending/watchdog.c | Chris Sarra via Toybox | |
This patch introduces a simple watchdog implementation for toybox. We send the appropriate ioctls to set the relevant timeouts, and intercept signals to safely shut down if required. | |||
2020-08-14 | cleanup: use FLAG() macros, inline parse_arguments(), STDIN_FILENO is 0. | Rob Landley | |
2020-08-12 | getty: ensure utmp is updated. | Elliott Hughes | |
The key issues here turned out to be that getty is responsible for creating the file if it doesn't exist, and that the -H flag doesn't control whether utmp is updated, but whether or not to override the hostname within the utmp entry. While I'm here switch to the more modern utx APIs that all the non-pending parts of toybox use, and remove the duplication. | |||
2020-08-11 | Fix spelling errors | Antoni Villalonga i Noceras | |
2020-08-05 | toysh: next round of wildcard plumbing | Rob Landley | |
2020-07-28 | toysh: more wildcard plumbing | Rob Landley | |
2020-07-22 | toysh: Start of wildcard plumbing. | Rob Landley | |
2020-07-15 | toysh: NOSPLIT shouldn't collate whitespace $IFS | Rob Landley | |
2020-07-14 | toysh: honor nosplit, expand_one_arg shouldn't free (that's what del list for) | Rob Landley | |
2020-07-12 | Fixing up failing tests cases. | Rob Landley | |
2020-07-11 | Chunk of job control plumbing and start of ${x:1:3} variable slicing support. | Rob Landley | |
2020-07-05 | wget: do not append toybox version at runtime | Ariadne Conill | |
The sprintf() call, while technically valid (17 bytes fits in an 18 byte allocation) trips Alpine fortify-headers due to checking for allocations that could potentially overrun. The call is pointless anyway -- as we are appending a constant to another constant, it is better to just let the compiler do so and calculate the size. This is supported by ISO C89 and later, and thus any compiler that would be used to compile toybox. Signed-off-by: Ariadne Conill <ariadne@dereferenced.org> | |||
2020-07-05 | toys.h already includes poll.h | Rob Landley | |
2020-07-05 | dhcp6: use portable s6_addr instead of linux kernel-specific __in6_u.__u6_addr8 | Ariadne Conill | |
The glibc headers also provide that member, but s6_addr is the portable way. This fixes compilation on musl libc. Signed-off-by: Ariadne Conill <ariadne@dereferenced.org> | |||
2020-06-10 | Chunk of job control pumbing. | Rob Landley | |
2020-06-09 | Inline/remove block_end() and skip_andor(). Add ->end pointer to sh_pipeline | Rob Landley | |
pointing to end of current block so we don't have to search for it later. | |||
2020-06-05 | Fix DNS 2 is the DHCP client. | Erik Moqvist | |
2020-06-02 | Build works fine on glibc but breaks on musl, add a workaround. | Rob Landley | |
2020-06-02 | Fix AF_INET6 hostlookups | Eric Molitor | |
2020-06-02 | Autodetect if IPv6 address is used and display warning | Eric Molitor | |
2020-06-02 | Cleanup setRoute and resolve warnings about alignment and NULL args | Eric Molitor | |
2020-06-02 | Implement hostname lookups in display_routes | Eric Molitor | |
2020-05-28 | remove unneeded ; after GLOBALS | Ethan Sommer | |
2020-05-27 | route: remove unused get_hostname() | Ethan Sommer | |
2020-05-27 | Trivial cleanup. | Rob Landley | |
2020-05-27 | Cleanup pass. | Rob Landley | |
2020-05-27 | dhcpd: fix warnings | Ethan Sommer | |
Add presumably intended conversion specifier for gconfig.valid_lifetime as it is an argument to error_msg despite the format string having no conversion specifiers. Remove always true false inverse check for address of array gstate.rcvd.rcvd_pkt6.transaction_id. | |||
2020-05-27 | Convert array_add() to arg_add(). | Rob Landley | |
2020-05-26 | Remove unused include and constants | Eric Molitor | |