Commit Graph

5538 Commits

Author SHA1 Message Date
chriseth
08c6a4e7ba Merge pull request #776 from chriseth/deploydocs
Deploydocs
2016-08-01 16:10:26 +02:00
chriseth
93ebaa4822 Reset knowledge in optimizer for path joins. 2016-08-01 15:30:21 +02:00
chriseth
ac0d138800 Test case. 2016-08-01 15:30:19 +02:00
chriseth
21a7dda733 Merge pull request #773 from bobsummerwill/enable_release_flow
Enable the Emscripten release flow
2016-08-01 15:29:33 +02:00
chriseth
6c4b9bf1d4 Merge pull request #761 from chriseth/fixOptimizerTests
Fix optimizer tests.
2016-08-01 15:28:18 +02:00
Bob Summerwill
8c715b7f97 Remove unused jsonrpcstub code in cmake/
Fixes https://github.com/ethereum/solidity/issues/779
2016-08-01 03:54:34 -07:00
chriseth
23a4d07821 Merge pull request #750 from ethereum/chriseth-patch-2
Correct source map definition.
2016-08-01 12:44:38 +02:00
chriseth
267b32df83 Merge pull request #764 from Denton-L/make-safe
Throw if send() fails in example code
2016-08-01 12:43:21 +02:00
chriseth
66133469e9 Merge pull request #732 from Denton-L/document-precedence
Document precedence
2016-08-01 12:40:24 +02:00
chriseth
8b68d476c2 Fix optimizer tests. 2016-08-01 12:17:04 +02:00
chriseth
d5e536a4fb Made snippet work as is. 2016-08-01 12:14:17 +02:00
cseberino
a20e03135b Update contracts.rst 2016-08-01 12:12:06 +02:00
chriseth
f463382f9d Bugfix: Correctly use srcmap-runtime. 2016-08-01 12:05:50 +02:00
Bob Summerwill
6a40e10ac2 Enable the Emscripten release flow.
Now that the standalone changes are committed to develop we need to "flush the pipe".
When it is working we can disable the webthree-umbrella original.
2016-08-01 02:53:59 -07:00
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