Commit Graph

9724 Commits

Author SHA1 Message Date
Alex Beregszaszi
02ea0e547f Replace comparison operators with opposites if preceded by SWAP1 2018-04-04 17:47:58 +02:00
chriseth
efa0ccaf9e
Merge pull request #3820 from ethereum/chriseth-patch-1
Clarify code state of contracts under construction.
2018-04-04 15:16:01 +02:00
chriseth
0f7e18780f
Clarify code state of contracts under construction. 2018-04-04 15:07:29 +02:00
chriseth
016f562348
Merge pull request #3808 from ethereum/parserTests
SyntaxTests: extend syntax tests and isoltest to support parser error…
2018-04-04 14:52:01 +02:00
chriseth
2fe5607a5a
Merge pull request #3721 from ethereum/simpleDynArray
Create empty dynamic memory arrays more efficiently.
2018-04-04 14:37:43 +02:00
Alex Beregszaszi
c5c5b23ff4
Merge pull request #3817 from ethereum/eth_docker
Add scripts to build the eth binary via docker.
2018-04-04 12:39:54 +02:00
chriseth
0cbe55005d Create empty dynamic memory arrays more efficiently. 2018-04-04 12:37:04 +02:00
chriseth
fa92380af0 Add scripts to build the eth binary via docker. 2018-04-04 12:26:34 +02:00
Alex Beregszaszi
c63efebd45
Merge pull request #3814 from FrolovR/patch-2
hash256 -> bytes32 fix in misleading note
2018-04-04 08:16:38 +02:00
Alex Beregszaszi
920de496ab
Merge pull request #3798 from ethereum/commutative-swap
Remove useless SWAP1 in front of commutative operations
2018-04-04 08:15:24 +02:00
Roman
86c5d6aaad
hash256 -> bytes32 fix in misleading note
As it was described here: https://ethereum.stackexchange.com/questions/44628/understanding-low-level-interface-to-logs/44629?noredirect=1#comment52316_44629
2018-04-04 09:02:58 +03:00
Alex Beregszaszi
0695ffe51d
Merge pull request #3635 from ethereum/constructor-modifier
Constructors are defined using the ``constructor`` keyword.
2018-04-04 00:15:18 +02:00
Daniel Kirchner
87ad337ae0 Adds parsing sub-directory in syntaxTests and moves two example tests from SolidityParser.cpp to test contracts. 2018-04-03 19:54:46 +02:00
Daniel Kirchner
6f9644add1 SyntaxTests: extend syntax tests and isoltest to support parser errors and compiler exceptions. 2018-04-03 19:54:45 +02:00
Alex Beregszaszi
be6051bead Test multiple instructions with the (non)commutative peephole optimiser 2018-04-03 18:57:28 +02:00
Alex Beregszaszi
17bcabb6cf Remove useless SWAP1 in front of commutative operations 2018-04-03 18:57:07 +02:00
Alex Beregszaszi
104a9736b3
Merge pull request #3809 from ethereum/build_on_tags
Build on tag in Circle.
2018-04-03 17:44:38 +01:00
Daniel Kirchner
3ae326139a Document absence of constructors. 2018-04-03 18:21:55 +02:00
Daniel Kirchner
8f66390f56 Set isConstructor to false unconditionally and update to true later for constructors. 2018-04-03 18:21:55 +02:00
Daniel Kirchner
e2dac9ed39 Set header.isConstructor for old style constructors in parseFunctionHeader as well. 2018-04-03 18:21:55 +02:00
Daniel Kirchner
f855c78a08 Update version pragma and use new constructor syntax in std/ contracts. 2018-04-03 18:21:55 +02:00
Daniel Kirchner
c98464db06 Remove redundant test and enforce success without warnings. 2018-04-03 18:21:55 +02:00
bitshift
07c74ef924 Updates docs to new constructor syntax. 2018-04-03 18:21:55 +02:00
Daniel Kirchner
d664a599e6 Constructors are defined using the `constructor` keyword. 2018-04-03 18:21:55 +02:00
chriseth
8cbb1d34a5 Build on tag in Circle. 2018-04-03 17:35:14 +02:00
Alex Beregszaszi
0edce4b570
Merge pull request #3693 from ethereum/optimizeMLOAD
Optimize across MLOAD if MSIZE is not used.
2018-04-03 15:58:11 +01:00
Alex Beregszaszi
7753249f64
Merge pull request #3699 from ethereum/interfaceExternalVisibility
Defaults to external visibility for interfaces.
2018-04-03 15:15:36 +01:00
Alex Beregszaszi
19f2887741
Merge pull request #3757 from ethereum/fixEmptyBaseArguments
Fix: Treat empty base constructor argument list as not provided.
2018-04-03 15:10:19 +01:00
chriseth
a54fdc495f Fix: Treat empty base constructor argument list as not provided. 2018-04-03 14:53:48 +02:00
chriseth
deadff263f Changelog entry. 2018-04-03 14:34:44 +02:00
chriseth
e64e397f24 Add memory array init test. 2018-04-03 14:34:32 +02:00
chriseth
138dba1a3f Test number of sstore operations. 2018-04-03 14:34:32 +02:00
chriseth
6777f7a57f Optimize across MLOAD if MSIZE is not used. 2018-04-03 14:34:32 +02:00
Erik Kundt
f9efa41749 Makes visibility warning more concise. 2018-04-03 11:16:50 +02:00
Erik Kundt
601659c384 Moves all interface function visibility related tests. 2018-04-03 11:16:50 +02:00
bitshift
8fe1cfb12e Defaults to external visibility for interfaces. 2018-04-03 11:16:44 +02:00
chriseth
d21382157c
Merge pull request #3801 from meowingtwurtle/preFixedPoint
Set default fixed point decimal places to 18
2018-04-03 11:10:55 +02:00
chriseth
3d0b99731f
Merge pull request #3803 from ethereum/homebrew
Remove brew linkapps from the installation instructions
2018-04-03 11:09:12 +02:00
chriseth
3fbdd65502
Merge pull request #3807 from haoliangyu/patch-1
Fix a wrong number in the documentation
2018-04-03 10:35:53 +02:00
Haoliang Yu
826de65e2d
fix a wrong number 2018-04-02 22:22:38 -04:00
Alex Beregszaszi
29df18d4d7 Remove brew linkapps from the installation instructions 2018-03-31 01:11:56 +01:00
Jason Cobb
e37b619593 Set default fixed point decimal places to 18 2018-03-31 00:56:36 +01:00
Alex Beregszaszi
be261ed519
Merge pull request #3802 from ethereum/empty-structs
Update tests for empty structs
2018-03-31 00:55:47 +01:00
Alex Beregszaszi
076c0754ea Update tests for empty structs 2018-03-31 00:27:01 +01:00
Alex Beregszaszi
acd6ec0d03
Merge pull request #3800 from wbt/patch-2
Fix small formatting issue
2018-03-30 21:10:02 +01:00
wbt
8aadc179ae
Fix small formatting issue
in which a constant was not treated as code, inconsistent with surrounding examples.
2018-03-30 15:28:15 -04:00
chriseth
326d656a55
Merge pull request #3790 from ethereum/empty-structs
Disallow empty structs
2018-03-30 13:58:35 +02:00
Alex Beregszaszi
58c57e446b
Merge pull request #3753 from ethereum/whoSupportsPackedEncoding
Prevent encoding of weird types and support packed encoding of extenal function types.
2018-03-29 11:24:51 +01:00
chriseth
5c8a6aac69 Prevent encoding of weird types and support packed encoding of external function types. 2018-03-29 09:57:11 +01:00
Alex Beregszaszi
c2ae33f806
Merge pull request #3754 from AnthonyBroadCrawford/error-on-missing-file
Error on non existing or irregular files
2018-03-29 01:53:56 +01:00