Alex Beregszaszi
003359a0b6
Ensure that bound functions cannot be defined without self type
2016-10-19 10:41:04 +01:00
Alex Beregszaszi
8317eb0383
Add test case for bound types without self
2016-10-19 10:40:45 +01:00
chriseth
65da8e4e16
Merge pull request #1244 from ethereum/1242
...
`super`'s size on stack is zero
2016-10-19 10:33:41 +02:00
chriseth
0fd6f2b5a6
Merge pull request #1228 from ethereum/lll-units-parser
...
LLL: move broken parsing of Ethereum subunits to macros
2016-10-19 10:26:21 +02:00
Yoichi Hirai
a743d7989b
Changelog: Add a point about fixing #1242
2016-10-18 15:56:37 +02:00
Yoichi Hirai
d2470a3e39
super
's size on stack is zero, because the expression compiler does not push an address.
...
This is different from `this`, which is translated to `ADDRESS` instruction.
2016-10-18 14:17:49 +02:00
Yoichi Hirai
0542df25df
Add a test for #1242
...
This is about `super` as an expression.
2016-10-18 13:25:00 +02:00
chriseth
0a9eb64562
Merge pull request #1239 from LefterisJP/contract_endowment_solidity_040
...
Docs: Change contract init with value section to be solc 0.4.0 compatible.
2016-10-18 11:19:12 +02:00
Yoichi Hirai
f973390978
Merge pull request #1234 from wingyplus/remove_vector_ref_cleanse
...
Removed 'vector_ref::cleanse'
2016-10-17 21:11:19 +02:00
Lefteris Karapetsas
806d94c214
Docs: Change contract init with value section
...
After solidity 0.4.0 we need to make the constructor `payable` if we are
to provide value during contract creation.
2016-10-17 19:14:21 +02:00
chriseth
07d32937fd
Merge pull request #1229 from ethereum/lll-error-reporting
...
LLL: better error reporting
2016-10-17 14:16:41 +02:00
Thanabodee Charoenpiriyakij
c86d58b2e9
Removed 'vector_ref::cleanse'
...
Close #785
2016-10-16 01:42:02 +07:00
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