Commit Graph

5282 Commits

Author SHA1 Message Date
chriseth
8b68d476c2 Fix optimizer tests. 2016-08-01 12:17:04 +02: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
chriseth
56727d61a6 Merge pull request #756 from chriseth/alloczero
Bugfix: Allocate empty array.
2016-07-29 16:58:25 +02: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
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
chriseth
2dbadbabb3 Merge pull request #721 from ethers/patch-5
mixedCase for modifiers
2016-07-26 18:25:46 +02:00
chriseth
17957d3a93 Merge pull request #738 from DennisBPeterson/patch-3
Added tx.origin caution
2016-07-25 16:23:50 +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
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
chriseth
427deb43f5 Merge pull request #728 from chriseth/formalout
Provide formal version in json output.
2016-07-19 17:46:33 +02:00
chriseth
e10297a2ef Merge pull request #704 from ethereum/malleability
Expanded malleability risks.
2016-07-18 19:34:35 +02:00
chriseth
f24d70e914 Merge pull request #729 from Denton-L/minor-corrections
Minor corrections to documentation
2016-07-18 19:09:40 +02:00
chriseth
9a9a815fc9 Provide formal version in json output. 2016-07-18 18:26:56 +02:00
chriseth
417fde3eab Merge pull request #711 from chriseth/canonical
Store non-canonical version.
2016-07-18 16:58:38 +02:00
ethers
70f7df6430 mixedCase for modifiers 2016-07-14 03:29:15 -07:00
chriseth
26e5faa038 Handle external effects. 2016-07-13 11:16:00 +02:00
Denton Liu
5d113600aa Fix typos 2016-07-12 17:06:49 -04:00
Denton Liu
f8aec4d89e Update copyright 2016-07-11 17:04:44 -04:00
chriseth
e90ebcd63b Store non-canonical version. 2016-07-11 15:31:38 +02:00
chriseth
efad1e05ac Merge pull request #680 from Denton-L/fix-679
Add section about default values of variables
2016-07-08 20:15:28 +02:00
chriseth
e5061615ce Merge pull request #689 from redsquirrel/patch-1
Removing "easy" language
2016-07-08 20:12:42 +02:00
Denton Liu
cf0579a86e Incorporate changes 2016-07-08 14:07:58 -04:00
chriseth
f8d67a8ea6 Merge pull request #700 from Denton-L/sec
Minor Changes to #693
2016-07-08 19:54:01 +02:00
Denton Liu
d94d2fc901 Repharse sentence 2016-07-08 12:27:04 -04:00
chriseth
8df9d49c44 Merge pull request #703 from raineorshine/patch-2
Documentation: Add Solidity Tools
2016-07-08 17:55:27 +02:00
chriseth
e4b04870eb Merge pull request #701 from svantetobias/develop
Fixed mix-up of variable names in Sent event
2016-07-08 17:47:39 +02:00
Denton Liu
06fa66b2e6 Mention dangers of polymorphism 2016-07-07 16:34:05 -04:00
Denton Liu
ab3531ffc3 Incorporate corrections 2016-07-07 13:53:57 -04:00
chriseth
b71144dd53 Expanded malleability risks. 2016-07-06 18:33:38 +02:00
Raine Revere
f737aa9a1b Documentation: Add Solidity Tools 2016-07-06 09:39:32 -06:00
svantetobias
d45f241069 Fixed mix-up of variable names in Sent event
event Sent(address from, address to, uint amount) defines "amount" variable but it is two times referred to as "value", which can be a bit confusing for the reader.
2016-07-06 10:53:08 +02:00
Denton Liu
811980afe6 Reformat code 2016-07-05 11:55:09 -04:00
Denton Liu
70e5af11ef Correct grammar and language 2016-07-05 11:55:09 -04:00
Denton Liu
14f57568dc Apply fixes 2016-07-05 11:44:39 -04:00
chriseth
2edbd0605c Merge pull request #693 from chriseth/sec
Security Considerations
2016-07-05 17:20:30 +02:00
Denton Liu
d4d7d9854a Add reference to default values in mapping section 2016-07-04 10:52:08 -04:00
Denton Liu
cb5fc23014 Fix incorrect directives 2016-07-04 10:51:02 -04:00
chriseth
3b494348ea Fixes. 2016-07-04 15:39:31 +02:00