Commit Graph

2466 Commits

Author SHA1 Message Date
Chris Chinchilla
f4f8858e98 Add details of team calls
Update docs/contributing.rst

Co-Authored-By: chriseth <chris@ethereum.org>
Update docs/contributing.rst

Co-Authored-By: chriseth <chris@ethereum.org>
2019-07-31 11:58:30 +02:00
cgrigis
7047ff1c3c
Minor typo 2019-07-25 10:58:45 +02:00
Chris Chinchilla
61e3ca67cb
Merge pull request #7097 from ethereum/docs-jp-trans
[DOCS] Add Japanese translation
2019-07-17 15:06:39 +02:00
Chris Chinchilla
9b22336ce1
Reduce line breaks in code comments to help with scrolling 2019-07-15 14:33:50 +02:00
Chris Chinchilla
54ed84b90d
Add Japanese translation, and order alphabetically 2019-07-15 10:49:03 +02:00
Chris Smith
d7fe96f81f Add example of constructor inheritance and order
Add an example of how contract inheritance impacts constructor calling
2019-07-09 11:37:37 -04:00
chriseth
d3e542d32c Provide secondary source location for error messages in standard json. 2019-07-04 10:54:01 +02:00
William Entriken
b6cb079157 Failed-checksum addresses are an error 2019-07-02 13:10:28 +02:00
chriseth
82c92eccbc
Fix link. 2019-07-01 16:03:12 +02:00
chriseth
f5a9b06289
Merge pull request #7006 from ethereum/docs-min-compiler
[DOCS] Add minimum compiler versions
2019-06-27 15:55:38 +02:00
Chris Chinchilla
bbc471fef8 Add minimum compiler versions 2019-06-27 15:45:15 +02:00
chriseth
321e714911
Merge pull request #7009 from ethereum/docs-fix-style
[DOCS] Fix style issues in control structures
2019-06-27 12:52:18 +02:00
William Entriken
49c79c1894
Update value-types.rst 2019-06-26 20:04:02 -04:00
Chris Chinchilla
168412dd8d
Fix style issues in control structures 2019-06-26 17:09:50 +02:00
chriseth
a03687ccfa Prepare changelog for 0.5.10 release. 2019-06-25 14:28:22 +02:00
chriseth
930ce34953
Merge pull request #6998 from ethereum/fixSignChop
Fix sign chop
2019-06-25 14:23:45 +02:00
chriseth
04fe3c070d Changelog and bug list entry. 2019-06-25 13:00:21 +02:00
chriseth
9252906827
Merge pull request #6980 from ethereum/wip/own-clar
[DOCS] Clarify what owning contract means
2019-06-25 11:25:18 +02:00
Chris Chinchilla
85b6e7508c Clarify what owning means
Updates from review
2019-06-25 08:59:40 +02:00
chriseth
c5cf3d53aa
Merge pull request #6975 from ethereum/moreSpecificDescription
More specific bug description.
2019-06-24 15:59:19 +02:00
chriseth
3b0284817e
Merge pull request #6981 from ethereum/docs-purchase-contract
[DOCS] State default value of enum in example
2019-06-24 14:36:35 +02:00
Chris Chinchilla
30e843a217 State what default value of enum in example is
Fix formatting issue and add mention of the enum default type

Other files
2019-06-24 14:32:53 +02:00
Chris Chinchilla
215f41776c Clarify implicit conversion 2019-06-24 12:43:17 +02:00
chriseth
1bf4fc571c More specific bug description. 2019-06-24 12:31:39 +02:00
Christian Parpart
b58170f890
Refactor & Speedups on CircleCI; split out out codecov into dedicated tests. 2019-06-21 20:26:10 +02:00
chriseth
9bb7160c4c
Merge pull request #6958 from sifmelcara/fix-abiencoderv2-codegen
Fix incorrect abi encoding of storage array of data type that occupy multiple storage slots
2019-06-20 13:08:42 +02:00
Chris Chinchilla
b72977f086 Review conventions section in assembly doc
Changes from review

Changes from review
2019-06-19 14:56:45 +02:00
Chris Chinchilla
622adf55c2 Fix missplaced warnings 2019-06-19 11:03:10 +02:00
mingchuan
6a5fabd004
Add ABIEncoderV2 storage array encoding bug to buglist 2019-06-19 10:47:44 +08:00
Chris Chinchilla
b66950711e
Merge pull request #6954 from ethereum/docs-public-clar
[DOCS] Clarify that public applies to state variables
2019-06-18 07:55:45 +01:00
chriseth
8260ae1397
Merge pull request #6955 from ethereum/docs-enum-int
[DOCS] Clarify that interfaces only support enum since 0.5.0
2019-06-17 18:32:53 +02:00
chriseth
4a4c146fdf
Merge pull request #6951 from ethereum/chriseth-patch-1
[DOC] Fix signextend example.
2019-06-17 18:31:29 +02:00
Chris Chinchilla
17e82ee176 Clarify that interfaces only support enum since 0.5.0 2019-06-17 17:14:53 +01:00
Chris Ward
7e4896740d Clarify that public applies to state variables 2019-06-17 16:55:31 +01:00
Chris Ward
df31461c5b Start to clarify revert vs require usage
Start rewrite of require vs revert clarification

Small clarification
2019-06-17 16:47:13 +01:00
chriseth
b90d57a9fc
[DOC] Fix signextend example. 2019-06-17 13:39:20 +02:00
chriseth
d774e30686
Merge pull request #6950 from ethereum/fix-typo-spell-check-uaah
Fix typo to make CI happy
2019-06-17 13:29:50 +02:00
Mathias Baumann
ee937ea7b3 Fix typo to make CI happy 2019-06-17 13:14:00 +02:00
Chris Chinchilla
d671761d46
Merge pull request #6945 from ethereum/ChrisChinchilla-patch-1
[DOCS] Fix typo in miscellaneous doc
2019-06-17 12:00:46 +01:00
Chris Chinchilla
aa6e29a7a0
Update docs/miscellaneous.rst
Co-Authored-By: Mathias L. Baumann <Marenz@users.noreply.github.com>
2019-06-17 11:14:11 +01:00
chriseth
9c5dc63ed2
Merge pull request #6567 from ethereum/docs-intro-subcurrency
[DOCS] Update subcurrency example in introductory section
2019-06-17 10:44:33 +02:00
Chris Chinchilla
0465803b2c
Fix typo in miscellaneous doc
As reported by @Marenz
2019-06-16 09:33:40 +01:00
Fabio Bonfiglio
2a2f068542
Correct assigned value in natspec example 2019-06-13 13:12:32 +02:00
Daniel Kirchner
502d22a26e
Merge pull request #6914 from ethereum/boost170
Use imported targets for boost and update emscripten boost to 1.70.
2019-06-12 15:26:24 +02:00
Daniel Kirchner
9d2f1b0eac Add note about boost 1.70+ and solidity<=0.5.9 to the docs. 2019-06-07 10:42:18 +02:00
Vignesh Karthikeyan
f7a8b6da65
Merge pull request #1 from ethereum/develop
Update
2019-06-07 00:52:12 +05:30
Vignesh Karthikeyan
1d9b6b5bbf
Added Content and Edited for readability
The example for signextend requested by @bshastry was added. Codeblock was moved before warning for readability.
2019-06-07 00:47:08 +05:30
Daniel Kirchner
a445df63cf Require cmake 3.5. 2019-06-06 18:49:25 +02:00
Chris Chinchilla
fc35c139ca
Merge pull request #6874 from ethereum/docs-style-fix-style
[DOCS] Bring code examples for Style Guide inline with style guide
2019-06-06 11:23:15 +02:00
Chris Chinchilla
f99d78117e Bring code examples for Style Guide inline with style guide
Add back accidentally removed public
2019-06-05 15:25:18 +02:00
Vignesh Karthikeyan
1978e1d3ff
Added example for signextend
Added sample assembly code for signextend
2019-06-05 02:02:40 +05:30
Vignesh Karthikeyan
3d40152102 Brought warning to high priority
Update functions.rst

Update for warning over note priority

Updated units-and-global-variables.rst

Updated file for warning over note priority

Updated control-structures.rst

Updated priority of warning over note

Updated assembly.rst

Updated priority of warning over code

Updated introduction-to-smart-contracts.rst

Updated priority of warning over note

Update installing-solidity.rst

Corrected control-structures.rst

Corrected white space error

Corrected whitespace

