Commit Graph

233 Commits

Author SHA1 Message Date
Christian
147e77b61f Fix: Resolve function types of all contracts before checking types inside functions. 2014-12-16 23:49:02 +01:00
Christian
5b802b685e Stylistic changes. 2014-12-16 16:15:34 +01:00
Christian
c40725c22a Check that constructor does not have "returns" directive. 2014-12-15 16:09:50 +01:00
Christian
40f7c32e57 Packing and unpacking of constructor arguments. 2014-12-15 13:05:18 +01:00
Christian
2f64c56ef3 Create contracts. 2014-12-15 13:05:18 +01:00
Christian
c858699605 Merge remote-tracking branch 'ethereum/develop' into sol_barecalls 2014-12-15 10:21:49 +01:00
Christian
739192ae65 Correctly check for string prefix plus indentation change. 2014-12-15 01:02:33 +01:00
sveneh
000e46cb24 Merge branch 'develop' of https://github.com/ethereum/cpp-ethereum into build_enhancement
Conflicts:
	windows/LibEthereum.vcxproj
	windows/LibEthereum.vcxproj.filters

Solved by removing files (not necessary anymore)
2014-12-12 23:42:28 +01:00
Christian
c0bba438b1 Calls to bare contracts. 2014-12-12 17:26:19 +01:00
Christian
6893d4d455 Merge remote-tracking branch 'ethereum/develop' into sol_swapConstants
Conflicts:
	test/solidityOptimizerTest.cpp
2014-12-12 17:22:45 +01:00
chriseth
3860814fa0 Merge pull request #584 from chriseth/sol_strings
String types.
2014-12-12 17:14:43 +01:00
Christian
e2547526ab Do not add at the end of the function selector "loop". 2014-12-11 17:48:44 +01:00
Christian
66d95abfd9 Swap literals to the end if optimizing. 2014-12-11 17:48:44 +01:00
Marek Kotewicz
0f26b24794 Merge branch 'develop' into build_enhancement 2014-12-11 15:07:32 +01:00
Marek Kotewicz
ac5b3baa52 fixed styling issues 2014-12-11 15:06:11 +01:00
Christian
a735228079 Support empty strings. 2014-12-11 14:19:11 +01:00
Marek Kotewicz
6fcdfdc353 removed explicit 2014-12-11 14:12:49 +01:00
Marek Kotewicz
8f53101f6f Merge branch 'macox_fixes' into build_enhancement 2014-12-11 12:39:39 +01:00
Marek Kotewicz
5cd7c1fc9a user-provided default constructor 2014-12-11 12:31:14 +01:00
Marek Kotewicz
bea34ab073 Merge branch 'macox_fixes' into build_enhancement
Conflicts:
	test/solidityNatspecJSON.cpp
2014-12-11 12:08:51 +01:00
Marek Kotewicz
222790ffab fixed solidity not building on macos 2014-12-11 11:56:47 +01:00
chriseth
c7c189cac0 Merge pull request #586 from LefterisJP/natspec_contract_tags
Natspec title and author tag.
2014-12-10 19:23:57 +01:00
Christian
8b54d1afb2 Merge remote-tracking branch 'ethereum/develop' into sol_strings
Conflicts:
	libsolidity/Types.cpp
2014-12-10 17:24:23 +01:00
chriseth
3c377f77bb Merge pull request #577 from chriseth/sol_constCleanup
Solidity const cleanup
2014-12-10 17:19:01 +01:00
Christian
373f0da267 Helper functions to access memory. 2014-12-10 17:15:17 +01:00
Lefteris Karapetsas
aebd1490bd Styling issues and add TODO in Interfacehandler 2014-12-10 16:44:54 +01:00
Christian
130ff85e85 String types. 2014-12-10 16:30:20 +01:00
Marek Kotewicz
f86187a6e8 Merge branch 'develop' into build_enhancement 2014-12-10 15:32:50 +01:00
chriseth
e8b7d26664 Const change. 2014-12-10 14:37:37 +01:00
Christian
da62403e79 Stylistic changes. 2014-12-10 14:33:30 +01:00
Lefteris Karapetsas
fbc35003ce Natspec title and author tag.
- Adding the title and author natspec documentation tags for contracts
- Also using the author tag for functions now
- Tests
2014-12-10 13:24:48 +01:00
Christian
5edffeba19 Take variable stack size correctly into account for return value packer. 2014-12-10 12:51:26 +01:00
Marek Kotewicz
ff445324a3 updated cmake policies 2014-12-10 12:49:12 +01:00
Marek Kotewicz
37f7535a00 jsonrpc option in cmakes, removed all warnings 2014-12-10 11:39:41 +01:00
Christian
35d5b28fae Variable-size stack elements for expression compiler. 2014-12-08 22:26:22 +01:00
Christian
b7d856ed5f Changes in compiler to support variably sized stack elements. 2014-12-08 19:02:40 +01:00
Christian
9b68033efc Cleanup before return. 2014-12-08 18:19:25 +01:00
Christian
9e120d4585 Consts in SourceReferenceFormatter. 2014-12-08 17:47:02 +01:00
Christian
e8b18e95ce Move implementations of ::accept out of AST.cpp. 2014-12-08 17:47:02 +01:00
Christian
cd5f495861 Register variably-sized variables on stack. 2014-12-08 16:56:41 +01:00
Marek Kotewicz
bc616ecea9 Merge branch 'develop' into build_enhancement 2014-12-08 14:49:24 +01:00
Marek Kotewicz
5104bd939f removed few unused lines from cmakes 2014-12-08 14:12:28 +01:00
Marek Kotewicz
6afb6757d7 Merge branch 'develop' into build_enhancement 2014-12-08 13:56:30 +01:00
Christian
a15b03e991 Some more consts. 2014-12-08 13:29:14 +01:00
Christian
e0ed942519 Removed unused members. 2014-12-08 13:15:43 +01:00
Christian
f636ac6fc4 More const cleanup. 2014-12-08 13:15:43 +01:00
Christian
13640d7db8 Clear separation between ASTVisitor and ASTConstVisitor and more const specifiers. 2014-12-08 12:53:56 +01:00
Christian
c78c330634 Const AST visitor for the compiler. 2014-12-08 12:49:03 +01:00
Christian
41b8d7b7f1 Const functions for ASTVisitor and const ASTPrinter. 2014-12-08 12:49:03 +01:00
Christian
57e6827cb5 Calling functions of other contracts. 2014-12-08 12:39:29 +01:00