Commit Graph

8345 Commits

Author SHA1 Message Date
chriseth
692e4c57e8 Check recursion depth in assembly parser. 2017-08-22 12:44:22 +02:00
chriseth
97cb571ba4 Tests for recursion in JULIA. 2017-08-22 12:43:44 +02:00
chriseth
f874fc28d1 Merge pull request #2772 from ethereum/cppcheck
Improvements found by Cppcheck (const/static functions and explicit constructors)
2017-08-22 12:43:19 +02:00
Alex Beregszaszi
9897c56b2c Mark a lot of functions static (where possible) 2017-08-22 10:51:46 +01:00
Alex Beregszaszi
2a5772cff7 Mark appropriate constructors explicit 2017-08-22 10:51:46 +01:00
Alex Beregszaszi
3cf2426e1a Make vector+vector template more readable 2017-08-22 10:51:46 +01:00
Alex Beregszaszi
e2cfc9ee92 Mark a lot of functions const (where possible) 2017-08-22 10:51:46 +01:00
Alex Beregszaszi
c94b1f8173 Set variable to nullptr in ASTPrinter 2017-08-21 22:05:35 +01:00
Alex Beregszaszi
2c2ae74217 Merge pull request #2773 from ethereum/usingForWithoutLibrary
Fix crash related to ``using for`` without a library.
2017-08-21 19:47:57 +01:00
Alex Beregszaszi
4219acaba9 Merge pull request #2771 from ethereum/unused-includes
Remove some unused includes
2017-08-21 16:26:44 +01:00
chriseth
ec82706396 Fix crash related to `using for` without a library. 2017-08-21 16:57:37 +02:00
chriseth
d270879c8f Merge pull request #2748 from ethereum/natspec
Remove DocumentationType from natspec
2017-08-21 16:46:00 +02:00
chriseth
48651fc057 Merge pull request #2763 from ethereum/library-constructor
Library cannot have constructors
2017-08-21 16:37:09 +02:00
chriseth
01b4bba0ed Merge branch 'develop' into library-constructor 2017-08-21 16:34:59 +02:00
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
Alex Beregszaszi
b3986f1d07 Remove some unused includes 2017-08-21 14:08:58 +01: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
fe25bcf350 Library cannot have constructors 2017-08-21 11:03:55 +01: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
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