Corrected whitespace introduction to smart contract
2019-06-04 14:46:26 +05:30
Chris Chinchilla
69e4e69e69 Bring value types code examples inline with style guide 2019-05-30 14:37:17 +02:00
William Entriken
f1be1b2758
Learn how to spell section 2019-05-29 21:02:03 -04:00
chriseth
cce79ea67b
Merge pull request #6867 from ethereum/docs-style-fix-usingfor
[DOCS] Bring Using For code examples inline with style guide
2019-05-29 20:08:19 +02:00
chriseth
00f24555d9
Merge pull request #6868 from ethereum/docs-style-fix-control-struct
[DOCS] Update code examples in control structures doc to match style guide
2019-05-29 20:07:09 +02:00
Chris Ward
66fe9731fc Bring code examples in line with style guide 2019-05-29 16:26:23 +02:00
Chris Ward
bebc479fb5 Update code examples to match style guide
Remove visibility
2019-05-29 16:21:18 +02:00
Chris Ward
b015d2cd40 Bring code examples inline with style guide
Remove visibility
2019-05-29 16:17:34 +02:00
chriseth
61d2919968 Prepare version 0.5.9. 2019-05-28 15:38:48 +02:00
Chris Ward
931b93146f Update subcurrency example in introductory section
Further updates

Add line breaks

Changes from review

Updates from review

Changes from review

Fix label
2019-05-28 08:54:54 +02:00
asymmetric
d67a4cfdb7
Fix link to OpenZeppelin ECDSA library
Previous link was a 404.
2019-05-27 22:29:35 +00:00
chriseth
9d00f21cfb
Merge pull request #6841 from ethereum/style-fixes-inheritance
[DOCS] Bring inheritance doc inline with style guide
2019-05-27 19:11:32 +02:00
chriseth
dc0fac5dfd
Merge pull request #6825 from ethereum/style-fixes-assembly
[DOCS] Bring code examples inline with style guide in assembly doc
2019-05-27 17:28:12 +02:00
Chris Ward
e81e71e879 Make code examples conform to style guide 2019-05-27 16:59:54 +02:00
Chris Ward
3b64a4b955 Bring inheritance doc inline with style guide 2019-05-27 14:23:53 +02:00
Chris Ward
062c67c4a8 Bring code examples inline with style guide in assembly doc
Fix assembly block indentation

Change variable name
2019-05-27 14:17:44 +02:00
chriseth
be653bec44
Merge pull request #6741 from ethereum/docs-docker
[DOCS] Add draft of Docker instructions
2019-05-27 14:11:43 +02:00
chriseth
899858784c
Merge pull request #6834 from sifmelcara/fix-types-doc-ref-delete
Fix reference links in types.rst
2019-05-27 14:09:42 +02:00
chriseth
6240a6e906
Merge pull request #6824 from ethereum/style-fixes-abi-spec
[DOCS] Confirm ABI spec code examples to style guide
2019-05-27 14:06:55 +02:00
mingchuan
27fd533f3d
Fix reference links in types.rst 2019-05-27 18:54:00 +08:00
mingchuan
bf8af89bba
Fix assignment of struct containing array of mappings 2019-05-25 01:33:49 +08:00
Chris Ward
bfda0de3ff Add draft of Docker instructions
Changes from review

Syntax fix

Change path

Add mention of JSON too

Change path

Restructure

Update docs/installing-solidity.rst

Co-Authored-By: chriseth <chris@ethereum.org>

Update docs/installing-solidity.rst

Co-Authored-By: chriseth <chris@ethereum.org>

Fixes from review
2019-05-23 15:54:29 +02:00
Chris Ward
2c705145ae Make Creating contracts code examples match style guide 2019-05-23 14:54:11 +02:00
Chris Ward
5305dd6eac Confirm to style guide 2019-05-23 14:46:59 +02:00
chriseth
0e864467de [Docs] Better explain the modular approach. 2019-05-23 14:02:44 +02:00
Guy
2734eae6fb Added a reference to an extended list of security recommendations. 2019-05-22 10:56:25 +03:00
Guy Lando
ee0cb71959
Clarified inheritance documentation. 2019-05-20 18:30:47 +03:00
chriseth
20f3ab5961 Advantages of anynomous events. 2019-05-20 15:06:53 +02:00
chriseth
f2ae30f620 Fix handling of structs of dynamic size as constructor parameters. 2019-05-16 17:10:54 +02:00
Isaac Ibiapina
074580f743
Update visibility-and-getters.rst
edit private variable description to be more declarative
2019-05-15 18:56:21 -04:00
chriseth
c8dd412014
Merge pull request #6736 from ethereum/docs-test-nightly
[DOCS] Mention nightlies with remix
2019-05-14 14:58:28 +02:00
Vedant Agarwala
ab47864852 Fix as per issue comments 2019-05-13 20:47:55 +08:00
Chris Ward
680ce3f5f0 Expand contraction 2019-05-13 14:22:58 +02:00
Chris Ward
df31096690 Mention nightlies with remix 2019-05-13 12:47:34 +02:00
Daniel Kirchner
aa4ee3a155 Document version field in CBOR metadata. 2019-05-08 22:21:50 +02:00
Mathias Baumann
d8873f52df Update to aleth v1.6.0 2019-05-07 16:03:53 +02:00
Chris Ward
895d6e58e7 Polish introductory section of introduction to smart contracts
Update docs/introduction-to-smart-contracts.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Clarify pragma version
2019-05-01 14:51:32 +10:00
asymmetric
95c4f8f2bd Conversion: remove confusing int8 type
The topic of converting a smaller type into a larger one is orthogonal to the one discussed in the example (namely, conversion between signed and unsigned integers).

Therefore, we change the `int8` to an `int` to make the example clearer.
2019-04-30 17:14:00 +02:00
chriseth
23a071dfd4 Set release date, sort changelog entries and update bug list. 2019-04-30 14:14:44 +02:00
chriseth
ecb8dfb26c Forward-port 0.4.26 release notes and update bug list. 2019-04-30 11:31:12 +02:00
chriseth
39d153b7a1
Merge pull request #6570 from ethereum/fixMetaSettings
Move metadata settings into its own object.
2019-04-29 15:09:27 +02:00
chriseth
eef3f95724 Move metadata settings into its own object. 2019-04-29 14:19:27 +02:00
chriseth
e6926504ef Add link to "source-verify". 2019-04-29 09:15:05 +02:00
chriseth
f9ec1231b6 Support period as part of identifiers for Yul and Inline Assembly. 2019-04-25 16:48:16 +02:00
chriseth
309d3e65cf
Merge pull request #6585 from ethereum/fixInvalidFunctionTags
Fix invalid function tags
2019-04-25 16:30:37 +02:00
chriseth
5b991c1e59 Fix use of uninitialized functions stored in storage. 2019-04-25 15:40:48 +02:00
chriseth
b6bb3ae482
Merge pull request #6555 from sifmelcara/break-for-loop
[Yul] Disallow function definitions inside for loop init blocks
2019-04-25 11:20:44 +02:00
chriseth
f26cdea6ca Disallow Yul function definitions inside for loop init blocks. 2019-04-25 10:32:00 +02:00
Chris Ward
2322b4f504 Add Turkish translation 2019-04-23 13:15:39 +10:00
Chris Chinchilla
13518820c7
Merge pull request #6454 from ethereum/docs-high-s-clar
[DOCS] Explain high s value
2019-04-23 13:04:55 +10:00
William Entriken
916e151f46 Add NatSpec documentation. 2019-04-19 00:54:08 +02:00
rocky
b06b996461 soltest.sh, EthOptions.cmake, and CODING_STYLE.md tweaks
solidity.sh:
  * introduce SOLIDITY_BUILD_DIR env var for soltest.sh,
  * add --help output

EthOptions.cmake: more complete configuration information

CODING_STYLE.md: note existence of .editorconfig
contributing.rst: note that tests are Boost C++ unit tests
2019-04-18 07:53:28 -04:00
chriseth
fb302c1c4f
Merge pull request #6473 from ethereum/libeventhash-6435
Fix external ABI type name for contracts
2019-04-18 12:53:34 +02:00
chriseth
14872b598d
Update units-and-global-variables.rst 2019-04-18 12:30:56 +02:00
Mathias Baumann
0f4b53e9a0 Fix external ABI type name for contracts 2019-04-18 11:39:48 +02:00
chriseth
922ab0d72d
Merge pull request #6534 from ethereum/reuseLiteralContent-6472
Re-produce the original 'useLiteralContent' setting
2019-04-17 15:41:55 +02:00
Mathias Baumann
b24dd42e47 Re-produce the original 'useLiteralContent' setting 2019-04-17 14:54:51 +02:00
chriseth
6e83eba9a3 Mention other keys in metadata mapping. 2019-04-17 10:40:26 +02:00
chriseth
e4e786a9bb
Merge pull request #6513 from ethereum/aleth_update
Update aleth to version 1.6.0-rc.1.
2019-04-15 13:35:43 +02:00
Chris Chinchilla
6c68904f39
Merge pull request #6274 from ethereum/docs-yul-note
[DOCS] Update note to add further details on current status of YUL
2019-04-15 08:48:14 +10:00
Daniel Kirchner
4e6ffc744d Update aleth to version 1.6.0-rc.1. 2019-04-12 16:11:41 +02:00
Leonardo
9624a69d37
Merge pull request #6426 from ethereum/docs-eth-rounding
[DOCS] Add rounding warning
2019-04-12 15:40:26 +02:00
Constantin Kloecker
7a240fbd97
fixed code block display
Added missing line
2019-04-10 11:17:40 +02:00
Chris Ward
4a6d6cb14f Tidy formatting 2019-04-08 11:46:32 +02:00
Chris Ward
26d6305a43 Combine warnings 2019-04-05 14:43:57 +02:00
rocky
0538c321c9 More information on solctest.
* Note useful options
* Link to boost reference.
2019-04-04 15:05:13 -04:00
Chris Ward
d49e181a90 Update note to add further details on current status of YUL
Clarify further

