Commit Graph

174 Commits

Author SHA1 Message Date
chriseth
377f9233ae Clarify access of free functions. 2020-11-23 12:28:29 +01:00
chriseth
e8a278eefa Merge remote-tracking branch 'origin/develop' into breaking 2020-11-17 18:51:57 +01:00
chriseth
e1a0370275 Document static lookup for modifiers. 2020-11-17 18:33:45 +01:00
Kamil Śliwak
b7694b9a14 docs: Gather information about linker in one place and reorganize the section a bit 2020-11-16 21:37:36 +01:00
Kamil Śliwak
1ff00488bb docs: Add information about metadata difference resulting from manual linking 2020-11-16 21:26:47 +01:00
Kamil Śliwak
aba04c7afa docs: Remove the outdated information about linked library name length limitation 2020-11-16 21:26:47 +01:00
hrkrshnn
29e23efc93 Tests/Docs after "stricter explicit conversion from Literals to Integers" 2020-11-03 14:31:44 +01:00
chriseth
5ffee049fa Merge remote-tracking branch 'origin/develop' into breaking 2020-11-03 14:05:14 +01:00
chriseth
631570c547 Documentation. 2020-11-03 13:31:51 +01:00
chriseth
bfc8e26007 Remove low-level log functions. 2020-10-22 17:50:14 +02:00
chriseth
f6e57a0eec
Merge pull request #10023 from ethereum/develop
Merge develop into breaking.
2020-10-13 18:18:53 +02:00
Mathias Baumann
32b4f18023 Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
chriseth
14352ed921 Merge remote-tracking branch 'origin/develop' into HEAD 2020-10-08 20:18:04 +02:00
chriseth
df16515b52 Documentation. 2020-10-08 18:56:18 +02:00
chriseth
4bdec8107c Merge remote-tracking branch 'origin/develop' into HEAD 2020-09-29 09:53:50 +02:00
Harikrishnan Mulackal
8339765509 [DOCS] Change >=0.7.0 to ^0.7.0 2020-09-28 13:02:31 +02:00
Harikrishnan Mulackal
710231e2b1 Docs: change >0.6.99 <0.8.0 to >=0.7.0 2020-09-28 11:14:45 +02:00
Mathias Baumann
b72fb1333b Adjust docs example to work with v0.8.0 2020-09-08 13:36:16 +02:00
Nikesh Nazareth
b94b927a91 Fix typo: "fallback" should be "receive" 2020-09-07 15:59:56 +10:00
Kamil Śliwak
46524cf164 docs: Update external links to github repos that were moved 2020-08-31 12:46:45 +02:00
Kamil Śliwak
9325c4ee99 docs: Update broken external links to point at new locations 2020-08-31 12:46:45 +02:00
Kamil Śliwak
192954e8fa docs: Fix broken internal links using wrong syntax
- These links were using external link syntax instead of `:ref:`. What's
  worse, Sphinx can't detect when they're broken.
