1. 28 4月, 2016 3 次提交
  2. 27 4月, 2016 2 次提交
  3. 26 4月, 2016 4 次提交
  4. 25 4月, 2016 3 次提交
  5. 22 4月, 2016 1 次提交
  6. 21 4月, 2016 1 次提交
    • F
      cmd/geth, jsre: improve the js command · 87ae0df4
      Felix Lange 提交于
      geth js stopped the JS runtime after running the first input file
      and blocked for pending callbacks. This commit makes it process
      all files and enables quitting with Ctrl-C regardless of callbacks.
      
      Error reporting is also improved. If a script fails to load, the error
      is printed and includes the backtrace. package jsre now ensures that
      otto is aware of the filename, the backtrace will contain them.
      
      Before:
      
      $ geth js bad.js; echo "exit $?"
      ... log messages ...
      exit 0
      
      After:
      
      $ geth js bad.js; echo "exit $?"
      ... log messages ...
      Fatal: JavaScript Error: Invalid number of input parameters
          at web3.js:3109:20
          at web3.js:4917:15
          at web3.js:4960:5
          at web3.js:4984:23
          at checkWork (bad.js:11:9)
          at bad.js:19:1
      
      exit 1
      87ae0df4
  7. 20 4月, 2016 1 次提交
  8. 19 4月, 2016 1 次提交
  9. 16 4月, 2016 2 次提交
  10. 15 4月, 2016 14 次提交
  11. 14 4月, 2016 5 次提交
  12. 13 4月, 2016 3 次提交