aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/js.go
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1970 from karalabe/customizable-protocol-stacksJeffrey Wilcke2015-11-271-11/+22
|\ | | | | Customizable protocol stacks
| * cmd, eth, node, rpc, xeth: use single-instance servicesPéter Szilágyi2015-11-271-2/+2
| |
| * cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacksPéter Szilágyi2015-11-271-11/+22
| |
* | cmd, crypto: fixed nil public keys and updated web3Jeffrey Wilcke2015-11-261-2/+2
|/
* rpc api: eth_getNatSpeczelig2015-10-271-18/+13
| | | | | | | | * xeth, rpc: implement eth_getNatSpec for tx confirmations * rename silly docserver -> httpclient * eth/backend: httpclient now accessible via eth.Ethereum init-d via config.DocRoot * cmd: introduce separate CLI flag for DocRoot (defaults to homedir) * common/path: delete unused assetpath func, separate HomeDir func
* fix console history, lines with leadning whitespace NOT includedzelig2015-10-241-1/+1
|
* console:zelig2015-10-221-23/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lines with leading space are ommitted from history * exit processed even with whitespace around * all whitespace lines (not only empty ones) are ignored add 7 missing commands to admin api autocomplete registrar: methods now return proper error if reg addresses are not set. fixes #1457 rpc/console: fix personal.newAccount() regression. Now all comms accept interactive password registrar: add registrar tests for errors crypto: catch AES decryption error on presale wallet import + fix error msg format. fixes #1580 CLI: improve error message when starting a second instance of geth. fixes #1564 cli/accounts: unlock multiple accounts. fixes #1785 * make unlocking multiple accounts work with inline <() fd * passwdfile now correctly read only once * improve logs * fix CLI help text for unlocking fix regression with docRoot / admin API * docRoot/jspath passed to rpc/api ParseApis, which passes onto adminApi * docRoot field for JS console in order to pass when RPC is (re)started * improve flag desc for jspath common/docserver: catch http errors from response fix rpc/api tests common/natspec: fix end to end test (skipped because takes 8s) registrar: fix major regression: * deploy registrars on frontier * register HashsReg and UrlHint in GlobalRegistrar. * set all 3 contract addresses in code * zero out addresses first in tests
* console/history respect datadirBas van Kervel2015-09-251-11/+6
|
* cmd/geth Autocompletion bugfix which let the console crashBas van Kervel2015-09-061-1/+1
|
* Merge pull request #1659 from bas-vk/exec-outputJeffrey Wilcke2015-08-151-6/+1
|\ | | | | Javascript --exec output
| * main print console output for js statement given by the exec argumentBas van Kervel2015-08-141-6/+1
| |
* | Merge pull request #1658 from bas-vk/liner-ctrl-cJeffrey Wilcke2015-08-141-0/+11
|\ \ | | | | | | Clear current line on ctrl-C
| * | main clear current line on ctrl-CBas van Kervel2015-08-141-0/+11
| | |
* | | Merge pull request #1642 from ethereum/fix-js-console-windowsJeffrey Wilcke2015-08-141-24/+15
|\ \ \ | |/ / |/| / | |/ cmd/geth, jsre: restore command line editing on windows
| * cmd/geth, jsre: restore command line editing on windowsFelix Lange2015-08-121-24/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | support for user agentsBas van Kervel2015-08-121-7/+3
|/
* jsre: leave out lines from history containing methods of the personal modulezelig2015-07-311-2/+17
|
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-2/+2
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: update license informationFelix Lange2015-07-071-11/+10
|
* Registrar and contractInfo handlingzelig2015-07-071-1/+1
| | | | | | | | | | | | | | | | * resolver -> common/registrar * global registrar name registry interface * add Call to resolver backend interface * the hashReg and UrlHing contracts now initialised from global registry * initialization of contracts uniform * improve errors and more econsistent method names * common/registrar/ethreg: versioned registrar * integrate new naming and registrar in natspec * js console api: setGlobalRegistrar, setHashReg, setUrlHint * js test TestContract uses mining - tests fixed all pass * eth/backend: allow PoW test mode (small ethash DAG) * console jsre refers to resolver.abi/addr, * cmd/geth/contracts.go moved to common/registrar
* Registrar and contractInfo handlingzelig2015-07-071-5/+7
| | | | | | | | | | | | | | | | * resolver -> common/registrar * global registrar name registry interface * add Call to resolver backend interface * the hashReg and UrlHing contracts now initialised from global registry * initialization of contracts uniform * improve errors and more econsistent method names * common/registrar/ethreg: versioned registrar * integrate new naming and registrar in natspec * js console api: setGlobalRegistrar, setHashReg, setUrlHint * js test TestContract uses mining - tests fixed all pass * eth/backend: allow PoW test mode (small ethash DAG) * console jsre refers to resolver.abi/addr, * cmd/geth/contracts.go moved to common/registrar
* added missing change for sign testBas van Kervel2015-06-221-1/+1
|
* added RPC start/stop supportBas van Kervel2015-06-221-2/+5
|
* added batch support to console and attach actionsBas van Kervel2015-06-221-0/+19
|
* fixed bug where history file was create in cwdBas van Kervel2015-06-221-1/+1
|
* added attach over ipc commandBas van Kervel2015-06-221-25/+64
|
* cleanup comments/codeBas van Kervel2015-06-221-51/+0
|
* removed old rpc structure and added new inproc api clientBas van Kervel2015-06-221-3/+186
|
* changed send methods for backwards compatability in geth consoleBas van Kervel2015-06-111-0/+1
|
* added console commandBas van Kervel2015-06-111-5/+5
|
* cmd/geth: exit the console cleanly when interruptedFelix Lange2015-05-271-20/+44
| | | | | | This fix applies mostly to unsupported terminals that do not trigger the special interrupt handling in liner. Supported terminals were covered because liner.Prompt returns an error if Ctrl-C is pressed.
* cmd/geth, jsre, rpc: run all JS code on the event loopFelix Lange2015-05-251-1/+1
| | | | | | 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.
* make registrar available in consoleBas van Kervel2015-05-221-1/+1
|
* solc now in ethereum, fixes solc path setting; setSolc() didnt workzelig2015-05-201-2/+1
|
* Use common.Address type for accounts.AddressGustav Simonsson2015-05-121-1/+2
|
* removed redundant newlines in import blockBas van Kervel2015-05-121-2/+1
|
* replaced several path.* with filepath.* which is platform independentBas van Kervel2015-05-121-2/+3
|
* jsre, cmd/geth: updated web3.js and altered settimeoutobscuren2015-05-081-6/+0
|
* solidity compiler and contract metadocs integrationzelig2015-05-071-11/+18
| | | | | | | | | | | | | * common/compiler: solidity compiler + tests * rpc: eth_compilers, eth_compileSolidity + tests * fix natspec test using keystore API, notice exp dynamically changes addr, cleanup * resolver implements registrars and needs to create reg contract (temp) * xeth: solidity compiler. expose getter Solc() and paths setter SetSolc(solcPath) * ethereumApi: implement compiler related RPC calls using XEth - json struct tests * admin: make use of XEth.SetSolc to allow runtime setting of compiler paths * cli: command line flags solc to set custom solc bin path * js admin api with new features debug and contractInfo modules * wiki is the doc https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions
* setTimeout and sendAsync implementedzsfelfoldi2015-05-061-0/+4
| | | | added and eval queue for serializing JSRE vm execution
* cli/js console: if corsDomain is not given to startRpc, we fall back to ↵zelig2015-04-241-7/+9
| | | | value set on command line with `-corsDomain`
* cmd/geth, jsre: updated ethereum.js => web3.jsobscuren2015-04-241-1/+1
|
* NatSpec cli option, resolver tests passingzsfelfoldi2015-04-201-4/+8
|
* default fallback NatSpec messageszsfelfoldi2015-04-201-8/+1
|
* resolver testszelig2015-04-201-1/+4
| | | | | | - add resolver tests and fix resolver to pass - statereg constructor fixed - comments added to natspec plus docserver integration for natspec userdoc fetching
* NatSpec, URL register storage retrievalzsfelfoldi2015-04-201-4/+3
| | | | fixed 2/3 tests
* natspec integrated to console frontend confirmTransactionzelig2015-04-201-2/+11
|
* Added some quotes ....obscuren2015-04-101-1/+1
|
* Added proper contract for registrarobscuren2015-04-091-1/+1
|
* Added default registrarobscuren2015-04-091-0/+1
|
* Use ExtraDB for storage. Fixes #577Taylor Gerring2015-03-271-2/+1
|
* renamed ethereum => gethobscuren2015-03-271-0/+246