Commit Graph

8069 Commits

Author SHA1 Message Date
Antonio Tenorio-Fornés
db739dff69 Change Mapping example to valid (executable) code
Current example will not compile and would need to be compiled in separate files, unlike how it is shown (see https://github.com/ethereum/solidity/pull/2618).

The proposed changes provide both a source code that compiles and a easier to understand Contract creation (using new instead of a contract address).
2017-07-24 18:30:54 +02:00
Alex Beregszaszi
cfb11ff7ec Merge pull request #2625 from ethereum/chriseth-patch-1
Mention homebrew in release checklist
2017-07-24 11:09:39 +01:00
chriseth
6207cb076a Mention homebrew in release checklist 2017-07-24 11:41:43 +02:00
Alex Beregszaszi
05f4cc8e78 Merge pull request #2615 from NIC619/develop
minor fix on assembly example
2017-07-21 13:09:17 +01:00
Alex Beregszaszi
75b48616be Merge pull request #2616 from benjaminion/lll-nested-conditional-tests
LLL: Test cases for nested IF expressions.
2017-07-21 11:00:14 +01:00
benjaminion
d84e9e7b6a LLL: Test cases for nested IF expressions. 2017-07-21 10:23:03 +01:00
NIC619
3dcbe68aea minor fix on assembly example 2017-07-21 00:25:36 -04:00
Alex Beregszaszi
d70974ea7c Merge pull request #2573 from benjaminion/lll-error-report-symbol
LLL: Improve error reporting in certain cases.
2017-07-20 11:02:31 +01:00
Alex Beregszaszi
1dd4c7043b Merge pull request #1544 from VoR0220/fixedPointTypeResolution
Fixed point type resolution
2017-07-19 22:34:00 +01:00
chriseth
72917c4f35 Cleanup fixed point type changes 2017-07-19 22:13:42 +01:00
VoR0220
78769f3b39 Change fixed point types to have digit count
Signed-off-by: VoR0220 <rj@erisindustries.com>
2017-07-19 21:49:01 +01:00
Alex Beregszaszi
6d6d4f6907 Merge pull request #2334 from ethereum/printMultiError
Print information about types of errors.
2017-07-19 21:25:36 +01:00
Alex Beregszaszi
1274108ac7 Merge pull request #2605 from roadriverrail/this-in-constructor
This in constructor
2017-07-19 21:24:26 +01:00
Rhett Aultman
a2a759f792 Migrate over to ErrorReporter 2017-07-19 07:19:21 -07:00
Alex Beregszaszi
e506129aee Add test and changelog 2017-07-19 07:19:01 -07: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
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
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