Commit Graph

953 Commits

Author SHA1 Message Date
chriseth
f4d1acc563 Ability to specify the storage location of a reference type. 2015-06-05 14:44:05 +02:00
chriseth
4987eec3d1 Merge pull request #2074 from LianaHus/sol_PosIntegerLiteralsConversation
Solidity Positive integer literals conversion to signed if in value range.
2015-06-05 11:15:09 +02:00
Liana Husikyan
a8505e598f Update Types.cpp 2015-06-04 18:06:06 +02:00
Liana Husikyan
4e15a39107 fixed assigning negative number to unsigned 2015-06-04 14:09:19 +02:00
Liana Husikyan
89aab7e234 - style fixes
- added test for uint8 = -1 which doesn't fail; todo: fix that
2015-06-04 12:42:55 +02:00
Liana Husikyan
382ac85aa5 - conversion of positive literals to signed int
- tests
2015-06-04 11:48:09 +02:00
Liana Husikyan
3d0807a9fa fixed assertion 2015-06-04 11:47:19 +02:00
Liana Husikyan
d639c225f2 corrected the calculation of gas for send 2015-06-04 11:47:19 +02:00
chriseth
b7e5c1d9d2 Do not put duplicate labels for accessor functions. 2015-06-01 18:30:05 +02:00
chriseth
408fd7ab59 Merge pull request #1975 from LianaHus/sol_EVMExceptions
"error jump" instead of STOP instraction in case of exception
2015-06-01 17:45:55 +02:00
Liana Husikyan
af4650beb2 fixed CALL case. added exception 2015-06-01 16:39:09 +02:00
chriseth
cf688ea738 Merge pull request #2027 from chriseth/sol_dupRemForLoops
Allow duplicate code removal for loops.
2015-06-01 15:09:16 +02:00
Liana Husikyan
9af94ca0dc style fixes 2015-06-01 13:06:12 +02:00
Liana Husikyan
ccb194fd39 removed exception when function is not found 2015-06-01 13:06:12 +02:00
Liana Husikyan
e72a014cf4 special handle of send 2015-06-01 13:06:12 +02:00
Liana Husikyan
ce6126094a one more test to test the call of non-existed function
Conflicts:
	test/libsolidity/SolidityEndToEndTest.cpp
2015-06-01 13:06:12 +02:00
Liana Husikyan
16a2ffde80 style fixes 2015-06-01 13:06:12 +02:00
Liana Husikyan
0f323b1ef4 fixed mistake because of conflict resolving 2015-06-01 13:06:12 +02:00
Liana Husikyan
2f50eb0028 added error jump instead of STOP instraction in case of exception 2015-06-01 13:06:12 +02:00
chriseth
6949ce97e4 Re-introduce string type. 2015-05-28 16:20:50 +02:00
chriseth
72e3e359aa Allow duplicate code removal for loops. 2015-05-28 14:48:07 +02:00
chriseth
f7e3568c62 Merge pull request #2006 from chriseth/sol_functionalGasEstimator
Functional gas estimator
2015-05-26 15:48:10 +02:00
chriseth
6332bff81d Gas estimation for internal functions. 2015-05-26 11:27:59 +02:00
chriseth
b85f66060f Sort keywords and add some reserved keywords. 2015-05-25 11:49:38 +02:00
chriseth
802d52f6a2 Functional gas estimator. 2015-05-22 16:12:40 +02:00
chriseth
44146e6674 Merge pull request #1979 from LianaHus/sol_constructorForSolAbi
Added constructor as part of Solidity ABI
2015-05-20 21:11:29 +02:00
Liana Husikyan
ea85e382c9 Update InterfaceHandler.cpp 2015-05-20 18:37:09 +02:00
chriseth
2be64c7026 Gas estimation taking known state into account. 2015-05-20 00:28:15 +02:00
Gav Wood
70d9eb3f1d Move non-cryptopp dependent stuff into devcore. 2015-05-19 19:51:38 +02:00
Liana Husikyan
ec136e7bb0 added ';' 2015-05-19 15:37:46 +02:00
Liana Husikyan
e7931ade61 added constructor to solidiy abi 2015-05-19 15:28:44 +02:00
chriseth
9c85254751 Merge pull request #1931 from chriseth/sol_callcode
Bare callcode for addresses and contracts.
2015-05-18 12:29:00 +02:00
chriseth
840d06fe14 Fixed error message about explicit type conversion. 2015-05-18 11:34:16 +02:00
chriseth
dba5ffc280 Bare callcode for addresses and contracts. 2015-05-15 18:02:09 +02:00
chriseth
33e7086058 Succint interfaces. 2015-05-15 15:27:31 +02:00
chriseth
da121c9a26 Reverse if and else body. 2015-05-12 17:50:51 +02:00
Liana Husikyan
78a343d2ff updated unit test 2015-05-11 17:16:52 +02:00
Liana Husikyan
342afb10d5 bug in abi. fixed external type for return parameters 2015-05-11 16:46:17 +02:00
chriseth
2bdbeaac9b Merge pull request #1831 from chriseth/sol_newABIEncoding
New ABI encoding for dynamic types.
2015-05-11 12:27:24 +02:00
Gav Wood
b293d98932 Build fixes. 2015-05-10 13:45:36 +03:00
Liana Husikyan
5c1c690e28 style changes 2015-05-08 17:51:53 +02:00
Liana Husikyan
e7568b5f4d fixed the test 2015-05-08 17:51:53 +02:00
Liana Husikyan
495d827ece implemented cleanup of duplication in resolver 2015-05-08 17:51:52 +02:00
Liana Husikyan
115c22c0e0 changed the way of resolving declarations. now the cleanup of function duplications in libsolidity/NameAndTypeResolver.cpp(WIP) 2015-05-08 17:51:52 +02:00
chriseth
69693f17f6 New ABI encoding for dynamic types. 2015-05-08 16:54:39 +02:00
Liana Husikyan
4fdfbaa367 adde the positions for the end of SourceLocation 2015-05-07 17:22:24 +02:00
Liana Husikyan
83c504ec89 added interface function for SourceLocation/ position convertation to compilerstack 2015-05-07 13:33:27 +02:00
chriseth
5d2c36603f Added assertions. 2015-05-07 11:14:07 +02:00
chriseth
d8ddbeed2b Style. 2015-05-06 13:56:55 +02:00
chriseth
c731ae92ca Use std::array. 2015-05-06 13:56:40 +02:00