ethers
39559c1bb6
styleguide: Ordering of functions
...
Ordering would help readers identify which functions they can call, and to find the "specials" (constructor and fallback function). Mixing the "specials" in the middle of the code, as well as internal functions between external and public functions, don't help readers
Based on https://github.com/ConsenSys/MultiSigWallet/issues/19
2016-11-17 18:06:28 -08: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
Alex Beregszaszi
ae8403ed08
Rename ErrorTag to invalidJumpLabel in inline assembly
2016-11-15 10:30:33 +00:00
Alex Beregszaszi
702ab4cb4f
Document inline assembly ErrorTag
2016-11-15 10:30:33 +00:00
chriseth
9383a18c57
Merge pull request #1334 from ethereum/enum_conversion
...
check enum value range during conversion
2016-11-14 13:32:38 +01:00
ethers
04eb6e85f2
Remove named return
...
Named returns are not explained in this introduction; they also provide little value in these examples.
2016-11-12 20:02:43 -08:00
Yoichi Hirai
effca18250
docs: udpate description of enums about #1334
2016-11-11 17:48:03 +01:00
Yoichi Hirai
1af3c4f754
docs: document the new overflow exception during conversion into enum
2016-11-11 17:48:03 +01:00
Rhett Aultman
4524ad0870
Add support for do/while loops
...
This commit adds support for a standard do <statement> while <expr>;
form of statement. While loops were already being supported; supporting
a do/while loop mostly involves reusing code from while loops but putting
the conditional checking last.
2016-11-10 07:07:25 -08:00
chriseth
dd0879fe43
Merge pull request #1316 from federicobond/clarify-doc
...
Add clarification for block.blockhash
2016-11-04 11:43:49 +01:00
varunagarwal315
364698255a
Update solidity-by-example.rst
...
added the space. Sorry, just slipped my mind.
2016-11-03 22:25:19 +05:30
varunagarwal315
38e0b0a5fa
Update solidity-by-example.rst
...
made changes suggested to simplify code. Hope this is enough
Thanks
2016-11-03 17:42:05 +05:30
varunagarwal315
4c105dba07
Update solidity-by-example.rst
...
Might be trivial, but makes more sense to be able to directly return the name of the winner for the election. If the position of the winner on the proposal[] array is returned, then people still don't know the name of the person who won.
2016-11-03 13:02:25 +05:30
Federico Bond
739ee88fa7
Add clarification for block.blockhash
2016-11-01 20:03:20 -03:00
chriseth
4f9741c0cf
Version update in develop.
2016-11-01 09:58:02 +01:00
chriseth
49089f65ba
Merge pull request #1297 from Thrillberg/patch-2
...
Update installing-solidity.rst
2016-10-27 13:18:18 +02:00
Eric Tillberg
d7cfc6399b
Update installing-solidity.rst
2016-10-26 13:43:51 -04:00
Eric Tillberg
e8b45d26fb
Update index.rst
2016-10-26 13:23:53 -04:00
chriseth
5ddb92b8cc
Version bump for develop.
2016-10-25 15:39:38 +02: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
448f1fba53
FAQ: remove address(this) section (already explained elsewhere)
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
9bec1e1efd
FAQ: remove event section (already explained elsewhere)
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
5f89e1a2ac
Merge the constructor sections
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
f8795afc70
Mention why Homestead was different for libraries
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
607f82ce9e
FAQ: remove visibility section (already explained elsewhere)
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
c6e7475f05
FAQ: remove create example (already explained elsewhere
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
fcba4d927c
Merge the documentation about mappings
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
1b3713742f
Document constant functions
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
f0f2d5a612
FAQ: remove removal of external accounts
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
b420dbf505
Improve the description of Solidity
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
b4f24721b5
FAQ: remove modifier section
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
4d4b9bc68e
FAQ: remove compilation section
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
c41effd7c8
Merge the selfdestruct sections
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
3413b8b7b3
Update changelog link
2016-10-19 14:02:50 +01:00
Alex Beregszaszi
76c856397a
Minor documentation fixes
2016-10-19 14:02:50 +01:00
Lefteris Karapetsas
806d94c214
Docs: Change contract init with value section
...
After solidity 0.4.0 we need to make the constructor `payable` if we are
to provide value during contract creation.
2016-10-17 19:14:21 +02:00
chriseth
1f0f600878
Merge pull request #1217 from ethereum/instruction_table
...
Small points on the instruction table
2016-10-14 11:55:19 +02:00
chriseth
0635b6e008
Merge pull request #1195 from ethereum/memory-doc
...
Document memory layout
2016-10-14 11:13:36 +02:00
Alex Beregszaszi
9521188bde
Mention that memory is organised as 256-bit words
2016-10-13 19:00:57 +01:00
Yoichi Hirai
550c92cb2f
Small points on the instruction table
...
Fixes #1205
`sload` was not marked with a `-`, contrary to the description of #1205
2016-10-13 19:30:43 +02:00
chriseth
5e75cae28a
Merge pull request #1203 from ethereum/exlpainupforgrabs
...
Explain up-for-grabs issues.
2016-10-13 17:07:14 +02:00
Yoichi Hirai
8ddef7a2dd
Merge pull request #1185 from ethereum/grammar-doc
...
Add link to grammar.txt in the documentation
2016-10-13 16:38:57 +02:00
chriseth
e268b5fa3e
Explain up-for-grabs issues.
2016-10-13 15:10:12 +02:00
Yoichi Hirai
8b5f0d5997
Accommodate further reviews
2016-10-13 12:44:27 +02:00
Yoichi Hirai
d32160a5b8
Change prenouns from on
to at
2016-10-13 12:16:14 +02:00
Yoichi Hirai
ff0f44352e
Accommodating reviews
...
https://github.com/ethereum/solidity/pull/1167#pullrequestreview-4031601
2016-10-13 12:12:40 +02:00
Yoichi Hirai
f492380688
Mention payable
in the description when Solidity throws
2016-10-12 10:59:22 +02:00
Yoichi Hirai
246d91438f
Codify bytes
2016-10-12 10:46:55 +02:00
Alex Beregszaszi
66c6c74699
Explain how scratch space affects the free memory pointer
2016-10-12 09:15:06 +01:00
Alex Beregszaszi
3d12c2ddc7
Merge the two EVM memory introduction sections
2016-10-12 09:15:06 +01:00
Yoichi Hirai
32c3bd8e78
Change phrasing around too small index
2016-10-12 09:39:43 +02:00
Yoichi Hirai
d6394c46a1
Merge two similar sections; the original survives
2016-10-12 09:35:05 +02:00
Yoichi Hirai
03ef5bfd5e
Various fixes based on comments on #1167
2016-10-12 09:35:05 +02:00
Yoichi Hirai
8f59ec791e
English clarifications
...
mostly based on suggestions by @axic
2016-10-12 09:35:05 +02:00
Yoichi Hirai
618410de11
Adding "When Solidity Throws" section in the documentation
2016-10-12 09:35:05 +02:00
Alex Beregszaszi
3f70e4879f
Add link to grammar.txt in the documentation
2016-10-11 13:46:14 +01:00
Alex Beregszaszi
f0524ed45a
Document memory layout
2016-10-11 13:20:58 +01:00
Alex Beregszaszi
70201e9273
Document the reserved keywords
2016-10-06 22:37:57 +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
D-Nice
b4c2880bff
Typo Fix
...
On line 126, though of changed to thought of.
2016-10-03 17:28:03 -04:00
Shruti Appiah
1edcf61b9c
list formatting
2016-09-23 12:27:23 -04:00
chriseth
0165814ec4
Bump version in develop.
2016-09-17 15:27:46 +02:00
chriseth
6a80511ffb
Merge pull request #1072 from ethereum/versioning
...
Document versioning behaviour
2016-09-15 15:13:09 +02:00
Alex Beregszaszi
3cd760446e
Split versioning into two sections
2016-09-14 00:41:34 +01:00
Nick Savers
ba7199720d
Update Solidity docs version to 0.4.1
2016-09-09 21:36:59 +02:00
Alex Beregszaszi
fb856c3f8d
Document versioning behaviour
2016-09-09 16:07:57 +01:00
chriseth
057db59844
Review suggestions.
2016-09-07 12:20:35 +02:00
chriseth
4f5a95d569
Update documentation to version 0.4.0.
2016-09-06 19:11:41 +02:00
chriseth
453490cb61
Merge pull request #1003 from winsvega/docs
...
add "pragma solidity ^0.4.0;" to code examples
2016-09-06 15:59:49 +02:00
chriseth
2f133b99be
Merge pull request #1021 from ethereum/assembly-docs
...
Fix the return value of call in inline assembly
2016-09-06 12:55:59 +02:00
Alex Beregszaszi
a6c35c08f5
Fix the return value of call in inline assembly
2016-09-06 11:19:46 +01:00
Raghav Dua
fe3ef7f09c
typo
2016-09-06 14:54:06 +05:30
Yoichi Hirai
e2b787cdd0
Merge pull request #1005 from ethereum/modifierbody
...
Require ";" after "_"
2016-09-05 18:28:32 +02:00
Raghav Dua
7f64984bb1
add solium to "Available Solidity Integrations"
2016-09-05 19:19:45 +05:30
chriseth
02984b8de1
Require ";" after "_"
2016-09-05 14:54:50 +02:00
Dimitry
183cd70c47
add "pragma solidity ^0.4.0;" to code examples
2016-09-05 14:54:54 +03:00
chriseth
7f5ab9a616
Typo.
2016-09-01 00:03:02 +02:00
chriseth
3c412ed2f6
Version pragma.
2016-09-01 00:02:51 +02:00
chriseth
52d9f89712
Merge pull request #951 from Denton-L/interesting-case
...
Document use of smaller storage variables
2016-08-31 22:37:05 +02:00
chriseth
18abafe029
Merge pull request #960 from Denton-L/change-else-style
...
Change else style
2016-08-31 22:34:44 +02:00
chriseth
6106bf98bb
Merge pull request #969 from Denton-L/fix-documentation
...
Fix bad syntax
2016-08-30 16:31:11 +02:00
chriseth
79f9a04236
Merge pull request #954 from chriseth/fallbackThrows
...
Fallback throws
2016-08-30 16:09:41 +02:00
chriseth
99862d15fe
Merge pull request #972 from Denton-L/document-sha3
...
Document constant behaviour for hashes
2016-08-30 15:48:40 +02:00
chriseth
9a91bd80ab
Clarify warning.
2016-08-30 15:37:10 +02:00
chriseth
eb241ff1b3
Documentation.
2016-08-30 15:32:28 +02:00
Denton Liu
ce45400060
Fix typo from second to seconds
2016-08-29 15:47:31 -04:00
Denton Liu
8b488e3ee4
Fix typo
2016-08-29 15:36:50 -04:00
Denton Liu
6a6976dc19
Document constant behaviour for hashes
2016-08-29 15:12:35 -04:00
Denton Liu
5b790fbfec
Fix bad syntax
2016-08-29 14:22:52 -04:00
Bob Summerwill
29b8965b95
Merge pull request #968 from Denton-L/contributing
...
Update README to link to new contribution section
2016-08-29 11:19:21 -07:00
Denton Liu
30f1288537
Update README to link to new contribution section
2016-08-29 14:05:46 -04:00
Bob Summerwill
0b89e1e98c
Merge pull request #964 from Denton-L/fix-documentation
...
Fix documentation
2016-08-29 10:36:15 -07:00