Commit Graph

1640 Commits

Author SHA1 Message Date
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
Daniel Kirchner
cf69433f23 Update documentation. 2018-09-04 13:31:10 +02:00
Daniel Kirchner
a102f3b783 Remove trailing whitespace for all files in the repository. 2018-09-04 11:30:30 +02:00
Leonardo Alt
d4fd4847de Mention in the standard json documentation that files in urls need their directories allowed via --allow-paths 2018-09-03 15:11:35 +02:00
Federico Bond
f2f1462585
Add hex numbers with uppercase X to grammar.txt 2018-09-02 12:57:21 -03:00
Chris Ward
1475cde288 Update Infofeed example code and explanation 2018-08-22 14:28:43 +02:00
chriseth
146e89c2ec
Merge pull request #4818 from ethereum/clarifyConstructorArgs
Clarify constructor arguments.
2018-08-16 14:54:28 +02:00
chriseth
9a6b447843 Clarify constructor arguments. 2018-08-16 14:45:50 +02:00
chriseth
cc6fa6d61f
Merge pull request #4822 from ethereum/addressStaticCall
Add ``staticcall`` to ``address``.
2018-08-16 00:13:21 +02:00
chriseth
c164f80ba6
Merge pull request #4820 from ethereum/disallow_indexed_ref_v2
Disallow indexed reference types in events when using ABIEncoderV2
2018-08-15 22:31:01 +02:00
Franco Victorio
4209953b37
Add missing parentheses in ABI Encoding section 2018-08-15 15:42:46 -03:00
Leonardo Alt
c00db3c247 Bug list entry 2018-08-15 17:37:21 +02:00
Daniel Kirchner
db48925907 Add some more documentation. 2018-08-15 17:06:42 +02:00
Daniel Kirchner
7ca0aaaf6f Add `staticcall to address`. 2018-08-15 16:06:48 +02:00
chriseth
2ed793c4d3
Merge pull request #4496 from ethereum/faq-reorg-contracts
Move contract related FAQ points
2018-08-15 15:54:37 +02:00
Chris Ward
5ba2fddb54 Move contract related FAQ points
Updates from feedback

Changes from feedback

Further changes from review

Changes from review

Changes from review

