bsc/cmd/geth
Felix Lange 87ae0df476 cmd/geth, jsre: improve the js command
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
2016-04-20 23:33:43 +02:00
..
testdata cmd/geth: add tests for account commands 2016-04-12 15:58:07 +02:00
accountcmd_test.go cmd/geth: add recovery procedure for AmbiguousAddrError 2016-04-12 15:59:18 +02:00
accountcmd.go accounts: improve API and add documentation 2016-04-12 15:59:18 +02:00
chaincmd.go cmd/geth, cmd/utils: improve input handling 2016-04-12 15:56:49 +02:00
info_test.json fix solc tests unskip 2015-05-20 02:47:13 +01:00
js_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
js.go cmd/geth, jsre: improve the js command 2016-04-20 23:33:43 +02:00
library_android.go Makefile, cmd/geth: support building Android archives 2015-12-14 14:28:14 +02:00
library.c Makefile, cmd/geth: assemble ios xcode frameworks 2015-12-08 18:05:43 +02:00
library.go Makefile, cmd/geth: assemble ios xcode frameworks 2015-12-08 18:05:43 +02:00
main.go cmd/geth, jsre: improve the js command 2016-04-20 23:33:43 +02:00
monitorcmd.go Merge pull request #2206 from fjl/update-deps 2016-02-17 13:46:30 +01:00
run_test.go cmd/geth: add recovery procedure for AmbiguousAddrError 2016-04-12 15:59:18 +02:00
usage.go Merge pull request #2359 from bas-vk/rpc-optional-args 2016-04-12 14:03:21 +02:00