Commit Graph

7471 Commits

Author SHA1 Message Date
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
chriseth
0582fcb93b Merge pull request #2194 from ethereum/removeerrorlabel
Remove error label / invalid jump label.
2017-05-05 14:25:43 +02:00
chriseth
bf5c6b7acb Remove wily and add zesty. 2017-05-05 12:50:54 +02:00
chriseth
2d89cfaa91 Merge pull request #2231 from ethereum/release
Merge release back into develop.
2017-05-04 12:01:18 +02:00
chriseth
025b32d936 Merge pull request #2230 from ethereum/version
Bump version.
2017-05-04 11:58:20 +02:00
chriseth
2d67f09bc5 Bump version. 2017-05-04 11:57:34 +02:00
greggdourgarian
2ed1b3d6d2 remove extraneous 's' 2017-05-03 14:07:14 -05:00
greggdourgarian
d13a1f4f7b minor punctuation, typo and clarity changes 2017-05-03 12:24:00 -05:00
chriseth
68ef581059 Merge pull request #2219 from ethereum/develop
Release for version 0.4.11
2017-05-03 14:36:32 +02:00
chriseth
34b28ed760 Merge pull request #2218 from ethereum/buglist
Update permalink for optimizer bug.
2017-05-03 13:53:16 +02:00
chriseth
9df7a6fa29 Update permalink for optimizer bug and fix release date. 2017-05-03 12:39:54 +02:00
chriseth
a0967a4539 Merge pull request #2217 from ethereum/buglist
Update bug list.
2017-05-03 12:32:12 +02:00
chriseth
9fd34bf5c0 Update bug list. 2017-05-03 12:31:45 +02:00
chriseth
4af0451d16 Merge pull request #2207 from ethereum/wski-develop
chore(Docs): Replaced instances if - throw to require() where applicable.
2017-05-03 12:28:16 +02:00
chriseth
d92fbe643d Merge pull request #2216 from ethereum/compilerfix
Fix return value in the fuzzer.
2017-05-03 12:28:02 +02:00