Rhett Aultman
e544698ad3
Deprecate use of unary '+'
...
The unary '+' serves no meaningful purpose in Solidity and it makes it
possible to produce typos with dagerous implications (e.g. 'a =+5 '),
so we are deprecating it. The SyntaxChecker currently issues warnings
on the unary '+' but will still compile it for now.
2017-04-28 17:43:19 -07:00
chriseth
f33614e1f7
Merge pull request #2171 from ethereum/splitParseAndAnalyze
...
refactoring parse() into two separate functions
2017-04-28 17:19:31 +02:00
djuju
a6306a1d44
error fixed
2017-04-28 16:20:32 +02:00
djuju
45f8c5aa88
enumchecks not working
2017-04-28 15:24:59 +02:00
chriseth
f9bccab7b7
Merge pull request #2193 from ethereum/julia-assign-stack
...
Disallow assign from stack in Julia (=: var)
2017-04-27 22:00:33 +02:00
chriseth
6776be33a8
Merge pull request #2189 from ethereum/julia-instructions
...
Do not disallow EVM instructions as identifiers in Julia
2017-04-27 21:58:45 +02:00
Alex Beregszaszi
20206a04dd
Disallow assign from stack in Julia (=: var)
2017-04-27 19:20:53 +01:00
Alex Beregszaszi
8020144d06
Do not validate identifiers against EVM instructions in JULIA
2017-04-27 18:16:42 +01:00
Alex Beregszaszi
01b60a4f8d
Add flag for JULIA parsing
2017-04-27 18:16:42 +01:00
chriseth
3926e8704a
Merge pull request #2190 from ethereum/catch-asm-exceptions
...
Catch assembler exceptions and throw readable Solidity exceptions
2017-04-27 18:23:21 +02:00
chriseth
a8cf9f8178
Merge pull request #2183 from ethereum/fuzzer-jsonio
...
Add --standard-json option to solfuzzer
2017-04-27 18:10:28 +02:00
Alex Beregszaszi
28902f9f42
Add --standard-json option to solfuzzer
2017-04-27 16:47:42 +01:00
chriseth
3a93aec768
Make the fuzzer quiet
2017-04-27 16:47:39 +01:00
chriseth
99dd28d63e
Add constant optimizer testing to the fuzz tester.
2017-04-27 16:37:02 +01:00
Alex Beregszaszi
b0485e327b
Make assembler errors fatal
2017-04-27 16:34:57 +01:00
Alex Beregszaszi
2c8b770062
Merge pull request #2187 from ethereum/testOptimizer
...
Add recomputation check for number representation.
2017-04-27 16:26:08 +01:00
Alex Beregszaszi
16276ab10b
Catch assembler exceptions and throw readable Solidity exceptions
2017-04-27 16:06:49 +01:00
Alex Beregszaszi
8b79517d47
Do not validate identifiers against EVM instructions in JULIA
2017-04-27 14:12:48 +01:00
Alex Beregszaszi
b48bc81d40
Add flag for JULIA parsing
2017-04-27 14:12:43 +01:00
Alex Beregszaszi
0e91b8fb98
Do not use the member in checkRepresentation
2017-04-27 14:06:58 +01:00
chriseth
c1e14d0119
Use OptimizerException to report error
2017-04-27 14:06:29 +01:00
chriseth
54210ea89f
Add recomputation check for number representation.
2017-04-27 14:06:28 +01:00
Alex Beregszaszi
122dc65b36
Merge pull request #2188 from ethereum/docs-jsonio
...
Update the gasEstimates in JSON I/O
2017-04-27 13:59:50 +01:00
Alex Beregszaszi
cd29a0315d
Update the gasEstimates in JSON I/O
2017-04-27 13:37:51 +01:00
Alex Beregszaszi
abe77f48b6
Merge pull request #2184 from ethereum/julia-parentheses
...
Remove parentheses from around function return parameters
2017-04-27 13:09:39 +01:00
djuju
5fd7942173
documentation, checks and renaming
2017-04-27 12:56:56 +02:00
djuju
99a7aefb75
refactoring parse() into two separate functions
2017-04-27 12:38:24 +02:00
Alex Beregszaszi
35f1cf92db
Remove parentheses from around function return parameters
2017-04-27 10:08:02 +01:00
chriseth
2c1fb46bc3
Merge pull request #1711 from ethereum/asmfunctions
...
Assembly: Analysis stage for functions.
2017-04-26 17:47:48 +02:00
Alex Beregszaszi
2002447b10
Mention requirement changes in changelog
2017-04-26 16:47:01 +01:00
chriseth
d7b3ce24a4
Check stack height during code generation.
2017-04-26 17:12:04 +02:00
chriseth
f3ec2ba39e
Refactor to combined scope and stack height info.
2017-04-26 17:12:04 +02:00
Alex Beregszaszi
c02bcaea04
Merge pull request #2168 from ethereum/docs-metadata-clarify
...
Clarify some metadata implications
2017-04-26 14:34:26 +01:00
chriseth
3cbdf6d490
Merge pull request #1577 from ethereum/gas_table
...
Gas table update
2017-04-26 14:29:54 +02:00
chriseth
efa9c76267
Update Changelog.md
2017-04-26 12:48:19 +02:00
chriseth
b024fce150
Do not run IPC tests on windows.
2017-04-26 12:36:23 +02:00
chriseth
ea6d925a5d
Option to disable/remove all tests that require IPC.
2017-04-26 12:36:15 +02:00
chriseth
68218387cf
Store stack height in analysis phase.
2017-04-26 12:34:24 +02:00
chriseth
a46a059e3a
Document storage variable access.
2017-04-26 11:58:36 +02:00
Alex Beregszaszi
8a5feb8c49
Explain that bytecode depends on metadata
2017-04-25 18:29:51 +01:00
Alex Beregszaszi
6c9dcaf7ac
Mention the order of the ABI in metadata
2017-04-25 18:29:50 +01:00
chriseth
e64a03d86b
Changelog entry.
2017-04-25 16:49:18 +02:00
chriseth
1d712c7d64
Fix storage access tests.
2017-04-25 16:49:04 +02:00
chriseth
e841b23bfd
Special case for storage types with offset zero.
2017-04-25 16:49:04 +02:00
chriseth
3df7b06464
Pass internal resolver to assembly analyzer.
2017-04-25 16:49:04 +02:00
chriseth
0ebaf220b5
Fix refactoring error.
2017-04-25 16:49:04 +02:00
Alex Beregszaszi
fa467c365c
Fix test build
2017-04-25 16:49:04 +02:00
chriseth
978884d9ca
Build fix.
2017-04-25 16:49:04 +02:00
chriseth
478f2997ea
Storage access from inline assembly.
2017-04-25 16:49:04 +02:00
chriseth
5f4b68e211
Another stack check.
2017-04-25 16:49:04 +02:00