Commit Graph

7406 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
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
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
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
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
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
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
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
chriseth
bd6e891704 Fix return value in the fuzzer. 2017-05-03 12:27:01 +02:00
chriseth
b6c37dd912 Merge pull request #2215 from ethereum/changelog
Finalize changelog.
2017-05-03 12:25:10 +02:00
chriseth
dbbd8d60ef Finalize changelog. 2017-05-03 12:24:22 +02:00
chriseth
e9458be7bd Parentheses. 2017-05-03 11:07:15 +01:00
chriseth
d58a4e08da Corrections and some style. 2017-05-03 11:07:15 +01:00
chriseth
7e838fd4a8 Cleanup to make the docs more consistent. 2017-05-03 12:03:02 +02:00
Matt Wisniewski
2b4b86aa7f Update common-patterns.rst 2017-05-03 12:03:02 +02:00
chriseth
00933b99cc Merge pull request #2206 from ethereum/fixoptimizer
Constant optimizer fix
2017-05-03 11:54:11 +02:00
chriseth
1aa0f77af9 Merge pull request #2139 from roadriverrail/warn_unused
Warn on unused local variables
2017-05-03 11:53:36 +02:00
chriseth
f3bb7350f1 Fix tests. 2017-05-03 11:30:40 +02:00
chriseth
230f51efb7 Cleanup, style and additional test. 2017-05-03 11:26:21 +02:00
chriseth
e3ed3623c7 More strict tests. 2017-05-03 11:26:21 +02:00
chriseth
1f058ea92c Revert changes to standard token. 2017-05-03 11:26:21 +02:00
chriseth
e0266b79f3 Refactor: Combine bool and function pointer. 2017-05-03 11:26:21 +02:00
Rhett Aultman
a6faa5acf3 Treat returns with expressions as return param use
There are many cases of code where the return parameters exist mostly
as a form of documentation.  This change ensures that they do not have
to be used in the function body so long as there is a return supplying
values
2017-05-03 11:26:21 +02:00