Commit Graph

1648 Commits

Author SHA1 Message Date
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