aboutsummaryrefslogtreecommitdiffstats
path: root/jsre
Commit message (Collapse)AuthorAgeFilesLines
* jsre: hotfix web3 for the console eth.syncing formattingPéter Szilágyi2016-05-091-1/+6
|
* cmd/geth, jsre: improve the js commandFelix Lange2016-04-211-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* all: update license informationFelix Lange2016-04-152-2/+2
|
* jsre: hide fields with prefix _ when pretty-printingFelix Lange2016-04-131-1/+1
| | | | This makes web3 internals like _requestManager invisible.
* jsre: fix <tab><tab> completion magicFelix Lange2016-04-132-4/+17
|
* jsre: expose DoFelix Lange2016-04-132-9/+11
|
* jsre: print BigNumber objects with custom constructor as numberFelix Lange2016-04-121-5/+13
|
* rpc: various fixes/enhancementsBas van Kervel2016-04-121-133/+2983
| | | | | | | | rpc: be less restrictive on the request id rpc: improved documentation console: upgrade web3.js to version 0.16.0 rpc: cache http connections rpc: rename wsDomains parameter to wsOrigins
* console: seed random number generatorBas van Kervel2016-02-191-0/+18
|
* jsre: include constructor properties in auto-completionFelix Lange2016-02-153-14/+107
|
* cmd/geth, jsre: improve auto-completionFelix Lange2016-02-151-0/+63
|
* jsre: fix pretty printer for upstream otto changeFelix Lange2016-02-121-2/+11
|
* eth, eth/downloader, jsre: surface state sync progress through the APIPéter Szilágyi2016-02-101-108/+110
|
* rpc: migrated the RPC insterface to a new reflection based RPC layerBas van Kervel2016-01-261-1/+3
|
* Merge pull request #1999 from karalabe/javascript-timer-argcheckJeffrey Wilcke2015-11-271-5/+15
|\ | | | | jrse: fix #1082, fail if setTimeout/setInterval lack callback
| * jrse: fix #1082, fail if setTimeout/setInterval lack callbackPéter Szilágyi2015-11-231-5/+15
| |
* | cmd, crypto: fixed nil public keys and updated web3Jeffrey Wilcke2015-11-261-944/+6224
|/
* jsre: fix #1876, sleep too short on a slow test serverPéter Szilágyi2015-11-051-1/+1
|
* Merge pull request #1811 from bas-vk/timer-clearintervalFelix Lange2015-09-181-1/+3
|\ | | | | timer bugfix when clearInterval was called from within the callback
| * jsre: timer bugfix when clearInterval was called from within the callbackBas van Kervel2015-09-161-1/+3
| |
* | jsre, rpc/api: pull in new web3 and use hex numbersPéter Szilágyi2015-09-151-180/+609
|/
* jsre: fix annoying indentation when printing arrays of objectsFelix Lange2015-08-161-6/+9
| | | | | | | | | | | | | | The pretty printer, dumb as it is, printed arrays of objects as [{ ... }] With this change, they now print as: [{ ... }]
* jsre: bind the pretty printer to "inspect" in JSFelix Lange2015-08-162-0/+9
|
* cmd/geth, jsre: restore command line editing on windowsFelix Lange2015-08-124-170/+231
| | | | | | | | | | | | | 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
* web3: updatedJeffrey Wilcke2015-08-111-931/+2100
|
* web3: regression. Fixes #1613Jeffrey Wilcke2015-08-071-2/+2
|
* common/compiler, common/docserver, jsre: fix tests on windowsFelix Lange2015-08-061-8/+22
|
* Merge pull request #1515 from fjl/license-fixesJeffrey Wilcke2015-07-285-5/+5
|\ | | | | all: fix license headers one more time
| * all: fix license headers one more timeFelix Lange2015-07-245-5/+5
| | | | | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* | web3: updated 0.9.1v0.9.39Jeffrey Wilcke2015-07-251-79/+343
|/
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-235-20/+20
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* Merge pull request #1441 from obscuren/logs-return-fixJeffrey Wilcke2015-07-091-10/+22
|\ | | | | miner, xeth: fire log event during mining. Fix return raw tx
| * web3: updatedJeffrey Wilcke2015-07-081-10/+22
| |
* | added net.versionBas van Kervel2015-07-081-1/+1
|/
* web3 updateJeffrey Wilcke2015-07-071-14/+73
|
* all: add some godoc synopsis commentsFelix Lange2015-07-071-0/+1
|
* all: update license informationFelix Lange2015-07-075-0/+80
|
* output BigNumbers objects in console as stringsBas van Kervel2015-07-071-1/+9
|
* web3: updatedJeffrey Wilcke2015-07-061-2784/+138
|
* upgrade web3 to version 0.7.1Bas van Kervel2015-07-031-103/+2934
|
* upgrade web3.js with _extend supportBas van Kervel2015-06-111-2750/+151
|
* added console commandBas van Kervel2015-06-111-183/+4594
|
* jsre: print function arguments tooPéter Szilágyi2015-06-091-1/+1
|
* jsre: sort pretty print output, fields before funcsPéter Szilágyi2015-06-091-3/+20
|
* jsre: fix wrong separator comma placing due to non consistent field ordersPéter Szilágyi2015-06-091-7/+7
|
* cmd/geth: updated web3obscuren2015-05-281-1546/+146
|
* cmd/geth, jsre, rpc: run all JS code on the event loopFelix Lange2015-05-252-155/+92
| | | | | | 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.
* update web3.js to 0.4.2zelig2015-05-201-475/+2061
|
* Merge branch 'develop' of github.com:ethereum/go-ethereum into developDaniel A. Nagy2015-05-081-2/+17
|\
| * Merge pull request #882 from zsfelfoldi/developJeffrey Wilcke2015-05-081-2/+17
| |\ | | | | | | Otto.ToValue concurrency error fixed
| | * ToVal serialization fixzsfelfoldi2015-05-081-2/+3
| | |
| | * Otto.ToValue concurrency error fixedzsfelfoldi2015-05-081-2/+16
| | |
* | | Signing (almost) works.Daniel A. Nagy2015-05-081-2/+3690
|/ /
* / jsre, cmd/geth: updated web3.js and altered settimeoutobscuren2015-05-082-7/+7
|/
* setTimeout and sendAsync implementedzsfelfoldi2015-05-062-13/+248
| | | | added and eval queue for serializing JSRE vm execution
* web3: updatedobscuren2015-04-261-2/+2
|
* cmd/geth, jsre: updated ethereum.js => web3.jsobscuren2015-04-241-1/+3
|
* Added some quotes ....obscuren2015-04-101-2/+1
|
* Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-04-071-10/+6
|\
| * fixed printing circular structuresMarek Kotewicz2015-04-071-10/+6
| |
* | Updated ethereum.jsobscuren2015-04-071-1/+1
|/
* do not print Plain Object prototype fields in geth consoleMarek Kotewicz2015-04-031-1/+13
|
* printing object prototype functions in geth consoleMarek Kotewicz2015-04-031-3/+10
|
* updated ethereum.jsobscuren2015-04-021-1/+2
|
* fixed printing BigNumbersMarek Kotewicz2015-04-021-0/+7
|
* print nonenumerable properties of object in geth consoleMarek Kotewicz2015-04-021-7/+15
|
* Updated ethereum.jsobscuren2015-04-021-1/+1
|
* common: remove WriteFile and ReadAllFile (use ioutil instead)zelig2015-03-271-4/+4
|
* updated web3.js light for consoleobscuren2015-03-261-1/+1
|
* removed big num from ppobscuren2015-03-251-2/+0
|
* Improved pretty printer for consoleobscuren2015-03-251-8/+21
|
* Better error reporting in the console. Updated ethereum.jsobscuren2015-03-252-2/+12
|
* fixed bad unclesobscuren2015-03-241-1/+1
|
* Merge pull request #536 from zsfelfoldi/developJeffrey Wilcke2015-03-232-3/+3
|\ | | | | using robertkrimen/otto, godeps updated
| * fixed jsre testzsfelfoldi2015-03-201-1/+1
| |
| * using robertkrimen/otto, godeps updatedzsfelfoldi2015-03-202-2/+2
| |
* | Added new ethereum.jsobscuren2015-03-211-1/+1
|/
* ethutil -> commonzelig2015-03-162-5/+5
|
* jsre: remove assetpath using GOPATH from testzelig2015-03-151-21/+20
|
* jsre:zelig2015-03-155-0/+264
- require became loadScript(), no require is supplied - bignumber_js.go: heredoc v2.0.3 minified fixed for otto Regexp incompatibility https://github.com/robertkrimen/otto#regular-expression-incompatibility - bignumber.min.js also updated in mist/assets/ext - ethereum_js.go: latest master minified - assetPath in constructor - Eval/Exec/Handle/ToVal nice API - jsre tests