Commit Graph

6091 Commits

Author SHA1 Message Date
Alex Beregszaszi
0e33b63468 Allow warnings for inline assembly block 2016-10-20 13:25:28 +01:00
Alex Beregszaszi
c3330faf21 Issue warnings if stack is not balanced after inline assembly block 2016-10-20 13:25:28 +01:00
Alex Beregszaszi
e1ff8bebe1 Mention in changelog 2016-10-20 13:25:28 +01:00
Alex Beregszaszi
0dd75ac100 Use warning function in TypeChecker 2016-10-20 13:25:28 +01:00
Paweł Bylica
21eef6aa89
AppVeyor: build only pushes to master and develop branch
This fixes the issue when PRs from a branch in main repo are built twice.
2016-10-20 14:22:38 +02:00
chriseth
9d30450167 Merge pull request #1034 from ethereum/shift-constants
Shift constants (<< and >>)
2016-10-20 14:20:58 +02:00
Alex Beregszaszi
d5c94cb412 Add constant shift to the changelog 2016-10-20 00:04:11 +01:00
Alex Beregszaszi
7ac27c957e Use >> (SAR) to denote constant shifts 2016-10-20 00:03:09 +01:00
Alex Beregszaszi
59603f7b8e Add tests for constant shifts 2016-10-20 00:03:09 +01:00
Alex Beregszaszi
33250eef9e Reject negative shifts within constants 2016-10-20 00:03:09 +01:00
RJ
48f2028911 Support shifting constants 2016-10-20 00:03:09 +01:00
Alex Beregszaszi
2bb37f8203 Merge pull request #1182 from ethereum/inline-assembly-magic-variables
Disallow magic variables in inline assembly
2016-10-20 00:00:29 +01:00
chriseth
06c69c9062 Update Changelog.md 2016-10-19 20:46:28 +01:00
Alex Beregszaszi
d18e56661d Disallow unsupported RValues in inline assembly 2016-10-19 20:44:15 +01:00
Alex Beregszaszi
0a3faf48d4 Add tests for magic variables in inline assembly 2016-10-19 20:44:15 +01:00
Alex Beregszaszi
9616470f67 Disallow magic variables in inline assembly 2016-10-19 20:44:15 +01:00
chriseth
3bcf0909af Merge pull request #1220 from ethereum/doc-updates
Documentation updates
2016-10-19 16:15:33 +02:00
Alex Beregszaszi
024e3f4064 Mapping-in-mapping can have accessors too 2016-10-19 14:16:01 +01:00
Alex Beregszaszi
d4ad814bf3 Explain accessors on arrays 2016-10-19 14:13:48 +01:00
Alex Beregszaszi
448f1fba53 FAQ: remove address(this) section (already explained elsewhere) 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
9bec1e1efd FAQ: remove event section (already explained elsewhere) 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
5f89e1a2ac Merge the constructor sections 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
f8795afc70 Mention why Homestead was different for libraries 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
607f82ce9e FAQ: remove visibility section (already explained elsewhere) 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
c6e7475f05 FAQ: remove create example (already explained elsewhere 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
fcba4d927c Merge the documentation about mappings 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
1b3713742f Document constant functions 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
f0f2d5a612 FAQ: remove removal of external accounts 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
b420dbf505 Improve the description of Solidity 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
b4f24721b5 FAQ: remove modifier section 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
4d4b9bc68e FAQ: remove compilation section 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
c41effd7c8 Merge the selfdestruct sections 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
3413b8b7b3 Update changelog link 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
76c856397a Minor documentation fixes 2016-10-19 14:02:50 +01:00
chriseth
4f191d1f6f Merge pull request #1194 from ethereum/bound-functions
Proper type checking for bound functions
2016-10-19 14:44:09 +02:00
chriseth
f9e92b37ba Merge pull request #1225 from wincinderith/import-remap-docs
Add import remapping documentation to `solc --help`
2016-10-19 14:36:51 +02:00
chriseth
998c4a9758 Merge pull request #1223 from ethereum/solc-bin-publish
Change solc-bin publish script to support npm
2016-10-19 14:36:17 +02:00
Alex Beregszaszi
fdd1108c1c Omit non-convertible bound functions 2016-10-19 10:41:04 +01:00
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