Commit Graph

6058 Commits

Author SHA1 Message Date
chriseth
76e958f670 Merge pull request #1296 from Thrillberg/patch-1
Update index.rst
2016-10-27 13:17:48 +02:00
Eric Tillberg
e8b45d26fb Update index.rst 2016-10-26 13:23:53 -04:00
chriseth
410275354e Merge pull request #1294 from zigguratt/lll-until-support
LLL: Add support for 'until', the inverse of 'while'.
2016-10-26 16:18:25 +02:00
Daniel Ellison
7ac53f5305 Added support for until, the inverse of while. 2016-10-26 09:24:01 -04:00
chriseth
f9946ec029 Merge pull request #1285 from ethereum/lll-simplify-not
LLL: use NOT for ~
2016-10-26 14:55:14 +02:00
chriseth
34e2209bcc Merge pull request #1274 from ethereum/signed-exp
Banning signed exp
2016-10-26 14:28:10 +02:00
Alex Beregszaszi
6cb9c36977 LLL: reorder arithmetic/binary instruction list for readability 2016-10-26 01:16:29 +01:00
Alex Beregszaszi
ee3cfd8f52 LLL: use NOT for ~ 2016-10-26 01:12:15 +01:00
Alex Beregszaszi
5a981b59c3 LLL: replace (1 0 sub) with literal value 2016-10-26 01:10:55 +01:00
Yoichi Hirai
3ca5900b8c
ast: ban signed EXP, fixing #1246 2016-10-25 16:49:10 +02:00
Yoichi Hirai
578b02bb37
Add tests for #1246 2016-10-25 16:48:26 +02:00
chriseth
4f1b5d26f7 Merge pull request #1276 from ethereum/lll-optimise
LLL: clean up the handling of the optimise flag
2016-10-25 16:26:47 +02:00
chriseth
f99a418bf8 Merge pull request #1281 from ethereum/bumpversion
Version bump for develop.
2016-10-25 15:40:53 +02:00
chriseth
5ddb92b8cc Version bump for develop. 2016-10-25 15:39:38 +02:00
chriseth
e3761bdf92 Merge pull request #1280 from ethereum/updatechangelog
Update changelog for release.
2016-10-25 15:30:54 +02:00
chriseth
0cd2abb8c0 Update changelog for release. 2016-10-25 15:30:38 +02:00
chriseth
e98d7f4ba4 Merge pull request #1155 from ethereum/suggestcorrectversion
Suggest correct version for pragma.
2016-10-25 14:21:40 +02:00
chriseth
762f7ac250 Suggest correct version for pragma and complain about pre-release version. 2016-10-25 13:45:50 +02:00
Alex Beregszaszi
0da309d460 LLL: change -o to be a flag 2016-10-25 12:43:18 +01:00
Alex Beregszaszi
3a6ac6226c LLL: turn off optimiser by default 2016-10-25 12:43:18 +01:00
Alex Beregszaszi
43e42482a7 LLL: document optimise flag 2016-10-25 12:43:18 +01:00
chriseth
2f7c847ce4 Merge pull request #1279 from ethereum/semver-helper
Export major/minor/patch helpers on SemVerVersion
2016-10-25 13:20:08 +02:00
Alex Beregszaszi
7a988555c3 Export major/minor/patch helpers on SemVerVersion 2016-10-25 12:13:41 +01:00
chriseth
e00a4b47c0 Merge pull request #1264 from ethereum/988
State variable under contract's name
2016-10-25 12:50:24 +02:00
chriseth
d190f016ad Merge pull request #1273 from ethereum/chriseth-patch-1
Re-added accidentally deleted changelog entry
2016-10-25 12:45:56 +02:00
Yoichi Hirai
59f6c18c2b
analysis: determine if a member access on a contract is an l-value 2016-10-24 19:31:57 +02:00
Yoichi Hirai
58477c233d
test: add more tests about state variable access under base contract names 2016-10-24 19:31:51 +02:00
chriseth
d1708eded2 Re-added accidentally deleted changelog entry 2016-10-24 18:30:31 +02:00
chriseth
067109e1ae Merge pull request #1266 from ethereum/fixcrash
Fix a crash related to invalid number literals.
2016-10-24 17:00:44 +02:00
chriseth
f25aa0c68b More checks for missing mobile type. 2016-10-24 16:45:25 +02:00
chriseth
6b028701a0 Test. 2016-10-24 16:43:08 +02:00
Yoichi Hirai
922e4b3ce7
test: add tests from #988 2016-10-24 16:34:52 +02:00
Yoichi Hirai
44305aeaf8
Changelog: add a point about fixing #988 2016-10-24 16:34:52 +02:00
Yoichi Hirai
5245a3cf74
codegen: refactor common code 2016-10-24 16:34:23 +02:00
Yoichi Hirai
acba7b92e5
codegen: if a member access has been resolved as a variable, follow that
This fixes at least the first example in #988
2016-10-24 16:34:23 +02:00
Yoichi Hirai
47b11ef2b8
test: add a test case for accessing a state variable under the contract's name
The test comes from the description of #988
2016-10-24 16:28:14 +02:00
chriseth
22f2c6df63 Merge pull request #1271 from wingyplus/iss-781
Remove non-solidity exceptions
2016-10-24 15:55:47 +02:00
chriseth
d651a506fa Merge pull request #1263 from ethereum/1116
Do not push code for `L` in `L.Foo`, an enum Foo defined in a library L
2016-10-24 15:53:11 +02:00
chriseth
9e0594f4c1 Merge pull request #1270 from ethereum/optimise-eq0
Optimise the PUSH 0, EQ case as ISZERO
2016-10-24 15:50:31 +02:00
Yoichi Hirai
abf393126b
Changelog: add a comment about fixing #1116 2016-10-24 15:30:32 +02:00
Yoichi Hirai
7cee39fc17
codegen: skip contract L for L.Foo where Foo is a type
Fixes #1116
2016-10-24 15:30:26 +02:00
Yoichi Hirai
df900c5583
test: add a test about using an inherited enum definition as an expression,
with an explicit mention of the base contract.  The test is about #1131.
2016-10-24 15:28:23 +02:00
chriseth
2f13101243 Merge pull request #1251 from ethereum/fixthrow
Fix crash in throw.
2016-10-24 15:19:13 +02:00
chriseth
57ee387755 Changelog entry. 2016-10-24 14:33:44 +02:00
chriseth
2b00804d1d Fix crash in throw. 2016-10-24 14:32:49 +02:00
chriseth
cb1fcaf6f6 Merge pull request #1240 from ethereum/1151
ast: super contract type does not contain native members
2016-10-24 11:45:54 +02:00
chriseth
84b43b9139 Merge pull request #1267 from ethereum/optimizer
Optimizer: generate code starting with empty state
2016-10-24 10:58:25 +02:00
Thanabodee Charoenpiriyakij
15d0ed6442 Remove non-solidity exceptions
Most exceptions and some errorinfos in 'libdevcore' are not be used.

Close #781
2016-10-23 10:02:39 +07:00
Alex Beregszaszi
6686ea6c03 Optimiser the PUSH 0, EQ case as ISZERO 2016-10-23 00:23:08 +01:00
chriseth
ba42c6e447 Optimizer: generate code starting with empty state 2016-10-21 18:03:57 +02:00