Changes from reviews

Grammar polish

Changes from review

Update docs/yul.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Update docs/yul.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Polish suggestions

Update docs/yul.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
2019-04-04 16:59:38 +02:00
Chris Ward
dfeb1dec9e Add rounding warning
Move warning
2019-04-04 16:41:07 +02:00
Chris Ward
0b44389fc6 Add 0.5.x warning 2019-04-03 17:37:35 +02:00
Chris Ward
f8b126e153 Explain high s value 2019-04-03 12:22:03 +02:00
Leonardo Alt
c7c15a41cc Fiz Z3 version in docs 2019-04-01 21:22:38 +02:00
chriseth
af09cb3af2
Layout cleanup. 2019-03-28 23:43:27 +01:00
Ilya Ostrovskiy
7860918de5
use correct global remapping syntax in documentation 2019-03-28 15:01:41 -04:00
Leonardo Alt
9a612d1250 [SMTChecker] Docs 2019-03-27 16:31:51 +01:00
Alex Beregszaszi
2a2e741d39 Add blog post links to the bug list 2019-03-26 15:03:48 +00:00
chriseth
79d7fb14e7 Preparation for 0.5.7 release. 2019-03-26 10:50:58 +01:00
chriseth
d079cdbfaa
Merge pull request #6362 from ethereum/fixABIEncoderV2StorageRead
Fix abi encoder v2 storage read
2019-03-26 10:23:08 +01:00
chriseth
3c9af6716e Bug list entry. 2019-03-25 18:28:44 +01:00
Chris Ward
e8605ea831 Add Homebrew version mention 2019-03-25 17:22:30 +01:00
Chris Ward
b7af8baed5 Add universal mutator to resources 2019-03-25 14:04:01 +01:00
chriseth
e3fe365488
Merge pull request #6312 from ethereum/wip/docs-populus-storage-costs
[DOCS] Add details to storage costs
2019-03-25 11:49:07 +01:00
Chris Ward
7f8957c9ea Change to US spelling 2019-03-25 10:59:49 +01:00
Constantin Kloecker
5936f52aa5
fixed code block display 2019-03-23 11:38:59 +01:00
Alex Beregszaszi
3bc2c35cc4 Support compiling Yul within StandardCompiler 2019-03-22 01:35:16 +00:00
Bhargava Shastry
f7b5a27581 Fixes bug in byte optimization rule and adds tests. 2019-03-21 14:29:06 +01:00
Chris Ward
7075f158e3 Instead update heading 2019-03-18 16:30:23 +01:00
Chris Ward
855555e941 Add mention of initialisation cost of storage 2019-03-18 14:37:47 +01:00
Chris Ward
61be78b42a Adding populus gotcha covering storage costs 2019-03-18 14:20:47 +01:00
chriseth
6d1ed93247 Use stack optimizations. 2019-03-14 15:34:23 +01:00
chriseth
4503180e8e
Merge pull request #6170 from ethereum/docs-table-format
[DOCS] Long table cell formatting fix
2019-03-14 15:25:29 +01:00
Taariq Levack
cacd271ba6
Update introduction-to-smart-contracts.rst
Looks like this was missed in the bump
2019-03-14 14:51:55 +02:00
chriseth
ba9b3d5e95
Merge pull request #6264 from System-Glitch/docs-resources
[DOCS] Add Solidity IDE to resources page
2019-03-13 19:56:46 +01:00
SystemGlitch
d05cb3662c Add Solidity IDE to resources page 2019-03-13 19:18:01 +01:00
Chris Ward
e76bcf25ea Change conditional operator precedence 2019-03-13 16:29:14 +01:00
Chris Ward
c3543b470f Change hyphen to non-breaking hyphen 2019-03-13 14:37:23 +01:00
Christian Parpart
b29bb6ccb1
Merge pull request #6258 from ethereum/prepare056
Prepare 0.5.6 release.
2019-03-13 13:12:17 +01:00
chriseth
9c9053dd49
Merge pull request #6257 from ethereum/docs-testing
Add mention of docs testing to contribution docs
2019-03-13 12:25:34 +01:00
chriseth
addb3603c7 Prepare 0.5.6 release. 2019-03-13 12:05:26 +01:00
chriseth
58a3f3cf68
Merge pull request #6248 from ethereum/shiftopt-fix-overflow
Fixes u256 overflow in logical shift optimization rule and adds tests.
2019-03-13 12:02:33 +01:00
Chris Ward
920f752fec Add mention of docs testing to contribution docs 2019-03-13 12:01:52 +01:00
chriseth
9ccd5dfec3
Merge pull request #6083 from ethereum/docs-shift-clarify
[DOCS] Clarify shift operator
2019-03-13 11:32:58 +01:00
Bhargava Shastry
515fa872c8 Fixes u256 overflow in logical shift optimization rule and adds tests. 2019-03-13 11:19:20 +01:00
Chris Ward
f0f9f5e2f3 Clarify shift operator
Further clarify shift operators

Return infinity

Changes from review

Update docs/types/value-types.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Formatting fix
2019-03-13 10:57:17 +01:00
Chris Ward
f11f6ab9d9 Add mention of high s
Mention OpenZeppelin library

Change wording
2019-03-08 15:11:27 +01:00
chriseth
9193fcb99f
Merge pull request #6130 from ethereum/docs-pragma
[DOCS] Updates to Pragma docs
2019-03-06 12:07:17 +01:00
Chris Ward
6dcc368183 Small polish to prgama docs
Fix issues

Reset non-typo
2019-03-06 12:01:50 +01:00
Chris Ward
3f5b5fdb8e Begin polish to import docs
Continue import polish
2019-03-06 11:06:46 +01:00
chriseth
8d401ba936 Update pragmas. 2019-03-05 18:10:09 +01:00
Erik Kundt
d778471ef0 Updates Changelog for 0.5.5 release. 2019-03-05 15:11:37 +01:00
chriseth
9a949c1bda Set default EVM version to Petersburg. 2019-03-04 14:53:00 +01:00
Alex Beregszaszi
cc4598a5ed
Merge pull request #6144 from ethereum/petersburg
Support petersburg in evmVersion
2019-03-04 13:50:50 +00:00
chriseth
0045950924 State that yul optimizer is experimental. 2019-03-04 14:27:52 +01:00
Alex Beregszaszi
ecd246aeb6 Support petersburg in evmVersion 2019-03-04 14:10:41 +01:00
Alex Beregszaszi
efe63d4264 Add type(C).name to the documentation 2019-03-04 12:59:14 +01:00
chriseth
4d10f4b4cf Process and validate standard-json optimizer settings. 2019-03-04 11:40:28 +01:00
Alex Beregszaszi
cf5c13f9c7 Introduce global optimiser settings. 2019-03-04 11:40:28 +01:00
chriseth
f9d1c283b7
Merge pull request #5919 from ethereum/docs-ecrecover
[DOCS] Clarify usage of ecrecover
2019-02-27 17:33:37 +01:00
Chris Ward
0c1affe43e Begin documentation style guide
Add pragma to documentation style guide

Fix formatting and add link

Move docs style guide

Changes from review
2019-02-27 11:48:51 +01:00
chriseth
760e6cc321 More explanation about the "runs" parameter. 2019-02-26 13:14:41 +01:00
Chris Ward
7d7237e935 Start draft update to ecrecover
First draft of ecrecover clarifications

Further clarify

Correct byte error

Correct resurfaced typo

Small changes from further review
2019-02-25 11:59:52 +01:00
David Terry
3a452181a0 correct documentation around contract type conversion 2019-02-19 18:26:09 +01:00
Chris Ward
ef9854d31f Add BSD dependencies
Add BSD instructions

Remove z3 dependency from OpenBSD

Add disclaimer

Generalise build instructions

