Commit Graph

150 Commits

Author SHA1 Message Date
chriseth
d4cb489c8f Wallet updated to include daylimit in constructor. 2015-07-22 16:58:24 +02:00
Gav Wood
287088f380 Merge pull request #2524 from chriseth/sol_windowsFix
Compile fix for Windows.
2015-07-20 20:44:14 +02:00
Gav Wood
262643f561 Merge branch 'whizz' into develop 2015-07-20 19:39:09 +02:00
chriseth
f43b7f0828 Windows fix. 2015-07-20 18:44:53 +02:00
chriseth
8e4517a015 Use actual addresses. 2015-07-20 17:51:28 +02:00
arkpar
4046174ea2 fixing solidity tests 2015-07-20 00:36:48 +02:00
Gav Wood
07a29389d6 All fields of BlockInfo now private. 2015-07-19 21:10:13 +02:00
Gav Wood
1c78da65ed Merge pull request #2495 from chriseth/sol_updatedWallet
Updated the wallet contract and tests.
2015-07-17 13:54:26 +02:00
chriseth
1fb87c8579 Updated the wallet contract and tests. 2015-07-16 16:25:23 +02:00
Liana Husikyan
ed6f6d9494 removed unnecessary function 2015-07-16 13:57:56 +02:00
Liana Husikyan
3d7e6d8adf changedthe output style of the Natspec docstring 2015-07-16 13:57:56 +02:00
Liana Husikyan
3f1042d23b now for SolidityEndToEndTest we can use compileRequireThrow<typename> 2015-07-16 13:57:56 +02:00
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