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:
[{
...
}]
2015-08-16 00:35:00 +01:00
Felix Lange
49703bea0a
jsre: bind the pretty printer to "inspect" in JS
2015-08-15 23:55:42 +01:00
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
2015-08-12 12:04:00 +02:00
Jeffrey Wilcke
bf6ea2919d
web3: updated
2015-08-11 17:17:20 +02:00
Jeffrey Wilcke
a33726b7db
web3: regression. Fixes #1613
2015-08-07 12:33:12 +02:00
Felix Lange
3832019964
common/compiler, common/docserver, jsre: fix tests on windows
2015-08-06 17:18:59 +02:00
Jeffrey Wilcke
1fad8798ec
Merge pull request #1515 from fjl/license-fixes
...
all: fix license headers one more time
2015-07-28 04:29:42 -07:00
Jeffrey Wilcke
5001f778aa
web3: updated 0.9.1
2015-07-25 12:22:39 +02:00
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
2015-07-23 18:35:11 +02:00
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
2015-07-22 18:51:45 +02:00
Jeffrey Wilcke
97d22be318
Merge pull request #1441 from obscuren/logs-return-fix
...
miner, xeth: fire log event during mining. Fix return raw tx
2015-07-09 07:24:35 -07:00
Jeffrey Wilcke
d25634662b
web3: updated
2015-07-08 15:47:33 +02:00
Bas van Kervel
e84f3ec1d4
added net.version
2015-07-08 08:03:20 +02:00
Jeffrey Wilcke
c5972b4ac7
web3 update
2015-07-07 15:21:24 +02:00
Felix Lange
bdae4fd573
all: add some godoc synopsis comments
2015-07-07 14:12:45 +02:00
Felix Lange
ea54283b30
all: update license information
2015-07-07 14:12:44 +02:00
Bas van Kervel
6ea28f93b9
output BigNumbers objects in console as strings
2015-07-07 10:43:49 +02:00
Jeffrey Wilcke
b0aec6402a
web3: updated
2015-07-06 14:01:03 +02:00
Bas van Kervel
8150c0a726
upgrade web3 to version 0.7.1
2015-07-03 17:08:41 +02:00
Bas van Kervel
5f8e5a4875
upgrade web3.js with _extend support
2015-06-11 14:01:41 +02:00
Bas van Kervel
a1a475fb92
added console command
2015-06-11 14:01:39 +02:00
Péter Szilágyi
d6f4c515f5
jsre: print function arguments too
2015-06-09 17:23:44 +03:00
Péter Szilágyi
7842559353
jsre: sort pretty print output, fields before funcs
2015-06-09 17:19:56 +03:00
Péter Szilágyi
3f4ce70d92
jsre: fix wrong separator comma placing due to non consistent field orders
2015-06-09 13:27:45 +03:00
obscuren
598e454d46
cmd/geth: updated web3
2015-05-28 13:24:09 +02:00
Felix Lange
e221a449e0
cmd/geth, jsre, rpc: run all JS code on the event loop
...
Some JSRE methods (PrettyPrint, ToVal) bypassed the event loop. All
calls to the JS VM are now wrapped. In order to make this somewhat more
foolproof, the otto VM is now a local variable inside the event loop.
2015-05-25 02:27:37 +02:00
zelig
ea893aca8f
update web3.js to 0.4.2
2015-05-20 02:58:49 +01:00
Daniel A. Nagy
62dd9833ec
Merge branch 'develop' of github.com:ethereum/go-ethereum into develop
2015-05-08 17:55:53 +02:00
Daniel A. Nagy
3a01e3e39b
Signing (almost) works.
2015-05-08 17:52:44 +02:00
Jeffrey Wilcke
f819ac7158
Merge pull request #882 from zsfelfoldi/develop
...
Otto.ToValue concurrency error fixed
2015-05-08 04:54:22 -07:00
zsfelfoldi
d7dabce732
ToVal serialization fix
2015-05-08 13:29:48 +02:00
obscuren
351d6b0d44
jsre, cmd/geth: updated web3.js and altered settimeout
2015-05-08 13:05:20 +02:00
zsfelfoldi
1de1359e3b
Otto.ToValue concurrency error fixed
2015-05-08 12:27:35 +02:00
zsfelfoldi
c54d123b31
setTimeout and sendAsync implemented
...
added and eval queue for serializing JSRE vm execution
2015-05-06 15:58:27 +02:00
obscuren
a237ff65ea
web3: updated
2015-04-26 11:21:15 +02:00
obscuren
92c6327593
cmd/geth, jsre: updated ethereum.js => web3.js
2015-04-24 11:37:58 +02:00
obscuren
ec9fbf09aa
Added some quotes ....
2015-04-09 18:24:22 +02:00
obscuren
c756633fb7
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
2015-04-07 13:10:21 +02:00
obscuren
99907f94dc
Updated ethereum.js
2015-04-07 12:33:05 +02:00
Marek Kotewicz
b09d62bac7
fixed printing circular structures
2015-04-07 05:27:47 +02:00
Marek Kotewicz
24c8fdc1d0
do not print Plain Object prototype fields in geth console
2015-04-03 01:47:05 +02:00
Marek Kotewicz
1f122626be
printing object prototype functions in geth console
2015-04-03 00:49:18 +02:00
obscuren
79828531b1
updated ethereum.js
2015-04-02 13:13:11 +02:00
Marek Kotewicz
f960fc066e
fixed printing BigNumbers
2015-04-02 11:02:39 +02:00
Marek Kotewicz
bb3ae3026e
print nonenumerable properties of object in geth console
2015-04-02 01:53:33 +02:00
obscuren
ab5c007376
Updated ethereum.js
2015-04-01 23:28:45 +02:00
zelig
4ec38e3932
common: remove WriteFile and ReadAllFile (use ioutil instead)
2015-03-26 19:00:18 +00:00
obscuren
4ba850639e
updated web3.js light for console
2015-03-26 12:15:12 +01:00
obscuren
a2e3bf6f30
removed big num from pp
2015-03-25 14:51:10 +01:00
obscuren
a1cae93d78
Improved pretty printer for console
2015-03-25 12:44:41 +01:00