Commit Graph

1724 Commits

Author SHA1 Message Date
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
chriseth
a32fb75f8f Some cleanup in structure section. 2018-09-17 15:25:25 +02:00
chriseth
40b71cb977
Merge pull request #4964 from ethereum/updateBuilding
Some updates about how to install solidity.
2018-09-17 15:21:38 +02:00
chriseth
5f4a2d2cad
Merge pull request #4849 from lastmjs/develop
Introduce static elementary types to use
2018-09-14 00:54:53 +02:00
Jordan Last
d0497aacc0 fixing rebase conflicts
add ElementaryTypes::BytesMemory and ElementaryTypes::StringMemory

fix rebase conflicts

fixing rebase conflicts

use make_shared instead of new

fix tabs and StateMutability parameter

create address and addressType functions, fix spaces in comment

fix typo and switch nonpayable to payable

fix spaces

fix comment again
2018-09-13 15:53:06 -06:00
chriseth
c221ab132d Review suggestions. 2018-09-13 23:43:15 +02:00
chriseth
1205de65dc Some updates about how to install solidity. 2018-09-13 23:43:15 +02:00
chriseth
6de07e5c10 Blockchain basics part 2 2018-09-13 23:30:51 +02:00
chriseth
300ac9878f Merge branch 'release' into develop. 2018-09-13 22:54:57 +02:00
chriseth
540150a8fb Some more info about imports and comments. 2018-09-13 18:41:08 +02:00
chriseth
738906c235
Update solidity-in-depth.rst 2018-09-13 18:17:01 +02:00
chriseth
5272fe660c
Updates to examples. 2018-09-13 18:04:49 +02:00
Daniel Kirchner
e7daed68c1
Merge pull request #4911 from ethereum/addressPayable
Payable and non-payable address type.
2018-09-13 17:30:54 +02:00
chriseth
8e924fd644 Second part of coin example. 2018-09-13 15:52:43 +02:00
Daniel Kirchner
12aaca1645 Add payable and non-payable state mutability to AddressType. 2018-09-13 15:15:49 +02:00
chriseth
8c56a5912b Set relase date of 0.4.25. 2018-09-12 18:38:16 +02:00
Leonardo Alt
75e38be050 Bugfix entry regarding nested arrays returned by library functions 2018-09-11 15:06:28 +02:00
Daniel Kirchner
1ce3581a52 Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
Leo Arias
d33a99799d On a yul switch, at least one case is required when there is no default statement 2018-09-11 01:27:47 +00:00
Leonardo Alt
69320472af Buglist check script supports json paths 2018-09-10 16:45:56 +02:00
chriseth
3b7be594cf Update bug description, add regex and tests. 2018-09-10 14:38:48 +02:00
chriseth
be713ed117 Changelog entry and bug list. 2018-09-10 14:37:58 +02:00
chriseth
9f6a12eeb5 Update bug description, add regex and tests. 2018-09-10 12:58:40 +02:00
chriseth
b84a1b390b Changelog entry and bug list. 2018-09-10 12:47:46 +02:00
Florian Antony
b172f89b86
Add YAKINDU Solidity Tools to Integrations list 2018-09-06 21:22:08 +02:00
Leonardo Alt
9927964d21 Buglist check script supports json paths 2018-09-06 18:42:21 +02:00
chriseth
99022216cd Change "fixed" date. 2018-09-06 18:28:16 +02:00
Leonardo Alt
409b20f204 Bug list entry 2018-09-06 18:28:16 +02:00
chriseth
c57a60833d
Merge pull request #4844 from ethereum/docs-1644-bytecode
Clean up metadata and clarify what small changes affect
2018-09-06 18:01:05 +02:00
chriseth
23ad225126
Merge pull request #4903 from ethereum/chriseth-patch-1
Some tuning of the documentation index.
2018-09-06 18:00:15 +02:00
chriseth
f5d289b937
Merge pull request #4905 from ethereum/chriseth-patch-2
Update first part of example.
2018-09-06 17:59:38 +02:00
Chris Ward
9340fb9881 Clean up metadata and clarify what small changes affect
Updates from review
2018-09-06 17:18:36 +02:00
chriseth
dec5785909
Merge pull request #4846 from ethereum/docs-4574-infofeed
Update Infofeed example code and explanation
2018-09-05 21:49:04 +02:00
chriseth
2a5997d429 Update first part of example. 2018-09-05 21:39:01 +02:00
Chris Ward
7fc496b6ab Remove unneeded paragraph 2018-09-05 15:48:19 +02:00
chriseth
160f3bf2ae Update index.rst 2018-09-05 14:39:42 +02:00
chriseth
c9f50b36aa
Merge pull request #4883 from ethereum/docs_json_urls_allow_paths
Mention in docs that standard json url files need --allow-paths
2018-09-04 20:11:23 +02:00
chriseth
926085fc71
Merge pull request #4878 from federicobond/patch-1
Add hex numbers with uppercase X to grammar.txt
2018-09-04 19:44:23 +02:00
chriseth
cc7daf7b47
Merge pull request #4829 from ethereum/callBytesReturn
Add return data to bare calls.
2018-09-04 16:31:25 +02:00
chriseth
d88e5039cc
Merge pull request #4856 from ethereum/fix_docs_remix_url
Fix local remix-ide url in docs
2018-09-04 14:12:59 +02:00
chriseth
fbeb663741
Merge pull request #4836 from ethereum/docs-1532-remapping
Clarify remapping
2018-09-04 14:12:43 +02:00
Leonardo Alt
2f258b005e Fix remix-ide url in docs 2018-09-04 14:10:25 +02:00
Chris Ward
448118caec Clarify remapping
Update layout-of-source-files.rst
2018-09-04 13:49:01 +02:00