Update docs/installing-solidity.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Add extra version details
2019-02-18 17:34:17 -07:00
Chris Ward
31bc2ec3d5 Add basic modular contract example
Add link to libraries

Line breaks

Change send method to move

Update docs/examples/modular.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Update docs/examples/modular.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
2019-02-15 13:55:38 -07:00
Daniel Kirchner
794e519af8 Update aleth version to 1.5.2. 2019-02-14 12:45:06 +01:00
chriseth
3c075fd740
Merge pull request #5977 from ethereum/enhance_docs
Enhance documentation about usage of `value` and `gas`
2019-02-13 16:03:17 +01:00
Mathias Baumann
8d3f0a16a3 Enhance documentation about usage of value and gas
People might look for information in the members section of the function types chapter.
2019-02-13 11:56:17 +01:00
chriseth
e5e3abf9a1 Fix link 2019-02-13 11:10:25 +01:00
Erik Kundt
1990d7034a Updates Changelog and buglist for the 0.5.4 release. 2019-02-12 12:21:46 +01:00
Chris Ward
b105497d1b Remove Frequently Asked Questions 2019-02-08 08:47:22 +00:00
Alex Beregszaszi
d44bf59192
Merge pull request #5862 from ethereum/packedEncoding
[DOC] Specify packed encoding and add warning.
2019-02-05 16:06:50 +00:00
Chris Ward
779b9986ee Clarify that public prefix only applies to state variables and explain strings. 2019-02-05 16:58:57 +01:00
chriseth
4eb48dd6b7 Specify packed encoding and add warning. 2019-02-05 16:49:24 +01:00
Daniel Kirchner
c4604c0e35 Fix ast in output selection in standard json doc. 2019-02-05 16:33:55 +01:00
Daniel Kirchner
b145934fdb Improve examples in standard json documentation. 2019-02-05 10:29:09 +01:00
Leonardo Alt
61810def3b Fix typo in creationCode docs 2019-01-30 12:54:05 +01:00
Chris Ward
e2642c4d9d Remove initialisation of contract with wei FAQ item 2019-01-30 12:18:38 +01:00
Chris Ward
230e27fd62 Remove FAQ Item 2019-01-28 14:49:21 +01:00
Chris Ward
c33fc2e114 Remove web3 return FAQ item 2019-01-28 14:12:16 +01:00
chriseth
aaf620621f
[DOCS] Fix mention of commandline parameter. 2019-01-22 18:36:26 +01:00
Chris Chinchilla
0a1ec5023a
Merge pull request #5799 from ethereum/faq-strings
[DOCS] Move string manipulation FAQ items to type docs
2019-01-22 16:49:45 +02:00
Chris Ward
9a8882c9fc Move string manipulation FAQ items to type docs
Update docs/types/value-types.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Update docs/types/value-types.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Fixed formatting

Re-add example

Clarify text

Rearrange string manipulation
2019-01-22 13:57:54 +02:00
Chris Ward
96fae0c220 Move FAQ item about truncation checks
Move warning

Updates from feedback

Link to security note and fix link rendering

Move solution to security docs and turn warning to a warning
2019-01-22 13:54:58 +02:00
chriseth
43fb38a84e Update changelog for release. 2019-01-22 09:04:18 +01:00
chriseth
8f694d5119
Merge pull request #5796 from ethereum/faq-send-payable
[DOCS] Merge payable FAQ item
2019-01-21 14:56:50 +01:00
Alex Beregszaszi
ad20e14c8e
Merge pull request #5827 from ethereum/idio-memory-array
[DOCS] Further clarify in-memory arrays
2019-01-21 12:29:19 +00:00
Chris Chinchilla
da73e25398
Merge pull request #5797 from ethereum/faq-array-pass
[DOCS] Remove copy between contracts FAQ item
2019-01-21 12:57:01 +02:00
Chris Ward
a1df27ae3d Merge payable FAQ item 2019-01-21 12:37:08 +02:00
Chris Ward
f39993ced6 Readd example 2019-01-21 12:33:11 +02:00
Chris Ward
f4130d7910 Further clarify in-memory arrays 2019-01-20 19:11:24 +02:00
Evan Saulpaugh
bda0bc8f08
improve packed encoding test vector
packed byte length of ints now unambiguously shown to be type-dependent, not value dependent e.g. uint16(0x03) is 0x0003 not 0x03
2019-01-18 02:30:15 -06:00
chriseth
2ec997e697
Merge pull request #5775 from ethereum/codeAccess
Provide access to code of contract types.
2019-01-18 00:16:06 +01:00
Tomek Kopczynski
369a368a3f Remove unnecessary word 2019-01-17 21:59:31 +01:00
chriseth
01ad4bffe7 Documentation. 2019-01-17 20:36:48 +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 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
Chris Ward
816e23c7f6 Remove FAQ Item 2019-01-16 14:57:31 +02:00
Chris Ward
b58a6a4a04 Remove FAQ item 2019-01-16 14:50:50 +02: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
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
Chris Ward
18cceba81f Split functions docs 2019-01-14 16:34:35 +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 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 Ward
06ca903b37 Split voting example into seperate file 2019-01-14 09:41:10 +02:00
William Entriken
52fd20e98c Use latest version in code snippets. 2019-01-10 11:34:58 +01:00
Chris Chinchilla
a414e13b7a
Merge pull request #5771 from ethereum/docs-split-operators
[DOCS] Split operators involving LValues into new doc
2019-01-10 10:44:33 +01:00
Chris Chinchilla
31033fb473
Merge pull request #5769 from ethereum/docs-split-reference-types
[DOCS] Split Reference types doc into new file
2019-01-10 10:41:43 +01:00
Chris Ward
4cc102fa61 Split operators involving LValues into new doc 2019-01-09 12:37:20 +01:00
Chris Ward
47399a6e2b Split Reference types doc into new file 2019-01-09 12:15:58 +01:00
Chris Ward
874174bd47 Split Value Types docs 2019-01-09 12:06:37 +01:00
chriseth
8da3aa14de
Merge pull request #5744 from ethereum/docs-split-func-mod
[DOCS] Split Function modifiers doc into smaller file
2019-01-08 00:07:17 +01:00
chriseth
28c25efc80
Merge pull request #5756 from ethereum/docs-split-libraries
[DOCS] Split libraries into new doc
2019-01-08 00:06:06 +01:00
chriseth
44de865da1
Merge pull request #5753 from ethereum/docs-split-interfaces
[DOCS] Split interfaces into new file
2019-01-08 00:05:24 +01:00
chriseth
cfa1198892
Merge pull request #5755 from ethereum/docs-split-using-for
[DOCS] Split using for into new file
2019-01-08 00:05:00 +01:00
Chris Ward
cc99d63665 Split interfaces into new file 2019-01-08 00:02:32 +01:00
chriseth
cb4e5936fd
Merge pull request #5749 from ethereum/docs-split-abstract
[DOCS] Split Abstract Contracts docs to new file
2019-01-08 00:00:24 +01:00
chriseth
139dd9fb24
Merge pull request #5748 from ethereum/docs-split-inheritance
[DOCS] Split inheritance into new doc
2019-01-07 23:59:14 +01:00
Chris Ward
5ca509a4ea Split inheritance into new doc 2019-01-07 23:57:08 +01:00
Chris Ward
da1d70e939 Split events docs into file 2019-01-07 23:53:44 +01:00
Chris Ward
f69af050cb Split Abstract Contracts docs to new file 2019-01-07 18:20:57 +01:00
Chris Ward
13cd96136a Split libraries into new doc 2019-01-07 18:13:32 +01:00
Chris Ward
c9b2e5da8f Split Function modifiers doc into smaller file 2019-01-07 18:11:23 +01:00
Chris Ward
ee5eac4b3e Split using for into new file 2019-01-07 18:08:00 +01:00
chriseth
a2926cd9dc
Merge pull request #5742 from ethereum/docs-split-vis-and-get
[DOCS] Split Visibility and Getters section
2019-01-07 18:04:54 +01:00
chriseth
3503f3809d Do not compile the contracts subdirectory. 2019-01-07 17:52:31 +01:00
Chris Ward
26d47c7213 Split creating contracts 2019-01-07 17:48:24 +01:00
Chris Ward
8b8ccd1e1a Exclude included files 2019-01-07 15:13:47 +01:00
chriseth
d9910f2a12
Merge pull request #5732 from ethereum/pragma-update
[DOCS] Update non-existent pragma 0.4.99 to 0.5.0
2019-01-07 15:12:22 +01:00
Chris Ward
cefc6c433e Update non-existant pragma 0.4.99 to 0.5.0
Use correct syntax for pragma

Change pragma syntax

