Yoichi Hirai
fed50403ff
docs: cleaning references to C; smoothing parameter syntax description
2016-11-25 10:43:05 +01:00
Yoichi Hirai
0599a14954
docs: cross-reference returning multiple values
2016-11-25 10:43:05 +01:00
Yoichi Hirai
936bade46f
doc: add a section about input parameters and output parameters
2016-11-25 10:43:05 +01:00
RJ
cc07a918e3
Typo
2016-11-18 12:34:43 -06: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
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
Alex Beregszaszi
76c856397a
Minor documentation fixes
2016-10-19 14:02:50 +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
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
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
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
Alex Beregszaszi
a6c35c08f5
Fix the return value of call in inline assembly
2016-09-06 11:19:46 +01:00
Dimitry
183cd70c47
add "pragma solidity ^0.4.0;" to code examples
2016-09-05 14:54:54 +03:00
Denton Liu
532266b89e
Use new style for the docs
2016-08-26 13:33:42 -04:00
Denton Liu
ef117c2902
Fix creating contracts section
2016-08-24 11:43:56 -04:00
Denton Liu
2716d01f2c
Rename "call data" to "calldata"
2016-08-24 11:43:56 -04:00
Denton Liu
41ad2110c2
Fix control-structures
2016-08-24 11:43:56 -04:00
Denton Liu
bbe7c493ad
Document throwing on contract-creation fail
2016-08-18 12:47:41 -04:00
Denton Liu
c2cfc819a2
Document throwing on calling empty code
2016-08-17 14:13:53 -04:00
Denton Liu
1826579f80
Add documentation about throwing
2016-08-17 12:09:20 -04:00
chriseth
774bb8ab3b
Make function calls throw if target does not have code.
...
Low-level calls still just execute and will actually report "success".
This allows `x.call.value(y)()` for x being a non-contract account.
2016-08-17 11:30:40 +02:00
chriseth
e4578982c6
Merge pull request #905 from ethereum/chriseth-patch-1
...
Docs: wording: recursive call exploit -> reentrancy exploit
2016-08-17 11:14:47 +02:00
chriseth
a63f94e042
Fix docs. ( #916 )
2016-08-17 11:04:40 +02:00
chriseth
dbc95570cb
Merge pull request #903 from mocamircea/patch-8
...
Update control-structures.rst
2016-08-16 16:24:04 +02:00
chriseth
480cf384bb
Merge pull request #710 from chriseth/throwFailedCreate
...
BREAKING: Throw if contract creation fails.
2016-08-16 16:13:56 +02:00
Mircea Moca
b2d6097653
Update control-structures.rst
...
Splitted example.
2016-08-16 16:30:44 +03:00
Mircea Moca
d24c431ce5
Update control-structures.rst
2016-08-16 16:06:08 +03:00
chriseth
2a560b798b
Throw if contract creation fails.
2016-08-16 14:49:44 +02:00
chriseth
0c2dc34075
Wording: recursive call exploit -> reentrancy exploit
2016-08-16 11:22:24 +02:00
Mircea Moca
ae0654443c
Update control-structures.rst
...
typo -> coherence with previous occurrence in the document of C/JavaScript
2016-08-16 10:45:04 +03:00
Mircea Moca
1c81d2a481
Update control-structures.rst
2016-08-16 10:41:50 +03:00
Denton Liu
f2389b3314
Change i.e. to e.g.
2016-08-11 11:10:47 -04:00
Denton Liu
279518a536
Add missing s
2016-08-08 13:33:09 -04:00
Denton Liu
838a91b38c
Refix typo
2016-08-08 13:32:54 -04:00
Denton Liu
2204c597fb
Fix typo
2016-08-05 11:59:10 -04:00
Denton Liu
7a20324142
Link to order of precedence table
2016-07-28 15:19:04 -04:00
Denton Liu
5d113600aa
Fix typos
2016-07-12 17:06:49 -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
cf0579a86e
Incorporate changes
2016-07-08 14:07:58 -04:00
Denton Liu
06fa66b2e6
Mention dangers of polymorphism
2016-07-07 16:34:05 -04:00
Denton Liu
ab3531ffc3
Incorporate corrections
2016-07-07 13:53:57 -04:00
Denton Liu
70e5af11ef
Correct grammar and language
2016-07-05 11:55:09 -04:00
Denton Liu
14f57568dc
Apply fixes
2016-07-05 11:44:39 -04:00
Denton Liu
cb5fc23014
Fix incorrect directives
2016-07-04 10:51:02 -04:00
chriseth
2df142c496
Security Considerations
2016-07-04 15:27:53 +02:00
Denton Liu
0db67b8895
Add section about default values of variables
2016-06-22 13:35:15 -04:00
Denton Liu
49f5bc7ce9
Changed inline code syntax
...
Changed from :code:`<inline>` to ``<inline>``
2016-05-30 09:44:33 -04:00
Denton Liu
80600a5a42
Modified control-structures.rst
...
Changed inline code syntax
2016-05-30 09:42:30 -04:00
Dave Hoover
ae677c1e31
Typo fix
2016-05-20 09:18:03 -05:00
Denton Liu
c851cd0481
Corrected capitalisation of symbol names
2016-05-18 17:17:05 -04:00
Denton Liu
d152923548
Fixed a badly resolved merge conflict
2016-05-18 15:53:14 -04:00
Denton Liu
7c22a387f3
Changed whitespace formatting
2016-05-18 11:35:32 -04:00
Denton Liu
d70ae38e92
Fixed table formatting
2016-05-18 11:23:48 -04:00
Denton Liu
51fe1bd9c2
Replaced tabs with spaces
2016-05-18 11:23:48 -04:00
Denton Liu
d6f05a6d36
Increased clarity of assembly statement
2016-05-18 11:23:48 -04:00
Denton Liu
14bd009eb6
Corrected spacing to four spaces
2016-05-18 11:23:47 -04:00
Denton Liu
bdb48b8567
Removed trailing space
2016-05-18 11:23:47 -04:00
chriseth
775b757d0e
Merge pull request #545 from chriseth/accessFunLabels
...
Allow access to functions in inline assembly.
2016-05-17 23:59:13 +02:00
chriseth
e28604f0b0
Typo
2016-05-17 17:05:03 +02:00
chriseth
4b445b898e
Merge pull request #546 from chriseth/fixiszero
...
Correctly use not/bnot/iszero.
2016-05-14 00:58:55 +02:00
Denton Liu
20cec07b46
Removed unnecessary period
2016-05-12 13:25:00 -04:00
Denton Liu
7b6fd013a4
Added origin of scoping rules
2016-05-12 09:59:29 -04:00
Denton Liu
50eb3b8f8f
Moved comment to more logical place
2016-05-12 09:49:49 -04:00
Denton Liu
e60a17379e
Removed trailing spaces
2016-05-12 09:48:56 -04:00
chriseth
67ca3bb4b9
Allow access to functions in inline assembly.
2016-05-12 12:30:48 +02:00
Denton Liu
52a8d7b3f5
Added content
2016-05-11 17:07:25 -04:00
Denton Liu
08b7d4aebe
Changed the title
2016-05-11 17:02:28 -04:00
Denton Liu
ef56723060
Created scoping section
2016-05-11 15:47:05 -04:00
chriseth
a927efb151
Correctly use not/bnot/iszero.
...
A long time ago, some opcodes were renamed. Now we should only have
not (bitwise negation) and iszero (logical negation).
2016-05-09 10:52:23 +02:00
chriseth
bbfc580423
Typos in inline assembly documentation.
2016-03-30 18:32:39 +02:00
chriseth
b336f6261c
Documentation.
2016-03-30 10:08:09 +02:00
chriseth
d0bb87ae88
Documentation for delegatecall.
2016-03-11 17:49:59 +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
Lu Guanqun
41039705ac
[cond-expr] add one doc about conditional expression
2016-01-22 17:14:01 +00:00
Lu Guanqun
e213d7f25b
[docs]: change unsupported underscore to start
...
highlight "not"
2015-12-30 13:46:05 +08:00
chriseth
64fa9ca478
Imported documentation.
2015-12-07 22:35:51 +01:00