Commit Graph
100 Commits
Author SHA1 Message Date
chriseth a16677dcfb Fix gas for builtin.
Fixes #1300
2015-03-13 17:31:56 +01:00
chriseth d41c51a810 Fixed some checker warnings. 2015-03-10 15:11:13 +01:00
chriseth 9c82cbeddf Global variable "now" (alias for block.timestamp). 2015-03-09 19:22:43 +01:00
chriseth cd8a0ab65d Style fixes. 2015-03-09 13:28:29 +01:00
chriseth 94c51caf89 Fixed: Some instructions did not have source locations. 2015-03-09 13:28:29 +01:00
chriseth 0e50ef1ee0 Fixed gas calculation for CALL. 2015-03-06 16:23:39 +01:00
chriseth 6fea41abd8 Merge pull request #1222 from chriseth/sol_copyFromCalldata
Copying between calldata and storage.
2015-03-06 15:42:49 +01:00
chriseth 8de5ff5c25 Update Types.h
Typo
2015-03-06 15:39:21 +01:00
chriseth 28e88903dc Fix type checks for storage variable initializer. 2015-03-06 13:47:32 +01:00
chriseth 11e943fc6a Fix for arrays containing mappings. 2015-03-06 13:17:52 +01:00
chriseth d8b156ecbb Copying between calldata and storage. 2015-03-06 13:17:52 +01:00
chriseth 34e8de749a Merge pull request #1212 from chriseth/sol_arrayIndexOnCalldata
Index access for calldata and byte arrays.
2015-03-05 23:44:08 +01:00
chriseth 280df42463 Styling 2015-03-05 15:41:39 +01:00
Christian b84cf62d6b Index access for calldata arrays. 2015-03-05 13:19:59 +01:00
Christian 7112696993 Fixed arrays in ABI. 2015-03-03 12:58:48 +01:00
Christian 7f37659a28 Removed unused variables. 2015-03-02 15:12:54 +01:00
chriseth 32e210ecca 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 346d87cc63 Merge pull request #1174 from guanqun/add-tab-to-solc-output
let the error output take tab into consideration
2015-03-02 12:55:44 +01:00
Christian 3074d08b44 Array copy storage to storage. 2015-02-27 22:52:19 +01:00
Christian 2ea8f3a75a Type checks for array assignment. 2015-02-27 22:52:19 +01:00
Christian 87365f7612 Shortening of dynamic arrays. 2015-02-27 22:52:19 +01:00
Christian 66b6860eb8 Stylistic changes. 2015-02-25 16:22:30 +01:00
Christian 29c614ebaf Removed code duplication. 2015-02-25 15:55:42 +01:00
Christian cc31a7ab32 LValue refactoring. 2015-02-25 15:41:19 +01:00
Christian 820ed2dfe1 Out-of-bounds checking. 2015-02-23 18:28:33 +01:00
Christian 5d2323c914 Index and length access for dynamic arrays. 2015-02-23 18:28:30 +01:00
Christian 754c804d19 Implementation of index access. 2015-02-23 18:25:49 +01:00
Christian 3abbb8d625 Activate standard sources by default. 2015-02-23 16:28:18 +01:00
Christian 39c471f332 Comments and warnings. 2015-02-23 14:55:06 +01:00
Christian c8b03c51a0 Renames and comments. 2015-02-23 14:38:44 +01:00
Christian a17108e3bc Replaced "inheritable" by "internal". 2015-02-22 19:37:54 +01:00
Christian e7528c6af8 Stack height checks and fix. 2015-02-22 19:16:40 +01:00
Christian 261786d909 Allow conversion to dynamic arrays and update grammar. 2015-02-21 18:25:08 +01:00
Christian be15e0b424 Index access. 2015-02-21 15:10:02 +01:00
Christian 5e32083179 Parsing of array types and basic implementation. 2015-02-21 15:10:01 +01:00
chriseth 75498a48d8 Merge pull request #1093 from LianaHus/sol_InlineMemberInits
Inline member inits
2015-02-21 14:53:45 +01:00
Christian 8d658ce5a2 Rename "protected" to "inheritable". 2015-02-18 13:35:12 +01:00
chriseth 906b1de862 Merge pull request #1083 from chriseth/sol_structAssigndAndDeleteWithByteArray
Fixes for assigning and deleting structs containing byte arrays.
2015-02-18 13:31:15 +01:00
Christian 197b184d25 Fixes for assigning and deleting structs containing byte arrays. 2015-02-18 00:15:32 +01:00
Christian a33fa270f6 Calldata byte arrays stored on the stack. 2015-02-16 19:35:53 +01:00
Christian 971cc9b5b9 Unpacking of dynamically sized arguments. 2015-02-16 19:25:27 +01:00
Christian d630a67812 loadFromMemoryDynamic 2015-02-16 19:25:27 +01:00
Christian 1f6e365136 Move code to loadFromMemory. 2015-02-16 19:25:27 +01:00
Christian f7ba85e0ec No write access to parameters of external functions. 2015-02-16 19:25:24 +01:00
Christian 3e29ec2cb2 "external" visibility specifier. 2015-02-16 19:24:07 +01:00
Christian 5c3ea8015c Forced cleanup for conversion to enum. 2015-02-14 13:35:57 +01:00
Christian c944976d00 Some changes to enums. 2015-02-14 13:35:57 +01:00
Christian 56c6eaf509 Copying calldata directly to memory. 2015-02-13 01:29:43 +01:00
Christian 1c3c1f1e5d Copying structs. 2015-02-12 20:19:49 +01:00
Christian b836d952b2 length member for byte arrays. 2015-02-12 15:44:35 +01:00
Christian 5e40b79426 Bytes type cleanup. 2015-02-12 15:01:38 +01:00
Christian 5673f994fc Added some comments. 2015-02-12 11:50:47 +01:00
Christian 9b8cf4af1d Moved copy code to CompilerUtils. 2015-02-12 11:33:10 +01:00
Christian 8a2879a603 Copy storage to storage. 2015-02-12 11:33:10 +01:00
Christian adb434569c Dynamic copy to memory. 2015-02-12 11:33:10 +01:00
Christian 79aec95228 Simple copy of bytes to storage. 2015-02-12 11:33:09 +01:00
Christian 20b4c69009 Tests and some code for msg.data. 2015-02-12 11:33:09 +01:00
Christian 1369337808 Introduced byte array type. 2015-02-12 11:33:09 +01:00
Christian 2119a758b3 Some windows fixes. 2015-02-11 20:20:37 +01:00
Christian cf4144b702 Arbitrary parameters for call() and all hash functions. 2015-02-10 10:59:23 +01:00
chriseth bb6f181d7d Merge pull request #986 from LefterisJP/sol_StyleFix
Solidity enum style fix
2015-02-10 10:54:28 +01:00
chriseth 6052102a05 Merge pull request #985 from chriseth/sol_memoryMoveCleanup
Some cleanup in "move to memory" functions.
2015-02-09 16:46:23 +01:00
chriseth a3a1f4757b Typo fix. 2015-02-09 16:45:59 +01:00
Christian 140f003a2e Some cleanup in "move to memory" functions. 2015-02-09 13:40:37 +01:00
chriseth d84d9d3ecd Merge pull request #981 from chriseth/sol_cleanup
Small cleanup.
2015-02-09 12:02:17 +01:00
Christian 106cda74f8 Small cleanup. 2015-02-09 00:49:35 +01:00
chriseth a66db516fb Merge pull request #937 from LefterisJP/sol_MultiArgSHA3
Solidity multiple arg sha3
2015-02-09 00:14:13 +01:00
chriseth 5c58aa041d Merge pull request #977 from guanqun/simplify-with-selecttoken
simplify two statements with selectToken()
2015-02-09 00:10:50 +01:00
Christian 724ee76900 Accessors for structs. 2015-02-06 20:04:02 +01:00
Christian 82edc1ca6d Some fixes for the ether units parser. 2015-02-06 13:38:29 +01:00
chriseth 16fc2d651e Merge pull request #963 from guanqun/disallow-void-var
Disallow implicit declaration of void type.
2015-02-06 12:08:24 +01:00
Christian e157364fe8 Visibility specifiers. 2015-02-02 17:24:09 +01:00
Christian adce36ff58 Make tests resistant to changes in order of declaration. 2015-02-01 00:47:54 +01:00
Christian 4e440b6e5d Fix scoping of event arguments. 2015-01-31 16:50:33 +01:00
Christian ab9dec320a Fix: No parameters for event. 2015-01-30 21:49:01 +01:00
Christian 06e846b45c Fix standard sources test. 2015-01-30 13:57:23 +01:00
Christian cfb55901cc Fallback functions. 2015-01-29 22:50:20 +01:00
Christian 8d5ee59ee5 Padding fixes. 2015-01-29 21:33:46 +01:00
Christian 9f8c2620da Whitespace and error messages. 2015-01-29 21:33:46 +01:00
Christian 4e72a77546 Code generation for events. 2015-01-29 21:33:46 +01:00
Christian 4a6ed84386 Parsing of events. 2015-01-29 21:26:11 +01:00
chriseth 77384af827 Merge pull request #889 from LefterisJP/sol_ExprCompilerEncapsulation
No longer exposing retrieveValueFromStorage() as a public function
2015-01-29 14:53:10 +01:00
Christian 11d068bbbb Common class that contains AST node documentations. 2015-01-29 12:27:31 +01:00
chriseth c568df4a03 Merge pull request #887 from chriseth/sol_excludeStd
Exclude standard contracts by default.
2015-01-29 10:41:04 +01:00
Christian 1d437b5083 Exclude standard contracts by default. 2015-01-29 01:29:43 +01:00
Christian 6ec9586de3 Style changes. 2015-01-29 00:32:21 +01:00
Christian ae5a6a235c Super keyword. 2015-01-29 00:29:43 +01:00
Christian 282d4b8add Fix stack size of typetypes. 2015-01-28 18:19:01 +01:00
Christian 2903799074 Find some reasonable contract if nothing is supplied. 2015-01-28 14:25:42 +01:00
Christian 95d8d7b1f0 Cleaner solution to provide standard sources. 2015-01-28 13:39:04 +01:00
Christian 34d07fc583 Some fixes in parser. 2015-01-28 11:28:22 +01:00
chriseth 18fc2ed2d6 Merge pull request #857 from LianaHus/StringToHash
conversion for string to/from hash
2015-01-27 13:53:13 +01:00
Christian f59cda76de Call modifiers on constructor. 2015-01-26 10:23:39 +01:00
Christian fd5899d038 Modifier overrides and callgraph analysis. 2015-01-26 10:23:39 +01:00
Christian 7ded95c776 Compilation of function modifiers. 2015-01-26 10:23:39 +01:00
Christian 941c77c8fa Type resolution for function modifiers. 2015-01-26 10:23:39 +01:00
Christian 19793dab09 Function modifier parsing. 2015-01-26 10:23:39 +01:00
Christian fe37aad4d5 Reverse order of inheritance in base list. 2015-01-26 10:20:46 +01:00
Christian 96db6cf905 Style changes. 2015-01-20 17:41:09 +01:00
Christian d854e56789 Include virtual function overrides in constructor context. 2015-01-20 15:58:04 +01:00