Commit Graph

40 Commits

Author SHA1 Message Date
chriseth
6b08b99b5e Merge remote-tracking branch 'ethereum/develop' into sol_overloadingFunctions 2015-04-17 16:24:23 +02:00
chriseth
968ebf6dbc Bugfixes concerning variable declarations.
Fixes #1637
2015-04-16 00:09:28 +02:00
chriseth
367d0367ee Merge remote-tracking branch 'ethereum/develop' into sol_overloadingFunctions 2015-04-07 17:08:49 +02:00
Gav Wood
966407f285 Allow Solidity build to be disabled. 2015-04-05 17:46:12 +02:00
Lefteris Karapetsas
fc0b32f683 Parsing of not fully implemented functions
- Adding the possibility of omitting a function body by simply ending a
  function definition with a semicolon

- Such a function is marked as not fully implemented and any contract
  that contains such a function is considered a not fully implemented contract
2015-03-25 14:26:05 +01:00
Liana Husikyan
1d2e579eff - added more tests to check constant specifier implementation
- deny use of const for local variables
- deny unitialized const variables
- only int, fixed strings, and enums can be declaired as const
2015-03-16 10:46:46 +01:00
Lefteris Karapetsas
c89413f6ea Some fixes on Types.cpp for FixedBytesType 2015-03-12 13:39:12 +01:00
Lefteris Karapetsas
3d0f4b0f22 Style fixes and some additional hash to bytes32 renaming 2015-03-12 12:53:01 +01:00
Lefteris Karapetsas
5abf18c27f Most EndToEndTests are now compliant with the Bytes renaming 2015-03-12 12:53:00 +01:00
Lu Guanqun
a1eed07432 add two parsing test cases related to overloaded functions 2015-03-08 09:48:53 -05:00
Lefteris Karapetsas
79bbe1e5d8 Move ETH_TEST() Macros to TestHelper.h
- Also use them in Solidity Parser
2015-03-06 14:37:20 +01:00
Lu Guanqun
d00bad94d7 add several var related test cases 2015-03-01 11:43:42 +08:00
Gav Wood
55cb6e31f5 Merge pull request #1100 from chriseth/sol_arrays
Parsing support for arrays.
2015-02-23 15:19:07 +01:00
Christian
c8d4ab1ca0 Replaced "inheritable" by "internal". 2015-02-22 19:37:54 +01:00
Christian
9798d700dd Allow conversion to dynamic arrays and update grammar. 2015-02-21 18:25:08 +01:00
Christian
c8cec8d0b3 Parsing of array types and basic implementation. 2015-02-21 15:10:01 +01:00
Christian
a26d72472d Rename "protected" to "inheritable". 2015-02-18 13:35:12 +01:00
Christian
7dd200d140 "external" visibility specifier. 2015-02-16 19:24:07 +01:00
Lefteris Karapetsas
9836d58df8 Removing ';' from the end of EnumDefinition 2015-02-13 23:48:50 +01:00
Lefteris Karapetsas
9dedbb4154 Addressing issues with Enums in Solidity 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
850350e7bc Disallow trailing comma in Enum Declaration 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
bb30e9184b Introducing EnumType and some Parser tests 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
76d659dbe2 Adding test for Enum Parsing 2015-02-13 23:16:14 +01:00
Lu Guanqun
3ce223c6cb add exponent operator
https://www.pivotaltracker.com/n/projects/1189488/stories/83746404
2015-02-10 23:39:13 +08:00
Christian
5bedf7f816 Some fixes for the ether units parser. 2015-02-06 13:38:29 +01:00
Lefteris Karapetsas
19c92ee1d2 Tests for ether subdenominations. Work in progress 2015-02-04 22:02:35 +01:00
Lu Guanqun
bade3d98e9 add two test cases parser error for named args 2015-02-05 00:36:04 +08:00
Christian
a38b8890bd Visibility specifiers. 2015-02-02 17:24:09 +01:00
Gav Wood
b1043c8651 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
Conflicts:
	test/SolidityEndToEndTest.cpp
	test/SolidityNameAndTypeResolution.cpp
	test/SolidityParser.cpp
2015-01-29 16:05:17 -08:00
Christian
a55a99a2b0 Fallback functions. 2015-01-29 22:50:20 +01:00
Christian
a86a3a2452 Parsing of events. 2015-01-29 21:26:11 +01:00
Lefteris Karapetsas
cc906541f6 Various small fixes for Sol Automatic Accessors 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
98cde6b4dd Fix in addStateVariableAccessor and adjustment of parser tests 2015-01-28 21:46:16 +01:00
Christian
c86a46b84d Type resolution for function modifiers. 2015-01-26 10:23:39 +01:00
Christian
dabf947679 Function modifier parsing. 2015-01-26 10:23:39 +01:00
Christian
fe770957c6 Constructor arguments for base classes. 2015-01-19 23:35:04 +01:00
Christian
ffed2f37cb Inheritance parser. 2015-01-19 23:35:04 +01:00
Gav Wood
f4eab75fff Fixes/workarounds for tests. 2014-12-22 03:16:38 +01:00
Lefteris Karapetsas
da29d945e2 updating solidity parser natspec tests to comply with recent changes 2014-12-18 18:16:43 +01:00
Lefteris Karapetsas
5dbe2f198c Solidity Tests names are now more consistent
- File names and Boost Test Suite have the same name now for
   every solidity Test, so that there is no need to guess or check
   when you want to run a specific suite from the command line
2014-12-18 15:21:03 +01:00