Commit Graph

7549 Commits

Author SHA1 Message Date
chriseth
56424bb202 Merge pull request #2262 from ethereum/interface-cleanup
Cleanup the external interfaces (ABI and Natspec)
2017-05-19 17:55:33 +02:00
chriseth
20125c18ba Merge pull request #2239 from ethereum/zesty
Remove wily and add zesty.
2017-05-19 17:53:27 +02:00
chriseth
982f661339 Merge pull request #2223 from ethereum/julia-bool
Add support for bool literals in Julia
2017-05-19 17:48:36 +02:00
Alex Beregszaszi
bbef2cd4a8 Rename handleMeta to handleNatspec 2017-05-19 16:11:04 +01:00
Alex Beregszaszi
cd5d93da2a Rename CompilerStack.metadata to CompilerStack.natspec 2017-05-19 16:11:04 +01:00
Alex Beregszaszi
81877cc594 Rename InterfaceHandler to Natspec 2017-05-19 16:11:04 +01:00
Alex Beregszaszi
12328b7848 Split ABI out of InterfaceHandler 2017-05-19 16:11:03 +01:00
Alex Beregszaszi
4bf3cbb09a Use CompilerStack.contractABI directly 2017-05-19 15:57:36 +01:00
Alex Beregszaszi
8169e149c9 Rename CompilerStack.interface to CompilerStack.contractABI 2017-05-19 15:57:36 +01:00
chriseth
21ba8eea69 Disable error checking by bash for fuzzer 2017-05-19 15:30:35 +01:00
Alex Beregszaszi
56412b11b3 Display the source on which the 'fuzzer' failed 2017-05-19 15:30:35 +01:00
djudjuu
1d22233a43 refactoring functionCallAnnotation 2017-05-19 15:48:07 +02:00
Alex Beregszaszi
ebcb27e5c1 Accept bool as a type in Julia mode 2017-05-19 09:44:16 +01:00
Alex Beregszaszi
2ade4fcdd8 Add tests for bool literal 2017-05-19 09:44:16 +01:00
Alex Beregszaszi
edd0afa3c3 Support true/false literals in inline assembly 2017-05-19 09:44:16 +01:00
djudjuu
6316a76ab9 testsuite adjustment 2017-05-19 09:51:23 +02:00
Yoichi Hirai
6f9428e900 Merge pull request #2280 from seusher/soltest_rpc_request_logging
Issue 2279: Log JSON RPC requests and responses when --log_level=mess…
2017-05-18 11:13:43 +02:00
seusher
d546c2873a Issue 2279: Log JSON RPC requests and responses when --log_level=message is provided to soltest 2017-05-17 12:57:55 -07:00
djudjuu
e3583d04f7 include new InlineAssemblyInformation into JSON 2017-05-17 15:58:28 +02:00
chriseth
b923196a85 Merge pull request #2277 from ethereum/chriseth-patch-1
Fix typo.
2017-05-17 14:28:55 +02:00
chriseth
2d8b866b59 Merge pull request #2278 from ethereum/chriseth-patch-2
Fix bug in example contract.
2017-05-17 14:26:02 +02:00
chriseth
cc9a99a63f Merge pull request #2221 from greggdourgarian/develop
minor punctuation, typo and clarity changes
2017-05-17 12:06:37 +02:00
chriseth
47bd18628a Merge pull request #2250 from ethers/patch-1
Comment update SHA3-256 to Keccak-256
2017-05-17 12:02:59 +02:00
chriseth
b4c6877a94 Merge pull request #2247 from jamesray1/develop
Wikipedia links for some terminology and grammar
2017-05-17 11:58:19 +02:00
chriseth
2c3eea7e42 Fix bug in example contract. 2017-05-17 11:30:45 +02:00
chriseth
a0d0776bbc Fix typo.
Fixes #2273
2017-05-17 11:20:46 +02:00
djuju
a4ba5ace8a prefixChanges and contractKind-field 2017-05-17 11:14:33 +02:00
djuju
2fa7646944 fixed styletypos, renaming and added helperfunction 2017-05-17 11:14:33 +02:00
Alex Beregszaszi
487eef18cc Use different AST node names in legacy and new format 2017-05-17 11:14:33 +02:00
Alex Beregszaszi
f2a6331ffb Support the new AST in StandardCompiler 2017-05-17 11:14:33 +02:00
chriseth
dea7b864e6 Compact format for AST-Json with backwards compatibility 2017-05-17 11:14:33 +02:00
chriseth
d9b5ff0b43 Merge pull request #2222 from ethereum/julia-types
Add support for types in Julia
2017-05-16 16:59:15 +02:00
Yoichi Hirai
2ba87fe804 Merge pull request #2268 from MicahZoltu/patch-1
Improves clarity of block.timestamp
2017-05-16 11:07:33 +02:00
Micah Zoltu
071efc553b Improves clarity of block.timestamp 2017-05-12 22:13:45 -07:00
ethers
9e62e9b1b7 Comment update SHA3-256 to Keccak-256 (title) 2017-05-12 22:30:14 -04:00
Yoichi Hirai
242e431881 Merge pull request #2263 from ethereum/compilerstack
Add state checks in ComplerStack (to avoid crash)
2017-05-11 14:11:53 +02:00
Alex Beregszaszi
c0f31e4c1b Ensure proper checks are in CompilerStack 2017-05-11 08:02:03 +01:00
Alex Beregszaszi
5b4b620d8b Do not crash on AST if parsing failed 2017-05-11 08:02:03 +01:00
Alex Beregszaszi
a6586f7504 Merge pull request #2252 from pirapira/fix-build
Remove an unused function `successAssemble`
2017-05-10 08:25:48 +01:00
jamesray1
139fdb36c7 Update introduction-to-smart-contracts.rst 2017-05-10 15:26:17 +10:00
jamesray1
1d5c0ce9f4 Update introduction-to-smart-contracts.rst
Updated link for pragma.
2017-05-10 15:20:12 +10:00
Yoichi Hirai
9dac41d845
Remove an unused function successAssemble
Otherwise, I see a build failure:
    test/libjulia/Parser.cpp:92:6: error: ‘bool dev::solidity::test::{anonymous}::successAssemble(const string&, bool)’ defined but not used [-Werror=unused-function]
     bool successAssemble(string const& _source, bool _allowWarnings = true)
          ^~~~~~~~~~~~~~~
    cc1plus: all warnings being treated as errors
