good morning!!!!

Skip to content
Snippets Groups Projects
  1. May 06, 2016
  2. May 03, 2016
  3. May 02, 2016
  4. Apr 29, 2016
  5. Apr 28, 2016
  6. Apr 27, 2016
  7. Apr 26, 2016
  8. Apr 25, 2016
  9. Apr 22, 2016
  10. Apr 21, 2016
  11. Apr 20, 2016
    • Felix Lange's avatar
      cmd/geth, jsre: improve the js command · 87ae0df4
      Felix Lange authored
      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
    • Jeffrey Wilcke's avatar
      accouns/abi: refactored ABI package · 5127ec10
      Jeffrey Wilcke authored
      Refactored the abi package parsing and type handling. Relying mostly on
      package reflect as opposed to most of our own type reflection. Our own
      type reflection is still used however for cases such as Bytes and
      FixedBytes (abi: bytes•).
      
      This also inclused several fixes for slice handling of arbitrary and
      fixed size for all supported types.
      
      This also further removes implicit type casting such as assigning,
      for example `[2]T{} = []T{1}` will fail, however `[2]T{} == []T{1, 2}`
      (notice assigning *slice* to fixed size *array*). Assigning arrays to
      slices will always succeed if they are of the same element type.
      
      Incidentally also fixes #2379
      5127ec10
  12. Apr 19, 2016
Loading