Changes from review
2018-08-15 15:40:35 +02:00
chriseth
6c0261e6ab
Merge pull request #4390 from ethereum/abidecode
Add abi.decode
2018-08-15 12:31:26 +02:00
chriseth
c7d2af2637
Merge pull request #4583 from ethereum/nested_array_library_changelog
Bugfix Changelog entry regarding nested arrays returned by library functions
2018-08-15 12:30:54 +02:00
chriseth
122cd6517c Documentation. 2018-08-15 10:45:16 +02:00
chriseth
3c5226cefb
Merge pull request #4817 from crypto-jeronimo/fix-typo-in-docs
Fix typo in documentation.
2018-08-15 10:42:38 +02:00
chriseth
2946b7cdc5
Merge pull request #4815 from gftea/develop
multiple inheritance in solidity search from right-to-left, different from python
2018-08-15 10:41:53 +02:00
Simon Chen
dd960c3d4f clarify multiple inheritance in solidity and its differences against to python 2018-08-15 09:45:18 +02:00
Crypto Jerônimo
628919f416 Fix typo in documentation. 2018-08-15 08:18:57 +01:00
Daniel Kirchner
4f3f4a916b Extend documentation about explicit and implicit conversions between (u)intXX, bytesYY and literals. 2018-08-14 21:42:01 +02:00
chriseth
e3b6c5a4bd Update documentation. 2018-08-14 18:07:15 +02:00
chriseth
34d3000dcc
Merge pull request #4372 from JesseBusman/implicit-convertibility-functions
Add implicit convertibility to function pointer with higher state mutability
2018-08-14 17:29:16 +02:00
Jesse Busman
c059119145 Add implicit convertibility to function pointer with higher state mutability 2018-08-14 17:13:10 +02:00
chriseth
0e3cbea6f2
Merge pull request #4780 from ethereum/enumData
Clarify data representation of enums.
2018-08-14 17:11:39 +02:00
chriseth
1dc4978883 Clarify data representation of enums. 2018-08-14 17:06:21 +02:00
chriseth
315eec83bd
Merge pull request #4787 from ethereum/updateLinks
Update links
2018-08-14 16:55:11 +02:00
chriseth
62d6ec9b04
Merge pull request #4792 from ethereum/someABIDocFixes
Some style fixes to the ABI documentation.
2018-08-14 16:44:13 +02:00
Leonardo Alt
55e67e41f9 Update bug list and add regular expression to bug list and add test. 2018-08-14 15:57:38 +02:00
Leonardo Alt
e1bb684897 Bugfix entry regarding nested arrays returned by library functions 2018-08-14 15:57:38 +02:00
chriseth
8a06000a30 Update documentation. 2018-08-14 15:50:46 +02:00
chriseth
6cf299bec6 Update documentation examples. 2018-08-14 15:50:46 +02:00
chriseth
ae8218543b
Merge pull request #4696 from ethereum/byteLiteralConversion
Disallow ambiguous implicit and explicit conversions from number literals to bytesXX
2018-08-13 17:25:30 +02:00
chriseth
463f4b0f35
Merge pull request #4618 from ethereum/docs-1211-contract-type
Add contract type to types documentation
2018-08-13 16:07:29 +02:00
chriseth
2378948228
Merge pull request #4794 from ethereum/tableWrap
Fix table css.
2018-08-13 15:15:31 +02:00
Daniel Kirchner
7d7abeb149 Disallow ambiguous conversions between number literals and bytesXX types. 2018-08-13 14:27:01 +02:00
Chris Ward
631794b72e Update from feedback 2018-08-13 12:34:05 +02:00
Daniel Kirchner
a7885e0b0a Update documentation. 2018-08-10 19:26:48 +02:00
chriseth
4fc15a5beb Fix table css. 2018-08-09 22:42:29 +02:00
chriseth
8509769927 Some style fixes to the ABI documentation. 2018-08-09 20:21:19 +02:00
chriseth
0197d05cf2 Use code-block when using a different language. 2018-08-09 20:04:47 +02:00
chriseth
5535fc0526
Merge pull request #4786 from gftea/develop
add "ref for text "fallback function" in Types.rst
2018-08-09 15:40:51 +02:00
gftea
c45de14ba8 add link for text "fallback function" 2018-08-09 15:12:20 +02:00
chriseth
1dc4301682 Re-group links. 2018-08-09 14:31:30 +02:00
chriseth
8b066b28fa Update links and deprecated unmaintained tools. 2018-08-09 14:29:31 +02:00
f-daniel
7b9c9c40a0
Extension of tools list
Adding some recent and reliable tools to work with smart contracts and analyze their security.
2018-08-09 13:47:05 +02:00
chriseth
cfc745de05 Change note about returning dynamic arrays. 2018-08-09 00:55:50 +02:00
chriseth
f01689ac77
Clarify packed encoding. 2018-08-08 21:47:40 +02:00
chriseth
d634d20b5b
Merge pull request #4684 from ethereum/underscores_in_numeric_literals
[BREAKING] Underscores in numeric literals
2018-08-08 21:36:57 +02:00
Alex Beregszaszi
551343ae3e
Merge pull request #4665 from mattaereal/cmake-patch-solver
cmake option added to make solvers optional
2018-08-08 17:58:01 +01:00
Matías Aereal Aeón
4b20708c49 cmake flags to make solvers optional. Implementation of #4651 2018-08-08 12:43:57 -03:00
Christian Parpart
b9222808f6
Cleanup & polish numbers-with-underscores parsing, also improving tests. 2018-08-08 13:38:46 +02:00
chriseth
42447a14eb
Merge pull request #4747 from ethereum/enum-docs
Update enum with lifting the restriction for interfaces
2018-08-08 12:56:07 +02:00
Balajiganapathi S
09a36cba02 Add stricter hex underscore rules 2018-08-08 12:05:51 +02:00
Balajiganapathi S
0000bfc604 Allow underscores in numbers. 2018-08-08 12:05:51 +02:00
Alex Beregszaszi
a99347e9f0 Yul grammar: allow multiple $ signs (matches Solidity) 2018-08-07 22:16:22 +01:00
Alex Beregszaszi
047561f4ec Update enum with lifting the restriction for interfaces 2018-08-07 22:04:21 +01:00
chriseth
5d5626e6d7 Clarify allocation and initial value of free memoy pointer. 2018-08-07 13:37:06 +02:00
Luke Schoen
835c05cb3a Update style guide with regards to CapWords requirement for contract and file naming. 2018-08-06 18:23:58 +02:00
chriseth
7c9bfb62f9
Merge pull request #4498 from ethereum/faq-reorg-intro
Move intro related FAQ points
2018-08-06 17:59:37 +02:00
Chris Ward
e295e1fcbd Move intro related FAQ points
Changes from feedback