One more change to pragma syntax
2019-01-07 14:20:10 +01:00
Chris Ward
1da2c1f7e4 Split Constant State Variables doc 2019-01-07 14:14:26 +01:00
chriseth
f7b7c59e27
Merge pull request #5734 from ItsNickBarry/deprecation-notices
clarify antecedents in deprecation notices
2019-01-07 12:28:19 +01:00
chriseth
4fa2a6865d
Merge pull request #5720 from ethereum/docs_type_conversion
[DOCS] Fix examples in type conversion docs
2019-01-07 12:27:29 +01:00
chriseth
96d220163d
Merge pull request #5731 from poiresel/docs_spelling_fixes
resolve spelling issues in the docs folder
2019-01-07 12:26:50 +01:00
Chris Ward
ae107bde3c Split Visibility and Getters doc 2019-01-07 11:58:11 +01:00
chriseth
a0b8201442
Merge pull request #5727 from spmvg/develop
[DOCS] fix typo in docs/contracts.rst
2019-01-07 11:57:05 +01:00
chriseth
f37990348a
Merge pull request #5698 from ethereum/chriseth-patch-2
[DOC] More details about packed encoding.
2019-01-07 11:52:46 +01:00
Nick Barry
12d00d38bd clarify antecedents in deprecation notices 2019-01-03 00:35:06 -06:00
chandan kumar mandal
fdd24d12f3
copyright year updated
Happy New Year !! 🎇
Copyright year udated to 2019.
2019-01-02 02:54:43 +05:30
spmvg
cc400dbeca fix typo in docs 2018-12-30 22:23:20 +01:00
Leonardo Alt
444464f8cf Fix examples in type conversion docs 2018-12-23 22:18:01 +01:00
poiresel
bf93665ad8 resolve spelling issues in the docs folder 2018-12-21 10:49:11 -05:00
chriseth
ac6f80b4e9 [DOC] More details about packed encoding. 2018-12-20 14:49:52 +01:00
chriseth
dd49196d3f
Merge pull request #5701 from ethereum/faq-struct
DOCS: Remove Structs item from FAQ
2018-12-20 09:03:00 +01:00
Chris Ward
ca31a9f9b9 Remove comments FAQ item 2018-12-19 17:45:02 +01:00
chriseth
8ce95312b6 Update buglist. 2018-12-19 17:07:28 +01:00
Chris Ward
43d072df7f Remove Structs item from FAQ 2018-12-19 16:38:31 +01:00
Zacharius
af3e6db038 changed interface code example to illustrate working solidity version 2018-12-19 12:22:49 +01:00
Mathias Baumann
36dc56fa77 Doc: Fix typo "a messy" -> "a mess" 2018-12-18 20:17:44 +01:00
chriseth
eed46f0011
Merge pull request #5680 from ethereum/doc-fix-trivial
[Trivial] Format "and" as instruction op code
2018-12-18 19:50:46 +01:00
Mathias Baumann
e9944206a5 Rephrase opcode result returning description
It was a bit between the lines that "pushing on the stack" is their
means of returning a result.
2018-12-18 19:36:38 +01:00
Mathias Baumann
50101570ef Format "and" as instruction op code 2018-12-18 18:06:43 +01:00
chriseth
5066424758 Build in release mode. 2018-12-18 16:20:02 +01:00
Chris Ward
995840bfe0 Updates arrays section to improve order and clarify concepts 2018-12-18 12:17:22 +01:00
Chris Ward
72c977608f Clean input and output function types
Updates from review
2018-12-17 17:31:12 +01:00
Chris Ward
7b9fd4676d Add array item deletion idiosyncracy 2018-12-17 13:50:47 +01:00
Chris Ward
2e8114f312 Fix italics formatting issue 2018-12-17 13:30:06 +01:00
chriseth
996bfb2a83
Merge pull request #5648 from ethereum/useMemoryDB
Update to use memorydb for aleth.
2018-12-13 15:58:33 +01:00
chriseth
1c4caaa0a2
Merge pull request #5636 from ethereum/faq-array-literal
DOCS: Remove FAQ item that covers array literals
2018-12-13 15:56:21 +01:00
chriseth
02a8e5d4e9 Update to use memorydb for aleth. 2018-12-13 12:07:32 +01:00
chriseth
17bf164afe
Merge pull request #4951 from ethereum/alethUpdates
Use current aleth release for testing.
2018-12-12 18:41:35 +01:00
Chris Ward
a4da8c1ad8 Remove FAQ item on killing contracts 2018-12-12 17:21:36 +01:00
Ricardo Guilherme Schmidt
c7e0965801 Add NatSpec to Style-Guide
related to #2270
2018-12-12 16:51:28 +01:00
Chris Ward
d03b52519a Remove FAQ item that covers array literals 2018-12-12 14:57:47 +01:00
Chris Ward
774f7e6129 Remove payload FAQ item 2018-12-12 14:26:58 +01:00
chriseth
2f04633e27 Explain source IDs. 2018-12-11 15:48:12 +01:00
chriseth
fe87cc7eb0 Improve explanation how to get abi output. 2018-12-11 15:48:12 +01:00
Daniel Kirchner
6d82ad1338 Test updates for recent versions of aleth. 2018-12-11 04:47:05 +01:00
Mathias Baumann
a3918c2341 ContribDoc: Link formatted instead of raw version of coding guidlines 2018-12-10 16:26:05 +01:00
chriseth
8d623dcca1 Massage changelog for 0.5.1 2018-12-03 14:16:34 +01:00
Chris Ward
78ca2801d8 Move String literal and inline array FAQ items
Fix tab

Update docs/types.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Update docs/types.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
2018-12-03 11:49:42 +01:00
chriseth
0d1dd30ce8
Merge pull request #5524 from ethereum/yulGrammarChanges
Yul grammar changes.
2018-12-03 11:25:20 +01:00
chriseth
413cb67a55
Merge pull request #5532 from ethereum/docs-style-add-mapping
DOCS: Add mapping guide to style docs
2018-12-03 11:19:17 +01:00
chriseth
3159e2a220
Merge pull request #5547 from ethereum/assemblySyntax
Update assembly grammar part.
2018-12-03 11:18:56 +01:00
chriseth
ba5d8b5a23
Merge pull request #5565 from ethereum/listTests
Explain how to get a list of all tests.
2018-12-03 10:47:02 +01:00
Chris Ward
bbe0268163 Add mapping guide to style docs thanks to @aupiff 2018-12-03 10:43:53 +01:00
Chris Ward
32c3f6c817 Add link between functions in contract structure and more details
Fix missing label
2018-12-03 09:06:19 +01:00
chriseth
98a0779771 Explain how to get a list of all tests. 2018-12-03 08:26:56 +01:00
chriseth
a73df9bc18
Merge pull request #5562 from Altrum/debugDocs
Updated docs on information about debugging and how to run commands.
2018-12-03 08:23:20 +01:00
Robert Chung
4a907faf44 Added information about debugging and examples on how to run subsets of tests. 2018-12-01 21:40:43 -08:00
chriseth
436696d3b6 Update assembly grammar part. 2018-11-30 18:24:15 +01:00
chriseth
2867c2b4dd Clarify "copying bytecode" in inheritance. 2018-11-29 13:33:10 +01:00
Chris Ward
b75859ff15 Begin overhaul of documentation index 2018-11-28 15:40:21 +01:00
chriseth
cb9816f7d6 Yul grammar changes.
- also the top level object needs to be named
 - code is not optional
2018-11-28 11:32:05 +01:00
chriseth
5e55cb1729
Merge pull request #5277 from ethereum/docs-5175-require-revert
DOCS: Add mention that pure functions can require and revert
2018-11-26 20:10:12 +01:00
Chris Ward
ae542176e3 Add that pure functions can use revert and require 2018-11-26 20:07:22 +01:00
Chris Ward
12daec3535 Move function related content to contracts doc 2018-11-26 19:46:31 +01:00
Chris Ward
2d5516b28d Review contributing docs for language and ease 2018-11-26 18:40:38 +01:00
chriseth
f1cebed998
Merge pull request #5287 from ethereum/docs-update-input-parameters
DOCS: Merge FAQ into docs on multi-dimensional arrays
2018-11-26 15:19:55 +01:00
chriseth
7cc6738df3
Merge pull request #5438 from ethereum/docs-faq-types-undefined
DOCS: Move undefined FAQ item
2018-11-26 14:51:38 +01:00
William Entriken
b98a9eeb97 Define how inheritance affects storage 2018-11-26 14:44:18 +01:00
David Lozano Jarque
95206f26c8
Update types.rst
RST note with incorrect syntax
2018-11-26 11:39:33 +01:00
Chris Ward
58181e8df9 Move FAQ point to input and output parameters and polish surrounding text
Update docs/control-structures.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Remove line with no further details.

