Commit Graph

10688 Commits

Author SHA1 Message Date
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
Lefteris Karapetsas
98cde6b4dd Fix in addStateVariableAccessor and adjustment of parser tests 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
53ef6900b7 Adding isStateVariable attribute to a VarDecl 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
b95048768d Solidity EntryLabel now uses a generic declaration
- Instead of a FunctionDefinition
2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
3f5eb96584 Various small fixes for Sol Automatic Accessors 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
468f26b1cc Modifications to Mix to adapt to FunctionDescription 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
5c7359aa09 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
3cc0492301 Work in progress for state variable accessors
- Changed the code so that a generic declaration with the combination of
  a function type can be used wherer a function definition was used
  before

- Since using an std::pair everywhere is really tiring with this commit
  I am in the process of abstracting it into a function
2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
9759eec2da Fix in addStateVariableAccessor and adjustment of parser tests 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
97c31b3e7d Parsing accessor functions for public contract state variables
- During the contract parsing depending on whether or not a state
  variable is public an extra acessor FunctionDefinition is parsed for it
2015-01-28 21:46:16 +01:00
Christian
8c8def6b3c Fix stack size of typetypes. 2015-01-28 18:19:01 +01:00
Christian
282d4b8add Fix stack size of typetypes. 2015-01-28 18:19:01 +01:00
Marek Kotewicz
2ecaf20678 removed CorsHTTPServer 2015-01-28 15:25:42 +01:00
Christian
2903799074 Find some reasonable contract if nothing is supplied. 2015-01-28 14:25:42 +01:00
Christian
77374a46ce Cleaner solution to provide standard sources. 2015-01-28 13:39:04 +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
Christian
a07b3f1da8 Dockerfile to build the solidity compiler using emscripten. 2015-01-28 10:01:46 +01:00
Gav Wood
f9109f2eea LogFilter supports new, better, filter mechanism.
Exposed to JS API.
2015-01-27 16:56:39 -08:00
Gav Wood
5d3e21fd93 LogFilter supports new, better, filter mechanism.
Exposed to JS API.
2015-01-27 16:56:39 -08:00
winsvega
078de706d2 namespace line 2015-01-27 20:07:41 +03:00
winsvega
c4a8cde552 some state tests 2015-01-27 20:05:25 +03:00
Lu Guanqun
3e8876d57e simplify solc's option output
The original one is too verbose.
2015-01-27 23:51:33 +08:00
Marek Kotewicz
0678c61293 Merge branch 'ethereumjs' into natspec 2015-01-27 14:06:15 +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
chriseth
2f0e5af012 Merge pull request #857 from LianaHus/StringToHash
conversion for string to/from hash
2015-01-27 13:53:13 +01:00
liana
cad3d87482 - cosmetic changes 2015-01-27 13:21:20 +01:00
liana
6ba82b1427 -redesigned appendTypeConversion function 2015-01-27 12:55:40 +01:00
liana
b06de7e8de -added test case for hash8 to string1 conversion 2015-01-27 10:48:10 +01:00
Marek Kotewicz
86d34a7659 Squashed 'libjsqrc/ethereumjs/' changes from d223ac0..1f5a6f1
1f5a6f1 Merge branch 'develop' into cpp
da4c2d5 removed promise dependency, updated readme, fixed node.js version of lib
5b70196 upgraded version to 0.0.9
c595632 gulp
c561039 Merge branch 'master' into sync
a7f4448 Merge branch 'develop' into sync
7807a4f polling every second
e5d294d return null instead of undefined, if not provider is set
d0b6f36 watches are calling callback with a single result object, not a full jsonrpc response
fa93480 added addressbook
063f69d added local
b2d23b9 Merge pull request #32 from kumavis/patch-1
e97478c WebsocketProvider - fixed incorrect variable name
507241f shh getMessage => getMessages

git-subtree-dir: libjsqrc/ethereumjs
git-subtree-split: 1f5a6f13419415b4c05519e126eedcdf815aff7c
2015-01-27 09:45:38 +01:00
Marek Kotewicz
c816b0c8ee Merge commit 'ec71f23423a3f681e0106ae1b77070f10decd1bc' into ethereumjs 2015-01-27 09:45:38 +01:00
Gav Wood
8dbdaa79e3 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop 2015-01-26 15:02:06 -08:00
Gav Wood
219f5d7e52 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop 2015-01-26 15:02:06 -08:00
Gav Wood
8d09d8deb7 Merge pull request #856 from chriseth/sol_modifiers
Function modifiers.
2015-01-26 15:01:25 -08:00