Commit Graph

138 Commits

Author SHA1 Message Date
Liana Husikyan
dd1e770009 modified test network to test exceptions during parsing of documentation
todo:
 - change to work wirh all exceptions
 - fix white space problems in the output text for Natspec
2015-07-16 13:57:56 +02:00
chriseth
c432ec46f9 Merge pull request #2482 from chriseth/sol_fix_initialiseStorageStrings
Fix for initialising storage strings.
2015-07-16 12:31:24 +02:00
chriseth
13effae9d3 Allow structs containing mappings in memory. 2015-07-16 01:10:09 +02:00
chriseth
bb181d8c85 Fix for initialising storage strings. 2015-07-15 22:13:27 +02:00
Gav Wood
a904cafa38 Merge pull request #2473 from chriseth/sol_fix_exponentialNotation
Check whether a literal is a valid literal before using it.
2015-07-14 18:18:38 +02:00
chriseth
cd264b72ab Check whether a literal is a valid literal before using it.
Fixes #2078
2015-07-14 17:43:13 +02:00
chriseth
dd3afa2877 Fix comparison between bytes types.
Fixes #2087
2015-07-14 16:40:16 +02:00
chriseth
2173ad25a9 Flexible string literals, convertible to bytesX, bytes and string. 2015-07-09 17:10:58 +02:00
chriseth
c5984302fc Updated wallet code. 2015-07-06 18:06:01 +02:00
chriseth
a393acd0b2 Struct constructors. 2015-07-03 17:25:30 +02:00
chriseth
3350f1d304 Fix for copying arrays to storage. 2015-07-03 17:25:30 +02:00
chriseth
fc8f83b84e Memory structs. 2015-07-03 17:25:29 +02:00
chriseth
807f7e6579 Fixed checking of abstract functions.
Fixes #2264
2015-06-30 11:55:21 +02:00
chriseth
4e62efc7ff Memory arrays cannot be resized. 2015-06-29 20:08:02 +02:00
chriseth
9cb646697d Merge pull request #2312 from chriseth/sol_updateWallet
Updated wallet test to latest wallet source.
2015-06-29 16:46:50 +02:00
chriseth
4a369a8eee Updated wallet test to latest wallet source. 2015-06-29 12:48:03 +02:00
chriseth
e1b2a79b8b Another test for arrays in constructors. 2015-06-29 12:47:04 +02:00
chriseth
7100b14d4d Delete for memory objects. 2015-06-26 21:28:02 +02:00
chriseth
65d89bde6d Do not copy reference types to memory in-place. 2015-06-26 19:15:00 +02:00
chriseth
5664f62613 Initialisation of memory types. 2015-06-24 19:34:43 +02:00
chriseth
eede8cf2d6 Copy routines for non-byte arrays. 2015-06-24 12:18:19 +02:00
chriseth
1e8c26421b Decoding for constructor. 2015-06-22 20:55:46 +02:00
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