Commit Graph
100 Commits
Author SHA1 Message Date
chriseth b129a201db Merge pull request #1729 from chriseth/sol_interfaceOutput
Use non-implemented functions for solidity interface output.
2015-04-24 11:59:05 +02:00
chriseth b4d2ead1b8 Use non-implemented functions for solidity interface output. 2015-04-23 15:00:44 +02:00
chriseth fcb772293b Fix regarding memory overwrite during sha3 computation. 2015-04-22 11:43:50 +02:00
chriseth 99a0cb3545 bytes parameters for events and sha3. 2015-04-22 11:43:49 +02:00
chriseth e65b9825d6 Merge pull request #1634 from chriseth/sol_overloadingFunctions
Function overloading.
2015-04-21 15:58:06 +02:00
chriseth 3190c9ec09 Fix for Contract and Enum types as external function arguments. 2015-04-21 15:50:37 +02:00
chriseth c834ee5ce1 Fixed byte alignment for return type of ripemd160 built-in contract. 2015-04-21 13:03:26 +02:00
chriseth ddbaa99056 Merge remote-tracking branch 'ethereum/develop' into sol_overloadingFunctions 2015-04-21 12:04:12 +02:00
chriseth 02121683f5 Removed (and added) some #ifs (but removed more than I added). 2015-04-21 11:46:11 +02:00
chriseth 8caf1f723f Merge remote-tracking branch 'ethereum/develop' into sol_overloadingFunctions
Conflicts:
	libsolidity/AST.cpp
	libsolidity/AST.h
2015-04-20 14:55:58 +02:00
chriseth 4a44493a13 Merge pull request #1501 from LefterisJP/abstract_contract_contructors
Abstract contract contructors
2015-04-17 17:31:47 +02:00
chriseth 6b08b99b5e Merge remote-tracking branch 'ethereum/develop' into sol_overloadingFunctions 2015-04-17 16:24:23 +02:00
chriseth 7571971ca0 Merge pull request #1654 from chriseth/sol_fix_smallNegativeStorageValues
Fix for small negative storage values.
2015-04-17 15:26:16 +02:00
chriseth d0470999b2 Tests for signed integers in storage. 2015-04-17 13:25:28 +02:00
chriseth 0f9b0f3bc4 Merge pull request #1503 from chriseth/sol_mergeBasicBlocks
Control flow analysis.
2015-04-16 17:26:35 +02:00
chriseth 968ebf6dbc Bugfixes concerning variable declarations.
Fixes #1637
2015-04-16 00:09:28 +02:00
chriseth 4362c93ebf Fixed test. 2015-04-15 18:43:40 +02:00
chriseth cf9515c750 Control flow analysis. 2015-04-15 18:11:16 +02:00
chriseth 6753e0a8e6 Merge remote-tracking branch 'ethereum/develop' into sol_overloadingFunctions
Conflicts:
	libsolidity/Types.cpp
