Commit Graph

7505 Commits

Author SHA1 Message Date
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
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
Rhett Aultman
a40c8cfb68 Warn on unused local variables
Analyze functions for all local variables, parameters, and named
return variables which are never used in the function, and issue
a warning.
2017-05-03 11:26:21 +02:00