Commit Graph

1385 Commits

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