Commit Graph

8306 Commits

Author SHA1 Message Date
Alex Beregszaszi
7222fac456 Remove DocumentationType from natspec 2017-08-15 19:56:38 +01:00
chriseth
80f83169b1 Merge pull request #2659 from jamesray1/patch-25
Link: members-of-addresses in docs/types.rst
2017-08-15 17:46:21 +02:00
chriseth
2fa59489b6 Merge pull request #2664 from joshuahannan/develop
added while loop description
2017-08-15 17:45:44 +02:00
chriseth
8ee973f316 Merge pull request #2660 from jamesray1/patch-26
Constructor index in docs/contracts.rst
2017-08-15 17:43:29 +02:00
chriseth
29cf3d9c58 Merge pull request #2732 from ethereum/statemutability-abi
Add statemutability field to ABI
2017-08-15 17:39:20 +02:00
chriseth
7091503d82 Merge pull request #2744 from feliam/patch-2
Update installing-solidity.rst
2017-08-15 17:37:18 +02:00
Alex Beregszaszi
1f5ab603a7 Add test for payable constructor in ABI 2017-08-15 11:35:50 +01:00
Alex Beregszaszi
12f3257e7d Add statemutability field to the ABI 2017-08-15 11:35:50 +01:00
Alex Beregszaszi
dca1f45cb7 Merge pull request #2743 from ethereum/preventStackOverflow
Prevent stack overflow due to recursion in parser
2017-08-15 01:54:08 +01:00
chriseth
32e43477c3 Prevent too deep recursion in parser. 2017-08-14 22:19:15 +02:00
feliam
ed77f706a0 Update installing-solidity.rst 2017-08-14 16:47:16 -03:00
chriseth
892605e3c7 Merge pull request #2735 from stuwest/fix/typo-in-intro-doc
docs typo: remove duplicate period and unnecessary spaces in intro
2017-08-14 19:07:36 +02:00
chriseth
bcce31b548 Tests for recursion exploit in parser. 2017-08-14 18:58:56 +02:00
chriseth
2411f5d839 Merge pull request #2704 from ethereum/newEncoder
New ABI encoder
2017-08-14 17:04:00 +02:00
Alex Beregszaszi
0a04a35a2e Merge pull request #2722 from ethereum/statemutability
Introduce state mutability (to replace const/payable)
2017-08-14 15:36:47 +01:00
Alex Beregszaszi
a26a5f20ce Remove constant/payable in all function types 2017-08-14 14:21:47 +01:00
Alex Beregszaszi
b225bf5d53 Remove useless payable & constant typecheck 2017-08-14 14:21:47 +01:00
Alex Beregszaszi
1c1388f241 Update parser tests 2017-08-14 14:21:47 +01:00
Alex Beregszaszi
2a9ba937ba Replace constant/payable with StateMutability in AST 2017-08-14 14:21:47 +01:00
chriseth
63b556b206 Test both encoders. 2017-08-14 13:11:42 +01:00
chriseth
d1ad62fccc Experimental feature switch for ABI encoder. 2017-08-14 13:11:41 +01:00
chriseth
ee6f56d641 Remove unused magic global feature. 2017-08-14 13:11:41 +01:00
chriseth
38446a9669 ABI encoder tests. 2017-08-14 13:11:38 +01:00
chriseth
4630b3315a Interface for new ABI encoder. 2017-08-14 12:44:25 +02:00
chriseth
42fe8a2cb1 New ABI encoder. 2017-08-14 12:44:25 +02:00
chriseth
bda410bb07 Helpers. 2017-08-14 12:44:25 +02:00
chriseth
77b26552b1 Allow multi-dimensional arrays in interfaces. 2017-08-14 12:44:25 +02:00
chriseth
4d9790b6d5 Merge pull request #2703 from ethereum/warnAboutLargeStorageArrays
Warn about large storage structures.
2017-08-14 11:37:01 +02:00
Stu West
fdeb94a105 docs typo: remove duplicate period and unnecessary spaces in intro 2017-08-12 15:43:41 -07:00
Alex Beregszaszi
52ccc26494 Merge pull request #2581 from federicobond/improve-override-error
Improve override function error messages
2017-08-11 23:06:00 +01:00
Federico Bond
3571db6e3f Avoid duplicate errors due to function overrides 2017-08-11 22:45:26 +01:00
Federico Bond
d4997dd9a3 Use a secondary location for function override errors 2017-08-11 22:45:25 +01:00
Federico Bond
a6949851f3 Refactor function override check to remove duplicate logic 2017-08-11 22:45:25 +01:00
Federico Bond
f0dc572055 Improve and add missing tests 2017-08-11 22:45:25 +01:00
Federico Bond
ff5bb54e3c Use fully qualified name of super in message 2017-08-11 22:45:25 +01:00
Federico Bond
a5ceaac8df Improve override changes signature error message 2017-08-11 22:45:25 +01:00
chriseth
da3ac86403 Warn about large storage structures. 2017-08-11 20:57:57 +02:00
Alex Beregszaszi
d968912a4c Merge pull request #2714 from federicobond/enforce-tuple-commas
Enforce commas in tuple/array syntax
2017-08-11 18:50:35 +01:00
Federico Bond
a8c047f48d Enforce commas in tuple syntax 2017-08-11 17:28:48 +01:00
chriseth
5b26e2bcee Merge pull request #2486 from jamesray1/patch-22
Ref to getter function in docs/miscellaneous.rst
2017-08-11 18:26:46 +02:00
chriseth
a0f9e8e778 Merge pull request #2485 from jamesray1/patch-21
Update frequently-asked-questions.rst with a ref to getter functions
2017-08-11 18:26:14 +02:00
chriseth
0fab0ed427 Merge pull request #2487 from jamesray1/patch-23
Ref to getter function in docs/introduction-to-smart-contracts.rst
2017-08-11 18:25:23 +02:00
chriseth
20540bc6af Merge pull request #2730 from ethereum/indented-writer
Introduce IndentedWriter
2017-08-11 18:24:01 +02:00
Alex Beregszaszi
e3d1137d2b Merge pull request #2712 from ethereum/experimental-metadata
Store experimental flag in metadata CBOR
2017-08-11 17:21:08 +01:00
Alex Beregszaszi
92b535f2ac Merge pull request #2624 from izgzhen/amend-test-msg
Amend NameAndTypeResolution expected messages
2017-08-11 17:13:55 +01:00
Alex Beregszaszi
ecec557d2b Merge pull request #2634 from ethereum/chriseth-patch-1
Clarify internal function types
2017-08-11 16:59:22 +01:00
Zhen Zhang
b5aeae0084 Amend expected test messages for SolidityNameAndTypeResolution 2017-08-11 16:45:52 +01:00
Alex Beregszaszi
2d1bab0de8 Output experimental flag in metadata only for risky features 2017-08-11 16:38:43 +01:00
Alex Beregszaszi
4d82d4f57a Store experimental flag in metadata CBOR 2017-08-11 16:38:43 +01:00
Alex Beregszaszi
53a497b4d8 Add analysis-only experimental features 2017-08-11 16:38:37 +01:00