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
Alex Beregszaszi
61a8b098e6
Mention that constant and payable are deprecated in the ABI spec
2018-07-25 11:23:44 +01:00
Alex Beregszaszi
76bc04244a
Clarify relation between stateMutability and payable/constant
2018-07-25 11:23:41 +01:00
Alex Beregszaszi
582ab4eab4
grammar: rename AssemblyLocalBinding to AssemblyVariableDeclaration
2018-07-25 00:08:42 +01:00
Alex Beregszaszi
258e8caa59
grammar: introduce AssemblyExpression and use it in Assignment/LocalBinding
2018-07-25 00:08:08 +01:00
Alex Beregszaszi
ed4022fbca
grammar: support all assignment stataments in inline assembly
2018-07-25 00:05:19 +01:00
Alex Beregszaszi
79ddcc7680
Merge pull request #4453 from ethereum/codeOfConduct
...
Add Code Of Conduct
2018-07-23 17:00:02 +01:00
Erik Kundt
1e69896cd6
Adds Code Of Conduct.
2018-07-23 17:52:59 +02:00
chriseth
9697b5886e
Merge pull request #4520 from ethereum/faq-reorg-index-tools
...
Move note on decompiling
2018-07-20 13:44:12 +02:00
Chris Ward
14ea11fad0
Fix typo
2018-07-20 10:45:04 +02:00
Chris Ward
1aff040799
Move note on decompiling
2018-07-18 14:28:58 +02:00
Alex Beregszaszi
8cc675150e
Merge pull request #4345 from ethereum/docs-tests
...
Document the required cpp-ethereum commit hash
2018-07-18 13:18:31 +01:00
Alex Beregszaszi
4bd22399da
Keep the proper aleth hash in contributing.rst
2018-07-18 10:20:18 +02:00
Alex Beregszaszi
f351eb1b3c
Document the required cpp-ethereum commit hash
2018-07-18 10:20:08 +02:00
Erik Kundt
b5ecfbe5bc
Enforces visibility specifier and updates docs.
2018-07-17 17:44:51 +02:00
Nicolás Venturo
3bf8fb741e
Minor doc style fix
...
An extra newline caused a line to appear in bold.
2018-07-16 14:26:05 -03:00
chriseth
931794001e
Merge pull request #4500 from ethereum/v050-interface-functions-must-be-external
...
[BREAKING] interface functions must be external
2018-07-16 14:43:56 +02:00
chriseth
c5ff173431
Merge pull request #4512 from chase1745/use-explicit-data-locations-external-tests
...
Added default data locations to docs and other external tests.
2018-07-16 14:04:18 +02:00
chriseth
1a1cff189b
Merge pull request #4505 from nventuro/patch-1
...
Update docs allowed mapping key values
2018-07-16 13:50:31 +02:00
Christian Parpart
396bf11858
enforce interface-functions to be external-declared
...
- libsolidity: Enforce interface-functions must be external-declared.
- Changelog adapted to reflect changes wrt. functions in interfaces.
- test: Adjustments according to prior interface-function changes.
- tests: Adapting SolidityEndToEndTest to interface-function change.
- docs: Adapted documentation to interface-function change.
2018-07-16 12:15:36 +02:00
Chase McDermott
3267adcd14
Added default data locations to docs and other external tests.
2018-07-14 16:42:43 -05:00
Michał Załęcki
7c1672f36e
Fix typo in the function name
2018-07-14 18:32:47 +02:00
chriseth
31e56f9f99
Merge pull request #4438 from ethereum/address_members_external_tests_docs
...
Address members used by contracts: update external tests and docs
2018-07-13 01:28:29 +02:00
chriseth
052f19c6b0
Merge pull request #4431 from ethereum/tupleDeclaration
...
Disallow multi variable declarations with mismatching number of values.
2018-07-13 01:23:28 +02:00
Nicolás Venturo
e3339a9684
Update docs allowed mapping key values
...
Functions cannot be used as mapping keys (e.g. the following contract does not compile):
```
pragma solidity ^0.4.24;
contract Foo {
mapping(function (uint) pure returns (uint) => string) a;
}
```
2018-07-12 19:58:06 -03:00
Eric Ren
39031e1a96
removed addtional solc in docker command
2018-07-12 15:19:41 -07:00
Daniel Kirchner
6f383e1626
Update documentation.
2018-07-12 20:33:51 +02:00
Nicolás Venturo
910fa3cd7c
Removed repeated documentation
...
There is already a paragraph below describing how to call functions in both their internal and external forms (and IMO it's clearer).
2018-07-12 15:25:42 -03:00
chriseth
81271801b4
Merge pull request #4478 from ethereum/requireStorageLocation
...
Turn missing storage locations into an error.
2018-07-12 18:00:05 +02:00
Daniel Kirchner
df8bbffd8e
Update docs.
2018-07-12 12:54:42 +02:00
Leonardo Alt
3ebfcae829
Update external tests and docs
2018-07-12 12:53:49 +02:00
Leonardo Alt
38026d3114
Use STATICCALL for view and pure
2018-07-11 14:45:22 +02:00
Cryptomental
eb92d5f760
docs: Fix typos.
...
Used codespell and manual fixes.
Refs: #4442
2018-07-10 22:57:59 +02:00
chriseth
4547b32348
Merge pull request #4212 from jvmaia/patch-3
...
micropayment channel example with two chapters
2018-07-10 15:34:36 +02:00
chriseth
7650905567
Merge pull request #4415 from ethereum/uninitializedStoragePointer
...
[BREAKING] Turn uninitialized storage variables into error.
2018-07-10 15:24:01 +02:00
chriseth
d9c3b10b1c
Merge pull request #4465 from ethereum/tupleAssignment
...
Disallow tuple assignment with mismatching number of components.
2018-07-10 15:18:00 +02:00
Daniel Kirchner
951b745bd9
Update docs.
2018-07-10 13:27:48 +02:00
Alex Beregszaszi
5c404fcfac
Merge pull request #4460 from ethereum/docs-contract-abi
...
Rename ABI to Contract ABI
2018-07-10 11:04:10 +01:00
Daniel Kirchner
65631cffc2
Update documentation and Changelog.
2018-07-10 11:38:33 +02:00
Alex Beregszaszi
314fefbc05
Rename ABI to Contract ABI
...
It has been called as the "Contract ABI" on the original wiki page too and it seems to make more sense.
2018-07-09 23:48:44 +01:00
chriseth
15283e8535
Some copy-editing.
2018-07-10 00:45:00 +02:00
Alex Beregszaszi
8dc7609257
Merge pull request #4395 from xinbenlv/patch-1
...
Indicating abbr.
2018-07-09 13:28:27 +02:00
xinbenlv
1e7d44d31c
Indicate what the abbreviation ABI stands for in the ABI documentation
2018-07-09 12:24:54 +01:00
Alex Beregszaszi
5bd2229247
Merge pull request #4433 from mattaereal/patch-2
...
Docs: Missing new line for markdown to display properly
2018-07-09 13:23:58 +02:00
Leo Arias
4fb1fa02ea
Add missing periods to opcodes table in assembly.rst
...
The table is inconsistent between `..` and `...`. This updates all the explanations to use `...`.
2018-07-09 11:31:43 +01:00
Alex Beregszaszi
127eaab312
Add strict encoding mode to the ABI spec
2018-07-05 18:22:37 +02:00
Matías A. Ré Medina
de78c816b5
Docs: Missing new line for markdown to display properly
...
Somehow on the last PR I sent about this section a newline disappeared, I added it again.
2018-07-04 20:23:14 -03:00
chriseth
7101a89056
Merge pull request #4380 from elopio/patch-3
...
Update examples to use constructor keyword
2018-07-04 14:16:46 +02:00
Daniel Kirchner
d9a8f2aace
Update documentation and Changelog.
2018-07-04 10:14:58 +02:00
Leo Arias
8fdf3f5d45
update the style guide
2018-07-04 04:29:00 +00:00
chriseth
16f8c23aa0
Merge pull request #4367 from shad-k/fix/issue-4238
...
Add custom.css for docs to change pre tag styles
2018-07-03 22:40:51 +02:00
Shadab Khan
a673785326
Add custom.css for docs to change pre tag styles
...
Specify white space for table cells
Add custom.css for docs to change pre tag styles
Specify white space for table cells
Rearrange code
Delete theme_overrides.css
Remove extra code
2018-07-04 00:08:59 +05:30
Daniel Kirchner
f7153ee58a
Update documentation.
2018-07-03 15:31:34 +02:00
Christian Parpart
dbd0723a6d
grammar: removes the var-keyword from the grammar
2018-07-03 10:53:09 +02:00
Christian Parpart
133fbdbf18
documentation: adjustments to not use the "var" keyword
2018-07-03 10:53:09 +02:00
Erik Kundt
f74a9a346b
Fixes semantic versioning.
2018-07-02 17:02:17 +02:00
Erik Kundt
2031e8e0c1
Adds review suggestions.
2018-07-02 16:46:54 +02:00
Erik Kundt
e16e37f507
Updates docs to new constructor syntax.
2018-07-02 16:25:54 +02:00
Mike
2a9d54af58
Clarify scope of 'using A for B' ( #4252 )
...
* Issue 1213: Clarify scope of 'using A for B'
* Typo fix.
* Further restructuring and clarification of contracts doc.
* Revert closer to original wording and formatting.
2018-06-29 12:21:39 +02:00
chriseth
c9cab80389
Merge pull request #4375 from ethereum/fallbackExternalBackwardsCompatible
...
Fallback function has to be external: backwards-compatible changes.
2018-06-29 09:19:24 +02:00
chriseth
eeef82b2d7
Fallback function has to be external: backwards-compatible changes.
2018-06-29 00:23:52 +02:00
wpank
3cc780de33
Added static CSS to Sphinx in order to fix bug with RTD theme table wrapping
2018-06-27 12:01:48 -07:00
chriseth
4a842ecc82
Merge pull request #4097 from ethereum/noPackedExceptForPacked
...
[BREAKING] call only takes a single argument and does not pad
2018-06-27 18:29:01 +02:00
Alex Beregszaszi
ce4b233f8f
Merge pull request #4360 from mattaereal/doc_patches-1
...
Docs: Adding AFL's alternative configuration with clang.
2018-06-27 17:56:51 +02:00
Matías Aereal Aeón
638ac15956
Adding AFL's alternative configuration with clang.
2018-06-27 11:02:27 -03:00
chriseth
b55d9aacff
Add emit keyword to documentation.
2018-06-27 10:38:59 +02:00
Alex Beregszaszi
44f2cfb5ca
Clarify that using msize without updating the free-memory-pointer is a bad idea
2018-06-26 02:23:02 +02:00
João Vítor
7ffdad4ae3
add explanation about the splitSignature function
2018-06-25 19:06:44 -03:00
chriseth
17493e64ed
Documentation.
2018-06-25 17:17:18 +02:00
Alex Beregszaszi
b7ad97610f
Update documentation for strict address literals
2018-06-25 16:17:50 +02:00
Alex Beregszaszi
72e87423db
Disallow the years unit denomination properly
2018-06-21 20:21:02 +02:00
chriseth
3e9b4383cc
Merge pull request #4200 from biboran/3961
...
#3961 - added an example of two-dimensional array encoding
2018-06-21 14:09:53 +02:00
Leonardo Alt
8862b3092b
C99 scoping rules by default
2018-06-20 12:53:38 +02:00
chriseth
3eebba1087
Clarify documentation about events (mostly topics).
2018-06-19 19:53:02 +02:00
Nicolás Venturo
1edd2fa165
Add a changelog notice to the contributing doc
2018-06-19 11:04:18 -03:00
Timofey Solonin
6553b1114b
#3961 - added a more detailed description to the calculation of offsets
2018-06-17 21:20:11 +03:00
a4nkit
f79efb8dbf
fix typo
2018-06-13 12:50:32 +05:30
Alex Beregszaszi
d1e7e9ef5e
Merge pull request #3627 from ethereum/additional-keywords
...
[BREAKING] Add new reserved keywords.
2018-06-12 16:33:26 +01:00
Daniel Kirchner
e4b7b2160e
Add new reserved keywords.
2018-06-12 16:02:53 +02:00
Alex Beregszaszi
56a965ea96
Merge pull request #4232 from ethereum/renameiulia
...
Rename iulia to yul in documentation.
2018-06-12 10:07:56 +01:00
chriseth
abfec6829d
Rename julia/iulia to yul in documentation.
2018-06-12 10:00:00 +01:00
Daniel Kirchner
f33dc92cbd
Use proper SAR for signed right shifts and emulate on pre-constantinople.
2018-06-12 09:32:19 +01:00
João Vítor
6ec61e283c
update code version
2018-06-11 20:14:17 -03:00
João Vítor
48e6bb51fb
update micropayment channel example
2018-06-07 16:37:14 -03:00
Harry Moreno
20a5a9b15f
Update Event emit docs pragma
...
Event's `emit` usage was introduced in 0.4.21+
2018-06-07 15:07:07 -04:00
feliam
765241a154
Update abi-spec.rst
...
An infinite number of items in the sequence of types? ??
A negative number of type in the sequence ??
2018-06-06 18:40:26 -03:00
taitt
480e73d92e
doc: put the index at the bottom
2018-06-06 17:02:38 +07:00
chriseth
7422cd737d
Merge pull request #4227 from elopio/patch-1
...
docs: fix typo
2018-06-05 19:27:58 +02:00
Leo Arias
8ce5707a42
docs: fix code annotation
2018-06-04 23:48:25 -06:00
Leo Arias
058e01e44b
docs: fix typo
2018-06-04 23:44:46 -06:00
chriseth
c2e4c4651a
Merge pull request #4216 from kronosapiens/patch-2
...
Update function visibility example
2018-06-04 19:33:54 +02:00
chriseth
d004948929
Merge pull request #4201 from wjmelements/bytes-complex-type
...
move bytes and string to arrays section
2018-06-04 19:02:00 +02:00
Daniel Kronovet
1a603625d4
Denote getData
as view
2018-06-04 15:00:55 +03:00
Jason Cobb
acd8706309
Remove documentation references to sha3
2018-06-04 01:05:01 +01:00
João Vítor
1db78a1660
fix recoverSigner function
2018-06-03 18:20:53 -03:00
João Vítor
94381c67b9
fix returns
2018-06-03 17:57:15 -03:00
João Vítor
6bd82428d2
fix clainTimeout() function
2018-06-03 17:36:28 -03:00
João Vítor
e89d635045
fix a word
2018-06-03 13:20:49 -03:00
João Vítor
d1aa9b0a17
write the full contracts
2018-06-03 12:31:46 -03:00
Daniel Kronovet
a217cd05c9
Fix typo
2018-06-03 15:36:54 +03:00
Daniel Kronovet
0d4adc44c9
Update function visibility example
...
Two functions don't access state and should be `pure`. Also, inconsistent spacing when using arithmetic.
2018-06-03 12:25:52 +03:00
Timofey Solonin
0d25ba1649
#3961 - rewritten encoding example in a logical order instead of a sequential order
2018-06-02 19:04:37 +03:00
João Vítor
1dca223e77
fix code syntax
2018-05-31 11:13:14 -03:00
João Vítor
61454f574a
split long lines
2018-05-31 11:03:42 -03:00
João Vítor
70345d7c9c
micropayment channel example with two chapters
2018-05-31 06:20:14 -03:00
William Morriss
78b8baede7
keep stub in value types section, and move discussion to Arrays section
2018-05-30 10:34:01 -07:00
chriseth
5a73044fa7
Merge pull request #3743 from ethereum/popStorageArray
...
pop() for storage arrays
2018-05-30 18:32:08 +02:00
Erik Kundt
98d52beba3
Adds syntax tests, documentation and changelog entry.
...
Refines comment for array utility function.
2018-05-30 17:43:20 +02:00
chriseth
41965ca262
Merge pull request #4176 from sifmelcara/add/calldata-keyword
...
Add a new keyword, "calldata", to allow explicitly specify data location in external function's argument list
2018-05-30 14:42:50 +02:00
mingchuan
b7cafcbdf9
Allow using calldata
keyword to specify data location
2018-05-30 18:05:55 +08:00
William Morriss
648bb484ac
consistency: unordered list for restrictions
2018-05-29 16:56:45 -07:00
William Morriss
7bc36204d3
move bytes and string to complex types section
2018-05-29 16:31:26 -07:00
Timofey Solonin
32443f5705
#3961 - added an example of abi encoding of a function with two-dimensional dynamic arrays
2018-05-29 13:18:23 +03:00
Arindam Mondal
5187c66a25
Fix bug in documentation.
2018-05-28 23:37:47 +02:00
chriseth
8de26058c4
Merge pull request #4192 from vutsalsinghal/patch-1
...
CapsCase instead of camelCase
2018-05-28 22:07:07 +02:00
chriseth
b686fbbb32
Merge pull request #4180 from veox/use-pip-solidity-lexer
...
docs: Use Solidity lexer from PyPI, instead of a local module
2018-05-28 17:41:35 +02:00
chriseth
d2fb7a2a44
Merge pull request #4195 from jvmaia/patch-2
...
clarify warnings in contracts.rst
2018-05-28 16:13:25 +02:00
chriseth
c71e5f8e94
Merge pull request #4196 from dilatebrave/issue1210
...
doc: making the index appear on the left pane
2018-05-28 12:54:54 +02:00
taitt
08342f6d83
doc: making the index appear on the left pane
2018-05-28 10:54:34 +07:00
João Vítor
899bd5f39a
clarify warnings in contracts.rst
...
closes #4117
2018-05-27 21:58:58 -03:00
ritzdorf
fb08030a07
Array Length mistankingly taken as Offset
...
The array length was directly taken as an offset without the necessary multiplication with `0x20`.
2018-05-28 02:25:13 +02:00
Vutsal Singhal
2fa692a70a
CapsCase instead of camelCase
2018-05-26 15:37:52 -04:00
Noel Maersk
ad975a6f8c
docs: bump Solidity lexer package to v0.3.1.
...
That release includes stricter matching of "nested" globals, i.e.
it highlights `msg.sender` but not `sender`.
2018-05-24 14:58:30 +03:00
Noel Maersk
3678450549
docs: change default theme to RTD's.
...
RTD probably has their `default` theme set to their own `rtd` theme,
while CircleCI has some regular default Sphinx theme.
This changes the Sphinx project configuration to use `rtd` as the
theme.
2018-05-24 14:21:19 +03:00
Noel Maersk
4004fa8c98
docs: bump required Solidity lexer package version.
...
pygments-lexer-solidity 0.3.0 highlights NatSpec specials like
@author, @title, etc..
2018-05-24 14:18:07 +03:00
chriseth
5ee2ce353e
Merge pull request #4067 from ethereum/050
...
[BREAKING] Version 0.5.0
2018-05-23 18:11:20 +02:00
Noel Maersk
6b64dc0110
docs: remove utils/SolidityLexer.py
...
Note that some features present in this local module have not been
included in the upstream package yet!..
2018-05-23 16:56:51 +03:00
Noel Maersk
7acf5d5244
docs: use SolidityLexer from pygments_lexer_solidity package.
2018-05-23 16:56:51 +03:00
Flash Sheridan
ef1464a13c
Minor changes to make the English more idiomatic
2018-05-22 17:31:05 -04:00
Daniel Kirchner
f5a49f679a
Adjust tests.
2018-05-16 18:32:47 +02:00
Daniel Kirchner
5c59d56335
Disallow conversions between bytesX and uintY of different size.
2018-05-16 18:32:47 +02:00
chriseth
80d688ace0
Split changelog into language and compiler features and set release date.
2018-05-16 10:34:15 +02:00
chriseth
54839fdffb
Merge pull request #4101 from mesqueeb/patch-2
...
Extra line of explanation on Abstract contracts.
2018-05-16 10:21:33 +02:00
Luca Ban
e670004b1f
fixed capitalisation and contractions
2018-05-16 17:03:53 +09:00
chriseth
c9879a6b2b
Merge pull request #4144 from ethereum/julia-docs-fix
...
Fix formatting in Julia chapter
2018-05-16 09:43:21 +02:00
chriseth
6c8f78fb8f
Update documentation for multi variable declaration statement.
2018-05-16 03:52:24 +02:00
Alex Beregszaszi
9748c7ad3f
Fix formatting in Julia chapter
2018-05-16 02:11:27 +02:00
chriseth
20d67c0fce
Add requirements.txt for readthedocs.
2018-05-14 22:17:27 +02:00
chriseth
2f4faef606
Do not depend on where build is run.
2018-05-14 21:59:35 +02:00
chriseth
8f17f7219a
Merge pull request #3238 from ethereum/julia-specs
...
Add logic builtins to Julia and update type conversion prototypes
2018-05-14 20:43:16 +02:00
chriseth
ab63ab1cbb
Merge pull request #4093 from ethereum/prepareDropConstantKeyword
...
Prepare drop constant keyword.
2018-05-14 12:47:07 +02:00
chriseth
6191bef76a
Less-fewer-correction.
2018-05-09 18:04:57 +02:00
Alex Beregszaszi
f753dda337
Describe rule for type conversion functions in Julia
2018-05-09 17:04:11 +02:00
Alex Beregszaszi
af0d73f77d
Remove stop() as it is the same as return(0,0) in Julia sepcs
2018-05-09 17:04:11 +02:00
Alex Beregszaszi
63c81bc0d4
Add logic builtins to Julia and fix some typos
2018-05-09 17:04:11 +02:00
Daniel Kirchner
1a014f83cc
Prefer view over constant in the documentation.
2018-05-09 15:06:47 +02:00
Luca Ban
bb7a393756
Extra line of explanation on Abstract contracts.
...
And why they're useful.
2018-05-09 19:28:55 +09:00
chriseth
1e95335589
Merge pull request #4074 from elopio/docs/implicit-constructor
...
docs: document the implicit call of base constructor without arguments
2018-05-09 11:08:34 +02:00
chriseth
aeb6a33957
Merge pull request #4082 from androlo/develop
...
change assert and require docs
2018-05-09 11:07:00 +02:00
Leo Arias
114a0cf953
document that all the base constructors are called
2018-05-08 17:26:37 +00:00
chriseth
741ada79f9
Update documentation.
2018-05-08 15:32:36 +01:00
Andreas Olofsson
2f44aa4072
change assert and require docs
2018-05-07 11:44:37 +02:00
Leo Arias
a9f2936f27
docs: update the explanation of constructor
2018-05-05 21:45:14 +00:00
Leo Arias
4259c0d036
docs: document the implicit call of base constructor without arguments
2018-05-05 21:41:47 +00:00
chriseth
29572bdc48
Clarify components of X
2018-05-04 15:44:45 +02:00
nisdas
7db4166f77
Fixed typos in abi-spec documentation
2018-05-04 15:41:23 +02:00
chriseth
5738f93704
Merge pull request #4041 from kylewu/3764-vs-2017
...
Update windows build docs
2018-05-03 08:50:53 +02:00
Alex Beregszaszi
72c3b3a242
Merge pull request #4046 from ethereum/deprecateYears
...
State that years has been deprecated.
2018-05-03 04:18:09 +01:00
GuessWho
4d550e2c66
vs 2017 in install doc
2018-05-02 17:39:54 +02:00
Jonny Burger
1367fedfd0
Improve documentation and CLI help for --run
parameter
2018-05-02 17:10:30 +02:00
chriseth
a1a7653c70
State that years has been deprecated.
2018-05-02 16:24:19 +02:00
chriseth
451e8edb1a
Merge pull request #3992 from davesque/improve-abi-spec
...
A couple of ABI spec improvements
2018-05-02 15:50:10 +02:00
Alex Beregszaszi
5cce2e552b
Merge pull request #4026 from ethereum/prepareyul
...
Remove desugaring
2018-04-30 18:51:23 +01:00
chriseth
e27669811d
Remove desugaring
2018-04-30 19:18:06 +02:00
Alex Beregszaszi
52cc416a3f
Merge pull request #4001 from Magicking/fix_docs_date
...
docs: Update configuration from 2017 to 2018
2018-04-30 16:17:51 +01:00
chriseth
eb9dd24e50
Merge pull request #3975 from sledrho/develop
...
Updated StateVariable Grammar rule #3974
2018-04-30 17:12:35 +02:00
chriseth
ede6ee8776
Merge pull request #4023 from ethereum/exampledocs
...
Update some examples to remove warnings.
2018-04-30 16:58:24 +02:00
chriseth
65d8e5446c
Update some examples to remove warnings.
2018-04-30 16:21:55 +02:00
chriseth
8782508e0b
Update documentation about C3 linearization.
2018-04-30 16:15:41 +02:00
Magicking
f28b6e55f1
docs: Update configuration from 2017 to 2018
2018-04-27 08:31:27 +02:00
chriseth
ef2111a2fe
Merge pull request #3994 from rafialhamd/rafialhamd-documentation
...
Update Enum Type definition.
2018-04-26 10:20:09 +02:00
Rafiudeen Chozhan Kumarasamy
890a0a07a6
Update Enum Type definition.
...
It's better to say that, Enums contain finite set of 'constant values', instead of finite set of 'values'.
2018-04-25 21:32:50 +04:00
David Sanders
d72624ecb9
Make index notation more consistent
2018-04-24 18:17:44 -06:00
David Sanders
287ec8addb
Add note about zero-tuples
2018-04-24 17:55:39 -06:00
Leo Arias
aff19a1009
docs: clarify the maximum line length style
2018-04-24 10:27:35 -06:00
sledrho
0da8f1e1e4
Updated StateVariableGrammar rule #3974
2018-04-23 10:04:43 +01:00
Matthew Ludwig
cf347745bd
Updated constructors and pragma solidity lines.
...
Updated the Inheritance section of the docs in order to correct old constructor formats and update them to the new constructor() format.
2018-04-20 16:50:00 -04:00
chriseth
a79c9a1dfe
Prepare 0.4.23 release.
2018-04-19 17:21:34 +02:00
chriseth
3710fb59f0
Update security considerations.
2018-04-17 12:04:36 +02:00
chriseth
af18b4deb8
Merge pull request #3885 from LefterisJP/update_solidity_version_where_revert_with_reason
...
Docs: Update solidity version for revert with reason
2018-04-16 19:55:56 +02:00
chriseth
8be4cba570
Merge pull request #3865 from ethereum/updateConstructorVersionPragmas
...
[MERGE WITH RELEASE 0.4.22] Update version pragmas in constructor documentation.
2018-04-16 19:55:34 +02:00
chriseth
936832b3f9
Preparation for 0.4.22 release.
2018-04-16 19:51:49 +02:00
chriseth
a9c16b8c39
Add documentation.
2018-04-16 12:47:38 +02:00
chriseth
d8030c9b2a
Merge pull request #3880 from ethereum/addressMemberDocAndWarn
...
Improve documentation and warning about accessing contract members in…
2018-04-16 11:05:05 +02:00
Lefteris Karapetsas
8a7224683b
Docs: Update solidity version for revert with reason
2018-04-15 23:12:28 +02:00
chriseth
559fa58ddf
Document ABI encoding functions.
2018-04-13 18:36:33 +02:00
Daniel Kirchner
05c5ab19fb
Improve documentation and warning about accessing contract members inherited from address.
2018-04-13 18:26:24 +02:00
chriseth
966367305a
Remove dead code and clarify throw.
2018-04-12 20:13:16 +02:00
chriseth
b25598126e
Update documentation and minor changes.
2018-04-12 13:09:38 +02:00
chriseth
344a388d44
Update documentation.
2018-04-12 13:09:38 +02:00
chriseth
3da16b3e8a
Documentation for revert with reason string.
2018-04-12 13:09:37 +02:00
Daniel Kirchner
2192e4035a
Update version pragmas from >0.4.21 to ^0.4.22.
2018-04-12 10:43:00 +02:00
chriseth
0546a36aca
Merge pull request #3836 from netrunnerX/develop
...
Update solidity-by-example.rst.
2018-04-10 11:48:29 +02:00
NetX
089c295641
Update solidity-by-example.rst
2018-04-09 16:57:38 +02:00
Federico Bond
4e037281ac
Error on duplicated super constructor calls
2018-04-09 11:22:35 +02:00
Robbie Ferguson
49567b3f4c
Update Delegatecall Description in Docs
...
The previous description did not include the fact that the storage locations of the two contracts must align up until the storage variable(s) affected in order for the called contract to successfully write to the caller's storage. If they are misaligned, delegatecall will silently fail. This is difficult to debug without underlying knowledge of how delegatecall works, and clarity in the docs would certainly be helpful.
2018-04-06 16:38:59 +02:00
chriseth
d74b71a554
Merge pull request #3805 from kevinflo/tuple-documentation-var-removal
...
Removed documentation reference to var for tuple variable assignment
2018-04-05 16:19:16 +02:00
chriseth
251e4cff58
Document use of AFL.
2018-04-05 14:39:55 +02:00
Kevin Florenzano
d662622b25
Variable assignment wording change
2018-04-05 17:12:48 +09:00
chriseth
7cf09941bb
Merge pull request #3657 from ethereum/codingStyle
...
Use coding style.
2018-04-05 10:09:53 +02:00
chriseth
0f7e18780f
Clarify code state of contracts under construction.
2018-04-04 15:07:29 +02:00
chriseth
0cbe55005d
Create empty dynamic memory arrays more efficiently.
2018-04-04 12:37:04 +02:00
Roman
86c5d6aaad
hash256 -> bytes32 fix in misleading note
...
As it was described here: https://ethereum.stackexchange.com/questions/44628/understanding-low-level-interface-to-logs/44629?noredirect=1#comment52316_44629
2018-04-04 09:02:58 +03:00
Daniel Kirchner
3ae326139a
Document absence of constructors.
2018-04-03 18:21:55 +02:00
Daniel Kirchner
f855c78a08
Update version pragma and use new constructor syntax in std/ contracts.
2018-04-03 18:21:55 +02:00
bitshift
07c74ef924
Updates docs to new constructor syntax.
2018-04-03 18:21:55 +02:00
chriseth
d21382157c
Merge pull request #3801 from meowingtwurtle/preFixedPoint
...
Set default fixed point decimal places to 18
2018-04-03 11:10:55 +02:00
chriseth
3d0b99731f
Merge pull request #3803 from ethereum/homebrew
...
Remove brew linkapps from the installation instructions
2018-04-03 11:09:12 +02:00
Haoliang Yu
826de65e2d
fix a wrong number
2018-04-02 22:22:38 -04:00
kevinflo
884ea39d85
Removed documentation reference to the now-depricated var tuple variable assignment syntax
2018-04-02 13:57:19 +09:00
Alex Beregszaszi
29df18d4d7
Remove brew linkapps from the installation instructions
2018-03-31 01:11:56 +01:00
Jason Cobb
e37b619593
Set default fixed point decimal places to 18
2018-03-31 00:56:36 +01:00
wbt
8aadc179ae
Fix small formatting issue
...
in which a constant was not treated as code, inconsistent with surrounding examples.
2018-03-30 15:28:15 -04:00
Alex Beregszaszi
b540ba527a
Disallow empty structs
2018-03-27 15:49:41 +01:00
Alex Beregszaszi
8c1352ca75
Merge pull request #3772 from ethereum/docsTestingGuide
...
Add syntax testing guide to docs
2018-03-27 14:28:16 +01:00
Erik Kundt
80458b0420
Explains test structure and update mechanism more detailed.
2018-03-27 11:55:21 +02:00
bitshift
bddfa47e77
Updates docs for blockhash changes.
2018-03-27 03:30:03 +01:00
Erik Kundt
9d9c0bf908
Updates "How to contribute"
...
Adds detailed description of the new syntax test tool.
2018-03-21 19:35:22 +01:00
Matías A. Ré Medina
6e730df036
Fix: Missing payable at function forceOwnerChange
...
forceOwnerChange expects ether, and does not have the payable keyword.
2018-03-19 16:38:20 -03:00
Daniel Kirchner
3232561d97
Refactoring; fuse SyntaxTestParser and SyntaxTester to SyntaxTest.
2018-03-13 11:20:11 +01:00
chriseth
5ad34e035e
Merge pull request #3702 from solidity-korea/develop
...
Add Korean to Translations
2018-03-12 15:07:46 +01:00
wbt
7d206ba64a
Noted suicide
is deprecated ( #3692 )
...
According to the [changelog](b5e804b8ca/Changelog.md
), `suicide` was deprecated before 0.4.3 (after 0.2.0) and warning by 0.4.17.
2018-03-12 15:02:24 +01:00
dongsamb
a0907e90c6
Add Korean to Translation
2018-03-10 11:49:51 +09:00
Grzegorz Hasse
7ebd580954
Fix a typo.
2018-03-07 21:27:24 -08:00
chriseth
cbd8644f2d
Update changelog for release.
2018-03-07 18:15:25 +01:00
chriseth
c1bf6fb96f
Merge pull request #3634 from ethereum/useCorrectVersionForEmit
...
Use 0.4.21 pragma for documentation that uses "emit".
2018-03-07 18:13:11 +01:00
ankit raj
7566787cd2
Some words on Remix
2018-03-06 19:39:53 +01:00
chriseth
3057aeece4
Document STATICCALL usage in experimental 0.5.0.
2018-03-06 15:32:45 +01:00
chriseth
6055bc250f
Use coding style.
2018-03-06 10:32:58 +01:00
chriseth
5f5af650ce
Merge pull request #3653 from ethereum/docNegativeSourceIndex
...
Document the meaning of sourceIndex "-1" in source mappings.
2018-03-06 09:28:53 +01:00
Oleksii Matiiasevych
5d486b741f
Revert warning update about view
modifier
2018-03-06 14:19:59 +07:00
Daniel Kirchner
154fd1d6cb
Document the meaning of sourceIndex "-1" in source mappings.
2018-03-06 02:05:35 +01:00
chriseth
3793aa405b
Merge pull request #3643 from ethereum/gasleft
...
Move msg.gas to global function gasleft(). Closes #2971 .
2018-03-05 20:11:37 +01:00
Daniel Kirchner
b8589fbe0f
Use msg.value and gasleft() as an example in the docs.
2018-03-05 16:59:33 +01:00
chriseth
6dc137317f
Merge pull request #3569 from ethereum/evmVersion
...
EVM version
2018-03-05 12:10:49 +01:00
Daniel Kirchner
c633c0eacb
Move msg.gas to global function gasleft(). Closes #2971 .
2018-03-05 11:18:04 +01:00
Furkan Ayhan
c2730a4893
Correct warning message in Pure Functions doc
...
wrong commit that caused this: (64eaff6420 (diff-754689a291c0a19b500c31eb6c1d30c7R506)
)
2018-03-04 13:23:07 +03:00
bernard peh
cde4e3172b
change the language so that it doesn't sound like send and transfer is providing the stipend
2018-03-02 23:40:17 +11:00
chriseth
66ee9aa2f1
Use 0.4.21 pragma for documentation that uses "emit".
2018-03-02 12:29:48 +01:00
bernard peh
2c086cb90b
clarify 2300 gas stipend in fallback function section
2018-03-02 16:25:52 +11:00
chriseth
1246917e32
Explain json-io setting.
2018-03-01 17:19:35 +01:00
Elena Dimitrova
c9840c98f4
Documentation updates for internal constructors and function signature ( #3365 )
...
* Add a note explaining return values not included in function signature
* Add section on Constructors in documentation
* Improve documented definition for abstract contract
* Add benefits of abstraction to documentation
2018-03-01 16:59:47 +01:00
Oleksii Matiiasevych
a0d006015e
Update Tips and Tricks on structs initialization. ( #3626 )
...
* Update Tips and Tricks on structs initialization.
2018-03-01 16:54:04 +01:00
chriseth
cf6720eab5
Merge pull request #3587 from OTTTO/develop
...
Multiline output parameters and return statements
2018-03-01 12:07:09 +01:00
Jordi Baylina
4f34d092ca
Update miscellaneous.rst
2018-02-28 09:35:07 +01:00
chriseth
908b46e9a7
Merge pull request #3476 from ethereum/scoping
...
C99/C++ scoping rules
2018-02-27 17:06:10 +01:00
Alex Beregszaszi
317e017849
Shift operands were swapped in accepted EIP145
2018-02-27 13:43:02 +01:00
Alex Beregszaszi
afa4a48e37
Remove ROL/ROR as they are not part of EIP145 anymore
2018-02-27 13:42:41 +01:00
Alex Beregszaszi
9e0446a22c
Document bitwise shift operators in assembly
2018-02-27 13:42:28 +01:00
chriseth
6391a36a6c
Documentation about new scoping rules.
2018-02-27 12:41:32 +01:00
Alex Beregszaszi
aeb75172d5
Fix builtin function formatting in julia
2018-02-27 11:16:12 +01:00
Alex Beregszaszi
8cebfb168b
Introduce VM version ('hard fork') column for assembly opcodes
2018-02-27 11:16:12 +01:00
Alex Beregszaszi
e424bd1007
Fix some keyword highlighting in docs
2018-02-27 11:12:10 +01:00
Dax Bondye
e34d367593
Multiline output parameters and return statements
2018-02-26 19:32:55 -08:00
Alex Beregszaszi
3594f02d51
Fix link to solcjs in the installation section
2018-02-27 00:38:52 +01:00
Alex Beregszaszi
241134a881
Mention that solcjs is not compatible with solc in the using-the-compiler section
2018-02-27 00:36:01 +01:00
chriseth
1f5eb4ba59
Merge pull request #3335 from nisdas/ballot-contract
...
Fixes the errors in the sample ballot contract
2018-02-27 00:17:46 +01:00
wbt
92fe9e621e
Note deprecation of constant keyword on functions
2018-02-27 00:08:17 +01:00
chriseth
098033c94a
Fix name shadowing in ballot example contract.
2018-02-27 00:02:39 +01:00
Alex Beregszaszi
64eaff6420
Random documentation updates (assembly, faq)
2018-02-26 20:19:26 +01:00
Aaron Colaço
ef7fbf8d0c
Fix example; closes #3582
2018-02-24 00:09:49 +05:30
Hongbin Zuo
02307235c5
add in progress
2018-02-23 16:44:05 +08:00
Hongbin Zuo
fc3473b282
Why you made this change:
...
Talked with Chris and Matt, in order to develop stronger ethereum community in China, we decided to initiate the activity to translate Solidity documentation into Simplified Chinese version. We have invited over 10 experienced translators as a team to contribute on this effort.
What you did:
I finished translation of index.rst into Simplified Chinese and wanted it to be added into main doc index.
2018-02-23 15:06:14 +08:00
chriseth
2b62c201be
Merge pull request #3538 from ethereum/emitEvents
...
emit pseudo-keyword for events.
2018-02-22 22:42:04 +01:00
chriseth
97d1c70491
Merge pull request #3575 from OTTTO/develop
...
Recommend to explicitly label the visibility of functions.
2018-02-22 22:41:29 +01:00
Dax Bondye
2ac49b3c2d
Reccomend to explicitly label the visibility of functions.
2018-02-22 10:23:20 -08:00
chriseth
71a34abd87
Merge pull request #3513 from OTTTO/develop
...
Add "Maximum Line Length" section
2018-02-22 16:12:49 +01:00
DYLAN BECKWITH
187e50b14c
Recommend consistent style for wrapping long lines.
2018-02-22 07:01:07 -08:00
chriseth
7d87aed5d0
Merge pull request #3552 from ethereum/chriseth-patch-1
...
ABI: Clarify padding direction.
2018-02-22 15:32:18 +01:00
chriseth
2ada9683dd
Use the term "trailing zero-bytes".
2018-02-22 15:24:14 +01:00
chriseth
f58024b974
Documentation about emitting events.
2018-02-22 15:17:42 +01:00
chriseth
388718b59f
Introduce emit statement.
2018-02-22 15:17:30 +01:00
mirgj
d01786f0aa
Update solidity-by-example.rst
...
highestBidder is the address.
it's highestBid that should be != 0 to be considered as pending return.
It's that right?
2018-02-22 01:42:57 +08:00
chriseth
20d8254029
Merge pull request #3427 from duaraghav8/patch-3
...
Abstract Contracts: Add note about function type
2018-02-21 18:04:35 +01:00
chriseth
29d40ad42a
Clarify padding direction.
2018-02-20 12:19:19 +01:00
chriseth
2a58b44b8b
Merge pull request #3543 from medvedev1088/feature/add-gas-details-to-documentation
...
Add gas forwarding details to address related functions in documentation
2018-02-19 23:16:36 +01:00
William Entriken
360009c376
Typo
2018-02-19 15:38:55 -05:00
Evgeny Medvedev
bce545c990
Add adjustable/no adjustable gas details to address related functions in units-and-global-variables.rst
2018-02-20 02:06:42 +07:00
chriseth
59f5a31376
Merge pull request #3357 from federicobond/improve-asm-grammar
...
docs: Improve assembly grammar definition
2018-02-19 19:30:54 +01:00
chriseth
09887de266
Fix link.
2018-02-19 19:02:49 +01:00
chriseth
39f09a90f0
Merge pull request #3448 from fulldecent/patch-8
...
Clarify name documentation for mixedCase
2018-02-19 18:59:50 +01:00
chriseth
a938e39a9d
Merge pull request #3182 from janat08/patch-2
...
Update introduction-to-smart-contracts.rst
2018-02-19 16:52:45 +01:00
chriseth
2b23d02c83
Update introduction-to-smart-contracts.rst
2018-02-19 16:52:37 +01:00
Evgeny Medvedev
bfcf4a86c3
Add gas forwarding details to address related functions in units-and-global-variables.rst
2018-02-18 23:43:09 +07:00
chriseth
2b5a5a8669
Make addmod and mulmod revert if the last argument is zero.
2018-02-15 13:52:17 +01:00
Alexandre Bezroutchko
3804f29a8d
fix a typo
2018-02-14 09:49:06 +01:00
chriseth
fccede62ce
Prepare 0.4.20 release.
2018-02-13 17:17:46 +01:00
chriseth
01ba8b7e1f
Remind authors of best practices.
2018-02-01 17:13:46 +01:00
William Entriken
5497a85158
Clarify name documentation for mixedCase
2018-01-29 14:45:36 -05:00
William Entriken
b517ebb8bc
Fix new Solidity warnings, for #3379
2018-01-29 10:26:07 -05:00
chriseth
bd3692f1e6
Merge pull request #3431 from fulldecent/patch-7
...
Add mutability declaration to example, for #3379
2018-01-29 13:44:43 +01:00
William Entriken
1cc31bacef
Remove useless self assignment
2018-01-28 17:41:09 -05:00
YuShuangqi
0ef43978fd
update types
...
correct the mistakes in writings
2018-01-27 07:36:25 +08:00
chriseth
9028610b45
Merge pull request #3424 from wbt/addDecompilerLink
...
Correct FAQ answer re: decompiler
2018-01-26 19:22:15 +01:00
wbt
efcc8efffa
Respond to chriseth's suggestions
...
https://github.com/ethereum/solidity/pull/3424#pullrequestreview-90873869
2018-01-26 13:15:22 -05:00
hyperfekt
b4fb7255dd
fixes ethereum/solidity#1209
...
This clears up a common and easy misunderstanding which seems to occur rather often.
(https://ethereum.stackexchange.com/questions/8263/trying-to-understand-libraries )
2018-01-26 15:32:11 +01:00
chriseth
e7afde9587
Merge pull request #3203 from ethereum/nocall
...
Prevent libraries from being called.
2018-01-25 16:45:54 +01:00
ZoOgY-DoOgY
4f753233f7
Inheritance, "super" and DDD
...
As explained in "Multiple Inheritance and Linearization" part, "a simple rule to remember is to specify the base classes in the order from “most base-like” to “most derived”". So "contract Final is Base1, Base2" means Final is derived from Base2, derived from Base1, so the final inheritance sequence should be, starting with the most derived contract : Final, Base2, Base1, mortal, owned.
2018-01-24 13:38:47 +01:00
William Entriken
053e634276
Add mutability declaration to example, for #3379
2018-01-23 21:52:58 -05:00
Raghav Dua
694fc6835f
correct terminology
2018-01-23 23:43:04 +05:30
Raghav Dua
18539e5353
Abstract Contracts: Add note about function type
2018-01-23 23:23:18 +05:30
Maurelian
31aaf4336a
Add comment to clarify example ( #3415 )
...
* Add comment to clarify example
* Reverse bases.
2018-01-23 18:14:56 +01:00
chriseth
b24de1c29c
Some more clarifications.
2018-01-23 17:53:13 +01:00
wbt
a396572f57
Update FAQ answer re decompiler
2018-01-23 09:53:00 -05:00
Li Xuanji
d555c82db4
clarify address
in function selector
...
I found that the canonical form for `address` in computing the function selector calldata tag is `uint160`. Update the abi specs to explicitly mention this.
2018-01-22 17:34:58 -05:00
Sawyer
530b47a01b
Update using-the-compiler.rst
...
in outputSelection section of Compiler Input and Output JSON Description:
"evm.sourceMap" should be "evm.bytecode.sourceMap"
"evm.opcodes" should be "evm.bytecode.opcodes"
2018-01-21 16:35:59 +08:00
chriseth
f7315d19bd
Document call protector.
2018-01-19 16:52:23 +01:00
Raghav Dua
95bafbc4e0
update solium description
2018-01-18 16:32:46 +05:30
wbt
1948b9687f
Case convention clarification
...
Constructors follow the contract naming convention, using CapWords, instead of mixedCase.
2018-01-16 13:08:20 -05:00
chriseth
14fcbd659f
Merge pull request #3393 from fulldecent/patch-5
...
Use CapWords style for example
2018-01-15 10:55:11 +01:00
William Entriken
b1d99587e0
Use CapWords style for example
...
Follows recommendation in https://github.com/ethereum/solidity/pull/3392
2018-01-14 13:56:02 -05:00