Commit Graph

701 Commits

Author SHA1 Message Date
chriseth
57662e1bf3 Add language and some minor corrections and clarifications. 2017-02-08 21:53:07 +00:00
chriseth
4fccb5fdac Document input description and metadata output. 2017-02-08 21:53:07 +00:00
chriseth
2ac766b18b Merge pull request #1643 from federicobond/patch-1
grammar.txt: Add rule for tuple destructuring
2017-02-08 19:53:23 +01:00
Federico Bond
1fc42d733d grammar.txt: Add rule for tuple destructuring 2017-02-08 12:00:30 -05:00
chriseth
94e5ab1e43 Merge branch 'develop' into docs-version 2017-02-07 12:26:02 +01:00
Alex Beregszaszi
82a512fb2f Add archlinux installation instructions 2017-02-06 18:23:49 +00:00
Alex Beregszaszi
e5e0eae057 Take documentation version numbers from CMake 2017-02-06 16:00:29 +00:00
Alex Beregszaszi
9f9807f95d Remove obsolete esoteric features section 2017-02-03 01:52:18 +00:00
RJ Catalano
60e884b0a3
clarified binaries installation
Signed-off-by: RJ Catalano <rj@monax.io>
2017-02-02 18:54:49 -06:00
RJ Catalano
f50caa967c
implement a build script
Signed-off-by: RJ Catalano <rj@monax.io>
2017-02-02 18:54:47 -06:00
Alex Beregszaszi
ace583d0a1 Rename accessor to getter 2017-02-03 00:17:21 +00:00
Will White
51a150e82a Other contracts can't write to a public variable
The removed words implied that other contracts can write to a public variable.
2017-02-02 15:19:27 +00:00
Alex Beregszaszi
821314aa27 Explain the difference between solc and solcjs 2017-02-02 11:04:38 +00:00
chriseth
c1a675da4f Merge pull request #1625 from ethereum/asmdocs
Integrate missed changes.
2017-02-01 09:05:20 +01:00
chriseth
a39adc44d4 Integrate missed changes. 2017-01-31 23:31:25 +01:00
chriseth
ffe4ce0891 Version update 2017-01-31 19:37:55 +01:00
Alex Beregszaszi
bfa3b4ca78 Mention invalid in docs 2017-01-27 13:26:40 +00:00
chriseth
bff8fc23e6 Changelog and review suggestions. 2017-01-27 10:18:53 +01:00
chriseth
7660736aa2 Document special case of zero-initialized internal function. 2017-01-26 16:40:24 +01:00
Valentin Wüstholz
5b7cc018f0 Address feedback from code review. 2017-01-26 16:39:07 +01: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
Yoichi Hirai
c382ce1f6b Merge pull request #1593 from ethereum/identifierRegex
Correct identifier regex
2017-01-23 14:27:53 +01:00
chriseth
7e2e1eb94f Merge pull request #1597 from sarbogast/patch-2
Fix the list of reasons for throwing automatically
2017-01-23 09:32:37 +01:00
Sebastien Arbogast
7ecc8e412d Fix the list of reasons for throwing automatically
Used aut-enumerated list syntax
2017-01-20 22:53:45 +01:00
Sebastien Arbogast
0897e7bcec Fixed typo on contract instance
Fixed the name of the variable referencing a contract instance
2017-01-20 21:52:36 +01:00
chriseth
0b01678bc3 Correct identifier regex 2017-01-20 19:29:43 +01:00
chriseth
ed12b97761 Merge pull request #1574 from ethereum/docs-version
Explain how version numbers are built
2017-01-17 15:34:41 +01:00
Alex Beregszaszi
2bf89776ae Update copyright date in docs 2017-01-17 13:08:22 +00:00
Alex Beregszaszi
592c692bce Mention how our version maps to Semver 2017-01-17 13:01:55 +00:00
Alex Beregszaszi
9f9b7fb6f0 Explain how version numbers are built 2017-01-17 12:39:30 +00:00
Rhett Aultman
6ecb4aa36f Add git submodule init to build instructions (#1569) 2017-01-17 08:14:53 +01:00
Nicola
79e5772b8a Update SolidityLexer.py (#1567)
Added number unit keywords
2017-01-16 10:26:09 +01:00
Nicola
fb5583857a Update SolidityLexer.py
'payable' added as a keyword
2017-01-13 15:40:46 +01:00
chriseth
10c2df8b33 Update version to 0.4.9. 2017-01-13 13:56:55 +01:00
chriseth
bde0b40634 Merge pull request #1479 from ethereum/function_variable_mixin
Disallow mixin of functions and attributes under the same name
2017-01-13 09:36:00 +01:00
Anders Brownworth
5e29b4cde2 Re-word somewhat bumpy sentence to be more clear. 2017-01-11 13:13:11 -05:00
Yoichi Hirai
bd6e65a89c
docs: document the resriction about a function and an event of the same name, and so on 2017-01-11 18:28:11 +01:00
Federico Bond
26eff0e0d8 grammar.txt: Replace Identifier for Typename in NewExpression 2017-01-11 01:35:29 -03:00
Federico Bond
c15b0fb596 grammar.txt: Add named function arguments 2017-01-11 01:33:55 -03:00
Federico Bond
d61b911a3a grammar.txt: Move StorageLocation? up to VariableDeclaration 2017-01-11 01:33:33 -03:00
chriseth
26a90af4d2 Merge pull request #1330 from ethereum/assemblyDef
Assembly definition.
2017-01-10 17:56:58 +01:00
chriseth
ceac5c5a0c Move explanatory sections and other small changes. 2017-01-09 15:15:30 +01:00
chriseth
e92af89ec8 Typos and clarifications. 2017-01-04 12:58:35 +01:00
chriseth
4bc934abce More information about switch, loops and functions. 2017-01-04 12:34:44 +01:00
Yoichi Hirai
9128e73b03
docs: clarify what are considered as absolute paths 2017-01-03 18:18:16 +01:00
chriseth
9683cfea6d Update to new assembly specification. 2017-01-03 15:19:14 +01:00
chriseth
0bd8c204f0 Assembly definition. 2017-01-03 14:13:49 +01:00
chriseth
50c1cfa348 Merge pull request #1527 from federicobond/elementarytypenameconversion
Add ElementaryTypeNameExpression to grammar.txt
2017-01-03 10:36:16 +01:00
chriseth
a45fdf4a0f Merge pull request #1538 from ethereum/multi-keys
doc: rephrase the case when two remapping keys are applicable
2017-01-03 10:30:00 +01:00
chriseth
43a5d11f9a Merge pull request #1526 from federicobond/docs-grammar
Add parsers and grammars to documentation
2017-01-03 09:46:39 +01:00
Yoichi Hirai
c014448397
doc: rephrase the case when two remapping keys are applicable
Fixes #1536
2017-01-02 16:55:29 +01:00
Federico Bond
82b9797428 Add ElementaryTypeNameExpression to grammar.txt 2017-01-02 11:45:12 -03:00
Federico Bond
04af994bf5 Add parsers and grammars to documentation 2017-01-02 10:13:41 -03:00
chriseth
e079b1c53f Merge pull request #1530 from federicobond/remove-syntax-highlighting
Remove wrong syntax highlighting in docs
2017-01-02 12:26:47 +01:00
chriseth
75a596aba2 Merge pull request #1529 from federicobond/right-shifts
Add missing right-hand side expression for shifts
2017-01-02 12:25:30 +01:00
Federico Bond
6955b8f7b9 Remove wrong syntax highlighting in docs 2016-12-28 17:32:10 -03:00
Federico Bond
1f80dbb39a Add missing right-hand side expression for shifts 2016-12-28 12:53:40 -03:00
Federico Bond
28550ac9ff Add UserDefinedTypeName to grammar.txt 2016-12-27 23:08:57 -03:00
Federico Bond
890a8818b5 Add unimplemented functions to grammar 2016-12-26 22:57:00 -03:00
Federico Bond
507525be5f Fix NumberLiteral rule for hex numbers 2016-12-24 13:10:51 -03:00
Federico Bond
2a7b01982c Fix StorageLocation position for ArrayTypeName rule in grammar 2016-12-24 13:00:11 -03:00
chriseth
3a88580512 Merge pull request #1518 from mcoblenz/patch-2
Corrected explanation of recursive contract creation
2016-12-22 16:54:04 +01:00
Michael Coblenz
c163a219de Corrected explanation per discussion. 2016-12-22 10:35:58 -05:00
Federico Bond
5148de3ed7 Fix mapping syntax in docs 2016-12-21 19:27:31 -03:00
Michael Coblenz
4b3f147e65 Clarified support for recursive creation. 2016-12-20 13:48:01 -05:00
Michael Coblenz
31564d94b1 Fixed misleading typo
"now possible" should instead read "not possible."
2016-12-19 15:08:18 -05:00
chriseth
7ce7d3e74c Update develop version. 2016-12-15 14:03:31 +01:00
chriseth
e97ba77a45 Merge pull request #1508 from ethereum/multiurls
Use multiple URLs for metadata.
2016-12-14 17:22:25 +01:00
chriseth
f7e219ed91 Update documentation. 2016-12-13 16:43:16 +01:00
chriseth
56a027bedc Use multiple URLs for metadata. 2016-12-13 16:37:48 +01:00
chriseth
cc11739928 Documentation. 2016-12-12 11:12:12 +01:00
chriseth
84443eb560 Merge pull request #1351 from ethereum/truncate_bit
Truncate a boolean from calldata into one bit
2016-12-08 16:15:35 +01:00
Federico Bond
926a252961 Remove duplicate Identifier from AssemblyItem grammar rule 2016-12-07 22:00:16 -03:00
chriseth
b201e148fa Merge pull request #1465 from ethereum/missing_keywords
document missing keywords
2016-12-06 13:47:30 +01:00
chriseth
34327c5d8a Merge pull request #1394 from ethers/patch-1
styleguide: Order of Functions
2016-12-05 12:48:06 +01:00
Yoichi Hirai
d94fd636b7
grammar.txt: define inline assembly 2016-12-02 12:20:06 +01:00
Yoichi Hirai
43b56a61aa
parsing: default and null are reserved keywords 2016-12-02 11:52:11 +01:00
Yoichi Hirai
50bcc60e6e
grammar.txt: remove a space from payable keyword 2016-12-02 11:52:11 +01:00
Alex Beregszaszi
ea7a6520b2 Fix documentation errors
Subheadings must use consistent format across a file.

The metadata with comments cannot be parsed as JSON.
2016-12-01 16:03:59 +01:00
Alex Beregszaszi
35325ee7c3 Update metadata documentation 2016-12-01 16:03:59 +01:00
chriseth
6a7ff039df Use CBOR encoding. 2016-12-01 16:03:59 +01:00
chriseth
1316c0c872 Fix documentation error. 2016-12-01 16:03:59 +01:00
chriseth
91ecc4533d Add swarm hash to the end of the bytecode. 2016-12-01 16:03:59 +01:00
chriseth
9b46752cc2 Documentation. 2016-12-01 16:03:59 +01:00
Alex Beregszaszi
e7760417e8 docs: rename overflow to variable cleanup 2016-12-01 12:14:21 +00: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
Alex Beregszaszi
868a8a8fa0
docs: update overflow cleanup wording 2016-11-30 17:42:45 +01:00
Yoichi Hirai
5d7a1fda39
docs: remove the word overflow when we are talking about invalid values 2016-11-30 17:42:16 +01:00
Yoichi Hirai
547deec4be
codegen: clean any data from the input 2016-11-30 17:42:03 +01:00
Yoichi Hirai
7959ee49be
docs: describe when and how overflown values are cleaned 2016-11-30 17:41:58 +01:00
Alex Beregszaszi
2962426d53 Include the grammar verbatim in the documentation 2016-11-30 12:20:13 +00:00
Alex Beregszaszi
83892399f0 Explain how to run soltest 2016-11-28 20:33:09 +00:00
chriseth
b179dfd101 Merge pull request #1438 from ethereum/docker
Docker documentation.
2016-11-25 16:57:29 +01:00
chriseth
cf4e0549c3 Mention nightly. 2016-11-25 16:21:17 +01:00
chriseth
d52f191fec Merge pull request #1431 from ethereum/doc-literals
docs: a bit more about literals
2016-11-25 15:33:08 +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
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
chriseth
6b95303998 Docker documentation. 2016-11-24 23:46:52 +01:00
chriseth
19c9e85a20 Merge pull request #1432 from ethereum/override-types
docs: add a description about the types of parameters of overriding functions
2016-11-24 19:47:27 +01:00
chriseth
e461904854 Merge pull request #1413 from ethereum/calldata-layout
docs: add a section about calldata layout
2016-11-24 11:05:50 +01:00
Yoichi Hirai
c33b098e55
docs: add a description about the types of parameters of overriding functions 2016-11-23 16:40:57 +01:00
chriseth
b1d2d07e60 Merge pull request #1407 from escull638/patch-1
Fixed spelling mistake in Logs
2016-11-23 14:55:04 +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
Yoichi Hirai
452dbef3dc
docs: add a section about calldata layout
Part of #1390
2016-11-23 13:55:37 +01:00
Yoichi Hirai
475009b93d Merge pull request #1411 from ethereum/function-type-docs
Fix function type examples
2016-11-23 11:34:40 +01:00
chriseth
a65473b371 Set version to 0.4.7 2016-11-22 15:44:48 +01:00
ethers
217f33c252 Clearer language as suggested by @axic 2016-11-22 00:47:58 -08: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
escull638
74ab62de14 Fixed spelling mistake in Logs
Changed 'maps all they way up to the block level' to 'maps all the way up to the block level'.
2016-11-21 11:26:58 +00:00
chriseth
3f48c655e5 Update version. 2016-11-21 11:54:41 +01:00
RJ
cc07a918e3 Typo 2016-11-18 12:34:43 -06:00
ethers
feebe3e755 Fallback functions don't always have to be payable 2016-11-17 18:14:26 -08:00
ethers
1d9aee97c2 styleguide: Don't include a whitespace in the fallback function 2016-11-17 18:13:33 -08:00
ethers
549bca1494 Don't include a whitespace in fallback function 2016-11-17 18:09:22 -08:00
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