Fix tabs

Remove FAQ item
2018-11-26 11:04:36 +01:00
David Lozano Jarque
06ae228621
Update installing-solidity.rst
Homebrow -> homebrew
2018-11-25 19:19:05 +01:00
David Lozano Jarque
08579818c3
Update introduction-to-smart-contracts.rst
Fix typo
2018-11-25 17:39:02 +01:00
Erik Kundt
f57ef36c0e
Update docs/types.rst
Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
2018-11-23 17:16:18 +01:00
Chris Ward
9c1bdb74b9 Add default value details 2018-11-23 10:16:30 +01:00
chriseth
bc5d152e86
Update docs/types.rst
Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
2018-11-23 09:54:27 +01:00
Javier Tarazaga
90b244d102 Added Superblocks Lab IDE to the generic section 2018-11-22 00:10:29 +00:00
chriseth
3a15f88683
Merge pull request #5434 from fulldecent/patch-8
Qualify that storage slots are shared for contiguous data
2018-11-22 00:36:34 +01:00
chriseth
2bf5e6fa9c
Merge pull request #5439 from ethereum/docs-faq-types-array-length
DOCS: Remove length related FAQ item
2018-11-21 19:26:07 +01:00
Chris Ward
9b657134ef Remove length related FAQ item 2018-11-15 12:11:25 +01:00
Chris Ward
f1d02432a6 Move undefined FAQ item 2018-11-15 12:02:38 +01:00
Chris Ward
5f4eb96341 Remove Struct copy FAQ item 2018-11-15 11:55:57 +01:00
Alex Beregszaszi
9db76403bb
Merge pull request #5430 from kn1g/patch-1
Consistent use of address()
2018-11-15 10:10:08 +00:00
Yet another codejunkie
caf44302e5
Fixed consistent use of nameReg
Fixed consistent use of `nameReg` instead of `namReg`
2018-11-15 10:10:28 +01:00
William Entriken
bddbdebd91
Qualify that storage slots are shared for contiguous data 2018-11-14 22:39:12 -05:00
Alex Beregszaszi
d66052554c Fix indentation in documentation 2018-11-14 21:01:53 +00:00
Yet another codejunkie
b6e2e4ad6b
Consistent use of address()
First example is with address() and the following examples without. I suggest a consistent use here.
2018-11-14 18:31:22 +01:00
chriseth
5783ebb93d Small changes to yul object specification. 2018-11-14 18:17:43 +01:00
Chris Ward
121d733b34 Begin review of micropayments example
Language tidy, add correct method and package namespaces and make more consistent with each project docs

First changes from review

Further fixes after review

Fix line breaks

Revert code changes

Update
2018-11-14 17:14:19 +01:00
Chris Ward
eef6697355 Change terminology used for input output parameters
Change from review

Changes from review

Changes fro review

Changes from review
2018-11-14 14:46:37 +01:00
Chris Ward
fa1cb346ae Update syntax used for input and output parameters 2018-11-14 14:20:49 +01:00
chriseth
17e81c6eca
Merge pull request #5410 from ethereum/lll-build
Do not build LLL unless requested via the LLL cmake option
2018-11-14 11:11:41 +01:00
chriseth
79243eac08 Rename some builtin yul functions for signed types. 2018-11-14 00:58:58 +01:00
Alex Beregszaszi
b4fcce0bde Do not build LLL unless requested via the LLL cmake option 2018-11-13 23:51:17 +00:00
chriseth
91b6b8a88e
Merge pull request #5413 from ethereum/updateChangelogForRelease
Add release date to changelog.
2018-11-13 17:51:21 +01:00
chriseth
dd03d80173 Add release date to changelog. 2018-11-13 16:24:17 +01:00
chriseth
289965e6a8
Merge pull request #5412 from ritzdorf/patch-2
keccak256 does not call an external contract
2018-11-13 16:21:12 +01:00
Alex Beregszaszi
4c98a6a2a3 Add LLL chapter in the documentation 2018-11-13 15:14:10 +00:00
ritzdorf
8258712771
keccak256 does not call an external contract
``keccak256`` will be compiled to the ``SHA3`` opcode and not call an external contract.
2018-11-13 15:54:13 +01:00
chriseth
a7b3ec0e42 Fix style. 2018-11-12 22:57:32 +01:00
Chris Ward
144909dfb8 Clarify creating a contract example as reported in #2661 2018-11-12 15:07:57 +01:00
Chris Ward
6319a3fd06 Move control structure related FAQ points
Updates from reviews

clarify returning structs, and move returning arrays and strings from separate section

Further clarifications

Updates from review

Final updates
2018-11-12 14:34:09 +01:00
chriseth
d68dfd2c20
Merge pull request #4860 from ethereum/docs-2175-index-missing
Add mention of common subexpression elimination
2018-11-12 14:18:28 +01:00
Chris Ward
4370425823 Clarify term and tidy text
Use UK spelling in heading

Remove colon
2018-11-12 14:17:09 +01:00
chriseth
0b94ac5b04 Add note about changing the storage layout. 2018-11-12 12:59:26 +01:00
chriseth
af65bac737 Remove trailing whitespace. 2018-11-12 09:15:22 +01:00
chriseth
e906b36604
Merge pull request #5352 from ethereum/docContractConversions
[DOCS] Document disallowed explicit conversions between unrelated contract types.
2018-11-08 11:38:07 +01:00
chriseth
d3e111d493
Merge pull request #5353 from ethereum/docInteroperability
[DOCS] Document interoperability between 0.5.0 and pre-0.5.0 contracts.
2018-11-08 11:36:44 +01:00
Daniel Kirchner
c38591858d Document interoperability between 0.5.0 and pre-0.5.0 contracts. 2018-11-07 16:55:06 +01:00
Daniel Kirchner
8b2f8b1ea2 Document disallowed explicit conversions between unrelated contract types. 2018-11-07 16:44:35 +01:00
chriseth
5df83346f3 Integers cannot be implicitly converted to address 2018-11-06 09:11:02 +01:00
Leanne
e5836fc276
Fixes typo 2018-11-03 16:02:41 -04:00
Eitan Levin
1b18891424
up-for-grabs swapped for good first issue 2018-10-30 16:04:15 +02:00
Berk Erol
19064e81bc
Add check for whether voter has right to vote 2018-10-26 09:53:57 +03:00
chriseth
41375b5d79
Merge pull request #5122 from ethereum/docs-contributing-pt3
Final contribution review in fuzzer section
2018-10-25 18:41:52 +02:00
Chris Ward
feff3fe3e9 Final contribution review in fuzzer section 2018-10-25 18:40:40 +02:00
chriseth
525fa5109d
Clarify import. 2018-10-25 18:28:24 +02:00
Chris Ward
0d4bdfbbb0 Move FAQ item regarding contract to contract calls and resulting transaction 2018-10-23 13:30:58 +02:00
Chris Ward
271a56b7db Add new resources section seperate from docs index 2018-10-17 19:49:28 +02:00
chriseth
3d1ca07e9b
Merge pull request #3047 from ethereum/abi-strict
Add strict encoding mode to the ABI spec
2018-10-17 19:14:00 +02:00
chriseth
fb0ec1c562
Merge pull request #5245 from ethereum/chriseth-patch-2
Add Ethfiddle
2018-10-17 17:22:15 +02:00
Kevin Azoulay
932690c2db French translation (in progress) added to the docs 2018-10-17 15:26:39 +02:00
chriseth
3d9f478a66
Add Ethfiddle 2018-10-17 14:46:51 +02:00
chriseth
af3300b86c
Merge pull request #5233 from pRoy24/develop
Update minor typo in Storage section of docs
2018-10-17 14:32:34 +02:00
Jeffrey Anthony
ab940f201a
minor spelling correction
whas => was
2018-10-16 15:13:58 -04:00
Pritam Roy
95104a088f
Update minor typo in Storage section of docs 2018-10-16 05:04:57 +05:30
chriseth
88b1558862
Merge pull request #4843 from ethereum/docs-2177-abi-type
Link and clarify ABI type
2018-10-15 14:40:07 +02:00
Chris Ward
6e47ca1eda Link and clarify ABI type
Remove rogue ’s’

Clarify wording

