Commit Graph

237 Commits

Author SHA1 Message Date
chriseth
6daa27622a strings as mapping keys. 2015-08-03 18:10:08 +02:00
chriseth
ac1a11634e Improved gas computation for CALLCODE. 2015-07-28 13:37:46 +02:00
chriseth
2ce6d3bcee Fix for initialising storage strings. 2015-07-15 22:13:27 +02:00
Gav Wood
a85c5bd0b0 Merge pull request #2470 from chriseth/sol_fix_bytesComparison
Fix comparison between bytes types.
2015-07-14 18:16:54 +02:00
chriseth
a3dace66e1 Fix comparison between bytes types.
Fixes #2087
2015-07-14 16:40:16 +02:00
chriseth
73275e1825 Use only a single stack slot for storage references. 2015-07-14 11:58:16 +02:00
chriseth
46dde467e7 Flexible string literals, convertible to bytesX, bytes and string. 2015-07-09 17:10:58 +02:00
chriseth
aa6182ab87 Style and some assertion messages. 2015-07-03 18:15:05 +02:00
chriseth
e2d6e34f9c Struct constructors. 2015-07-03 17:25:30 +02:00
chriseth
cad3379306 Memory structs. 2015-07-03 17:25:29 +02:00
chriseth
ca497f5d10 Delete for memory objects. 2015-06-26 21:28:02 +02:00
chriseth
37e7f1f10d Do not copy reference types to memory in-place. 2015-06-26 19:15:00 +02:00
chriseth
e5ae5955b9 Initialisation of memory types. 2015-06-24 19:34:43 +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
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
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
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
chriseth
c2a9419e49 Improved "Stack too deep" error message.
Closes #2080.
2015-06-07 12:51:15 +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
f4d1acc563 Ability to specify the storage location of a reference type. 2015-06-05 14:44:05 +02:00
Liana Husikyan
d639c225f2 corrected the calculation of gas for send 2015-06-04 11:47:19 +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
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
Gav Wood
70d9eb3f1d Move non-cryptopp dependent stuff into devcore. 2015-05-19 19:51:38 +02:00
chriseth
dba5ffc280 Bare callcode for addresses and contracts. 2015-05-15 18:02:09 +02:00
Liana Husikyan
1087d34a66 saved returnParameterNames in FunctionType constructor 2015-04-27 13:08:32 +02:00
Liana Husikyan
88536f90e8 changed the test so constructor will have input parameters 2015-04-27 13:08:32 +02:00
chriseth
a3820fa046 Fix regarding memory overwrite during sha3 computation. 2015-04-22 11:43:50 +02:00
chriseth
a6d08950c6 bytes parameters for events and sha3. 2015-04-22 11:43:49 +02:00
Gav Wood
1f44d93e05 Merge pull request #1685 from chriseth/sol_fix_ripemd_alignment
Fixed byte alignment for return type of ripemd160 built-in contract.
2015-04-21 17:33:02 +02:00
chriseth
e3bd21f4dd Fixed byte alignment for return type of ripemd160 built-in contract. 2015-04-21 13:03:26 +02:00
chriseth
c7b428fdb1 Merge remote-tracking branch 'ethereum/develop' into sol_overloadingFunctions
Conflicts:
	libsolidity/Types.cpp
2015-04-15 17:43:23 +02:00
chriseth
0c69d5fdcd Fixed function overloads.
Added tests, disallowed non-calling usage of non-unique function
references.
2015-04-15 17:40:50 +02:00
Gav Wood
e1b20fb3a1 Merge pull request #1546 from chriseth/sol_assumeContractNotCreated
Retain more gas for the case that the called contract is not yet created
2015-04-08 22:45:13 +02:00
Liana Husikyan
6f38bfeb6c fixes
added more tests
2015-04-08 15:56:36 +02:00