2015-04-15 17:43:23 +02:00
chriseth c19d10321a Fixed function overloads.
Added tests, disallowed non-calling usage of non-unique function
references.
2015-04-15 17:40:50 +02:00
chriseth 68b61432ae Typos and docs. 2015-04-07 17:21:09 +02:00
chriseth 4c656af3ec SHA3 optimizations. 2015-04-07 17:21:09 +02:00
chriseth 367d0367ee Merge remote-tracking branch 'ethereum/develop' into sol_overloadingFunctions 2015-04-07 17:08:49 +02:00
chriseth c01c07e311 Retain more gas for the case that the called contract is not yet created. 2015-04-07 14:03:57 +02:00
chriseth 1ba183bf78 Merge pull request #1432 from chriseth/sol_cseForMemoryAndStorage
Optimizer for memory and storage.
2015-03-31 16:37:13 +02:00
chriseth 8860f8d4c3 Merge pull request #1464 from LefterisJP/natspec_nonexistant_param
Detect if non-existant parameter is documented with natspec
2015-03-30 19:38:20 +02:00
chriseth ea98b3b07e Merge pull request #1414 from LefterisJP/sol_notImplementedFuncs
Interface contracts
2015-03-30 19:33:30 +02:00
chriseth 35274fb9b1 Optimize breaking item. 2015-03-30 12:03:28 +02:00
chriseth b3fc122845 Optimizer for memory. 2015-03-30 12:03:28 +02:00
chriseth 1391b58e53 Storage access optimisation. 2015-03-30 12:03:28 +02:00
chriseth d2b5407502 Merge pull request #1338 from LianaHus/sol_ConvertContractTypesToAddress
Solidity: Convert contract types to addresses
2015-03-27 15:14:40 +01:00
chriseth 9866a92884 Merge pull request #1396 from chriseth/sol_cseOpt2
Common subexpression elimination, including simplifications.
2015-03-27 14:56:47 +01:00
chriseth e82b8019ea Parse test files and create ctest tests. 2015-03-27 13:13:08 +01:00
chriseth 4e20d0fb6d Pattern matching for expression simplification. 2015-03-26 17:51:26 +01:00
chriseth 782e69fbe4 Optimizing various single operations. 2015-03-26 17:51:26 +01:00
chriseth 0934d0e943 Code generation part 2. 2015-03-24 14:54:33 +01:00
chriseth ff06ea3aaf Merge pull request #1341 from chriseth/sol_packedStorage
Packed storage for arrays.
2015-03-20 12:54:36 +01:00
chriseth d43bc09994 Merge pull request #1344 from LefterisJP/sol_BytesToIntConv
Explicit conversion between bytes and int of any size
2015-03-19 13:05:28 +01:00
chriseth 84fdc6f1f2 Exception-throwing assert. 2015-03-18 15:32:17 +01:00
chriseth 0816a59b7e Disallowed special case of bytes0 arrays. 2015-03-17 18:34:57 +01:00
chriseth a05b307f4e Packing for arrays. 2015-03-17 18:13:28 +01:00
chriseth 6e2464487f Merge pull request #1326 from chriseth/sol_packedStorage
Let Solidity pack its storage
2015-03-17 01:08:47 +01:00
chriseth 1d44a8999e Fetch and store packed values. 2015-03-16 18:07:14 +01:00
chriseth 354d84e0a7 Compute packing offsets. 2015-03-16 18:07:14 +01:00
chriseth 10be65f269 Enlarge storage references to two stack slots. 2015-03-16 18:07:14 +01:00
chriseth 7ad027055d Merge pull request #1328 from debris/remove_orig
removed redundant diff file
2015-03-16 17:31:12 +01:00
chriseth e26f2dcaae Merge pull request #1325 from LefterisJP/sol_MsgSig
Adding msg.sig Solidity Magic type
2015-03-16 17:30:18 +01:00
chriseth a6f328a613 Fix gas for builtin.
Fixes #1300
2015-03-13 17:31:56 +01:00
chriseth b1852e2d12 Fixed indentation. 2015-03-11 16:31:56 +01:00
chriseth a969203947 Fixed assembly tests. 2015-03-11 15:59:02 +01:00
chriseth 0fcd2212d4 Global variable "now" (alias for block.timestamp). 2015-03-09 19:22:43 +01:00
chriseth 0f6224a70f Merge pull request #1228 from LefterisJP/eth_TestNoThrowInfo
Test macros for printing Exception information
2015-03-06 16:25:58 +01:00
chriseth ce29adc29f Merge pull request #1222 from chriseth/sol_copyFromCalldata
Copying between calldata and storage.
2015-03-06 15:42:49 +01:00
chriseth 2650703ece Typo 2015-03-06 15:40:02 +01:00
chriseth 1234526c93 Fix type checks for storage variable initializer. 2015-03-06 13:47:32 +01:00
chriseth e6c778e740 Fix for arrays containing mappings. 2015-03-06 13:17:52 +01:00
chriseth 7639bfe7e5 Copying between calldata and storage. 2015-03-06 13:17:52 +01:00
Christian 2f91e1f9b5 Index access for calldata arrays. 2015-03-05 13:19:59 +01:00
Christian 99263f0e3e Fixed arrays in ABI. 2015-03-03 12:58:48 +01:00
Christian 66d2ec1d15 Fix test after change in call failure semantics. 2015-03-03 11:36:54 +01:00
chriseth d0e535d014 Merge pull request #1146 from LefterisJP/sol_fixBaseClassAccessors
Sol fix accessing public variable of base class
2015-03-02 12:59:12 +01:00
chriseth 1ec4deff01 Merge pull request #1157 from chriseth/sol_arrayShortening
Copying arrays and shortening of dynamic arrays.
2015-03-02 12:51:58 +01:00
Christian e7c4d73cc6 Array copy storage to storage. 2015-02-27 22:52:19 +01:00
Christian e42183f2ff Type checks for array assignment. 2015-02-27 22:52:19 +01:00
Christian dca1303397 Shortening of dynamic arrays. 2015-02-27 22:52:19 +01:00
Christian 60ade5b33f LValue refactoring. 2015-02-25 15:41:19 +01:00
chriseth 50ab725701 Merge pull request #1132 from LefterisJP/sol_DebuggingInformation
Location information in AssemblyItems, filled by Solidity.
2015-02-25 15:24:16 +01:00
chriseth a24e0b5b15 Merge pull request #1119 from chriseth/sol_arraysIndexAccess
Index access for arrays.
2015-02-24 12:22:00 +01:00
Christian ed08c68664 Out-of-bounds checking. 2015-02-23 18:28:33 +01:00
Christian a5eb2a3990 Index and length access for dynamic arrays. 2015-02-23 18:28:30 +01:00
Christian ae9013f367 Implementation of index access. 2015-02-23 18:25:49 +01:00
Christian c8d4ab1ca0 Replaced "inheritable" by "internal". 2015-02-22 19:37:54 +01:00
Christian d85bfe1452 Stack height checks and fix. 2015-02-22 19:16:40 +01:00
Christian 9798d700dd Allow conversion to dynamic arrays and update grammar. 2015-02-21 18:25:08 +01:00
Christian c8cec8d0b3 Parsing of array types and basic implementation. 2015-02-21 15:10:01 +01:00
Christian ba0a8a2bfc Implemented account proxy queues. 2015-02-20 18:48:45 +01:00
chriseth 3e79e23841 Merge pull request #1092 from LefterisJP/sol_BugOverrideFunctionByteArrayParam
Bugfix for functions override
2015-02-20 10:16:31 +01:00
Christian a26d72472d Rename "protected" to "inheritable". 2015-02-18 13:35:12 +01:00
Christian 218ee29a05 Fixes for assigning and deleting structs containing byte arrays. 2015-02-18 00:15:32 +01:00
Christian 9d0bb3666e Calldata byte arrays stored on the stack. 2015-02-16 19:35:53 +01:00
Christian 5f043127ae loadFromMemoryDynamic 2015-02-16 19:25:27 +01:00
Christian 8290b6305b No write access to parameters of external functions. 2015-02-16 19:25:24 +01:00
Christian 7dd200d140 "external" visibility specifier. 2015-02-16 19:24:07 +01:00
Christian 600b38224e Forced cleanup for conversion to enum. 2015-02-14 13:35:57 +01:00
Christian 31425a1fc0 Some changes to enums. 2015-02-14 13:35:57 +01:00
Christian 5d2223b934 Copying calldata directly to memory. 2015-02-13 01:29:43 +01:00
Christian 48f6bda44b Copying structs. 2015-02-12 20:19:49 +01:00
Christian c90adbf593 length member for byte arrays. 2015-02-12 15:44:35 +01:00
Christian 2472e2b998 Test for bytes in mapping. 2015-02-12 15:18:50 +01:00
Christian 6bbba22690 Another try in fixing windows build. 2015-02-12 11:54:44 +01:00
Christian d089703254 Moved copy code to CompilerUtils. 2015-02-12 11:33:10 +01:00
Christian a5449d9b3e Dynamic copy to memory. 2015-02-12 11:33:10 +01:00
Christian 6e0ade681d Simple copy of bytes to storage. 2015-02-12 11:33:09 +01:00
Christian 8787413a86 Tests and some code for msg.data. 2015-02-12 11:33:09 +01:00
Christian d37f6cfb9f Some windows fixes. 2015-02-11 20:20:37 +01:00
Christian 7dc5e2a1a0 Arbitrary parameters for call() and all hash functions. 2015-02-10 10:59:23 +01:00
chriseth 8f9511c6ec Merge pull request #986 from LefterisJP/sol_StyleFix
Solidity enum style fix
2015-02-10 10:54:28 +01:00
chriseth 5d7098eba7 Merge pull request #937 from LefterisJP/sol_MultiArgSHA3
Solidity multiple arg sha3
2015-02-09 00:14:13 +01:00
Christian 99ff791593 Accessors for structs. 2015-02-06 20:04:02 +01:00
Christian 5bedf7f816 Some fixes for the ether units parser. 2015-02-06 13:38:29 +01:00