Revert other changes and just add link
2018-10-15 14:20:51 +02:00
mordax
f60251f3b4 Add extra documentation for running compiler tests on Windows 2018-10-15 11:37:02 +02:00
mordax
58252950a7 Removing mention of submodules from docs/build 2018-10-13 21:31:39 -04:00
chriseth
26c693aa92 Change library placeholder to __$<hash>$__. 2018-10-12 15:15:02 +02:00
chriseth
e8ba2d6e46 Document library placeholder change. 2018-10-12 15:15:01 +02:00
chriseth
6e61d92495
Fix typo in yul example 2018-10-10 20:54:21 +02:00
chriseth
62fb0e29c9
Merge pull request #5163 from ethereum/docDeployment
Explain deployment.
2018-10-10 15:40:37 +02:00
chriseth
d2157ae5e9
Merge pull request #5183 from ethereum/fixCreate2
Fix create2
2018-10-10 15:30:32 +02:00
chriseth
c6048b6843
Merge pull request #3834 from ethereum/docsArrayStorageLayout
[DOCS] Update storage layout
2018-10-10 15:29:25 +02:00
chriseth
4035c96a32
Merge pull request #5184 from ethereum/viewFunctionDocs
Library view functions
2018-10-10 15:21:40 +02:00
Erik Kundt
c32e6f8d5f Documents storage layout of mappings and dynamic arrays. 2018-10-10 15:13:32 +02:00
Erik Kundt
8a15058a21 Adds more specific explanation of library view functions calls. 2018-10-10 15:10:25 +02:00
Erik Kundt
4beabf6686 Documents library view functions and adds unit test. 2018-10-10 12:28:24 +02:00
chriseth
3bbb1ee2c0 Fix create2 2018-10-10 11:50:49 +02:00
chriseth
08cf304159 Explain deployment. 2018-10-09 14:14:41 +02:00
Tomasz Drwięga
88d10b37d7
Clarify contract creation transaction
The change clarifies how contracts are deployed. The docs state that it's a transaction sent to `0` address (which is incorrect), the PR changes that to emphasize that the recipient is not set.
2018-10-09 08:58:05 +02:00
chriseth
0712da6421 Fix version pragma in documentation. 2018-10-09 03:15:53 +02:00
chriseth
ede937999c Add entry into the breaking changes list. 2018-10-08 22:47:29 +02:00
Alex Beregszaszi
363b527bc5
Merge pull request #5148 from ethereum/chriseth-patch-2
Remove non-ascii quotes.
2018-10-06 01:38:45 +01:00
Chris Ward
36c2f9c33f Add link to string literals 2018-10-05 15:53:01 +02:00
chriseth
6706f3eb96
Remove non-ascii quotes. 2018-10-05 14:46:02 +02:00
Chris Ward
973d91ec89 Update docs on event data and logs
Updates from comments

Clarify code comments and add an event output example

Clarification from review

Updated with information from @gumb0

Add clarifier

Updates from review

Remove link

