Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-14 | Implement $'' | Rob Landley | |
2020-04-14 | Start of $- and set flags support. | Rob Landley | |
2020-04-12 | Fix sh -c 'CONSOLE="$(</sys"' segfault (don't advance twice after quote). | Rob Landley | |
2020-04-12 | Add shift and $[], fix exec. | Rob Landley | |
2020-04-09 | Fix "else" loop. | Rob Landley | |
2020-04-08 | Implement ! and $$ and fix quoted "$(subshell)" | Rob Landley | |
2020-04-06 | Pass more tests, and detect ELF files (don't try to run them as shell scripts). | Rob Landley | |
Don't fall back to stdin if we can't find shell script on command line. | |||
2020-04-04 | Fix lifetime rules in bracket expansion. | Rob Landley | |
2020-04-02 | More shell plumbing. Redo of variable storage, add export. | Rob Landley | |
2020-03-18 | Next round of shell work. | Rob Landley | |
Rethink syntax_err a bit. Try to track top level shell pid for $$ including passing it to nommu subshells. Reset hfd more often so it doesn't climb endlessly. Leak fewer filehandles and detect more filehandle exhaustion errors. Replace skip_quote() with a second mode for parse_word(). Fix $() and implement $(<input). | |||
2020-03-13 | Pass a few more test suite entries. | Rob Landley | |
2020-03-13 | Fix "eval x=y", add exec, only prompt if stdin is a tty, search $PATH for script | Rob Landley | |
2020-03-12 | Shuffle code around: eliminate one of two function prototypes, add "static" | Rob Landley | |
to functions that aren't entry points, and collate debug code at top. | |||
2020-03-11 | Redo NOFORK plumbing so commands like eval/unset can access/edit shell state. | Rob Landley | |
2020-03-09 | Next round of shell plumbing: variable expansion with $IFS. | Rob Landley | |
Not entirely debugged, but more or less there-ish. | |||
2020-03-05 | Fix 'for i in one two three; do echo =$i=; done' | Rob Landley | |
2020-03-01 | Snapshot of variable resolution implementation. Not remotely load bearing yet. | Rob Landley | |
2020-02-06 | Basic parenthetical subshell support. | Rob Landley | |
2020-02-04 | More (subshell) work (not finished), fix {block;} | pipes. | Rob Landley | |
2020-02-01 | Auto-initialize variables, some of which are readonly and some exported. | Rob Landley | |
2020-01-30 | Couple more tests and sh comment changes. (Mostly todo list tracking.) | Rob Landley | |
2020-01-29 | Quick and dirty "echo $ABC" support, done totally the wrong way, but it | Rob Landley | |
makes those two remaining tests pass. | |||
2020-01-26 | Implement nommu subshell plumbing, <(command), and fix 2>&1 | Rob Landley | |
2020-01-11 | Fix a duplicate free() and a variable stomp, set s=s to fix "can never be | Rob Landley | |
used uninitalized" warning, move flow control character detection to the right place, change scratch zeroing to the same way main() does it. | |||
2020-01-11 | sh.c: fix memory corruption due to uninitialized sh_function in sh_run | Rich Felker | |
2020-01-08 | Remove lots of debugging dprintf()s. | Rob Landley | |
2020-01-08 | Fix commaless brace discard. | Rob Landley | |
2020-01-08 | Implement quote removal and fix unterminated bracket expansion. | Rob Landley | |
2020-01-07 | Bracket support in progress. Mind the dprintf()s. | Rob Landley | |
2020-01-03 | Add local variables support. | Rob Landley | |
2020-01-03 | Finish cd, make help -ahu unconditional, fix expand memory cleanup path, | Rob Landley | |
set $HOME $PWD and $OLDPWD, fix prompt \w, shuffle some functions around to avoid prototypes, implement tilde expansion, add FORCE_COPY. | |||
2020-01-01 | Factor out array_add(), replace argxtend(). | Rob Landley | |
2020-01-01 | If allocation update is done in blocks, initial allocation has to populate | Rob Landley | |
a full block. | |||
2019-12-31 | toysh: start of <(echo hello) support. | Rob Landley | |
2019-12-29 | Implement single command env assignments (abc=def command) and make debug | Rob Landley | |
output #definable. | |||
2019-12-29 | Debug basic pipe support and I/O flush for builtins. | Rob Landley | |
2019-12-28 | Next round of sh plumbing: more work on redirect and pipe, use CLOEXEC. | Rob Landley | |
2019-12-23 | Toysh passes two tests now! Woo! (Otherwise, does not remotely work right now.) | Rob Landley | |
2019-12-12 | Next round of toysh work, with associated lib plumbing. | Rob Landley | |
2019-09-08 | make "for i in" work. | Rob Landley | |
2019-08-29 | Fix sh handling nested if/else/elif statements ala | Rob Landley | |
if true; then if false; then echo one; elif echo two; then echo three; else echo four; fi; fi | |||
2019-08-18 | Next round of shell plumbing. | Rob Landley | |
You can now run: echo hello; if true; then echo hello; fi; while true; do echo hello; done It's got the start of for loops but needs environment variable resolver to do much with them. | |||
2019-08-09 | Split out run_function() and free_function(), add start of _TOYSH_LOCALS | Rob Landley | |
marshalling for vforked subshells, fix rc returned from run_pipeline for variable assignment. (Well, sort of: X=$(false) still needs rc = 1.) | |||
2019-08-04 | Make "if true; then echo hello; fi" work. More work on redirection. | Rob Landley | |
2019-08-02 | Next round of infrastructure. Start of redirect logic and runtime flow control. | Rob Landley | |
2019-07-22 | Next round of plumbing evolution. Left in the todo and debug code this time. | Rob Landley | |
2019-07-11 | Next sh checkpoint. Not remotely load bearing yet. | Rob Landley | |
2019-06-29 | More toysh flow control plumbing. | Rob Landley | |
2019-06-25 | Start over on toysh. | Rob Landley | |
Basic line continuation logic (to prompt with $PS2). Doesn't use result yet. | |||
2019-01-22 | Fix sigjmp_buf/jmp_buf mismatches. | Elliott Hughes | |
Broke the bionic build: external/toybox/toys/net/netcat.c:188:37: error: incompatible pointer types assigning to 'sigjmp_buf *' (aka 'long (*)[33]') from 'jmp_buf *' (aka 'long (*)[32]') [-Werror,-Wincompatible-pointer-types] if (toys.optflags&FLAG_L) NOEXIT(child = XVFORK()); ^~~~~~~~~~~~~~~~~~~~~~~~ external/toybox/lib/lib.h:375:19: note: expanded from macro 'NOEXIT' #define NOEXIT(x) WOULD_EXIT(_noexit_res, x) ^~~~~~~~~~~~~~~~~~~~~~~~~~ external/toybox/lib/lib.h:367:16: note: expanded from macro 'WOULD_EXIT' toys.rebound = &_noexit; \ ^ ~~~~~~~~ 1 error generated. |