Commit Graph

16524 Commits

Author SHA1 Message Date
Bob Summerwill
8c5a56d864 Merge pull request #770 from bobsummerwill/standalone_changes
Make the Solidity repository standalone
2016-08-01 01:47:51 -07:00
Bob Summerwill
4ee2114127 Make the Solidity repository standalone.
This commit is the culmination of several months of work to decouple Solidity from the webthree-umbrella so that it can be developed in parallel with cpp-ethereum (the Ethereum C++ runtime) and so that even for the Solidity unit-tests there is no hard-dependency onto the C++ runtime.

The Tests-over-IPC refactoring was a major step in the same process which was already committed.

This commit contains the following changes:

- A subset of the CMake functionality in webthree-helpers was extracted and tailored for Solidity into ./cmake.   Further cleanup is certainly possible.
- A subset of the libdevcore functionality in libweb3core was extracted and tailored for Solidity into ./libdevcore.   Further cleanup is certainly possible
- The gas price constants in EVMSchedule were orphaned into libevmasm.
- Some other refactorings and cleanups were made to sever unnecessary EVM dependencies in the Solidity unit-tests.
- TravisCI and Appveyor support was added, covering builds and running of the unit-tests (Linux and macOS only for now)
- A bug-fix was made to get the Tests-over-IPC running on macOS.
- There are still reliability issues in the unit-tests, which need immediate attention.    The Travis build has been flipped to run the unit-tests 5 times, to try to flush these out.
- The Emscripten automation which was previously in webthree-umbrella was merged into the TravisCI automation here.
- The development ZIP deployment step has been commented out, but we will want to read that ONLY for release branch.

Further iteration on these changes will definitely be needed, but I feel these have got to sufficient maturity than holding them back further isn't winning us anything.    It is go time :-)
2016-08-01 01:45:11 -07:00
Nicolai
9f772cb9a1 Remove 'reduce/reduce conflicts' with comma operator 2016-07-30 19:27:32 +02:00
Nicolai
b2de2a9d0f Fix reduce/reduce conflicts w/ multiple FunctionCall in Expression 2016-07-30 16:03:10 +02:00
Nicolai
35182c7305 Remove TypeParameterList 2016-07-30 15:34:46 +02:00
Denton Liu
e3a942c738 Throw if send() fails in example code 2016-07-29 14:04:47 -04:00
chriseth
56727d61a6 Merge pull request #756 from chriseth/alloczero
Bugfix: Allocate empty array.
2016-07-29 16:58:25 +02:00
Denton Liu
5687beb424 Add unary operations to the table 2016-07-28 15:25:58 -04:00
Denton Liu
7a20324142 Link to order of precedence table 2016-07-28 15:19:04 -04:00
chriseth
58cc6cbb37 Bugfix: Allocate empty array. 2016-07-28 17:24:18 +02:00
Bob Summerwill
ea4fd3c6e2 Merge pull request #751 from ethereum/chriseth-patch-3
Mix is discontinued
2016-07-28 01:30:17 -07:00
chriseth
4f0f9fcdbe Mix is discontinued 2016-07-27 17:42:21 +02:00
Nicolai
97d7b8509c Fixes to expression 2016-07-27 16:42:33 +02:00
Denton Liu
8bf96b1c43 Remove >>> and >>>= operators 2016-07-27 10:30:20 -04:00
Denton Liu
71438157ce Revert "Remove comma operator"
This reverts commit 1ec74f8cc4.
2016-07-27 10:26:39 -04:00
chriseth
c8aa39e587 Correct source map definition. 2016-07-27 16:06:04 +02:00
Nicolai
cde629d48d Added wildcard to UsingForDeclaration 2016-07-27 16:03:40 +02:00
Nicolai
ec0933bf9f Imports => ImportDirective 2016-07-27 16:01:30 +02:00
chriseth
b72a693e39 Merge pull request #745 from Manidos/patch-1
Update contracts.rst
2016-07-27 12:15:50 +02:00
Manidos
fe45221952 Update contracts.rst
I've changed line 88, because **if (msg.sender == creator)** threw an exception in solidity browser compier.

