Commit Graph

15571 Commits

Author SHA1 Message Date
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
dbfd0c6019 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
99a8f58ee3 Code generation for events. 2015-01-29 21:33:46 +01:00
Christian
4e72a77546 Code generation for events. 2015-01-29 21:33:46 +01:00
Christian
a86a3a2452 Parsing of events. 2015-01-29 21:26:11 +01:00
Christian
4a6ed84386 Parsing of events. 2015-01-29 21:26:11 +01:00
Lefteris Karapetsas
5da76a3bbd FunctionType now returns const ref for Declaration 2015-01-29 19:18:50 +01:00
Lefteris Karapetsas
3701543ae8 FunctionType now returns const ref for Declaration 2015-01-29 19:18:50 +01:00
Lu Guanqun
5c828dc8b2 implement named arguments 2015-01-30 01:32:55 +08:00
Lefteris Karapetsas
04190798eb Minor fixes plus a rebase merge fix 2015-01-29 18:21:51 +01:00
Lefteris Karapetsas
866bd01bef Removing Function and Param Description
- Removing FunctionDescription and ParamDescription. All the data should
  now be in the FunctionType

- Plus using the FunctionTypePointer alias in a few places
2015-01-29 17:12:17 +01:00
Lefteris Karapetsas
dcd47be6ca Removing Function and Param Description
- Removing FunctionDescription and ParamDescription. All the data should
  now be in the FunctionType

- Plus using the FunctionTypePointer alias in a few places
2015-01-29 17:12:17 +01:00
Lefteris Karapetsas
e77fc5c7e0 Contract Interface Functions now return FunctionType
- Enchanced Function Type by declaration so that it can provide all the
  required information at each place interface functions are consumed

- Changed all places where interface functions was used.

- Simplified Mix's FunctionDefinition code
2015-01-29 17:11:13 +01:00
Lefteris Karapetsas
005100c486 Contract Interface Functions now return FunctionType
- Enchanced Function Type by declaration so that it can provide all the
  required information at each place interface functions are consumed

- Changed all places where interface functions was used.

- Simplified Mix's FunctionDefinition code
2015-01-29 17:11:13 +01:00
Marek Kotewicz
4f0002b007 Merge commit '86b70485a615c65919513426d407d7ab3c498a6f' into ethereumjs
Conflicts:
	libjsqrc/ethereumjs/dist/ethereum.js.map
	libjsqrc/ethereumjs/dist/ethereum.min.js
2015-01-29 15:27:17 +01:00
Marek Kotewicz
2994eb4e63 Squashed 'libjsqrc/ethereumjs/' changes from 6d59047..94e0e5a
94e0e5a Merge branch 'cpp' into cpp2
8613382 moved comment
df17c33 event example
c8ee08c contract.js simplified
842b8cf event.js
e1c0862 Fix for API.
61e8ae2 events init
2544d2c tests for abi.filters
ea7c2fc abi function type
63d9c07 fixed incoming messages
1345a8c log error on console, if api returns an error
83fad0f removed fromFixed, toFixed && offset from tests
c2cb2be removed web3.eth.account, fixed #37
09f6335 fixed #23
42a25f2 evaluating solidity method input params

git-subtree-dir: libjsqrc/ethereumjs
git-subtree-split: 94e0e5ab7d8ec9adcd03fedc3abe5cf6444a5123
2015-01-29 15:26:42 +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
chriseth
d6e77f193a Merge pull request #889 from LefterisJP/sol_ExprCompilerEncapsulation
No longer exposing retrieveValueFromStorage() as a public function
2015-01-29 14:53:10 +01:00
Lefteris Karapetsas
71d8bde6d7 No longer exposing retrieveValueFromStorage() as a public function
- plus small fix in EndToEndTests
2015-01-29 13:34:07 +01:00
Lefteris Karapetsas
bdb4462673 No longer exposing retrieveValueFromStorage() as a public function
- plus small fix in EndToEndTests
2015-01-29 13:34:07 +01:00
Christian
11d068bbbb Common class that contains AST node documentations. 2015-01-29 12:27:31 +01:00
chriseth
8c27fccae9 Merge pull request #887 from chriseth/sol_excludeStd
Exclude standard contracts by default.
2015-01-29 10:41:04 +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
Gav Wood
0d0c47f588 Revert to using require for Solidity - it works. 2015-01-28 17:34:57 -08:00
Christian
f4b52ebac1 Exclude standard contracts by default. 2015-01-29 01:29:43 +01:00
Christian
f054a4af7b Exclude standard contracts by default. 2015-01-29 01:29:43 +01:00
Christian
1d437b5083 Exclude standard contracts by default. 2015-01-29 01:29:43 +01:00
Gav Wood
1ea693f3ff Merge pull request #877 from chriseth/sol_super
Super keyword.
2015-01-28 16:20:33 -08:00
Gav Wood
9f3b2e00b4 Merge pull request #883 from debris/cors
removed CorsHTTPServer
2015-01-28 16:17:06 -08:00
Gav Wood
66c950d921 Merge pull request #719 from winsvega/develop
Transaction rlp and vrs support in .json files
2015-01-28 16:16:23 -08:00
Christian
f377960012 Remove test different_argument_numbers. 2015-01-29 01:03:28 +01:00
Christian
6ec9586de3 Style changes. 2015-01-29 00:32:21 +01:00
Christian
c3cc5b737a Super keyword. 2015-01-29 00:29:43 +01:00
Christian
ae5a6a235c Super keyword. 2015-01-29 00:29:43 +01:00
Lefteris Karapetsas
4e67aa413e Various fixes pertaining to State Variable accessors 2015-01-28 21:46:17 +01:00
Lefteris Karapetsas
b5a786dda1 Various fixes pertaining to State Variable accessors 2015-01-28 21:46:17 +01:00
Lefteris Karapetsas
18eeee536d Function name clashing with Statevariable accessor test 2015-01-28 21:46:17 +01:00
Lefteris Karapetsas
1b25f85a66 Explicitly specify insertion to exported functions 2015-01-28 21:46:17 +01:00
Lefteris Karapetsas
59bf3e91e6 Multiple elementary state variable accessors test 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
c6fcb8555f Simplify FunctionType's Vardecl constructor 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
ebafd05580 EVM Code for simple accessor function is properly generated 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
2947e038d2 EVM Code for simple accessor function is properly generated 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
cc906541f6 Various small fixes for Sol Automatic Accessors 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
ff91ab96ea Fixes after rebasing on develop 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
1aa77295e5 State variable accessors code is now more organized
- FunctionDescription is the abstraction of what should describe a
  function. It can either be a VariableDeclaration of a
  FunctionDefinition.

- ParamDescription is what FunctionDescription uses to describe its
  parameters for outside use purposes with a pair of (name, type)
  strings

- Modified code around Solidity and especially interface handler to
  adapt to this change
2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
6e793b2499 Work on ExpressionCompiler preparing for Accessors from storage 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
9e8fa8b08a Tests for variable state accessors are in progress 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
3ec6c0b1cb All interface functions are external. 2015-01-28 21:46:16 +01:00