Commit Graph

1423 Commits

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