Untitled:25:13: Error: Operator == not compatible with types address and contract TokenCreator
        if (msg.sender == creator)
            ^-------------------^
2016-07-27 13:27:56 +06:00
Denton Liu
ca5e6a6bd4 Fix assignment operators 2016-07-26 14:01:01 -04:00
Denton Liu
1ec74f8cc4 Remove comma operator 2016-07-26 13:54:17 -04:00
chriseth
2dbadbabb3 Merge pull request #721 from ethers/patch-5
mixedCase for modifiers
2016-07-26 18:25:46 +02:00
Nicolai
e584a8396a Remove assignment as expr. Add functionCall as primaryExpression 2016-07-26 15:44:22 +02:00
Nicolai
3009064533 Fix missing seperator from commit 8b450dd8 2016-07-26 15:13:26 +02:00
Nicolai
8b450dd808 Added PlaceholderStatement 2016-07-25 17:48:49 +02:00
Nicolai
3f5bff968f Add StorageLocation 2016-07-25 17:28:30 +02:00
Nicolai
1a661c562a Allow function to call modifiers 2016-07-25 16:53:15 +02:00
chriseth
17957d3a93 Merge pull request #738 from DennisBPeterson/patch-3
Added tx.origin caution
2016-07-25 16:23:50 +02:00
Nicolai
bd2562ffd3 Order expression according to PR 732 2016-07-23 16:15:01 +02:00
Nicolai
28c4a0a3ab New regex for StringLiteral 2016-07-23 02:35:20 +02:00
Nicolai
5512b85594 Begin fixing expression syntax 2016-07-23 01:45:10 +02:00
DennisBPeterson
6a6f0623b0 Added tx.origin caution 2016-07-21 17:06:53 -04:00
chriseth
6610add63e Merge pull request #731 from Denton-L/move-token
Move `in` as a keyword to reserved word section
2016-07-21 14:34:22 +02:00
chriseth
f5ffb56f2d Merge pull request #734 from ZhuWeiyang/patch-1
Missing '_' in modifier 'timedTransitions'
2016-07-21 14:33:20 +02:00
Weiyang Zhu
b8d75340af Missing '_' in modifier 'timedTransitions' 2016-07-21 14:10:53 +08:00
Denton Liu
8fbe994075 Fix isCompareOp() 2016-07-20 17:05:24 -04:00
Denton Liu
5d09211d50 Add link to operator table 2016-07-20 15:48:55 -04:00
Denton Liu
dfe55a929d Create order of precedence table 2016-07-20 15:48:54 -04:00
Denton Liu
827208d1d6 Move in as a keyword to reserved word section 2016-07-20 15:42:18 -04:00
chriseth
077c8ad83d Merge pull request #699 from chriseth/sourceLocation
WIP: Source location as part of AST.
2016-07-20 19:46:31 +02:00
chriseth
9f7a55d2b2 Source mapping documentation. 2016-07-20 19:45:45 +02:00
chriseth
c55584d3e2 Source location as part of AST. 2016-07-20 19:45:43 +02:00
chriseth
980abfe52a Merge pull request #720 from chriseth/formalState
Formal Verification: Handle external effects.
2016-07-20 19:37:57 +02:00
Nicolai
1c341add59 Added UsingDeclaration 2016-07-20 19:31:05 +02:00
Nicolai
ad2784b333 Extend EventDefinition 2016-07-20 19:17:03 +02:00
Nicolai
e1c69b11f4 Fix missing 'ether' from NumberUnit. Extend StringLiteral syntax 2016-07-20 17:07:26 +02:00
Nicolai
9324393975 Added missing (u)fixed types 2016-07-20 16:49:14 +02:00
Nicolai
da8b768713 Extend NumberLiteral with units 2016-07-20 16:23:30 +02:00
Nicolai
5abb9b6e41 Added imports 2016-07-20 16:14:23 +02:00