Commit Graph

113 Commits

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