aboutsummaryrefslogtreecommitdiffstats
path: root/docs/control-structures.rst
Commit message (Collapse)AuthorAgeFilesLines
* Add warning that low-level call/callcode/delegatecall don't check for existenceAlex Beregszaszi2017-08-021-0/+3
|
* Fix grammarYoichi Hirai2017-07-261-1/+1
|
* Clarify require and assert usagemaurelian2017-07-261-6/+4
|
* Enable more examples in the documentation for testingAlex Beregszaszi2017-07-191-2/+0
|
* Keep the terminology about the exceptions the sameJuraj Bednar2017-07-181-1/+1
| | | Don't call exception revert-style when the rest of the document uses require-style
* Fix bugs in example contractsAlex Beregszaszi2017-07-141-1/+5
|
* Add version pragma to docs examplesAlex Beregszaszi2017-07-131-0/+10
|
* Clarify exception documentationAlex Beregszaszi2017-06-241-6/+5
|
* Review suggestions.chriseth2017-06-241-2/+2
|
* Clarify exceptions.chriseth2017-06-241-24/+42
|
* Explain that .value() is only available if contract function is marked payableAlex Beregszaszi2017-03-161-2/+2
|
* Document the .value() and .gas() modifiersAlex Beregszaszi2017-03-161-3/+3
|
* Fix list indentationAlex Beregszaszi2017-03-161-1/+2
|
* Require and Assert.chriseth2017-03-141-2/+9
|
* Merge pull request #1702 from ethereum/assertErrorYoichi Hirai2017-03-041-2/+1
|\ | | | | Change effect of assert to invalid opcode.
| * Remove assert for now.chriseth2017-02-241-5/+1
| |
| * Change effect of assert to invalid opcode.chriseth2017-02-161-3/+6
| |
* | Document transfer()Alex Beregszaszi2017-02-241-0/+1
|/
* Document revert()Alex Beregszaszi2017-02-111-1/+1
|
* Document user provided exceptionsAlex Beregszaszi2017-02-101-0/+4
|
* Rename accessor to getterAlex Beregszaszi2017-02-031-1/+1
|
* Integrate missed changes.chriseth2017-02-011-477/+1
|
* Mention invalid in docsAlex Beregszaszi2017-01-271-0/+2
|
* Changelog and review suggestions.chriseth2017-01-271-1/+1
|
* Document special case of zero-initialized internal function.chriseth2017-01-261-1/+6
|
* Address feedback from code review.Valentin Wüstholz2017-01-261-1/+1
|
* Merge pull request #1597 from sarbogast/patch-2chriseth2017-01-231-10/+10
|\ | | | | Fix the list of reasons for throwing automatically
| * Fix the list of reasons for throwing automaticallySebastien Arbogast2017-01-211-10/+10
| | | | | | Used aut-enumerated list syntax
* | Fixed typo on contract instanceSebastien Arbogast2017-01-211-1/+1
|/ | | Fixed the name of the variable referencing a contract instance
* Corrected explanation per discussion.Michael Coblenz2016-12-221-2/+2
|
* Clarified support for recursive creation.Michael Coblenz2016-12-211-2/+2
|
* Fixed misleading typoMichael Coblenz2016-12-201-1/+1
| | | "now possible" should instead read "not possible."
* Documentation.chriseth2016-12-121-9/+10
|
* docs: cleaning references to C; smoothing parameter syntax descriptionYoichi Hirai2016-11-251-4/+4
|
* docs: cross-reference returning multiple valuesYoichi Hirai2016-11-251-0/+5
|
* doc: add a section about input parameters and output parametersYoichi Hirai2016-11-251-1/+56
|
* TypoRJ2016-11-191-1/+1
|
* Rename ErrorTag to invalidJumpLabel in inline assemblyAlex Beregszaszi2016-11-151-1/+1
|
* Document inline assembly ErrorTagAlex Beregszaszi2016-11-151-0/+4
|
* docs: document the new overflow exception during conversion into enumYoichi Hirai2016-11-121-3/+4
|
* Add support for do/while loopsRhett Aultman2016-11-101-2/+2
| | | | | | | 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.
* Minor documentation fixesAlex Beregszaszi2016-10-191-2/+2
|
* Small points on the instruction tableYoichi Hirai2016-10-141-3/+3
| | | | | | Fixes #1205 `sload` was not marked with a `-`, contrary to the description of #1205
* Accommodate further reviewsYoichi Hirai2016-10-131-6/+6
|
* Change prenouns from `on` to `at`Yoichi Hirai2016-10-131-2/+2
|
* Accommodating reviewsYoichi Hirai2016-10-131-9/+8
| | | | https://github.com/ethereum/solidity/pull/1167#pullrequestreview-4031601
* Mention `payable` in the description when Solidity throwsYoichi Hirai2016-10-121-1/+2
|
* Codify `bytes`Yoichi Hirai2016-10-121-1/+1
|
* Change phrasing around too small indexYoichi Hirai2016-10-121-2/+2
|
* Merge two similar sections; the original survivesYoichi Hirai2016-10-121-6/+8
|
* Review suggestions.chriseth2016-09-071-1/+1
|
* Update documentation to version 0.4.0.chriseth2016-09-071-7/+24
|
* Merge pull request #1003 from winsvega/docschriseth2016-09-061-0/+14
|\ | | | | add "pragma solidity ^0.4.0;" to code examples
| * add "pragma solidity ^0.4.0;" to code examplesDimitry2016-09-051-0/+14
| |
* | Fix the return value of call in inline assemblyAlex Beregszaszi2016-09-061-1/+2
|/
* Use new style for the docsDenton Liu2016-08-271-2/+1
|
* Fix creating contracts sectionDenton Liu2016-08-241-3/+5
|
* Rename "call data" to "calldata"Denton Liu2016-08-241-2/+2
|
* Fix control-structuresDenton Liu2016-08-241-4/+4
|
* Document throwing on contract-creation failDenton Liu2016-08-191-1/+2
|
* Document throwing on calling empty codeDenton Liu2016-08-181-1/+2
|
* Add documentation about throwingDenton Liu2016-08-181-2/+3
|
* Make function calls throw if target does not have code.chriseth2016-08-171-0/+4
| | | | | Low-level calls still just execute and will actually report "success". This allows `x.call.value(y)()` for x being a non-contract account.
* Merge pull request #905 from ethereum/chriseth-patch-1chriseth2016-08-171-1/+1
|\ | | | | Docs: wording: recursive call exploit -> reentrancy exploit
| * Wording: recursive call exploit -> reentrancy exploitchriseth2016-08-161-1/+1
| |
* | Fix docs. (#916)chriseth2016-08-171-3/+9
| |
* | Merge pull request #903 from mocamircea/patch-8chriseth2016-08-161-3/+10
|\ \ | | | | | | Update control-structures.rst
| * | Update control-structures.rstMircea Moca2016-08-161-3/+8
| | | | | | | | | Splitted example.
| * | Update control-structures.rstMircea Moca2016-08-161-1/+3
| |/
* | Merge pull request #710 from chriseth/throwFailedCreatechriseth2016-08-161-0/+37
|\ \ | | | | | | BREAKING: Throw if contract creation fails.
| * | Throw if contract creation fails.chriseth2016-08-161-0/+37
| |/
* | Update control-structures.rstMircea Moca2016-08-161-1/+1
| |
* | Update control-structures.rstMircea Moca2016-08-161-1/+1
|/ | | typo -> coherence with previous occurrence in the document of C/JavaScript
* Change i.e. to e.g.Denton Liu2016-08-111-1/+1
|
* Add missing sDenton Liu2016-08-091-1/+1
|
* Refix typoDenton Liu2016-08-091-1/+1
|
* Fix typoDenton Liu2016-08-051-1/+1
|
* Link to order of precedence tableDenton Liu2016-07-291-1/+1
|
* Fix typosDenton Liu2016-07-131-2/+2
|
* Merge pull request #680 from Denton-L/fix-679chriseth2016-07-091-3/+11
|\ | | | | Add section about default values of variables
| * Incorporate changesDenton Liu2016-07-091-2/+1
| |
| * Apply fixesDenton Liu2016-07-051-5/+4
| |
| * Fix incorrect directivesDenton Liu2016-07-041-3/+5
| |
| * Add section about default values of variablesDenton Liu2016-06-231-2/+10
| |
* | Mention dangers of polymorphismDenton Liu2016-07-081-1/+4
| |
* | Incorporate correctionsDenton Liu2016-07-081-2/+2
| |
* | Correct grammar and languageDenton Liu2016-07-051-7/+7
| |
* | Security Considerationschriseth2016-07-041-0/+12
|/
* Changed inline code syntaxDenton Liu2016-05-301-46/+46
| | | | Changed from :code:`<inline>` to ``<inline>``
* Modified control-structures.rstDenton Liu2016-05-301-46/+46
| | | | Changed inline code syntax
* Typo fixDave Hoover2016-05-201-1/+1
|
* Corrected capitalisation of symbol namesDenton Liu2016-05-191-4/+4
|
* Fixed a badly resolved merge conflictDenton Liu2016-05-191-3/+3
|
* Changed whitespace formattingDenton Liu2016-05-181-1/+6
|
* Fixed table formattingDenton Liu2016-05-181-141/+141
|
* Replaced tabs with spacesDenton Liu2016-05-181-97/+97
|
* Increased clarity of assembly statementDenton Liu2016-05-181-2/+5
|
* Corrected spacing to four spacesDenton Liu2016-05-181-38/+40
|
* Removed trailing spaceDenton Liu2016-05-181-1/+1
|
* Merge pull request #545 from chriseth/accessFunLabelschriseth2016-05-181-2/+13
|\ | | | | Allow access to functions in inline assembly.
| * Typochriseth2016-05-171-1/+1
| |
| * Allow access to functions in inline assembly.chriseth2016-05-121-2/+13
| |
* | Merge pull request #546 from chriseth/fixiszerochriseth2016-05-141-3/+3
|\ \ | | | | | | Correctly use not/bnot/iszero.
| * | Correctly use not/bnot/iszero.chriseth2016-05-091-3/+3
| |/ | | | | | | | | A long time ago, some opcodes were renamed. Now we should only have not (bitwise negation) and iszero (logical negation).
* | Removed unnecessary periodDenton Liu2016-05-131-2/+2
| |
* | Added origin of scoping rulesDenton Liu2016-05-121-0/+1
| |
* | Moved comment to more logical placeDenton Liu2016-05-121-1/+1
| |
* | Removed trailing spacesDenton Liu2016-05-121-4/+4
| |
* | Added contentDenton Liu2016-05-121-0/+51
| |
* | Changed the titleDenton Liu2016-05-121-4/+3
| |
* | Created scoping sectionDenton Liu2016-05-121-0/+6
|/
* Typos in inline assembly documentation.chriseth2016-03-311-3/+3
|
* Documentation.chriseth2016-03-301-0/+444
|
* Documentation for delegatecall.chriseth2016-03-121-1/+1
|
* Added in-depth links for further reading to the state variable, function and ↵holgerd772016-02-191-0/+2
| | | | function modifier overview in the structure section
* [cond-expr] add one doc about conditional expressionLu Guanqun2016-01-231-1/+1
|
* [docs]: change unsupported underscore to startLu Guanqun2015-12-301-1/+1
| | | highlight "not"
* Imported documentation.chriseth2015-12-081-0/+167