Commit Graph

7685 Commits

Author SHA1 Message Date
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
Alex Beregszaszi
a95c86e8e4 Catch errors gracefully in CLI assembler 2017-05-06 10:43:58 +01:00
Alex Beregszaszi
a09ee1ceae Merge pull request #2246 from egalleye/develop
Added change to make compile happy on MacOS 10.9.5
2017-05-06 10:41:22 +01:00
Erik Quenon Steggall
0489c99870 Added change to make compile happy on MacOS 10.9.5 2017-05-05 16:49:09 -07:00
Alex Beregszaszi
6706932d7c Add tests for types in Julia 2017-05-05 22:31:22 +01:00
Alex Beregszaszi
8688b63fa6 Use boost range adaptors in AsmPrinter 2017-05-05 22:31:22 +01:00
Alex Beregszaszi
d6396ee85f Parse types in Julia mode 2017-05-05 22:31:22 +01:00
Alex Beregszaszi
b0f2a5c162 Merge pull request #2205 from ethereum/julia-strict-parser
Stricter parser for Julia
2017-05-05 14:39:47 +01:00
Alex Beregszaszi
07176e82de Assert that invalid AST elements are not printed in Julia mode 2017-05-05 14:21:25 +01:00
Alex Beregszaszi
c423e140ee Add flag for JULIA printing 2017-05-05 14:21:25 +01:00
Alex Beregszaszi
f1dbc77272 Remove analyzer from Julia tests 2017-05-05 14:21:25 +01:00
Alex Beregszaszi
62df401328 Add Julia parser test 2017-05-05 14:21:25 +01:00
Alex Beregszaszi
804971973d Show better error message for Julia mode 2017-05-05 14:21:25 +01:00
Alex Beregszaszi
f1f209db40 Do not allow literal pushes in Julia 2017-05-05 14:21:25 +01:00
Alex Beregszaszi
d61f9c4d4e Disable labels in Julia 2017-05-05 14:21:25 +01:00