Jim McDonald
93cf4dee66
Fixes for failing tests
2017-12-13 07:55:46 +00:00
Jim McDonald
6e521d59b0
Fix Solidity warnings
2017-12-12 18:47:30 +00:00
Chua Chee Wee
15427dc8d3
Change phrase in type deduction
...
updated phrase in type deduction from "any value of this type" to "the highest value of this type"
2017-11-16 23:18:06 +08:00
Chua Chee Wee
d4db1624b5
Changed limitation to feature
...
Changed the word "limitation" to "feature" for the note where transfer is described.
2017-10-30 15:40:28 +08:00
Alex Beregszaszi
81f9f86ce5
Add reference to EIP-55 in address literals ( #3062 )
2017-10-10 17:54:29 +02:00
Alex Beregszaszi
09276cb9d3
Do not add members of address to contracts in experimental 0.5.0
2017-10-05 11:42:34 +01:00
Alex Beregszaszi
c70ebfd241
Document function selectors
2017-09-13 11:40:57 +01:00
chriseth
152a0e69c4
Merge pull request #2871 from ethereum/fixedpointdocs
...
Explain fixed point types in docs
2017-09-04 19:04:12 +02:00
Alex Beregszaszi
435eeec5e1
Explain the difference between floating and fixed point
2017-09-04 15:57:05 +01:00
Alex Beregszaszi
76bd8c5769
Explain fixed point types
2017-09-04 15:57:05 +01:00
Alex Beregszaszi
c975bf87db
Move fixed after int in docs
2017-09-04 15:19:39 +01:00
Alex Beregszaszi
8e1aae2e1a
Document gas/value modifiers with overloading
2017-09-01 19:09:36 +01:00
Alex Beregszaszi
f787ecae5a
Document byte[] vs bytes
2017-09-01 19:09:36 +01:00
Alex Beregszaszi
8743b2cead
Document call/gas modifiers properly
2017-09-01 19:09:07 +01:00
Alex Beregszaszi
412cc6bc58
Highlight opcodes in docs
2017-08-28 11:59:35 +01:00
Alex Beregszaszi
23c791e4df
Add pure to grammar
2017-08-24 13:46:18 +01:00
Alex Beregszaszi
efe4d68a7b
Introduce view (and keep constant as an alias)
2017-08-22 18:24:22 +01:00
Alex Beregszaszi
47b6aa1f5b
Update grammar to reflect state mutability
2017-08-16 21:19:09 +01:00
Alex Beregszaszi
09ef3d8e72
Add proper warning for fixed point types
2017-08-16 16:47:49 +01:00
chriseth
80f83169b1
Merge pull request #2659 from jamesray1/patch-25
...
Link: members-of-addresses in docs/types.rst
2017-08-15 17:46:21 +02:00
Alex Beregszaszi
ecec557d2b
Merge pull request #2634 from ethereum/chriseth-patch-1
...
Clarify internal function types
2017-08-11 16:59:22 +01:00
James Ray
84e71f061c
Link: members-of-addresses
2017-07-28 15:07:18 +10:00
Alex Beregszaszi
48a15ea19d
Use the storage keyword in examples
2017-07-26 23:05:09 +01:00
Alex Beregszaszi
04582dd2cb
Mention that callcode is deprecated
2017-07-26 23:05:09 +01:00
chriseth
887823dca6
Merge pull request #2627 from atfornes/patch-2
...
Change Mapping example to valid (executable) code
2017-07-26 14:45:00 +02:00
chriseth
f74e40598f
Clarify internal function types
...
Fixes https://github.com/ethereum/solidity/issues/2617
2017-07-26 14:30:32 +02:00
chriseth
3c2b710b5e
Merge pull request #2484 from jamesray1/patch-8
...
Added links for the getter function.
2017-07-25 15:51:09 +02:00
Antonio Tenorio-Fornés
db739dff69
Change Mapping example to valid (executable) code
...
Current example will not compile and would need to be compiled in separate files, unlike how it is shown (see https://github.com/ethereum/solidity/pull/2618 ).
The proposed changes provide both a source code that compiles and a easier to understand Contract creation (using new instead of a contract address).
2017-07-24 18:30:54 +02:00
Alex Beregszaszi
41e5b2c3c2
Fix bugs in example contracts
2017-07-13 21:47:29 +02:00
chriseth
b981ef2055
Merge pull request #1477 from ethereum/doc-remove-fixed
...
[WIP] docs: ``var x = 1/4`` is not working, so remove description about it
2017-07-12 12:11:13 +02:00
James Ray
3594f973df
Update types.rst
2017-07-01 13:31:31 +10:00
Ben Che
3df637baec
Update types.srt
...
Fix minor grammatical/spelling errors.
2017-06-30 10:48:59 -04:00
James Ray
77e4f9c8fc
Changed URL for getter to a ref
2017-06-30 19:24:39 +10:00
James Ray
355d69b4ba
Used a ref for getter instead of a URL.
2017-06-30 19:19:06 +10:00
James Ray
2ac51a1a90
Added links for the getter function.
2017-06-30 19:11:21 +10:00
Federico Bond
70fd5c1770
Warn deprecated usage of parameter names in function types
2017-06-26 15:39:01 -03:00
chriseth
e0b9589e5a
Merge pull request #2373 from jamesray1/patch-14
...
Changed to "is compiled" rather than "maps" to the DVM op code to avoid ambiguity
2017-06-16 16:52:46 +02:00
James Ray
c1e0a6557d
Create types.rst
...
"is compiled" avoids ambiguity compared with "maps", especially for those who may not understand what maps may mean and may confuse it with the "mapping" code keyword
2017-06-15 19:37:37 +10:00
chriseth
e48a1a3851
Merge pull request #2372 from jamesray1/patch-13
...
Create types.rst
2017-06-12 17:21:28 +02:00
chriseth
39a7b63897
Added linebreak.
2017-06-12 17:21:19 +02:00
James Ray
0423278a31
Create types.rst
...
hash table link
2017-06-12 18:12:09 +10:00
James Ray
09a77de8ab
Create types.rst
...
Maps will be explained later `[here](http://solidity.readthedocs.io/en/develop/types.html#mappings )`_
2017-06-12 18:02:30 +10:00
James Ray
2dd23cec7a
Create types.rst
...
Note that the following is not a pair of dynamic arrays but a dynamic array of pairs (i.e. of fixed size arrays of length two).
2017-06-12 17:36:51 +10:00
Matt Wisniewski
2b4b86aa7f
Update common-patterns.rst
2017-05-03 12:03:02 +02:00
Paweł Bylica
fc3f40febe
Add warning about SAR in docs
2017-04-28 14:35:25 +01:00
Alex Beregszaszi
6ece0d6c2f
Document the .value() and .gas() modifiers
2017-03-16 12:37:18 +00:00
Alex Beregszaszi
2d8b0fdc39
Fix inconsistent use of single backticks
2017-03-15 23:41:02 +00:00
Alex Beregszaszi
07d775294b
Document scientific notation in integer literals
2017-03-15 13:16:16 +00:00
chriseth
bb06569dc6
Disallow octal literals.
2017-03-07 12:34:32 +01:00
Alex Beregszaszi
c46c68dfd8
Prefer .transfer() over .send() in the documentation
2017-02-24 00:18:18 +00:00
Alex Beregszaszi
a36e2ce0cb
Document transfer()
2017-02-24 00:18:18 +00:00
Alex Beregszaszi
ace583d0a1
Rename accessor to getter
2017-02-03 00:17:21 +00:00
chriseth
f610ba77a4
Simplify length rule.
2017-01-26 13:58:24 +01:00
chriseth
d855eaab13
Documentation.
2017-01-24 23:37:48 +01:00
Federico Bond
5148de3ed7
Fix mapping syntax in docs
2016-12-21 19:27:31 -03:00
chriseth
f7e219ed91
Update documentation.
2016-12-13 16:43:16 +01:00
chriseth
cc11739928
Documentation.
2016-12-12 11:12:12 +01:00
Yoichi Hirai
3149b7b210
docs: `var x = 1/4
` is not working, so remove description about it
2016-12-02 15:28:19 +01:00
Yoichi Hirai
3e8a017d42
docs: describe the form of number literals
...
This is a part of #1390
2016-12-01 10:59:42 +01:00
Yoichi Hirai
a755805879
Update types.rst
2016-11-25 14:51:38 +01:00
Yoichi Hirai
a747f1d2c3
docs: clarify how many number literal types are there
2016-11-25 10:54:40 +01:00
Yoichi Hirai
76dd85edfa
docs: a bit more about literals
2016-11-25 10:47:09 +01:00
chriseth
ec2e882376
Merge pull request #1408 from ethereum/keytype
...
docs: some types cannot be the key type for mappings
2016-11-23 14:54:46 +01:00
chriseth
73eb0235b4
Fix examples and add explanation.
2016-11-21 17:12:33 +01:00
Alex Beregszaszi
81eea45c2d
Fix oracle callback example
2016-11-21 13:16:35 +00:00
Alex Beregszaszi
42a84946d2
Fix function type examples
2016-11-21 13:11:43 +00:00
Yoichi Hirai
b24f4a4d00
docs: some types cannot be the key type for mappings
2016-11-21 12:47:40 +01:00
chriseth
2defe4dcef
Documentation: Style update
2016-11-16 14:37:19 +01:00
chriseth
eeae91c2a2
Update documentation.
2016-11-16 14:37:19 +01:00
chriseth
830f14c3a3
Fix documentation formatting.
2016-11-16 14:37:19 +01:00
chriseth
f7a62c1e69
Mention "payable" in the documentation.
2016-11-16 14:37:18 +01:00
chriseth
0e5507c78c
Updates to the documentation.
2016-11-16 14:37:18 +01:00
chriseth
502cc319d7
Documentation examples.
2016-11-16 14:37:18 +01:00
chriseth
679ea2820f
Part of the documentation.
2016-11-16 14:37:18 +01:00
Yoichi Hirai
effca18250
docs: udpate description of enums about #1334
2016-11-11 17:48:03 +01:00
Alex Beregszaszi
024e3f4064
Mapping-in-mapping can have accessors too
2016-10-19 14:16:01 +01:00
Alex Beregszaszi
d4ad814bf3
Explain accessors on arrays
2016-10-19 14:13:48 +01:00
Alex Beregszaszi
fcba4d927c
Merge the documentation about mappings
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
111d33d7ac
Rename sha3 to keccak256 in the documentation
2016-10-06 16:34:41 +02:00
Anubhav singh
205b5dd1e2
A typo fix
2016-10-05 00:36:13 +05:30
chriseth
4f5a95d569
Update documentation to version 0.4.0.
2016-09-06 19:11:41 +02:00
Dimitry
183cd70c47
add "pragma solidity ^0.4.0;" to code examples
2016-09-05 14:54:54 +03:00
Denton Liu
9ace0ca310
Clarify typecasting
2016-08-26 17:13:45 -04:00
chriseth
e7084d9e16
Throw on division by zero.
2016-08-17 11:27:15 +02:00
Alex Beregszaszi
ec3298535e
Introduce hex literals ( #832 )
...
* Introduce hex keyword token
* Support hex literals
* Include tests for hex literals
* Document hex literals
2016-08-16 16:31:23 +02:00
Denton Liu
1634a79bd8
Correct all UTF-8 spellings
2016-08-11 11:10:47 -04:00
Denton Liu
e4f9e1f788
Mention single-quotes
2016-08-11 11:10:47 -04:00
Denton Liu
581114da3e
Correct UTF-8 spellings
2016-08-11 11:10:47 -04:00
Alex Beregszaszi
b881dbb292
Document \n, \xNN and \uNNNN
2016-08-04 17:35:34 +01:00
Alex Beregszaszi
fefe9bdee7
Fix String Literals documentation about implicit conversions
2016-08-04 17:35:34 +01:00
chriseth
267b32df83
Merge pull request #764 from Denton-L/make-safe
...
Throw if send() fails in example code
2016-08-01 12:43:21 +02:00
Denton Liu
e3a942c738
Throw if send() fails in example code
2016-07-29 14:04:47 -04:00
Denton Liu
5d09211d50
Add link to operator table
2016-07-20 15:48:55 -04:00
chriseth
efad1e05ac
Merge pull request #680 from Denton-L/fix-679
...
Add section about default values of variables
2016-07-08 20:15:28 +02:00
Denton Liu
d4d7d9854a
Add reference to default values in mapping section
2016-07-04 10:52:08 -04:00
chriseth
2df142c496
Security Considerations
2016-07-04 15:27:53 +02:00
Pi Delport
d88956e864
Restore correct inline code sample
...
(This appears to have been accidentally broken in a73428b4.)
2016-06-20 15:37:56 +02:00
Fabio Berger
38b1c3d492
Added missing word in sentence
2016-06-18 05:05:38 +01:00
chriseth
63b6305689
Merge pull request #618 from chriseth/inlineArrays
...
Document inline arrays.
2016-06-08 18:09:18 +02:00
chriseth
4df0765934
Fixed typo.
2016-06-03 11:42:48 +02:00
Denton Liu
bb83fd5adb
Changed reference name
2016-06-02 09:29:53 -04:00
Denton Liu
fc121b9ba7
Documented max stack depth at 1024
2016-06-02 09:14:53 -04:00
Denton Liu
4a2c8fa9b7
uint20 is not a type
2016-06-01 13:59:45 -04:00
chriseth
84a8c0c008
Document some pitfalls in connection with "send".
2016-06-01 13:22:15 -04:00
Denton Liu
9da7a4c17c
Link address-type and address-global methods
2016-06-01 13:18:43 -04:00
Denton Liu
cb2a4df6e5
Corrected typo
2016-06-01 13:15:17 -04:00
chriseth
d8bf98598b
Document inline arrays.
2016-05-31 15:55:58 +02:00
Denton Liu
49f5bc7ce9
Changed inline code syntax
...
Changed from :code:`<inline>` to ``<inline>``
2016-05-30 09:44:33 -04:00
Denton Liu
a73428b4ef
Modified types.rst
...
Corrected inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
d7666d9eda
Fixed errors introduced by previous commit
...
#565 introduced some errors in the documentation
2016-05-24 11:08:54 -04:00
VoR0220
9192357452
updated docs
...
types
reference
2016-05-18 16:36:05 -05:00
chriseth
798775fa1b
Corrected errors.
2016-05-18 21:59:41 +02:00
Denton Liu
7c22a387f3
Changed whitespace formatting
2016-05-18 11:35:32 -04:00
Denton Liu
d4ad3231a2
Removed trailing whitespace
2016-05-18 11:35:32 -04:00
Denton Liu
f364dcf719
Removed a bad reference to functions-on-addresses
2016-05-05 14:28:10 -04:00
Denton Liu
4de0a9556c
Removed bullet characters from types
2016-05-05 14:28:05 -04:00
chriseth
a81173be10
Extend example
2016-03-14 15:54:12 +01:00
chriseth
d34b59453a
Clarification
2016-03-14 15:46:55 +01:00
chriseth
c38797fbff
Fix examples.
2016-03-14 15:45:38 +01:00
chriseth
a762694f1d
Allocating arrays.
2016-03-14 15:43:38 +01:00
chriseth
d0bb87ae88
Documentation for delegatecall.
2016-03-11 17:49:59 +01:00
chriseth
62d8be9e21
Warning about using integer literals in division.
2016-03-11 16:44:24 +01:00
holgerd77
aec2f4879a
Added in-depth links to function modifiers, structs and enums in structure section
2016-02-19 12:05:56 +01:00
holgerd77
acee4b7040
Added in-depth links for further reading to the state variable, function and function modifier overview in the structure section
2016-02-19 11:30:00 +01:00
chriseth
13732aed12
Documentation.
2016-02-09 17:07:04 +01:00
chriseth
92c789a89c
Added some lost changes.
2015-12-07 23:35:39 +01:00
chriseth
64fa9ca478
Imported documentation.
2015-12-07 22:35:51 +01:00