Commit Graph

1033 Commits

Author SHA1 Message Date
Lefteris Karapetsas
4e67aa413e 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
59bf3e91e6 Multiple elementary state variable accessors test 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
cc906541f6 Various small fixes for Sol Automatic Accessors 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
9e8fa8b08a Tests for variable state accessors are in progress 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
Christian
8c8def6b3c Fix stack size of typetypes. 2015-01-28 18:19:01 +01:00
Christian
77374a46ce Cleaner solution to provide standard sources. 2015-01-28 13:39:04 +01:00
Gav Wood
f9109f2eea LogFilter supports new, better, filter mechanism.
Exposed to JS API.
2015-01-27 16:56:39 -08:00
Marek Kotewicz
0678c61293 Merge branch 'ethereumjs' into natspec 2015-01-27 14:06:15 +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
b06de7e8de -added test case for hash8 to string1 conversion 2015-01-27 10:48:10 +01:00
Marek Kotewicz
c816b0c8ee Merge commit 'ec71f23423a3f681e0106ae1b77070f10decd1bc' into ethereumjs 2015-01-27 09:45:38 +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
Gav Wood
219f5d7e52 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop 2015-01-26 15:02:06 -08:00
Gav Wood
dd87fbccd5 Merge pull request #856 from chriseth/sol_modifiers
Function modifiers.
2015-01-26 15:01:25 -08:00
Gav Wood
0cdc793257 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop 2015-01-26 15:00:48 -08:00
Gav Wood
b93f8a1808 Fix jsTo... 2015-01-26 15:00:07 -08:00
Gav Wood
f4a92d4caf Merge pull request #871 from debris/commonjs_tests
new tests for libdevcore/CommonJS (failing)
2015-01-26 07:21:16 -08:00
Marek Kotewicz
e779df09d4 failing commonjs tests 2015-01-26 16:05:19 +01:00
liana
f5b739da9a - modifications according to PR review 2015-01-26 13:24:16 +01:00
Christian
2b2da431bc Call modifiers on constructor. 2015-01-26 10:23:39 +01:00
Christian
c657fe9611 Modifier overrides and callgraph analysis. 2015-01-26 10:23:39 +01:00
Christian
67073948af Compilation of function modifiers. 2015-01-26 10:23:39 +01:00
Christian
c86a46b84d Type resolution for function modifiers. 2015-01-26 10:23:39 +01:00
Christian
dabf947679 Function modifier parsing. 2015-01-26 10:23:39 +01:00
Christian
682a45290c Reverse order of inheritance in base list. 2015-01-26 10:20:46 +01:00
Gav Wood
99b31eab89 Merge pull request #839 from debris/natspec
synchronous ethereum.js && natspec
2015-01-23 17:04:57 -08:00
liana
5076f532d8 - added conversion for string/hash of equal sizes
- added tests
2015-01-23 17:45:37 +01:00
CJentzsch
42e6f9e8a8 correct test 2015-01-23 15:27:32 +01:00
CJentzsch
fe3c1ebe1f fix gasPrice*gasLimit + value overflow 2015-01-23 15:17:34 +01:00
Marek Kotewicz
a3bf025f3d Merge branch 'develop' into natspec 2015-01-22 20:14:07 +01:00
Marek Kotewicz
f4bb060d50 Squashed 'libjsqrc/ethereumjs/' changes from e1fcffc..edfb874
edfb874 changes in filter.js (not yet working)
c2d9c1a toDecimal/fromDecimal is using bignumber.js now
81a5813 removed unused pieces of code
08e2696 removed send queues from providermanager
c9693b4 contract.html example is working with sync api
ceb4357 sync api tests running, removed unused pieces of code
fc986a3 removed unused providers
0d2cccc http sync api

git-subtree-dir: libjsqrc/ethereumjs
git-subtree-split: edfb874527160cee14cca931377e55187b874cbe
2015-01-21 21:54:51 +01:00
Marek Kotewicz
5239db2243 Merge commit 'eb4984c0d036c1420e782ca136810e851e33fb37' into natspec 2015-01-21 21:54:51 +01:00
Gav Wood
fd773be884 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop 2015-01-20 11:33:41 -08:00
Gav Wood
5f54782ed0 Cleanups and addition AZ info. 2015-01-20 11:33:33 -08:00
Gav Wood
d3a3885aba Merge pull request #830 from chriseth/sol_overridesInConstructorContext
Include virtual function overrides in constructor context.
2015-01-20 10:02:18 -08:00
Marek Kotewicz
ca8aa01b34 Squashed 'libjsqrc/ethereumjs/' changes from 6a58db6..848c54d
848c54d _currentAbi object
380c152 solidity methods "overloading"

git-subtree-dir: libjsqrc/ethereumjs
git-subtree-split: 848c54dc4713d5c29993f1c41d16cd334e18081d
2015-01-20 17:48:08 +01:00
Marek Kotewicz
d6e82477ca Merge commit '53b4fda16d0b191be8ab986379a328aa38aaf916' into natspec 2015-01-20 17:48:08 +01:00
Christian
3ff1c3ec30 Include virtual function overrides in constructor context. 2015-01-20 15:58:04 +01:00
Lefteris Karapetsas
8b29bdaf10 Absence of tag in Natspec is now considered @notice 2015-01-20 13:15:43 +01:00
Gav Wood
1fc3c7b498 Merge pull request #810 from debris/ethereumjs
Ethereumjs
2015-01-19 20:59:58 -08:00
Christian
609268ee62 Implicit conversion from derived to base. 2015-01-19 23:35:04 +01:00
Christian
961cb5b90c Call constructors of base classes. 2015-01-19 23:35:04 +01:00
Christian
fe770957c6 Constructor arguments for base classes. 2015-01-19 23:35:04 +01:00
Christian
2e846c495b Explicit calls to base class function. 2015-01-19 23:35:04 +01:00
Christian
f84d8f2b50 Inheritance in compiler. 2015-01-19 23:35:04 +01:00
Christian
70cda182f2 Magic variables are only needed durinng name and type resolution, not during compilation. 2015-01-19 23:35:04 +01:00