Commit Graph

8328 Commits

Author SHA1 Message Date
chriseth
1be713acc7 Merge pull request #2761 from ethereum/grammar
Update grammar for statemutability and other missed features
2017-08-21 16:28:42 +02:00
chriseth
0cf6048800 Merge pull request #2769 from ethereum/assemblyNumberLiterals
Be more strict about number literals in assembly.
2017-08-21 14:05:13 +02:00
chriseth
2c5985de06 Be more strict about number literals in assembly. 2017-08-21 13:31:28 +02:00
Alex Beregszaszi
8025ac180f Add missing keywords to documentation lexer 2017-08-16 21:24:20 +01:00
Alex Beregszaszi
d5f01460f9 Allow constant modifier on state variables in grammar 2017-08-16 21:22:59 +01:00
Alex Beregszaszi
47b6aa1f5b Update grammar to reflect state mutability 2017-08-16 21:19:09 +01:00
Alex Beregszaszi
83b90f3e8a Merge pull request #2760 from ethereum/disable-circleci
Disable Circle CI builds for now
2017-08-16 20:44:16 +01:00
Paweł Bylica
c1ddc791ff
Disable Circle CI builds for now 2017-08-16 21:20:46 +02:00
Alex Beregszaszi
247ed0de30 Merge pull request #2654 from ethereum/docs-fixed
Update grammar/docs for current fixed point types
2017-08-16 19:51:37 +01:00
Alex Beregszaszi
4c6d476f7e Merge pull request #2754 from ethereum/isdeclaredconst
Use statemutability instead of isDeclaredConst
2017-08-16 19:51:09 +01:00
Alex Beregszaszi
7700f4033e Remove isDeclaredConst() from functions 2017-08-16 17:23:09 +01:00
Alex Beregszaszi
33ea314a24 Add statemutability to AST JSON 2017-08-16 17:23:09 +01:00
Alex Beregszaszi
a61c88e9fe Use state mutability in override error messages 2017-08-16 17:23:09 +01:00
Alex Beregszaszi
a2aaa47ee2 Use state mutability in fallback/constructor check 2017-08-16 17:23:09 +01:00
Alex Beregszaszi
93be0dd923 FunctionType comparison/identifer to support all statemutability levels 2017-08-16 17:23:08 +01:00
Alex Beregszaszi
4449820be3 Merge pull request #2758 from ethereum/warnShift
Warn about shift of literals.
2017-08-16 16:54:06 +01:00
Alex Beregszaszi
09ef3d8e72 Add proper warning for fixed point types 2017-08-16 16:47:49 +01:00
Alex Beregszaszi
4acc552e66 Fix the grammar for fixed point types 2017-08-16 16:47:49 +01:00
Alex Beregszaszi
80ee7c2b36 Fix ABI for fixed types 2017-08-16 16:47:11 +01:00
chriseth
3d595d4b14 Warn about shift of literals. 2017-08-16 13:54:28 +02:00
chriseth
83561e136c Merge pull request #2751 from eyezick/patch-1
Specify address as string on Events documentation
2017-08-16 11:32:02 +02:00
chriseth
2021508653 Update contracts.rst 2017-08-16 11:31:50 +02:00
Isaac Ibiapina
2dc9e53a49 Specify address as string on events documentation 2017-08-15 14:57:10 -04: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