Commit Graph

12422 Commits

Author SHA1 Message Date
chriseth
fed56f33d5 Type is not reserved anymore. 2019-01-17 20:36:48 +01:00
chriseth
4669b06ab4 Warn if type(..).runtimeCode is used with assembly in the constructor. 2019-01-17 20:36:48 +01:00
chriseth
0bfdaa500a Add code access dependency. 2019-01-17 20:36:48 +01:00
chriseth
e6fee257e6 Code generation for access to contract code. 2019-01-17 20:36:48 +01:00
chriseth
2fcfb216b5 Syntax for meta type information. 2019-01-17 20:36:48 +01:00
chriseth
44237211d1 Tests. 2019-01-17 20:36:48 +01:00
chriseth
6de10cb9da
Merge pull request #5809 from ethereum/emscripten-strict
Set emscripten strict mode and remove obsolete option
2019-01-17 17:15:35 +01:00
Alex Beregszaszi
3f58505c76 Remove obsolete ETH_EMSCRIPTEN option
This was made obsolete by using toolchain files (#2836)
2019-01-17 15:23:21 +00:00
Daniel Kirchner
ecdc00d569 Set emscripten to strict mode (wrt deprecated compiler options). 2019-01-17 15:22:43 +00:00
chriseth
d8f663429f
Merge pull request #5805 from ethereum/yulSwitchChangelogFix
Add missing Changelog entries for Yul switch changes.
2019-01-17 13:06:31 +01:00
Daniel Kirchner
1f06a94b5d Add missing Changelog entries for Yul switch changes. 2019-01-17 13:02:01 +01:00
Chris Chinchilla
72c2100164
Merge pull request #5800 from ethereum/wip/faq-call
[DOCS] Add call warning into main docs and remove FAQ item
2019-01-17 11:31:46 +02:00
Erik Kundt
5279f9f03b
Update docs/units-and-global-variables.rst
Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
2019-01-17 10:19:16 +02:00
Chris Chinchilla
6841d78896
Merge pull request #5801 from ethereum/idio-contract
[DOCS] Mention that there is no Cron in Ethereum
2019-01-17 10:15:48 +02:00
Chris Chinchilla
49f74a7bc1
Merge pull request #5798 from ethereum/faq-conversion
[DOCS] Remove conversion FAQ Item
2019-01-17 10:14:55 +02:00
chriseth
78e764ef17
Merge pull request #5694 from ethereum/yul-ast-unique_ptr
[libyul] use unique_ptr in AST over shared_ptr
2019-01-16 17:26:09 +01:00
Chris Ward
131e23100c Mention that there is no Cron in Ethereum 2019-01-16 17:39:29 +02:00
Chris Ward
eab9e58e7e Add call warning into main docs and remove FAQ item 2019-01-16 17:11:23 +02:00
Christian Parpart
065c3c87af
libyul: changing some AST members from shared_ptr<> to unique_ptr<>
* Some spaces look a little more verbose now, but that shouln't be a problem as it also should raise readability, too.
* This makes some use of return-value-optimizations also.
2019-01-16 14:58:59 +01:00
Chris Ward
816e23c7f6 Remove FAQ Item 2019-01-16 14:57:31 +02:00
chriseth
778b14de26
Merge pull request #5776 from ethereum/equivalentFunctionCombiner
[Yul] Equivalent function combiner.
2019-01-16 11:47:57 +01:00
Christian Parpart
82453a76a3
Merge pull request #5787 from ethereum/boost-upgrade-and-circleci
Ensuring we use at least boost 1.65, build static on Xenial, and adapt CircleCI accordingly.
2019-01-16 11:21:33 +01:00
Daniel Kirchner
81f24f24e6 Add equivalent function combiner as Yul optimizer step. 2019-01-15 17:21:03 +01:00
chriseth
6146c59a1a
Merge pull request #5793 from ethereum/switchLiteralSameValue
[Yul] Require equal types for switch cases and detect duplicates by number value.
2019-01-15 16:57:32 +01:00
Daniel Kirchner
4c8f8e9491 Disallow mismatching types in switch cases and detect duplicates by value for number literals. 2019-01-15 16:32:21 +01:00
chriseth
f9ca5b78fb
Merge pull request #5786 from ethereum/docs-split-micropayment
[DOCS] Split micropayments example into seperate file
2019-01-15 00:03:01 +01:00
Chris Ward
0010371a93 Split micropayments example into seperate file 2019-01-14 23:55:17 +01:00
chriseth
af12697dda
Merge pull request #5785 from ethereum/docs-split-safe-remote
[DOCS] Split safe remote example into new file
2019-01-14 23:51:55 +01:00
chriseth
7911efb24c
Merge pull request #5784 from ethereum/docs-split-blind-auction
[DOCS] Split blind auction example into seperate doc
2019-01-14 23:50:43 +01:00
chriseth
92b39b6255
Merge pull request #5746 from ethereum/docs-split-functions
[DOCS] Split functions docs
2019-01-14 16:35:53 +01:00
Chris Ward
18cceba81f Split functions docs 2019-01-14 16:34:35 +01:00
Christian Parpart
b7eaa4f8d3
Ensuring we use at least boost 1.65, build static on Xenial, and adapt CircleCI accordingly. 2019-01-14 16:10:26 +01:00
chriseth
2d4951edf7
Merge pull request #5790 from ethereum/faq-explicit-conversion
[DOCS] Remove explicit conversion FAQ item, covered elsewhere
2019-01-14 14:13:07 +01:00
chriseth
185d221909
Merge pull request #5788 from ethereum/remove-rnd-faq
[DOCS] Remove FAQ item on random number generation
2019-01-14 14:12:35 +01:00
chriseth
d5d90850b4
Merge pull request #5789 from ethereum/waq-multid-array
[DOCS] Remove Multi-dimensional array FAQ
2019-01-14 14:12:10 +01:00
Chris Ward
f4ee72494f Remove explicit conversion FAQ item, covered elsewhere 2019-01-14 14:29:07 +02:00
Chris Ward
b49f6781ef Remove Multi-dimensional array FAQ 2019-01-14 14:25:03 +02:00
Chris Ward
dbe88755af Remove random FAQ item 2019-01-14 14:14:39 +02:00
Chris Chinchilla
dea9999f47
Merge pull request #5770 from ethereum/docs-split-mapping-types
[DOCS] Split mapping types into new file
2019-01-14 11:55:48 +02:00
Chris Chinchilla
6d4d0a5308
Merge pull request #5772 from ethereum/docs-split-conversion
[DOCS] Split conversion sections into new doc
2019-01-14 11:55:20 +02:00
Chris Ward
620cbdc800 Split conversion sections into new doc 2019-01-14 11:00:53 +02:00
Chris Ward
29088c4f48 Split mapping types into new file 2019-01-14 10:58:10 +02:00
Chris Ward
ea47e382ba Split safe remote example into new file 2019-01-14 10:45:08 +02:00
Chris Ward
7bc1f1a4a3 Split blind auction example into seperate doc 2019-01-14 10:36:47 +02:00
Chris Chinchilla
051df31924
Merge pull request #5783 from ethereum/docs-split-ex-vote
[DOCS] Split voting example into seperate file
2019-01-14 10:32:56 +02:00
Chris Ward
06ca903b37 Split voting example into seperate file 2019-01-14 09:41:10 +02:00
Christian Parpart
94688d2fa2
Merge pull request #5777 from ethereum/windowsCodeSizeFix
Avoid redundant copy of Block due to implicit conversion to Statement in CodeSize visit.
2019-01-11 13:42:57 +01:00
Daniel Kirchner
5a99623fec Avoid explicit conversion from Block to Statement in CodeSize visit. 2019-01-11 12:52:24 +01:00
chriseth
e63aa03791
Merge pull request #5757 from fulldecent/feature-latest-version
Recommend to use latest version
2019-01-10 12:09:35 +01:00
William Entriken
52fd20e98c Use latest version in code snippets. 2019-01-10 11:34:58 +01:00