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