Update example code
2018-10-05 11:25:48 +02:00
Erik Kundt
acabe04f87 Adds note about Standalone assembly. 2018-10-04 17:31:28 +02:00
chriseth
0b6c6141c4 [DOCS] Update assembly. 2018-10-04 17:31:28 +02:00
chriseth
68dfe8b640
Merge pull request #5126 from ethereum/chriseth-patch-1
[DOCS] Remove duplicate statement about pure enforcement.
2018-10-04 13:55:45 +02:00
chriseth
d76bfcd935 Fix typos. 2018-10-04 13:28:16 +02:00
chriseth
1305bf34f0
Merge pull request #5073 from IIIIllllIIIIllllIIIIllllIIIIllllIIIIll/patch-4
separate out a new "Design Criteria" section from "Formal Specification"
2018-10-04 13:02:33 +02:00
Li Xuanji
26d36e1faa separate out a new "Design Criteria" section from "Formal Specification" 2018-10-04 13:00:33 +02:00
chriseth
98fa46bfe0
Merge pull request #5119 from ethereum/docs-contributing-dependencies
Add Linux dependencies and move
2018-10-04 12:29:19 +02:00
dm4
f343c5a730 [DOCS] Add missing backtick for inline code syntax. 2018-10-03 14:40:30 +08:00
J Quinn
c20c9163af
Changed pragma explanation to match example 2018-10-02 03:06:37 +01:00
chriseth
24d1507537
Remove duplicate statement about pure enforcement. 2018-10-01 15:46:49 +02:00
chriseth
80012e6989
Merge pull request #5084 from ethereum/updateContributing
[DOCS] Update contributing.
2018-10-01 13:49:30 +02:00
chriseth
b93c11f7a1 fixup! fixup! fixup! [DOCS] Update contributing. 2018-10-01 13:34:36 +02:00
chriseth
9589eb1bb6
Merge pull request #5117 from ethereum/yul_grammar
[DOCS] Yul grammar: missing If in Block rule
2018-10-01 13:21:08 +02:00
chriseth
ba68966ea1
Merge pull request #5114 from ethereum/assembly-docs
Improve the create2 description in assembly.rst (and include in yul.rst)
2018-10-01 13:08:10 +02:00
chriseth
593d303ced fixup! fixup! [DOCS] Update contributing. 2018-10-01 12:54:04 +02:00
Chris Ward
fb7380a92d Fix issues introduced from PR #5043 2018-09-30 17:00:50 +03:00
Chris Ward
5e9482c19b Add Linux dependencies and move 2018-09-30 16:02:40 +03:00
Leonardo Alt
6c55eaf835 Missing If in Block rule 2018-09-29 19:42:44 +02:00
Alex Beregszaszi
e109d1a6cf Include create2/extcodehash in yul.rst 2018-09-28 00:08:19 +01:00
Alex Beregszaszi
2a75142688 Improve the create2 description in assembly.rst 2018-09-28 00:08:02 +01:00
Alex Beregszaszi
c4b5101b9d
Merge pull request #4676 from jwasinger/extcodehash
Add support for EXTCODEHASH
2018-09-28 00:04:40 +01:00
chriseth
4e69ff2ee5 [DOCS] Security updates. 2018-09-27 16:19:21 +02:00
chriseth
998de84836 fixup! [DOCS] Update contributing. 2018-09-27 15:24:45 +02:00
chriseth
c4d8801495 [DOCS] Update contributing. 2018-09-27 15:07:00 +02:00
chriseth
b43e9f27f8 Pitfalls regarding over/underflows 2018-09-27 14:55:05 +02:00
chriseth
dd3459d76f
Merge pull request #5108 from ethereum/payableWithdrawal
Explain address payable and withdraw.
2018-09-27 13:29:46 +02:00
chriseth
927cdb3170 Explain address payable and withdraw. 2018-09-27 11:48:41 +02:00
chriseth
0869167786 [DOCS] More on reference types. 2018-09-27 11:05:18 +02:00
Alex Beregszaszi
9508406984
Merge pull request #5087 from ethereum/semantics4
[DOCS] Semantics of negation.
2018-09-26 22:29:11 +01:00
chriseth
d51d4def9e
Merge pull request #5101 from ethereum/docs-return-metadata-note
Return note taken from metadata and reorder
2018-09-26 22:51:40 +02:00
chriseth
7d1c428838 [DOCS] Semantics of negation. 2018-09-26 22:35:29 +02:00
Alex Beregszaszi
2a392aa8f9
Merge pull request #5085 from ethereum/updatefaq
[DOCS] Update FAQ
2018-09-26 18:43:16 +01:00
chriseth
9c2b809fc7 [DOCS] Update metadata. 2018-09-26 18:01:13 +01:00
Chris Ward
663fbf213e Return note taken from metadata and reorder 2018-09-26 19:32:16 +03:00
Alex Beregszaszi
a0b58696d8 Remove unary + from floating point types documentation 2018-09-26 17:06:52 +01:00
Alex Beregszaszi
61a4d93d1f Make the exponentiation 0**0 note a real RST note 2018-09-26 17:05:54 +01:00
Alex Beregszaszi
2b2fad3556 Rename remainder to modulo 2018-09-26 17:05:25 +01:00
chriseth
a17ca003cc
Merge pull request #5006 from ethereum/modSemantics
Document modulo semantics
2018-09-26 17:33:51 +02:00
chriseth
754431caf6 [DOCS] Update FAQ 2018-09-26 17:21:30 +02:00
Erik Kundt
d47ea5bb47 Documents modulus semantics. 2018-09-26 17:19:40 +02:00
Alex Beregszaszi
8d8c855810 Add extcodehash to the assembly documentation 2018-09-26 16:12:54 +01:00
Chris Ward
d51b55c847 Add content from old Solidity wiki 2018-09-26 15:37:34 +02:00
chriseth
29c3526a35 [DOCS] Update "using the compiler". 2018-09-26 15:29:22 +02:00
chriseth
13cd7c3fed
Merge pull request #5061 from ethereum/fixedSizeArrayLength
Disallow fixed-size arrays with zero length
2018-09-26 14:55:07 +02:00
Erik Kundt
79307059e5 Updates breaking changes documentation. 2018-09-26 13:47:59 +02:00
Alex Beregszaszi
608f36d77b
Merge pull request #5082 from ethereum/abiUpdate
[DOCS] Update abi.
2018-09-25 20:31:17 +01:00
Alex Beregszaszi
15dbb9cc4e
Merge pull request #5083 from ethereum/updatePatterns
[DOCS] Update common patterns.
2018-09-25 20:26:35 +01:00
Alex Beregszaszi
2231df834d
Merge pull request #5088 from ethereum/morePragmas
[DOCS] Some more explanation about pragmas.
2018-09-25 20:09:32 +01:00
Alex Beregszaszi
e3e9ce53d7 Set 0.5.x specific example code to be compilable with >0.4.99 <0.6.0 (e.g. 0.5.x only) 2018-09-25 19:04:34 +01:00
chriseth
3cec3f13e5 [DOCS] Some more explanation about pragmas. 2018-09-25 20:04:10 +02:00
Alex Beregszaszi
3ca00c73f9 Update version pragma in all documentation examples 2018-09-25 19:03:25 +01:00
chriseth
b08d49338e
Merge pull request #5022 from ethereum/lastValue
[DOCS] Last part of value types.
2018-09-25 19:45:40 +02:00
chriseth
86e4276e24 [DOCS] Update common patterns. 2018-09-25 19:08:16 +02:00
chriseth
e470408cf4 [DOCS] Update abi. 2018-09-25 19:01:02 +02:00
chriseth
3eb5ecdf58
Merge pull request #4925 from wbt/patch-2
Clarify docs around reserved memory byte ranges
2018-09-24 16:27:21 +02:00
wbt
bc363a7e3a Clarify docs around reserved memory byte ranges
Minor documentation issue to improve reading flow as it goes from talking about a specified number of 32-byte slots being reserved to giving numbers which refer to byte ranges within the space of memory resulting from the union of those slots.
2018-09-24 16:26:35 +02:00
chriseth
a9e22e0766
Merge pull request #5043 from ethereum/updateContractsSection
[DOCS] Update contracts section.
2018-09-24 16:24:37 +02:00
chriseth
516267a9a4
Merge pull request #5039 from ethereum/controlStructures2
[DOCS] Update control structures (2).
2018-09-24 16:16:04 +02:00
chriseth
cecc4f6643 [DOCS] Update control structures (2). 2018-09-24 16:15:45 +02:00
chriseth
7552928064
Merge pull request #5038 from ethereum/controlStructures1
[DOCS] Control structures 1.
2018-09-24 16:15:14 +02:00
chriseth
0f53f80eb2
Merge pull request #5045 from ethereum/updateMisc
[DOCS] Update misc.
2018-09-24 14:38:11 +02:00
chriseth
5cbff19d26 Review comments [to be squashed] 2018-09-24 14:13:25 +02:00
chriseth
535af42405 [DOCS] Update contracts section. 2018-09-24 14:08:44 +02:00
chriseth
917cf4ad8e [DOCS] Control structures 1. 2018-09-24 14:03:37 +02:00
chriseth
2032953577
Merge pull request #5025 from ethereum/refTypes
[DOCS] Update reference types.
2018-09-24 13:54:19 +02:00
chriseth
7bb3b07c23 [DOCS] Update misc. 2018-09-20 23:05:00 +02:00
chriseth
e2baad54c5
Merge pull request #5035 from ethereum/moreTypesUpdates
[DOCS] Final updates to types section.
2018-09-20 21:15:45 +02:00
chriseth
43a1175457
Merge pull request #5036 from ethereum/unitsAndGlobals
[DOCS] Update units and globals.
2018-09-20 21:14:13 +02:00
William Entriken
ea6bb340d4 Document array length changing behaviors, fixes #4802 2018-09-20 20:57:38 +02:00
chriseth
fb8617f059 [DOCS] Update reference types. 2018-09-20 20:51:37 +02:00
chriseth
c43bbd1a68
Merge pull request #5021 from ethereum/moreTypes
More types.
2018-09-20 20:46:27 +02:00
chriseth
3327981108 More types. 2018-09-20 20:44:37 +02:00
chriseth
fc5cad9b7f [DOCS] Update units and globals. 2018-09-20 15:10:14 +02:00
Leonardo Alt
e785fe0c07 Add struct->tuple to the Solidity->ABI types table 2018-09-20 15:08:52 +02:00
chriseth
cb7866916e [DOCS] Final updates to types section. 2018-09-20 14:00:01 +02:00
Alex Beregszaszi
c3dd413c34
Merge pull request #4808 from ethereum/4259-evm-version
[DOCS] Add details on using the compiler --version flag
2018-09-20 11:24:58 +01:00
Alex Beregszaszi
420807b871
Merge pull request #5031 from ethereum/hexLitCapital050
[DOCS] Explain that ``0X`` is disallowed in changes documentation.
2018-09-20 11:10:11 +01:00
chriseth
9918018e96 Explain that `0X` is disallowed in changes documentation. 2018-09-20 11:09:27 +02:00
chriseth
28c9b5db6a
Merge pull request #5011 from hydai/disallow_uppercase_x
Disallow uppercase X in hex number literals
2018-09-20 11:07:56 +02:00
Chris Ward
92112799d4 Explain EVM version setting. 2018-09-20 11:05:06 +02:00
Richard Littauer
3af2e66ad9 Extend the CoC to cover all interactions
Previously, the guide implied it only applied to Pull Requests. See https://github.com/ethereum/solidity/issues/4445#issuecomment-418159492.
2018-09-19 10:56:07 -04:00
hydai
b409faa675
Disallow uppercase X in hex number literals 2018-09-19 22:01:15 +08:00
chriseth
32362f1b38 Last part of value types. 2018-09-19 15:54:30 +02:00
Alex Beregszaszi
5f919d02ab
Merge pull request #4907 from ethereum/chriseth-patch-4-1
Blockchain basics part 1
2018-09-19 14:06:40 +01:00
Alex Beregszaszi
fd812d2ad8
Merge pull request #5019 from ethereum/addressDocs
Extend section on addresses.
2018-09-19 13:51:53 +01:00
chriseth
10252bafa1 Blockchain basics part 1 2018-09-19 14:44:39 +02:00
Leonardo Alt
1770e9c02f Explaining how Solidity types map to ABI types 2018-09-19 14:28:45 +02:00
chriseth
b359fb6702 Extend section on addresses. 2018-09-19 14:11:48 +02:00
Leonardo Alt
8d561aa1ac Tiny fixes on the 050 breaking changes docs section 2018-09-19 11:20:25 +02:00
chriseth
7c15f6b1d4
Merge pull request #5009 from ethereum/file-order
Include pragma in 'Order of Layout' in the style guide
2018-09-19 09:33:37 +02:00
chriseth
48a3fe204f
Merge pull request #4892 from ethereum/docs_050_features
New docs section on "050 breaking changes"
2018-09-18 16:16:42 +02:00
Alex Beregszaszi
64f55c13d4
Merge pull request #4972 from ethereum/addPragma
Explain pragmas.
2018-09-18 15:13:28 +01:00
Leonardo Alt
13d8645506 050 breaking changes in docs 2018-09-18 16:12:18 +02:00
Alex Beregszaszi
6f758a6c95 Include pragma in 'Order of Layout' in the style guide 2018-09-18 15:06:49 +01:00
Chris Ward
98bc9ac326 Added order of layout to style guide 2018-09-18 15:37:16 +02:00
chriseth
2c613127c9 Explain pragmas. 2018-09-18 15:16:40 +02:00
chriseth
06ffcd0502
Merge pull request #4819 from ethereum/docs-4532-mapping-type
Docs: Clarify mapping type
2018-09-18 14:23:32 +02:00
Alex Beregszaszi
fcb48bceff
Merge pull request #4976 from ethereum/operationalSemantics
Some operational semantics.
2018-09-18 11:19:40 +01:00
Leonardo Alt
d51cb16ed0 Add a link from ecrecover to address 2018-09-18 11:06:33 +02:00
Chris Ward
20e8f143f6 Clarify mapping type 2018-09-17 19:29:40 +02:00
chriseth
3c55cfd936
Merge pull request #4970 from ethereum/chriseth-patch-6
Updates to examples.
2018-09-17 19:15:32 +02:00
Alex Beregszaszi
7a19ac629f
Merge pull request #4971 from ethereum/chriseth-patch-7
Update solidity-in-depth.rst
2018-09-17 18:15:02 +01:00
chriseth
9c13bc73de Some operational semantics. 2018-09-17 19:09:14 +02:00
Chris Ward
7b82a83786 Improve noted sections of Inline assembly doc 2018-09-17 19:00:05 +02:00
Chris Ward
98349929cd Add clarification of state variables 2018-09-17 15:56:04 +02:00
chriseth
804ea43782
Merge pull request #4973 from ethereum/updateImports
Some more info about imports and comments.
2018-09-17 15:34:48 +02:00