Commit Graph

116 Commits

Author SHA1 Message Date
chriseth
90ee186044 Remove dynamic return types. 2015-06-22 20:50:47 +02:00
chriseth
128fbccd42 Memory-storage copy. 2015-06-22 20:50:47 +02:00
chriseth
2a870afc7b Merge pull request #2232 from chriseth/sol_externalConstructorTests
Tests for constructor arguments "from outside".
2015-06-19 10:29:59 +02:00
chriseth
4adc684939 Fix and test for not really recursive structs.
Fixes #2223.
2015-06-18 16:37:06 +02:00
chriseth
5e23bd707b Merge pull request #2216 from chriseth/sol_memoryArrays5
Accessors for strings and type conversion to memory.
2015-06-18 15:21:35 +02:00
chriseth
6d2f2f668b Tests for constructor arguments "from outside". 2015-06-18 14:41:46 +02:00
chriseth
366e25b8d1 Storage array reference test. 2015-06-17 18:51:47 +02:00
chriseth
db12069968 Accessors for strings. 2015-06-17 14:25:00 +02:00
chriseth
6e9f586228 Type conversion specialities for storage references. 2015-06-16 17:20:41 +02:00
chriseth
e7906ba1be Copying between memory and memory.
Also fixed some encoding and padding issues with older copying code.
2015-06-15 19:47:44 +02:00
chriseth
650ed1a3fc Distinction between storage pointer and storage ref and type checking for conversion between storage and memory. 2015-06-15 14:40:41 +02:00
chriseth
91a7207616 Optimize RETURN x 0 to STOP. 2015-06-12 11:31:03 +02:00
Gav Wood
a7a137816c Merge pull request #2148 from chriseth/sol_walletTests
Unit tests for the wallet contract.
2015-06-11 12:11:33 +09:00
chriseth
67299b6352 Wallet tests. 2015-06-10 19:28:44 +02:00
chriseth
7c4324eb5f Added missing source locations for new memory management code. 2015-06-10 17:51:24 +02:00
chriseth
bcecae0822 Merge pull request #2122 from chriseth/sol_memoryArrays2
Use dynamic memory.
2015-06-10 15:36:30 +02:00
chriseth
0237949212 Merge pull request #2114 from LianaHus/sol_byte0_in_storage
Sol removed bytes0
2015-06-10 15:35:28 +02:00
Liana Husikyan
4967535f8a cleaned up the tests 2015-06-09 11:55:19 +02:00
chriseth
31fb199acb Use dynamic memory for argument encoding. 2015-06-09 10:03:25 +02:00
Gav Wood
88865c546f Merge pull request #2025 from imapp-pl/refactor_executive
Executive on a diet
2015-06-08 22:52:39 +09:00
Liana Husikyan
1ac5f3c04d removed byte0 keyword 2015-06-08 13:53:25 +02:00
Liana Husikyan
46eb7b08d9 added test
Conflicts:
	test/libsolidity/SolidityEndToEndTest.cpp
2015-06-08 11:47:57 +02:00
Paweł Bylica
8c66813683 Rename Executive::collectResult -> setResultRecipient. 2015-06-08 10:45:42 +02:00
Gav Wood
6f12765591 Merge pull request #2103 from chriseth/sol_fix_sequenceError
Invalid sequence access.
2015-06-07 14:19:51 +09:00
chriseth
d3f1cb5cec Quick fix to not access inaccessible sequences. 2015-06-06 15:39:14 +02:00
chriseth
7528dcf52c Test for the invalid sequence access bug. 2015-06-06 15:38:00 +02:00
chriseth
a20b23a7a8 Optimize double ISZERO. 2015-06-06 12:42:36 +02:00
chriseth
187f5de2dd 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
4141a0de5e Merge pull request #2084 from chriseth/sol_computeConstants
Compute constants
2015-06-05 19:22:30 +02:00
chriseth
7581330e51 Bare functions return success condition. 2015-06-05 17:37:16 +02:00
chriseth
4111cdf376 Compute constants 2015-06-05 17:34:26 +02:00
chriseth
7aff1fb942 Ability to specify the storage location of a reference type. 2015-06-05 14:44:05 +02:00
Liana Husikyan
1f3e93785e fixed assigning negative number to unsigned 2015-06-04 14:09:19 +02:00
Liana Husikyan
0e664b05aa - style fixes
- added test for uint8 = -1 which doesn't fail; todo: fix that
2015-06-04 12:42:55 +02:00
Liana Husikyan
c7e6bbb82c - conversion of positive literals to signed int
- tests
2015-06-04 11:48:09 +02:00
Liana Husikyan
5ef445f64f test
Conflicts:
	test/libsolidity/SolidityEndToEndTest.cpp
2015-06-04 11:48:09 +02:00
Paweł Bylica
3bacb6f377 Merge remote-tracking branch 'upstream/develop' into refactor_executive
Conflicts:
	test/libsolidity/solidityExecutionFramework.h
2015-06-03 17:16:33 +02:00
Paweł Bylica
6a64d18780 Merge remote-tracking branch 'upstream/develop' into feature/vm_gas_counter_refactor
Conflicts:
	libethereum/Executive.h
2015-06-02 11:57:13 +02:00
chriseth
82b3a6b1f4 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
b810df04f0 renamed the test framwork function. 2015-06-01 16:48:13 +02:00
Liana Husikyan
c6a8938ed7 fixed CALL case. added exception 2015-06-01 16:39:09 +02:00
chriseth
604a2d89d2 Merge pull request #2027 from chriseth/sol_dupRemForLoops
Allow duplicate code removal for loops.
2015-06-01 15:09:16 +02:00
Liana Husikyan
d863c8d088 corrected intends in solidityExecutionFramwork.h 2015-06-01 13:39:17 +02:00
Liana Husikyan
945418cc10 style fixes 2015-06-01 13:06:12 +02:00
Liana Husikyan
47f0e847e5 style fixes in test/libsolidity/solidityExecutionFramework.h
fixed the test
2015-06-01 13:06:12 +02:00
Liana Husikyan
ca8104397d removed exception when function is not found 2015-06-01 13:06:12 +02:00
Liana Husikyan
3ddae3209e special handle of send 2015-06-01 13:06:12 +02:00
Liana Husikyan
19fb836bf6 modified the test 2015-06-01 13:06:12 +02:00
Liana Husikyan
fde4ed6bf6 remove line for debugging 2015-06-01 13:06:12 +02:00
Liana Husikyan
f1c042df8c test for constructor (out of band exception) 2015-06-01 13:06:12 +02:00