Commit Graph

877 Commits

Author SHA1 Message Date
chriseth
d60ef3f2d7 Optimize RETURN x 0 to STOP. 2015-06-12 11:31:03 +02:00
chriseth
c3caa2ce25 Added missing source locations for new memory management code. 2015-06-10 17:51:24 +02:00
chriseth
e224a02826 Merge pull request #2122 from chriseth/sol_memoryArrays2
Use dynamic memory.
2015-06-10 15:36:30 +02:00
chriseth
6ad90719d8 Merge pull request #2114 from LianaHus/sol_byte0_in_storage
Sol removed bytes0
2015-06-10 15:35:28 +02:00
chriseth
3588709e4e Merge pull request #2126 from LianaHus/sol_Natspec_warnings_instead_of_exceptions
Some style fixes.
2015-06-10 11:25:59 +02:00
Gav Wood
c447245cc5 Merge pull request #2124 from chriseth/sol_conversionErrors
Improved type conversion error messages.
2015-06-09 23:19:02 +09:00
Gav Wood
99fed1aba7 Merge pull request #2112 from chfast/refactor_move_override
Pessimising moves and missing overrides
2015-06-09 23:18:10 +09:00
Liana Husikyan
f5808185f0 style fixes 2015-06-09 13:25:09 +02:00
Liana Husikyan
13a64777de style fixes 2015-06-09 13:25:09 +02:00
chriseth
9865a612a4 Improved type conversion error messages. 2015-06-09 11:57:52 +02:00
chriseth
02d5716944 Use dynamic memory for argument encoding. 2015-06-09 10:03:25 +02:00
chriseth
35ec81971a Dynamic memory. 2015-06-09 00:27:56 +02:00
Liana Husikyan
05d36074d1 removed byte0 keyword 2015-06-08 13:53:25 +02:00
Paweł Bylica
8061002b9c Add missing override specifiers. 2015-06-08 12:13:44 +02:00
Paweł Bylica
cddceb2b4f Remove pessimising moves. 2015-06-08 12:09:24 +02:00
Liana Husikyan
e7aa5f079a added test
Conflicts:
	test/libsolidity/SolidityEndToEndTest.cpp
2015-06-08 11:47:57 +02:00
chriseth
c2a9419e49 Improved "Stack too deep" error message.
Closes #2080.
2015-06-07 12:51:15 +02:00
chriseth
b51ef4a357 Merge pull request #2096 from chriseth/sol_constantFallback
Fallback takes constant amount of gas, and send no gas with send.
2015-06-06 00:45:47 +02:00
chriseth
779e793d60 Merge pull request #2084 from chriseth/sol_computeConstants
Compute constants
2015-06-05 19:22:30 +02:00
chriseth
651d755e56 Style. 2015-06-05 17:38:06 +02:00
chriseth
5a9d01b815 Bare functions return success condition. 2015-06-05 17:37:16 +02:00
chriseth
6667c67364 Fallback takes constant amount of gas, and send to gas with send. 2015-06-05 17:37:16 +02:00
chriseth
9efd5374ed Compute constants 2015-06-05 17:34:26 +02:00
chriseth
92eb04c6ec Style. 2015-06-05 14:45:47 +02:00
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