Commit Graph

903 Commits

Author SHA1 Message Date
chriseth
fac8124412 Disallow memory types containing mappings. 2015-06-26 21:28:02 +02:00
chriseth
03edf74e62 No delete on storage pointers. 2015-06-26 21:28:02 +02:00
chriseth
ca497f5d10 Delete for memory objects. 2015-06-26 21:28:02 +02:00
chriseth
109b4eafb9 Some fixes for calldata arrays. 2015-06-26 20:27:56 +02:00
chriseth
37e7f1f10d Do not copy reference types to memory in-place. 2015-06-26 19:15:00 +02:00
chriseth
342ca94866 Fixed and simplified external type computation. 2015-06-26 16:55:42 +02:00
chriseth
2e5c52bfab Merge pull request #2276 from chriseth/sol_memoryArrays7
Copy routines for non-byte arrays.
2015-06-25 18:52:19 +02:00
chriseth
fb14a586f4 Merge pull request #2286 from chriseth/sol_simplerStaticMemoryAccess
Simplify static memory access functions.
2015-06-25 17:32:22 +02:00
chriseth
529ed468df Style. 2015-06-25 17:22:28 +02:00
Gav Wood
766bbf249d Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
Conflicts:
	ethconsole/main.cpp
2015-06-25 16:29:02 +02:00
chriseth
b5672d5ae0 Simplify static memory access functions. 2015-06-25 14:52:59 +02:00
Gav Wood
0bcfad54f0 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop 2015-06-24 20:15:29 +02:00
chriseth
e5ae5955b9 Initialisation of memory types. 2015-06-24 19:34:43 +02:00
chriseth
1add48a652 Copy routines for non-byte arrays. 2015-06-24 12:18:19 +02:00
chriseth
2d169748b7 Copy only expected arguments for constructor if statically sized. 2015-06-24 00:23:46 +02:00
chriseth
fd1a01bbce Decoding for constructor. 2015-06-22 20:55:46 +02:00
chriseth
8639cf8e3d Remove dynamic return types. 2015-06-22 20:50:47 +02:00
chriseth
2eabaa4716 Memory-storage copy. 2015-06-22 20:50:47 +02:00
chriseth
ee520f6022 Fix and test for not really recursive structs.
Fixes #2223.
2015-06-18 16:37:06 +02:00
chriseth
1ff8dbebab Accessors for strings. 2015-06-17 14:25:00 +02:00
chriseth
17efc42299 Type conversion specialities for storage references. 2015-06-16 17:20:41 +02:00
chriseth
a5664d0535 Style. 2015-06-16 11:28:35 +02:00
chriseth
8b402b5879 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
7c996ac716 Style. 2015-06-15 14:40:42 +02:00
chriseth
6f7595e0e2 Pleased gcc. 2015-06-15 14:40:42 +02:00
chriseth
258b1a74e2 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
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