Commit History

Author SHA1 Message Date
  Rob Landley 3f7ea911d8 Fix a memory leak and update reference after discarding blank pipeline segment. 2 years ago
  Rob Landley 1533ccf512 Add "cd -", teach cd to handle deleted directories, fix ${X: -1:1} 2 years ago
  Rob Landley eee419c1d7 flags.h can #define its own CLEANUP_ macros for the next #include 2 years ago
  Rob Landley fac49481c6 Fix $((math)) recursion order, handle "" as 0, and add more tests. 2 years ago
  Rob Landley 8ead6936e1 Implement declare, fix nommu subshell marshalling, fix blank int var assigns. 2 years ago
  Rob Landley d6b8a3cbbb Teach more variable plumbing about +=, rename VAR_GLOBAL -> VAR_EXPORT, 2 years ago
  Rob Landley 47258fc9a9 Add += prefix and direct assignment (not in export x+=y and friends yet), 2 years ago
  Rob Landley 317f1fa37c Fix error detection for $((1+3-)) and such. 2 years ago
  Rob Landley e5ebc2a0af Start of $((math)) 2 years ago
  Rob Landley 42c0c0df6c Fix error path that was trying to free constant strings. 2 years ago
  Rob Landley 73b1e013f9 toysh: wchar_t->unsigned and turn "not" into a flag. 3 years ago
  Rob Landley e2975ef43e Dear gcc: no, it really can't be used uninitalized. 3 years ago
  Rob Landley 2833b8b99e Add $BASHPID to show current process in () and such. ($$ is top level shell) 3 years ago
  Rob Landley da9786fc64 Fix nohang wait. 3 years ago
  Rob Landley 9abc0ef933 More job control plumbing. 3 years ago
  Rob Landley b8c0b615fc Make && and || work on function calls. 3 years ago
  Rob Landley 137ab99aa3 Toysh don't free function arguments before function returns. 3 years ago
  Rob Landley da735a2052 Make toysh function return properly and run next statement. 3 years ago
  Rob Landley de04ee7f8d Make toysh actually run a shell function. 3 years ago
  Rob Landley 88ebd0d815 More toysh function work. 3 years ago
  Rob Landley 1a7ebb16ee First pass at toysh function() definition plumbing. 3 years ago
  Rob Landley 31eb5b82db Fix $IFS: skip trailing whitespace after first non-whitespace separator. 3 years ago
  Rob Landley 2d690ed7f5 toysh: save _resolved_ variable contents in $IFS cache. 3 years ago
  Rob Landley 554565b70d Fix more toysh tests. 3 years ago
  Rob Landley f4003d5803 Fix next couple of sh tests. 3 years ago
  Rob Landley 6a73a3c9ee Fix the next test. 3 years ago
  Rob Landley 4e2a912dac Add a missing pop_block(). 3 years ago
  Rob Landley aa16e0e2cc Toysh: adding function logic screwed up pipe/block logic. Fix it. 3 years ago
  Rob Landley 3aaf63f6d9 Fix another sh regression. 3 years ago
  Rob Landley 7a4524c989 Fix some more sh regressions. 3 years ago