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 |
|
Christian
|
417f9c03d0
|
Implicit conversion from derived to base.
|
2015-01-19 23:35:04 +01:00 |
|
Christian
|
ddf5e20d10
|
Call constructors of base classes.
|
2015-01-19 23:35:04 +01:00 |
|
Christian
|
af92f98d86
|
Constructor arguments for base classes.
|
2015-01-19 23:35:04 +01:00 |
|
Christian
|
6e111d5d1d
|
Explicit calls to base class function.
|
2015-01-19 23:35:04 +01:00 |
|
Christian
|
4d833bc86b
|
Inheritance in compiler.
|
2015-01-19 23:35:04 +01:00 |
|
Christian
|
e6c0a9b922
|
Magic variables are only needed durinng name and type resolution, not during compilation.
|
2015-01-19 23:35:04 +01:00 |
|
Christian
|
6633fbb603
|
Check overrides and provide inherited public interface.
|
2015-01-19 23:35:04 +01:00 |
|
Christian
|
914fcedd0e
|
Import inherited members into the contract's scope.
|
2015-01-19 23:35:04 +01:00 |
|
Christian
|
4631e54e08
|
Inheritance parser.
|
2015-01-19 23:35:04 +01:00 |
|
chriseth
|
325b052b16
|
Merge pull request #805 from LianaHus/deleteStruct
delete for structs
-added functionality to set values to 0 when deleting structure(not for ...
|
2015-01-19 11:32:11 +01:00 |
|
chriseth
|
1a4280de35
|
Merge pull request #799 from chriseth/sol_gasAndValue
Specify gas and value for function calls and contract creation calls.
|
2015-01-14 18:22:16 +01:00 |
|
Christian
|
abe6055ab7
|
Style.
|
2015-01-14 12:00:28 +01:00 |
|
Christian
|
1ba38c9c02
|
More flexible access to stack during external function call.
|
2015-01-14 11:57:22 +01:00 |
|
Christian
|
d1e05ac416
|
Remove redundancy in FunctionType::getSizeOnStack.
|
2015-01-14 11:01:42 +01:00 |
|
Christian
|
22f0a4fde1
|
Use min gas for send().
|
2015-01-14 10:46:44 +01:00 |
|
Christian
|
6e16107870
|
Check for hash collisions already before compiling.
|
2015-01-14 10:16:58 +01:00 |
|
Christian
|
b440d7e321
|
Specify value for contract creation.
|
2015-01-13 18:12:30 +01:00 |
|
Christian
|
ec022783c4
|
Modify gas and value for external function call.
|
2015-01-13 18:12:30 +01:00 |
|
Christian
|
a5d32e4894
|
Define strings = vector<string>
|
2015-01-12 13:29:16 +01:00 |
|
Christian
|
307a83e1de
|
More convenient function type construction.
|
2015-01-12 12:46:52 +01:00 |
|
Christian
|
26f9cd7f68
|
Coding style: Prefix for const variables.
|
2015-01-09 21:36:25 +01:00 |
|
Christian
|
c5c8933192
|
Contracts are Addresses.
|
2015-01-09 18:31:36 +01:00 |
|
Christian
|
501ad14ed1
|
Correct type conversions.
|
2015-01-09 18:23:10 +01:00 |
|
Christian
|
fe16922087
|
Padding for ABI types.
|
2015-01-09 18:20:51 +01:00 |
|
Christian
|
a60d82d12c
|
Remove const from make_shared to allow enable_shared_from_this to work on MacOS.
|
2015-01-09 15:16:09 +01:00 |
|
Christian
|
be623273f3
|
Arbitrary precision integer constants.
|
2015-01-09 15:16:09 +01:00 |
|
Christian
|
be1e89da42
|
Possibility for unary operators to change type.
|
2015-01-09 15:09:10 +01:00 |
|
Christian
|
dcda38cf38
|
Use shared_from_this instead of manually supplying a shared_ptr to this.
|
2015-01-09 15:09:10 +01:00 |
|
Christian
|
c9102010bf
|
Some changes to the log functions.
|
2015-01-09 15:00:47 +01:00 |
|
Christian
|
ffeb7daf11
|
Buildfix after semantical merge conflict.
|
2015-01-09 11:51:52 +01:00 |
|
chriseth
|
42d186fdfc
|
Merge pull request #754 from LefterisJP/sol_abiFunctionHash
Calculation of ABI Function Identifier Hash
|
2015-01-09 11:22:59 +01:00 |
|
Christian
|
852267e60f
|
Remove const from make_shared to allow enable_shared_from_this to work on MacOS.
|
2015-01-07 21:44:17 +01:00 |
|
Christian
|
400d68b81d
|
Arbitrary precision integer constants.
|
2015-01-07 21:44:17 +01:00 |
|
Christian
|
d35842d65e
|
Possibility for unary operators to change type.
|
2015-01-07 21:44:17 +01:00 |
|
Christian
|
b6bad63d44
|
Use shared_from_this instead of manually supplying a shared_ptr to this.
|
2015-01-07 21:44:17 +01:00 |
|
Christian
|
9866caa625
|
Fix some warnings about uninitialized members.
|
2015-01-07 16:46:53 +01:00 |
|
Christian
|
52240ea88f
|
Bugfix: Use parameter (not argument) type size on stack for function calls.
|
2015-01-07 16:22:42 +01:00 |
|
chriseth
|
95514d1d1b
|
Merge pull request #667 from chriseth/sol_moreFlexibleBinaryOps
Possibility for binary operators to yield types different from their operands'.
|
2015-01-07 15:42:33 +01:00 |
|
Christian
|
8442974617
|
Clarified binary operator checking for integer types.
|
2014-12-28 13:35:58 +01:00 |
|
chriseth
|
8e3fbbad44
|
Merge pull request #664 from chriseth/sol_fix_compoundAssign
Bugfix: Additional swap for compound assignment.
|
2014-12-19 11:38:45 +01:00 |
|
Christian
|
7dc7827907
|
Possibility for binary operators to yield types different from their operands'.
|
2014-12-19 00:12:04 +01:00 |
|
chriseth
|
59835e9df1
|
Merge pull request #655 from chriseth/sol_precedence
Bit operators should bind more strongly than comparison operators.
|
2014-12-18 22:24:44 +01:00 |
|
Christian
|
8dbe13f840
|
Bugfix: Additional swap for compound assignment.
|
2014-12-18 22:23:34 +01:00 |
|
Christian
|
b0037eddfd
|
Bit operators should bind more strongly than comparison operators.
|
2014-12-18 17:19:42 +01:00 |
|
Christian
|
f744c34ccc
|
Possibility to replace source and obtain ContractDefinition by name.
|
2014-12-18 14:39:16 +01:00 |
|
Christian
|
a98afc8eaa
|
Return the last contract by default.
|
2014-12-17 18:37:06 +01:00 |
|
Christian
|
5a1a83ff42
|
Assertions that throw InternalCompilerErrors.
|
2014-12-17 16:24:56 +01:00 |
|