2017-05-09 11:51:16 +02:00
ethers
cd1d112816 Comment update SHA3-256 to Keccak-256
Could have been part of aefb6e5fcf
2017-05-08 21:30:16 -07:00
Alex Beregszaszi
9e8e6dd57b Merge pull request #2214 from ethereum/jsoncompiler-tests
Add basic test for jsonCompiler
2017-05-06 11:52:16 +01:00
Alex Beregszaszi
41b5361b3f Run in optimizer mode when requested 2017-05-06 11:28:46 +01:00
Alex Beregszaszi
31bd4acf66 Split out common metadata validation code 2017-05-06 11:28:01 +01:00
Alex Beregszaszi
c4315521a3 Add basic test for jsonCompiler 2017-05-06 11:28:01 +01:00
jamesray1
1b1af751fd Merge pull request #1 from jamesray1/jamesray1-patch-1
Update introduction-to-smart-contracts.rst
2017-05-06 20:27:27 +10:00
jamesray1
347a4040e6 Update introduction-to-smart-contracts.rst
Grammar
This sentence was a bit confusing due to changing from it to they: "Contracts cannot access log data after it has been created, but they can be efficiently accessed from outside the blockchain.", however changing it to the following may sound awkward "Contracts cannot access log data after log data has been created, but log data can be efficiently accessed from outside the blockchain."

Also added links to terminology that may not be understood by lay readers.
2017-05-06 20:20:36 +10:00
Alex Beregszaszi
822c90573c Merge pull request #2212 from ethereum/cli-assemble-errors
Catch errors gracefully in CLI assembler
2017-05-06 11:18:32 +01:00