Commit Graph

6091 Commits

Author SHA1 Message Date
chriseth
cc2a6867a7 Merge pull request #1231 from ethereum/debugbreak
Properly define trap_instruction
2016-10-15 18:09:24 +02:00
chriseth
e0bf199b91 Merge pull request #1232 from ethereum/devcore-unused-includes
Remove unused libdevcore includes
2016-10-15 18:07:36 +02:00
chriseth
482807f60a Merge pull request #1227 from wingyplus/remove_secure_vector
Removed 'secure_vector'
2016-10-15 18:06:45 +02:00
Alex Beregszaszi
27fca416ba LLL: add Ethereum subunit macros 2016-10-15 16:26:04 +01:00
Alex Beregszaszi
9211d49ed3 Remove unused picosha2 2016-10-15 16:17:26 +01:00
Alex Beregszaszi
85fb4f8ea9 Don't include random in CommonData 2016-10-15 16:17:14 +01:00
Alex Beregszaszi
a7edf8a5b3 Remove unused SHA2 include in SHA3 2016-10-15 16:12:14 +01:00
Alex Beregszaszi
bc537c7581 Properly define trap_instruction 2016-10-15 15:46:50 +01:00
Alex Beregszaszi
3a91da27ed LLL: remove Ethereum subunits from the parser 2016-10-15 14:48:43 +01:00
Thanabodee Charoenpiriyakij
941a0164f9 Removed 'secure_vector'
Close #780
2016-10-15 20:46:14 +07:00
Alex Beregszaszi
8aa50a004f LLL: throw proper ParserException 2016-10-15 13:26:16 +01:00
Alex Beregszaszi
7c7a6de87b LLL: fix the commented out debugging code 2016-10-15 12:58:57 +01:00
Kevin Boxhoorn
97703ac6e4 Add import remapping documentation to solc --help
Derived from the docs found [here](https://solidity.readthedocs.io/en/develop/miscellaneous.html#using-the-commandline-compiler).
Fixes #1207.
2016-10-15 17:36:40 +11:00
Alex Beregszaszi
e5efc86f2d LLL: better error reporting 2016-10-15 02:27:54 +01:00
Alex Beregszaszi
8fe36599a2 Simplify publish script 2016-10-14 19:35:42 +01:00
Alex Beregszaszi
bb556e1193 Change solc-bin publish script to support npm 2016-10-14 19:33:10 +01:00
chriseth
2d9109ba45 Merge pull request #1196 from ethereum/solc-bin-publish-update
solc-bin publish script should let the update script decide which files changed
2016-10-14 11:57:32 +02:00
chriseth
1f0f600878 Merge pull request #1217 from ethereum/instruction_table
Small points on the instruction table
2016-10-14 11:55:19 +02:00
chriseth
1584c5992e Merge pull request #1218 from ethereum/null-integer-type
Add a null-pointer check
2016-10-14 11:51:08 +02:00
chriseth
0635b6e008 Merge pull request #1195 from ethereum/memory-doc
Document memory layout
2016-10-14 11:13:36 +02:00
RJ
d9af51be51 Merge pull request #1079 from VoR0220/fixedTypeTestFramework
Solidity helper function for testing fixed points
2016-10-13 15:18:45 -05:00
Yoichi Hirai
8e11bac8de
Check if a fixedBytes fits an integer type
before looking up the size of the integer type.

Fixes #1150.
2016-10-13 20:17:13 +02:00
Alex Beregszaszi
9521188bde Mention that memory is organised as 256-bit words 2016-10-13 19:00:57 +01:00
Yoichi Hirai
550c92cb2f
Small points on the instruction table
Fixes #1205

`sload` was not marked with a `-`, contrary to the description of #1205
2016-10-13 19:30:43 +02:00
chriseth
5e75cae28a Merge pull request #1203 from ethereum/exlpainupforgrabs
Explain up-for-grabs issues.
2016-10-13 17:07:14 +02:00
Yoichi Hirai
8ddef7a2dd Merge pull request #1185 from ethereum/grammar-doc
Add link to grammar.txt in the documentation
2016-10-13 16:38:57 +02:00
chriseth
ec08615b72 Merge pull request #1198 from zigguratt/develop
Remove obsolete built in macros and add a `keccak256` macro alias for `sha3`.
2016-10-13 16:11:37 +02:00
Daniel Ellison
00278fdea8 Removed obsolete built in macros. Added a new macro to support the use of 'keccak256' in addition to 'sha3'. 2016-10-13 10:03:54 -04:00
Yoichi Hirai
2951c1eba9 Merge pull request #1167 from ethereum/when_solidity_throws
Adding "When Solidity Throws" section in the documentation
2016-10-13 15:13:17 +02:00
chriseth
e268b5fa3e Explain up-for-grabs issues. 2016-10-13 15:10:12 +02:00
Yoichi Hirai
8b5f0d5997
Accommodate further reviews 2016-10-13 12:44:27 +02:00
Yoichi Hirai
d32160a5b8
Change prenouns from on to at 2016-10-13 12:16:14 +02:00
Yoichi Hirai
ff0f44352e
Accommodating reviews
https://github.com/ethereum/solidity/pull/1167#pullrequestreview-4031601
2016-10-13 12:12:40 +02:00
chriseth
5fb0bcce45 Replace fixed by standard encode function.
This way, we can use
```
BOOST_CHECK(callContractFunction("t(fixed8x128)", make_pair(rational(2, 3), 128)) == encodeArgs(u256(9)));
```
which is a bit more self-explanatory, I would say.
2016-10-12 17:28:47 +02:00
chriseth
4825cdb62e Make "-a" more visible. 2016-10-12 15:23:18 +02:00
chriseth
def3f3ea46 Merge pull request #1126 from ethereum/isolateTests
Add script to extract test cases.
2016-10-12 15:20:32 +02:00
Yoichi Hirai
f492380688 Mention payable in the description when Solidity throws 2016-10-12 10:59:22 +02:00
Yoichi Hirai
246d91438f Codify bytes 2016-10-12 10:46:55 +02:00
Alex Beregszaszi
66c6c74699 Explain how scratch space affects the free memory pointer 2016-10-12 09:15:06 +01:00
Alex Beregszaszi
3d12c2ddc7 Merge the two EVM memory introduction sections 2016-10-12 09:15:06 +01:00
Yoichi Hirai
32c3bd8e78 Change phrasing around too small index 2016-10-12 09:39:43 +02:00
Yoichi Hirai
d6394c46a1 Merge two similar sections; the original survives 2016-10-12 09:35:05 +02:00
Yoichi Hirai
03ef5bfd5e Various fixes based on comments on #1167 2016-10-12 09:35:05 +02:00
Yoichi Hirai
8f59ec791e English clarifications
mostly based on suggestions by @axic
2016-10-12 09:35:05 +02:00
Yoichi Hirai
618410de11 Adding "When Solidity Throws" section in the documentation 2016-10-12 09:35:05 +02:00
Alex Beregszaszi
48ac970677 Merge pull request #1169 from ethereum/inline-assembly-tags
Fix assignment after tags in inline assembly
2016-10-12 00:00:28 +01:00
chriseth
821fe6e916 Merge pull request #1181 from ethereum/formal_ignore_pragma
formal: ignore pragmas during Why3 code generation
2016-10-11 16:29:32 +02:00
chriseth
aa18a6bd2b Merge pull request #1193 from ethereum/pragma_keyword_check
Pragma keyword check
2016-10-11 15:02:07 +02:00
Alex Beregszaszi
3f70e4879f Add link to grammar.txt in the documentation 2016-10-11 13:46:14 +01:00
Alex Beregszaszi
f0524ed45a Document memory layout 2016-10-11 13:20:58 +01:00