Commit Graph
6200 Commits
Author SHA1 Message Date
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
chriseth 3e13e59ff9 Merge pull request #1243 from ethereum/1131
Add enums as inheritable members
2016-10-21 15:29:58 +02:00
Yoichi Hirai 4b7fdaa0bd test: add a test about accessing an enum member without the name of the enum 2016-10-21 13:01:45 +02:00
Yoichi Hirai 9d9380d30e ast: add a null check 2016-10-21 13:01:45 +02:00
Yoichi Hirai f30f421e1c Changelog: add a point about #1243 2016-10-21 13:01:45 +02:00
Yoichi Hirai 83e8fdecc5 ast: ContractDefinition::inheritableMembers contains enums as well as structs
This fixes #1131
2016-10-21 13:01:45 +02:00
Yoichi Hirai f967623a5b test: add tests for #1131
The tests are about enum inheritance.
2016-10-21 13:01:45 +02:00
chriseth 984b8ac1b5 Merge pull request #1261 from ethereum/inline-assembly-in-modifiers
Fix inline assembly variable access within modifiers
2016-10-21 11:27:36 +02:00
Alex Beregszaszi 13b2101ea7 Add tests for inline assembly in modifiers 2016-10-20 23:57:14 +01:00
Alex Beregszaszi d50204d808 Add changelog entry 2016-10-20 23:45:13 +01:00