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
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