Changes from review
2018-08-06 17:55:35 +02:00
chriseth
40fbe9b86e
Remove initial sentence. 2018-08-06 15:52:11 +02:00
chriseth
20c65f9af1
Merge pull request #4616 from ethereum/1093-interface-generator
Add interface generator to tools section
2018-08-03 21:15:14 +02:00
Christian Parpart
a4ee1dfc83
Merge pull request #4412 from ethereum/v050-reference-resolver-errorTypeForLoose
[BREAKING] permanently set errorTypeForLoose from Warning to SyntaxError
2018-08-03 19:30:33 +02:00
Chris Ward
22a2f5dd1d Clarify truncation with addresses 2018-08-03 14:09:42 +01:00
Christian Parpart
ed3cb327ea Remove loose assembly features from the documentation 2018-08-02 13:36:48 +01:00
chriseth
68f9128475
Merge pull request #4584 from dylanjw/update-abi-event-doc
Update doc referencing packed mode encoding for dynamic typed topic args
2018-08-02 14:27:38 +02:00
Alex Beregszaszi
cbcdc9dc42 Point the documentation to the new Code of Conduct URL 2018-08-01 22:42:16 +01:00
Alex Beregszaszi
a78565e44f
Merge pull request #4508 from ethereum/nameCollisionCrash
[BREAKING] Don't exclude public state variables when looking for conflicting declarations.
2018-08-01 20:53:56 +01:00
Alex Beregszaszi
1f832e068b
Merge pull request #4639 from ethereum/docs-fix-specify-limit
Small clarifications around the 2300 gas stipend from transfer and send
2018-08-01 16:23:06 +01:00
Chris Ward
0ad646635f Small clarifications around the 2300 gas stipend from transfer and send 2018-08-01 16:21:29 +01:00
Daniel Kirchner
cea46acef7 Update documentation. 2018-08-01 17:18:17 +02:00
Chris Ward
3c919766e8 Changes after rebasing 2018-08-01 14:22:09 +02:00
Chris Ward
a6cb6777c9 Add contract type to types doc 2018-08-01 12:21:47 +01:00
chriseth
b800bfb021 Fix tests regarding contract type conversion. 2018-08-01 11:04:35 +01:00
chriseth
c8232d9759 Disallow conversion between unrelated contract types. 2018-08-01 11:04:35 +01:00
Alex Beregszaszi
9436fd9363 grammar: remove stray IdentifierList rule
This was left in #4274 (dbd0723)
2018-07-31 00:28:01 +01:00
chriseth
bc13365a7b
Merge pull request #4569 from ethereum/grammar-assembly
Update grammar.txt for inline assembly
2018-07-30 16:54:59 +02:00
Chris Ward
6c3a2f8e9b Clarify what ‘memory type’ is
Use RST links
2018-07-30 15:48:06 +02:00
Chris Ward
f4ae002dab Add interface generator to tools section 2018-07-30 10:08:51 +02:00
Dylan Wilson
d6d1a41286
Update doc referencing packed mode encoding for dynamic typed topic args 2018-07-25 15:28:53 -07:00