- Added missing anchors in some cases.
2020-08-31 12:46:45 +02:00
chriseth
cf5aa450bd Documentation. 2020-08-18 11:46:59 +02:00
chriseth
0e614bf5cb Document encoding of mappings in library calls. 2020-07-27 15:06:55 +02:00
chriseth
0caec9d28b Explain gas implications of constant and immutable variables. 2020-07-27 11:22:58 +02:00
chriseth
d3647b13e4 Disallow public state variables overriding pure functions. 2020-07-20 15:18:23 +02:00
Mathias L. Baumann
69a596b0ff
Merge pull request #9418 from ethereum/stateMutForOverride
Issue state mutability restriction for overriding and not for virtual functions.
2020-07-20 15:01:25 +02:00
Mathias Baumann
dfffecfe2c Allow overrides to have a more strict mutability than super 2020-07-16 17:55:12 +02:00
chriseth
aa3f51ab47 Issue state mutability restriction for overriding and not for virtual functions. 2020-07-16 17:19:35 +02:00
Mathias Baumann
6b37f1c025 Remove visiblity of libraries in inherited contracts. 2020-07-09 16:38:29 +02:00
chriseth
479d7a059f Documentation. 2020-07-07 12:16:18 +02:00
chriseth
6b3171c38b Merge remote-tracking branch 'origin/develop' into breaking 2020-06-10 11:30:50 +02:00
Igor Line
3841b2626b
Fix semantic urls for function and modifier overriding in documentation 2020-06-06 16:57:26 +02:00
chriseth
c8b9d24eba
Merge pull request #9106 from ethereum/develop
Merge develop into breaking.
2020-06-03 13:51:28 +02:00
chriseth
6f75476f52 Fix documentation about return values. 2020-06-02 18:09:50 +02:00
chriseth
257bc6a416 Merge remote-tracking branch 'origin/develop' into breaking 2020-05-14 13:04:46 +02:00
chriseth
d33b67b3c2 Add license tags to documentation snippets. 2020-05-13 22:16:34 +02:00
Harikrishnan Mulackal
a207613f17 Docs, changelog and tests 2020-05-05 21:11:15 +05:30
chriseth
ecbf216354 Merge remote-tracking branch 'origin/develop' into breaking 2020-05-04 18:46:45 +02:00
hrkrshnn
d1fd6782bc Note on abstract contract about overriding implemented functions 2020-04-30 19:41:31 +05:30
chriseth
abee23251b Fix pragma requirement. 2020-04-23 11:52:01 +02:00
chriseth
6728e3ef94 Merge remote-tracking branch 'origin/develop' into breaking 2020-04-22 17:21:32 +02:00
iamdefinitelyahuman
d59706e5f5 docs: fix formatting errors and style inconsistencies 2020-04-20 20:24:31 +04:00
chriseth
51883958ab Merge remote-tracking branch 'origin/develop' into breaking 2020-04-07 11:14:28 +02:00
chriseth
9c4a02db0f Documentation for immutables. 2020-04-01 11:37:11 +02:00
chriseth
7d68f9f6c3 Merge remote-tracking branch 'origin/develop' into breaking 2020-03-24 13:35:41 +01:00
Erik Kundt
50c22f0800 Adds script which compiles docs example with minimum compiler version. 2020-03-18 19:27:38 +01:00
chriseth
06ad5b3200 Merge remote-tracking branch 'origin/develop' into HEAD 2020-02-27 15:06:36 +01:00
Brian L. McMichael
b39814a4f8
Conform constants to style guide
Constants should conform to style guide at https://solidity.readthedocs.io/en/latest/style-guide.html#constants
2020-02-06 16:39:09 -05:00
chriseth
981ed5f773 Documentation for function call options. 2020-01-23 21:20:01 +01:00
Jason Cobb
86145adac8
Update documentation for interface inheritance 2020-01-22 09:40:40 -05:00
chriseth
4d681fb16d Merge remote-tracking branch 'origin/develop' into HEAD 2020-01-14 16:43:48 +01:00
Erik Kundt
fe1676203d Updates documentation to 0.7.0. 2020-01-10 18:56:38 +01:00
chriseth
b68ea243fc Fix comment. 2020-01-08 18:37:46 +01:00
chriseth
7772ee145c Change naming to "destructible". 2020-01-08 09:17:59 +01:00
William Entriken
6d068b6331 Reduce usage of the word "kill" 2020-01-07 11:18:10 +01:00
Chris Chinchilla
f46218cad9 Update pragma versions for 0.6.0 2019-12-16 17:36:44 +01:00
Leonardo Alt
3198f55d24 Docs style guide 2019-12-13 12:40:33 +01:00
chriseth
fc085cb141
Merge pull request #7982 from ethereum/updateVisibility
Update visibility and getters.
2019-12-12 14:02:35 +01:00
chriseth
104a8c59f5
Merge pull request #7974 from ethereum/updateInterfaces
[DOC] Update interfaces
2019-12-12 12:51:00 +01:00
chriseth
9de0b3d7b5 Update visibility and getters. 2019-12-12 12:50:35 +01:00
chriseth
269c3c0c06
Merge pull request #7980 from ethereum/updateLibraries89
Update libraries section for 0.6.0.
2019-12-12 12:48:39 +01:00
chriseth
cb2835663d [DOC] Update interfaces 2019-12-12 12:46:22 +01:00
chriseth
0e796b77e9
Merge pull request #7973 from ethereum/docInheritance2
[DOC] More changes to inheritance.
2019-12-12 12:44:37 +01:00
chriseth
9790e6c044 More changes to inheritance. 2019-12-12 11:05:20 +01:00
chriseth
f4a0546db3 Update "using for". 2019-12-12 10:49:03 +01:00
chriseth
bbb8b88118 Update libraries section for 0.6.0. 2019-12-12 10:31:31 +01:00
chriseth
086b90fc07 Modifier overriding documentation. 2019-12-09 18:41:39 +01:00
chriseth
d6e7202edf
Merge pull request #7909 from ethereum/docsChange4
[DOC] Some changes to functions.
2019-12-09 17:56:13 +01:00
chriseth
fa026aacb4 [DOC] Some changes to functions. 2019-12-09 17:53:09 +01:00
chriseth
175e9d4b5f [DOC] Some updates on functions. 2019-12-09 17:51:39 +01:00
chriseth
6d2f1f3068 Documentation about unique base functions. 2019-12-09 16:04:45 +01:00
chriseth
2de7687c4f
Merge pull request #7906 from ethereum/docsChange2
[DOCS] Some changes to creation, events and modifiers.
2019-12-05 16:06:25 +01:00
chriseth
5816c43df9 Some changes to creation, events and modifiers. 2019-12-05 15:43:26 +01:00
chriseth
766bde2d78 Some changes to "abstract contracts". 2019-12-05 14:55:07 +01:00
Mathias Baumann
b7d5de59c5 Implement overridding of functions by public variables 2019-12-05 12:48:52 +00:00
chriseth
6c0660ac66
Merge pull request #7876 from ethereum/docInheritance
[DOC] Clarification about inhertiance.
2019-12-04 18:14:25 +01:00
chriseth
fc5bbd1963 Clarify documentation with regards to inheritance. 2019-12-04 18:11:04 +01:00
Christian Parpart
7bbdfe070f Make shadowing of inherited state variables an error. 2019-12-03 21:20:03 +01:00
Daniel Kirchner
c33d233d88 Update docs. 2019-12-03 10:50:53 +01:00
Mathias Baumann
7bc6645218 Disallow use of virtual and private together 2019-11-27 18:52:41 +01:00
chriseth
a00f824479
Merge pull request #7773 from ethereum/develop
Merge develop into develop_060
2019-11-21 21:49:22 +01:00
chriseth
6797879128
Merge pull request #7647 from ethereum/virtual-5424
Implement virtual keyword
2019-11-19 13:21:27 +01:00
Daniel Kirchner
9115a0f525 Some documentation. 2019-11-15 16:12:29 +01:00
chriseth
216e1749f4 Merge remote-tracking branch 'origin/develop' into develop_060 2019-11-14 13:42:46 +01:00
Mathias Baumann
5b8ff78176 Implement virtual keyword 2019-11-14 11:49:39 +01:00
Daniel Kirchner
ce7268272d Allow obtaining the address of a library by conversion to `address`. 2019-11-12 17:09:13 +01:00
Daniel Kirchner
3321fc56ea Split fallback function and introduce "fallback()" and "receive()" syntax. 2019-11-04 17:17:58 +01:00
Alexander Arlt
cd3ad73b5a Update tests. 2019-11-01 14:54:47 -05:00
Alexander Arlt
793b906e05 Update docs/contracts/abstract-contracts.rst. 2019-11-01 14:54:47 -05:00
Mathias Baumann
6c6a9054b2 Implement override checking 2019-10-30 17:31:33 +01:00
Erik Kundt
ec53899a10 Fixes source extraction from docs. 2019-10-23 22:13:24 +02:00
chriseth
e735c01b4a
[DOC] Clarify log functions 2019-09-10 16:52:32 +02:00
Chris Smith
d7fe96f81f Add example of constructor inheritance and order
Add an example of how contract inheritance impacts constructor calling
2019-07-09 11:37:37 -04:00
Chris Chinchilla
17e82ee176 Clarify that interfaces only support enum since 0.5.0 2019-06-17 17:14:53 +01:00
Vignesh Karthikeyan
3d40152102 Brought warning to high priority
Update functions.rst

Update for warning over note priority

Updated units-and-global-variables.rst

Updated file for warning over note priority

Updated control-structures.rst

Updated priority of warning over note

Updated assembly.rst

Updated priority of warning over code

Updated introduction-to-smart-contracts.rst

Updated priority of warning over note

Update installing-solidity.rst

Corrected control-structures.rst

Corrected white space error

Corrected whitespace

Corrected whitespace introduction to smart contract
2019-06-04 14:46:26 +05:30
Chris Ward
b015d2cd40 Bring code examples inline with style guide
Remove visibility
2019-05-29 16:17:34 +02:00
chriseth
9d00f21cfb
Merge pull request #6841 from ethereum/style-fixes-inheritance
[DOCS] Bring inheritance doc inline with style guide
2019-05-27 19:11:32 +02:00
Chris Ward
e81e71e879 Make code examples conform to style guide 2019-05-27 16:59:54 +02:00
Chris Ward
3b64a4b955 Bring inheritance doc inline with style guide 2019-05-27 14:23:53 +02:00