Commit Graph

8277 Commits

Author SHA1 Message Date
Alex Beregszaszi
35feb6d47c Add tests for relevant metadata files 2017-07-19 14:57:12 +01:00
Alex Beregszaszi
f3e591eedd Add template for merging sets 2017-07-19 14:56:40 +01:00
Alex Beregszaszi
89a1e97e7d Avoid cyclic imports in referencedSourceUnits 2017-07-19 14:56:40 +01:00
Alex Beregszaszi
c617336587 Only include files usde in metadata 2017-07-19 14:56:40 +01:00
Alex Beregszaszi
ed592d6ccb Add option to recurse referencedSourceUnits 2017-07-19 14:56:40 +01:00
Alex Beregszaszi
a9bddf71aa Add referencedSourceUnits() helper 2017-07-19 14:56:40 +01:00
Alex Beregszaszi
1b0ef0b785 Add sourceUnit() helper to Declaration 2017-07-19 14:56:40 +01:00
Alex Beregszaszi
b3db1c361c Warn if this is used in constructor 2017-07-19 06:47:36 -07:00
Yoichi Hirai
84f8e7a467 Merge pull request #2602 from ethereum/emscripten-shrink
Remove LINKABLE from Emscripten
2017-07-19 15:12:39 +02:00
Alex Beregszaszi
55600f2c51 Add test for compileStandard 2017-07-19 13:45:00 +01:00
Alex Beregszaszi
bcd19456f4 Add test for compileSingle 2017-07-19 13:40:44 +01:00
Alex Beregszaszi
439b67e019 Add test for compileJSONCallback 2017-07-19 13:40:28 +01:00
Alex Beregszaszi
872e25413e Remove LINKABLE from Emscripten 2017-07-19 12:38:16 +01:00
chriseth
217a4ae7c1 Print information about types of errors. 2017-07-19 12:26:08 +01:00
Yoichi Hirai
e45e95f578 Merge pull request #2596 from ethereum/lll-test-optimiser
Run LLL contract tests with optimiser too
2017-07-19 11:49:27 +02:00
Yoichi Hirai
3ad326beba Merge pull request #2592 from ethereum/lll-simplify
LLL: remove useless code
2017-07-19 11:47:21 +02:00
Yoichi Hirai
0d50e53739 Merge pull request #2591 from ethereum/lll-no-optim
LLL: disable optimiser entirely if requested
2017-07-19 11:46:24 +02:00
Yoichi Hirai
2a46e1b0e2 Merge pull request #2589 from ethereum/rename-onchainmetadata
Rename onChainMetadata to metadata
2017-07-19 11:43:19 +02:00
Yoichi Hirai
b2879c1876 Merge pull request #2598 from ethereum/example-test-fixes
Enable more examples in the documentation for testing
2017-07-19 11:42:33 +02:00
Yoichi Hirai
becb7af4a2 Merge pull request #2597 from ethereum/modifier-internal
Mark modifiers as internal
2017-07-19 11:41:07 +02:00
Yoichi Hirai
d63e7df897 Merge pull request #2593 from ethereum/parser-error-text
Update parser error for pragma/import/contract
2017-07-19 11:40:09 +02:00
Yoichi Hirai
1563c3eb0f Merge pull request #2594 from ethereum/emscripten
Add comments to Emscripten flags
2017-07-19 11:39:02 +02:00
Yoichi Hirai
46d31f7179 Merge pull request #2590 from ethereum/natspec-cleanup
Remove unneccesary interface from Natspec
2017-07-19 11:37:10 +02:00
Yoichi Hirai
1a7b61ad05 Merge pull request #2588 from ethereum/test-optimiser
Run metadata and gas meter tests when optimiser is on too
2017-07-19 11:35:26 +02:00
Alex Beregszaszi
cffe52d6d9 Enable more examples in the documentation for testing 2017-07-19 00:05:05 +01:00
Alex Beregszaszi
644de755dc Mark modifiers as internal 2017-07-18 23:00:17 +01:00
Alex Beregszaszi
407a6e1a0f Run LLL contract tests with optimiser too 2017-07-18 22:52:18 +01:00
Alex Beregszaszi
5050164d9e Add comments to Emscripten flags 2017-07-18 21:59:32 +01:00
Alex Beregszaszi
c99d049ac0 Update parser error for pragma/import/contract 2017-07-18 21:23:49 +01:00
Alex Beregszaszi
fa2781d6da LLL: remove useless code 2017-07-18 21:12:43 +01:00
Alex Beregszaszi
c880550fbc LLL: disable optimiser entirely if requested 2017-07-18 21:09:05 +01:00
Alex Beregszaszi
5bb4bfb08b Remove unneccesary interface from Natspec 2017-07-18 21:05:34 +01:00
Alex Beregszaszi
6d8929a71a Rename onChainMetadata to metadata 2017-07-18 20:54:28 +01:00
Alex Beregszaszi
13edf1062f Run metadata and gas meter tests when optimiser is on too 2017-07-18 20:22:00 +01:00
Alex Beregszaszi
01fbc63623 Merge pull request #2585 from ethereum/tests-compilerstack
Do not use obscure CompilerStack methods in tests
2017-07-18 17:51:10 +02:00
Alex Beregszaszi
075715cf15 Do not use obscure CompilerStack methods in tests 2017-07-18 16:14:25 +01:00
Alex Beregszaszi
0eab808ece Merge pull request #2583 from ethereum/soljson-license
Export license in jsonCompiler and add tests
2017-07-18 17:02:44 +02:00
Leo Arias
e0b13ec89a use echo -n instead of touch 2017-07-18 14:34:37 +00:00
Leo Arias
841fe4bf26 Prepare the version of the snap package for the release tags 2017-07-18 14:33:49 +00:00
Alex Beregszaszi
6e4150a5cf Test for version/license in jsonCompiler 2017-07-18 15:33:38 +01:00
Alex Beregszaszi
e9226225d7 Properly export the license() method in Emscripten 2017-07-18 15:31:49 +01:00
Alex Beregszaszi
37553dca9a Merge pull request #2584 from ethereum/standardcompiler-cleanup
Readability fixes in StandardCompiler
2017-07-18 16:26:36 +02:00
Alex Beregszaszi
c40cbed9fb Mark const variables 2017-07-18 14:44:53 +01:00
Alex Beregszaszi
33ac1f29b5 Reorder code for readability 2017-07-18 14:44:19 +01:00
Alex Beregszaszi
7b0f877421 Merge pull request #2582 from jooray/patch-1
Keep the terminology about the exceptions the same
2017-07-18 14:52:24 +02:00
Juraj Bednar
5e0f5ee627 Keep the terminology about the exceptions the same
Don't call exception revert-style when the rest of the document uses require-style
2017-07-18 14:25:17 +02:00
Alex Beregszaszi
43a3129caf Merge pull request #2570 from benjaminion/lll-contract-test-ens
LLL: whole contract tests for the ENS Registry.
2017-07-18 12:39:26 +02:00
benjaminion
22f771dd40 LLL: whole contract tests for the ENS Registry. 2017-07-18 11:16:10 +01:00
Alex Beregszaszi
c167a31b17 Merge pull request #2574 from ltfschoen/patch-4
Update solidity-by-example.rst. Fixes accepted bids
2017-07-18 11:29:49 +02:00
Luke Schoen
56b65cf846 Update solidity-by-example.rst. Fixes accepted bids
Only accept bid values higher than highest bid. Since returns early from `placeBid` function if `value <= highestBid`
2017-07-17 19:58:41 +10:00