Bhargava Shastry
70840d5411
Address review comments
2019-12-11 17:03:28 +01:00
chriseth
a7f50c5aca
Document array slices.
2019-12-11 17:03:28 +01:00
chriseth
b0db64ff5b
Merge remote-tracking branch 'origin/develop' into develop_060
2019-11-26 16:19:35 +01:00
Gaith Hallak
4a1e85436b
Allow splitting string literals into multiple parts
2019-11-26 14:41:30 +03:00
Daniel Kirchner
2d2fb547e7
Update mapping docs.
2019-11-19 21:11:14 +01:00
Erik Kundt
a69a344d70
Adjusts documentation to read-only array length.
2019-11-19 21:11:14 +01:00
chriseth
21e65076b3
Merge pull request #7650 from ethereum/develop
...
Merge develop into develop_060
2019-11-06 21:56:55 +01:00
Chris Chinchilla
0c51dcc967
Explain mappings example, and add link to further details
...
Updates from review
Changes from review
Nested example
Update docs/types/mapping-types.rst
Co-Authored-By: chriseth <chris@ethereum.org>
Changes from review
Bring example inline with ERC20
Clarify what maps where
Use OZ contract example
Update docs/types/mapping-types.rst
Co-Authored-By: chriseth <chris@ethereum.org>
update code example
2019-11-06 21:32:24 +01:00
Chris Chinchilla
1a88bc97df
Add updated iterable mapping example
...
Remove unused var
2019-11-05 17:10:27 +01:00
Daniel Kirchner
3321fc56ea
Split fallback function and introduce "fallback()" and "receive()" syntax.
2019-11-04 17:17:58 +01:00
chriseth
f3c4f466f6
Merge remote-tracking branch 'origin/develop' into develop_060
...
Had to adjust gas costs during merge.
2019-09-24 10:28:22 +02:00
Leonardo Alt
43d6e00b14
Add push() for dynamic storage arrays
2019-09-17 13:47:33 +02:00
chriseth
5b3efee93b
Merge pull request #7442 from ethereum/develop
...
Merge develop into develop_060
2019-09-17 12:16:27 +02:00
Leonardo Alt
df0b54d7c7
[DOCS] Clearing mappings
2019-09-17 11:58:00 +02:00
Lauri Peltonen
b7e6dc3d05
Fixed code example which utilizes non-existing function 'abs' - the value is stated to be negative so abs(a) is the same as -a
2019-09-13 21:36:43 +03:00
Leonardo Alt
5cfe0b7670
Allow explicit conversion from address to address payable
2019-09-09 23:46:00 +02:00
Daniel Kirchner
6f3341a204
Allow underscores in hex strings.
2019-09-06 17:58:35 +02:00
krk
33f7f960cf
Allow exponentials with signed base and unsigned power.
2019-09-04 17:32:47 +02:00
Daniel Kirchner
80199ded79
More documentation updates.
2019-08-19 14:56:04 +02:00
William Entriken
b6cb079157
Failed-checksum addresses are an error
2019-07-02 13:10:28 +02:00
William Entriken
49c79c1894
Update value-types.rst
2019-06-26 20:04:02 -04:00
chriseth
3b0284817e
Merge pull request #6981 from ethereum/docs-purchase-contract
...
[DOCS] State default value of enum in example
2019-06-24 14:36:35 +02:00
Chris Chinchilla
30e843a217
State what default value of enum in example is
...
Fix formatting issue and add mention of the enum default type
Other files
2019-06-24 14:32:53 +02:00
Chris Chinchilla
215f41776c
Clarify implicit conversion
2019-06-24 12:43:17 +02:00
Chris Ward
7e4896740d
Clarify that public applies to state variables
2019-06-17 16:55:31 +01:00
chriseth
9c5dc63ed2
Merge pull request #6567 from ethereum/docs-intro-subcurrency
...
[DOCS] Update subcurrency example in introductory section
2019-06-17 10:44:33 +02:00
Vignesh Karthikeyan
f7a8b6da65
Merge pull request #1 from ethereum/develop
...
Update
2019-06-07 00:52:12 +05:30
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 Chinchilla
69e4e69e69
Bring value types code examples inline with style guide
2019-05-30 14:37:17 +02:00
Chris Ward
931b93146f
Update subcurrency example in introductory section
...
Further updates
Add line breaks
Changes from review
Updates from review
Changes from review
Fix label
2019-05-28 08:54:54 +02:00
chriseth
899858784c
Merge pull request #6834 from sifmelcara/fix-types-doc-ref-delete
...
Fix reference links in types.rst
2019-05-27 14:09:42 +02:00
mingchuan
27fd533f3d
Fix reference links in types.rst
2019-05-27 18:54:00 +08:00
mingchuan
bf8af89bba
Fix assignment of struct containing array of mappings
2019-05-25 01:33:49 +08:00
asymmetric
95c4f8f2bd
Conversion: remove confusing int8 type
...
The topic of converting a smaller type into a larger one is orthogonal to the one discussed in the example (namely, conversion between signed and unsigned integers).
Therefore, we change the `int8` to an `int` to make the example clearer.
2019-04-30 17:14:00 +02:00
Chris Ward
f0f9f5e2f3
Clarify shift operator
...
Further clarify shift operators
Return infinity
Changes from review
Update docs/types/value-types.rst
Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
Formatting fix
2019-03-13 10:57:17 +01:00
chriseth
8d401ba936
Update pragmas.
2019-03-05 18:10:09 +01:00
David Terry
3a452181a0
correct documentation around contract type conversion
2019-02-19 18:26:09 +01:00
Mathias Baumann
8d3f0a16a3
Enhance documentation about usage of value
and gas
...
People might look for information in the members section of the function types chapter.
2019-02-13 11:56:17 +01:00
Chris Ward
779b9986ee
Clarify that public prefix only applies to state variables and explain strings.
2019-02-05 16:58:57 +01:00
Chris Chinchilla
0a1ec5023a
Merge pull request #5799 from ethereum/faq-strings
...
[DOCS] Move string manipulation FAQ items to type docs
2019-01-22 16:49:45 +02:00
Chris Ward
9a8882c9fc
Move string manipulation FAQ items to type docs
...
Update docs/types/value-types.rst
Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
Update docs/types/value-types.rst
Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
Fixed formatting
Re-add example
Clarify text
Rearrange string manipulation
2019-01-22 13:57:54 +02:00
Chris Ward
96fae0c220
Move FAQ item about truncation checks
...
Move warning
Updates from feedback
Link to security note and fix link rendering
Move solution to security docs and turn warning to a warning
2019-01-22 13:54:58 +02:00
Chris Ward
f4130d7910
Further clarify in-memory arrays
2019-01-20 19:11:24 +02:00
chriseth
01ad4bffe7
Documentation.
2019-01-17 20:36:48 +01:00
Chris Chinchilla
dea9999f47
Merge pull request #5770 from ethereum/docs-split-mapping-types
...
[DOCS] Split mapping types into new file
2019-01-14 11:55:48 +02:00
Chris Ward
620cbdc800
Split conversion sections into new doc
2019-01-14 11:00:53 +02:00
Chris Ward
29088c4f48
Split mapping types into new file
2019-01-14 10:58:10 +02:00
Chris Chinchilla
a414e13b7a
Merge pull request #5771 from ethereum/docs-split-operators
...
[DOCS] Split operators involving LValues into new doc
2019-01-10 10:44:33 +01:00
Chris Chinchilla
31033fb473
Merge pull request #5769 from ethereum/docs-split-reference-types
...
[DOCS] Split Reference types doc into new file
2019-01-10 10:41:43 +01:00
Chris Ward
4cc102fa61
Split operators involving LValues into new doc
2019-01-09 12:37:20 +01:00