Egon Elbre
f42bd73ce5
internal: fix megacheck warnings ( #14919 )
7 years ago
Felix Lange
2be3c4b0e3
internal/jsre: fix built-in inspect function
...
inspect was broken by ffaf58f0a9
(May 2016!).
Looks like nobody uses this function.
8 years ago
Felix Lange
b8bd9a71c8
all: update license information
8 years ago
Felix Lange
91b7690428
rpc: add new client, use it everywhere
...
The new client implementation supports concurrent requests,
subscriptions and replaces the various ad hoc RPC clients
throughout go-ethereum.
8 years ago
Péter Szilágyi
14ae5708d6
console, internal/jsre: colorize JavaScript exceptions too
9 years ago
Péter Szilágyi
ffaf58f0a9
cmd, console: split off the console into a reusable package
9 years ago
Felix Lange
05e257c22c
jsre: hide fields with prefix _ when pretty-printing
...
This makes web3 internals like _requestManager invisible.
9 years ago
Felix Lange
4e85be0717
jsre: print BigNumber objects with custom constructor as number
9 years ago
Felix Lange
6ba7bbbe29
jsre: include constructor properties in auto-completion
9 years ago
Felix Lange
2680e23b15
jsre: fix pretty printer for upstream otto change
9 years ago
Felix Lange
1086e2f298
jsre: fix annoying indentation when printing arrays of objects
...
The pretty printer, dumb as it is, printed arrays of objects as
[{
...
}]
With this change, they now print as:
[{
...
}]
9 years ago
Felix Lange
49703bea0a
jsre: bind the pretty printer to "inspect" in JS
9 years ago
Felix Lange
0ef80bb3d0
cmd/geth, jsre: restore command line editing on windows
...
PR #856 broke command line editing by wrapping stdout with a filter that
interprets ANSI escape sequences to fix colored printing on windows.
Implement the printer in Go instead so it can do its own
platform-dependent coloring.
As a nice side effect, the JS console is now noticeably more responsive
when printing results.
Fixes #1608
Fixes #1612
9 years ago