Commit Graph

4641 Commits

Author SHA1 Message Date
chriseth
401c694b85 Merge pull request #282 from chriseth/docs
Imported documentation.
2015-12-07 22:36:43 +01:00
chriseth
64fa9ca478 Imported documentation. 2015-12-07 22:35:51 +01:00
chriseth
ba8bc4565a Merge pull request #279 from doublethinkco/develop
Fix a "Solidity::solidity" dependency edge in the CMake file for soltest
2015-12-06 12:40:37 +01:00
Bob Summerwill
942666bce9 Fix a "Solidity::solidity" dependency edge in the CMake file for soltest, which got missed in the previous PR.
This change resolves an inconsistency which was discovered in the automated dependency graph generation.
softest was being declared as dependent on the Solidity module, not on just libsolidity, as it should be.
2015-12-05 19:15:53 -08:00
Lefteris Karapetsas
02e4aa94ff Merge pull request #274 from doublethinkco/cmake_fixes
Corrected case for Solidity library entry in CMake file.
2015-12-04 13:09:45 +01:00
Bob Summerwill
22c22d249c Merge pull request #1 from LefterisJP/cmake_fixes
Fix the build - library is not a module
2015-12-04 03:56:17 -08:00
Lefteris Karapetsas
40cfcd40d7 Fix the build - library is not a module
The Module::Object rule is something only eth_use() and friends can
understand. target_link_libraries() on the other hand needs only the
actual library object to link to.
2015-12-04 10:11:09 +01:00
Bob Summerwill
2a49857ff9 Alternative case-consistency fix for libsolidity. Just using fully-qualified scoped name in eh_use instead. 2015-12-03 10:15:27 -08:00
Bob Summerwill
d15e9a172d Corrected case for Solidity library entry in CMake file. 2015-12-03 00:17:35 -08:00
chriseth
4dc2445edd Merge pull request #265 from chriseth/version
Increment version to 0.2.0 (includes breaking changes).
2015-12-01 16:20:49 +01:00
chriseth
8342424815 Increment version to 0.2.0 (includes breaking changes). 2015-12-01 16:06:14 +01:00
chriseth
d909f3a57b Merge pull request #262 from chriseth/bind_codegeneration
Code generation for bound methods
2015-12-01 14:07:33 +01:00
chriseth
7f415da886 Code generation for calling bound methods. 2015-12-01 12:35:34 +01:00
chriseth
e853eb22fa Merge pull request #261 from chriseth/dataloc
Bugfix for explicit memory types in libraries.
2015-12-01 12:15:17 +01:00
chriseth
8cbe99fd1f Merge pull request #260 from chriseth/stackrotation
Simplify and optimise stack rotation.
2015-11-30 20:40:41 +01:00
chriseth
7e3bf833ae Bugfix for explicit memory types in libraries. 2015-11-30 19:46:26 +01:00
chriseth
35b310cfaf Simplify and optimise stack rotation. 2015-11-30 18:50:47 +01:00
chriseth
e9c7837c15 Merge pull request #251 from chriseth/bind2
Bind library functions to types.
2015-11-30 16:06:44 +01:00
chriseth
a8736b7b27 Merge pull request #256 from chriseth/selfdestruct
Introduce selfdestruct alias for suicide.
2015-11-30 16:06:18 +01:00
chriseth
a3801be40c Merge pull request #257 from chriseth/fixConstructorFixedArray
Bugfix for constructor unpacking with fixed-size arrays.
2015-11-30 16:05:02 +01:00
chriseth
6796afc2f8 Bugfix for constructor unpacking with fixed-size arrays. 2015-11-29 01:03:39 +01:00
chriseth
f9e52c9db1 Also check the object type for bound functions. 2015-11-29 00:16:07 +01:00
chriseth
93b3237c6a Add bound functions to types. 2015-11-29 00:16:07 +01:00
chriseth
b97bb086de Introduce selfdestruct alias for suicide. 2015-11-29 00:10:07 +01:00
chriseth
d71cd3aa2b Added the using x for y directive. 2015-11-26 17:49:39 +01:00
chriseth
09b2f9acb7 Resolve type names using regular AST visit. 2015-11-26 17:49:02 +01:00
chriseth
c806b9bcdb Merge pull request #246 from chriseth/refactor
Refactoring - more flexible contracts.
2015-11-26 17:40:40 +01:00
chriseth
4aaa150674 Convert filter to template function. 2015-11-26 17:28:44 +01:00
chriseth
cc2df5f9f2 Invalidate cached members if scope changes. 2015-11-26 15:37:55 +01:00
chriseth
2e4f4e3363 Fix smart pointer lifetime issue in tests. 2015-11-26 15:37:55 +01:00
chriseth
b47d593252 Do not store elements of a contract by AST node type. 2015-11-26 15:37:55 +01:00
chriseth
86495dfc57 Make members context-sensitive. 2015-11-26 15:37:55 +01:00
chriseth
c498dcce22 Merge pull request #222 from chriseth/newArrays
Dynamically create memory arrays.
2015-11-26 15:28:28 +01:00
chriseth
e06768e8b5 Fix MSVC errors and warnings. 2015-11-26 14:47:28 +01:00
chriseth
6a2a946200 Make some functions const. 2015-11-26 13:44:09 +01:00
chriseth
879844dd0a Code generation for creating arrays. 2015-11-26 13:10:12 +01:00
chriseth
bf55aa6ae2 Type checking for creating new arrays. 2015-11-26 13:10:12 +01:00
chriseth
30b325fdc1 Allow "new expressions" also for general type names.
Breaking change: If you want to send value with a contract creation, you
have to use parentheses now:

`(new ContractName).value(2 ether)(arg1, arg2)`
2015-11-26 13:10:12 +01:00
chriseth
cd94aa978a Merge pull request #249 from chriseth/fixemscripten
Fix solidity dependencies.
2015-11-26 13:09:44 +01:00
chriseth
f86451cd68 Fix solidity dependencies. 2015-11-26 12:40:15 +01:00
chriseth
b49b268600 Merge pull request #239 from chriseth/why3Fix
Again some why3 fixes with regards to separators in blocks.
2015-11-26 11:52:57 +01:00
chriseth
20542d1623 Style. 2015-11-25 14:24:00 +01:00
chriseth
36ba7d11ca Again some why3 fixes with regards to separators in blocks. 2015-11-25 14:24:00 +01:00
chriseth
ce1e73a734 Merge pull request #245 from chriseth/buildfixes
Build dependency fixes.
2015-11-25 14:03:29 +01:00
Gav Wood
8d16c6e9e8 Merge pull request #248 from ethereum/hot_gav
Fixups for new API.
2015-11-24 20:15:59 +01:00
chriseth
aa8e9e66ed Merge pull request #244 from chriseth/fix_stringAlloc
Fix for memory allocation bug.
2015-11-24 16:18:41 +01:00
chriseth
46bc70e709 Build dependency fixes. 2015-11-24 16:12:42 +01:00
chriseth
68f1da1e3a Fixed string inside struct allocation bug. 2015-11-24 14:54:37 +01:00
chriseth
588e4232eb Test for allocation bug. 2015-11-24 14:54:18 +01:00
chriseth
e59b9b445a Merge pull request #241 from chriseth/why3VariablesInConditions
Why3 variables in conditions
2015-11-24 11:33:35 +01:00