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