Commit Graph
470 Commits
Author SHA1 Message Date
Liana Husikyan bcccfa8805 - removed unnesessary braces but one in if statement is still there because of warrning about ambiguous "else"
- added marking of position in node factory to the function

Conflicts:
	libsolidity/Parser.cpp
2015-02-09 02:24:57 +01:00
Liana Husikyan 2a5c2578bd - implemented Empty parameter name story. Now the name of input/return parameters of function can be not specified.
- added appropriate tests

Conflicts:
	test/SolidityEndToEndTest.cpp
	test/SolidityNameAndTypeResolution.cpp
2015-02-09 02:06:30 +01:00
chriseth a66db516fb Merge pull request #937 from LefterisJP/sol_MultiArgSHA3
Solidity multiple arg sha3
2015-02-09 00:14:13 +01:00
chriseth 5c58aa041d Merge pull request #977 from guanqun/simplify-with-selecttoken
simplify two statements with selectToken()
2015-02-09 00:10:50 +01:00
Lu Guanqun 1a1975bf7a simplify two statements with selectToken() 2015-02-08 19:57:40 +08:00
guanqun ca6456e7da remove AST.h Utils.h's x permission 2015-02-07 23:10:22 +08:00
Lefteris Karapetsas afe1d9a592 Small fixes in Types and ExpressionCompiler 2015-02-06 20:57:04 +01:00
Christian 724ee76900 Accessors for structs. 2015-02-06 20:04:02 +01:00
Lefteris Karapetsas f6586b8139 Small fixes for proper multitype/multiarg SHA3 2015-02-06 17:25:29 +01:00
Lefteris Karapetsas 293344b473 SHA3 of string literals now should work 2015-02-06 16:27:41 +01:00
Lefteris Karapetsas 2c9ff4747d getRealType() introduced 2015-02-06 13:42:51 +01:00
Christian 82edc1ca6d Some fixes for the ether units parser. 2015-02-06 13:38:29 +01:00
chriseth 16fc2d651e Merge pull request #963 from guanqun/disallow-void-var
Disallow implicit declaration of void type.
2015-02-06 12:08:24 +01:00
Lefteris Karapetsas 76c9f13626 appendArgumentsCopyToMemory() has more complicated logic now
- Plus other fixes.
2015-02-06 10:42:24 +01:00
Lefteris Karapetsas 337b952f53 Fixes after rebase 2015-02-06 09:38:04 +01:00
Lefteris Karapetsas f09c6fffc9 Renaming a function for clarity 2015-02-06 09:38:04 +01:00
Lefteris Karapetsas 8c1d928c94 Solidity SHA3 can now take multiple arguments 2015-02-06 09:38:04 +01:00
Gav Wood 59a3909376 Merge pull request #953 from LefterisJP/sol_ethSubDenominations
Solidity ether subdenominations
2015-02-05 17:12:19 -08:00
Lu Guanqun 7267afff55 disallow declaration of void type
https://www.pivotaltracker.com/n/projects/1189488/stories/86318578
2015-02-06 07:49:05 +08:00
Lefteris Karapetsas c966ff246f More style changes in enums 2015-02-05 23:03:24 +01:00
Lefteris Karapetsas 305f54b23f Minor Style fixes 2015-02-05 22:38:07 +01:00
Lefteris Karapetsas eaadc71b4c Tests and fixes for ether subdenominations 2015-02-05 15:41:13 +01:00
Lefteris Karapetsas 426f9a2860 Tests for ether subdenominations. Work in progress 2015-02-04 22:02:35 +01:00
Lu Guanqun e86c4602c5 fix string comparision bug revealed by previous test case
This is due to refactoring of m_names using ASTPointer.
2015-02-05 01:13:28 +08:00
Lefteris Karapetsas dca5f7b57b Adding ether subdenominations after constan literals 2015-02-04 17:52:28 +01:00
Gav Wood db263bd9d7 Fixes. 2015-02-03 12:45:16 -08:00
Gav Wood 2ff4a80b62 Fixes for named-args. 2015-02-03 12:25:08 -08:00
Gav Wood 04164b612c Merge branch 'named-args' of https://github.com/guanqun/cpp-ethereum into guanqun-named-args 2015-02-03 11:57:36 -08:00
Gav Wood e321b956a1 Merge branch 'sol_visibility' of https://github.com/chriseth/cpp-ethereum into chriseth-sol_visibility
Conflicts:
	test/SolidityNameAndTypeResolution.cpp
2015-02-03 08:50:39 -08:00
Gav Wood 7050893bc1 Minor typo. 2015-02-03 08:48:11 -08:00
Gav Wood 61c701b9ff Merge pull request #922 from LefterisJP/sol_AccessorsMapping
Sol state variable accessors for mapping
2015-02-03 08:47:46 -08:00
Lefteris Karapetsas 8cd3d4b4b7 Accessors for multiple mappings implemented 2015-02-02 17:52:50 +01:00
Christian e157364fe8 Visibility specifiers. 2015-02-02 17:24:09 +01:00
Lefteris Karapetsas 5a374afe62 Simple mapping accessors working 2015-02-02 15:03:44 +01:00
Lefteris Karapetsas 82bcb7e33a Code generation for mapping state variable accessor
- Work in progress
2015-02-01 02:41:14 +01:00
Christian adce36ff58 Make tests resistant to changes in order of declaration. 2015-02-01 00:47:54 +01:00
Lefteris Karapetsas ec7a9bf919 Adding mapping treatment to FunctionType
Plus a TypeResolution test for it
2015-02-01 00:20:35 +01:00
Gav Wood ef05913743 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
Conflicts:
	libsolidity/InterfaceHandler.cpp
2015-01-31 08:43:37 -08:00
Gav Wood bd66ebd7ee Merge pull request #913 from arkpar/sol_abi_fix
Fixed json ABI generation for events
2015-01-31 08:29:50 -08:00
Gav Wood a52da46168 Code for outputing events as well as functions. 2015-01-31 08:23:58 -08:00
Christian 4e440b6e5d Fix scoping of event arguments. 2015-01-31 16:50:33 +01:00
arkpar bc9d376590 style 2015-01-31 14:44:04 +01:00
arkpar d6d7c9219b json and solidity ABI generted for events 2015-01-31 14:41:11 +01:00
Gav Wood 6c8b5cabdc Merge pull request #908 from chriseth/sol_fix_eventsWithoutParameters
Fix: No parameters for event.
2015-01-30 16:40:34 -08:00
arkpar 54676604f5 fixed ABI generator 2015-01-31 01:21:45 +01:00
Christian ab9dec320a Fix: No parameters for event. 2015-01-30 21:49:01 +01:00
Christian 06e846b45c Fix standard sources test. 2015-01-30 13:57:23 +01:00
Gav Wood 8e84dc27a7 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
Gav Wood f46df7cb92 Merge branch 'sol_defaultFunction' of https://github.com/chriseth/cpp-ethereum into chriseth-sol_defaultFunction 2015-01-29 15:46:19 -08:00
Gav Wood dc6f9e3ac0 Merge pull request #893 from chriseth/sol_events
Events in Solidity
2015-01-29 15:44:42 -08:00