chriseth
d87eb97895
Add entry to bug list.
2017-05-02 12:22:11 +02:00
Alex Beregszaszi
f77f2123f0
Merge pull request #2203 from JohnAllen/develop
...
Correct form-from typo in layout-of-source-files.rst
2017-05-02 09:38:37 +01:00
JohnAllen
daa8db81c8
Correct form-from typo in layout-of-source-files.rst
2017-05-01 14:00:27 -07:00
FedericoCapello
fabf15de9e
Update units-and-global-variables.rst
...
Consistency of explanation.
2017-05-01 20:05:25 +02:00
AdrianClv
4658c4f28b
Added Doxity in the Solidity Tools section
2017-04-29 17:22:01 +02:00
Paweł Bylica
fc3f40febe
Add warning about SAR in docs
2017-04-28 14:35:25 +01:00
chriseth
28f10f4783
Remove error label / invalid jump label.
2017-04-28 13:14:52 +02:00
Alex Beregszaszi
cd29a0315d
Update the gasEstimates in JSON I/O
2017-04-27 13:37:51 +01:00
Alex Beregszaszi
35f1cf92db
Remove parentheses from around function return parameters
2017-04-27 10:08:02 +01:00
chriseth
2c1fb46bc3
Merge pull request #1711 from ethereum/asmfunctions
...
Assembly: Analysis stage for functions.
2017-04-26 17:47:48 +02:00
chriseth
a46a059e3a
Document storage variable access.
2017-04-26 11:58:36 +02:00
Alex Beregszaszi
8a5feb8c49
Explain that bytecode depends on metadata
2017-04-25 18:29:51 +01:00
Alex Beregszaszi
6c9dcaf7ac
Mention the order of the ABI in metadata
2017-04-25 18:29:50 +01:00
chriseth
0b2a05c84d
Merge pull request #2160 from 0mkara/patch-2
...
Update atom-ethereum-interface name change
2017-04-24 19:22:01 +02:00
Alex Beregszaszi
4a3fb96381
Enable standard json in the docs
2017-04-24 11:34:02 +01:00
Omkara
cd5fc7a6d2
Update atom-ethereum-interface name change
...
atom-ethereum-interface is renamed to etheratom, virtual machine compatibility introduced and other updates
2017-04-23 09:03:12 +05:30
chriseth
1ac7056a1a
Correct syntax and link to question.
2017-04-21 11:42:31 +02:00
Morgan
3fb0072105
Added link to example for ecrecover
...
This should be helpful for now until I can write up some documentation to include here
2017-04-21 01:39:14 -04:00
Alex Beregszaszi
6ae7a87b78
Rename ast to legacyAST in StandardCompiler
2017-04-20 19:38:00 +01:00
Alex Beregszaszi
8bf842050e
Support --allow-paths in the CLI
2017-04-20 15:39:30 +01:00
chriseth
937397ed9c
Merge pull request #2122 from nrchandan/patch-1
...
Update common-patterns.rst
2017-04-18 14:55:36 +02:00
chriseth
6ad7dcffce
Merge pull request #2119 from ethereum/bugList
...
List of known bugs.
2017-04-18 13:48:53 +02:00
chriseth
82628a80cc
Merge pull request #2125 from abrahamsangha/fix-typo-solidity-by-example
...
minor: fix formatting and grammar
2017-04-18 12:36:00 +02:00
chriseth
d093f42eb6
Merge pull request #2127 from morgansliman/patch-1
...
Update contracts.rst
2017-04-18 12:34:36 +02:00
chriseth
fd109bbe6f
Update bugs.rst
2017-04-18 12:20:39 +02:00
chriseth
11d30ec04f
Some changes after review.
2017-04-18 11:40:00 +02:00
Morgan
fb58809c20
Update contracts.rst
2017-04-17 21:41:28 -04:00
Andy Milenius
ab0a0ab05d
Update index.rst
2017-04-14 19:01:57 -07:00
Abraham Sangha
98242f5409
minor: fix formatting and grammar
2017-04-14 19:05:53 -06:00
Chandan Kumar
66165ff753
Update common-patterns.rst
2017-04-14 09:27:14 +05:30
chriseth
10c32362ea
Prefix all optimizer bug names by Optimizer.
2017-04-12 15:37:06 +02:00
chriseth
feacfcfd20
Typo and more explanation.
2017-04-12 15:35:25 +02:00
chriseth
a7e605a7a1
Create and update bugs by version list.
2017-04-12 15:20:07 +02:00
chriseth
291ece2bdb
List of known bugs.
2017-04-12 12:23:34 +02:00
Alex Beregszaszi
92fd66e4b4
Document formattedMessage
2017-04-07 15:37:11 +01:00
Alex Beregszaszi
c22ba03417
Support selecting group of outputs
2017-04-07 15:34:38 +01:00
Alex Beregszaszi
fea26bc4ba
Rename legacyAssemblyJSON to legacyAssembly
2017-04-07 15:33:13 +01:00
Alex Beregszaszi
b62a6949b5
Move the IR out of the EVM block in JSON IO
2017-04-07 15:32:59 +01:00
Alex Beregszaszi
594f207606
The metadata output is serialised
2017-04-07 15:32:58 +01:00
Alex Beregszaszi
b7368ce067
Fix input selector for evm
2017-04-07 15:32:55 +01:00
Alex Beregszaszi
ded7258b01
Swap key/value of methodIdentifiers
2017-03-30 11:12:14 +01:00
Alex Beregszaszi
f6828fc7c3
Reorder for readiability
2017-03-29 22:23:35 +01:00
Alex Beregszaszi
917175eedc
Move opcodes into bytecode/deployedBytecode
2017-03-29 22:21:33 +01:00
Matt Searle
3d30294482
Fix typo in documentation
...
Spelling mistake
2017-03-28 21:18:35 +13:00
Matt Searle
ca3ceb4de2
Fix typo
2017-03-27 17:19:08 +13:00
Abraham Sangha
602ad1e605
small fixes
2017-03-22 12:57:42 -06:00
Alex Beregszaszi
d5102c1db7
Disallow constructor in interfaces
2017-03-17 17:06:52 +00:00
Alex Beregszaszi
2c4bce2d62
Disallow enums in interfaces
2017-03-17 17:06:52 +00:00
Alex Beregszaszi
3f1468142b
Document interfaces
2017-03-17 17:06:51 +00:00
chriseth
58334cf4ac
Merge pull request #1787 from ethereum/docs-gasvalue
...
Document the .value() and .gas() modifiers
2017-03-16 15:52:10 +01:00
Alex Beregszaszi
e7e22c703c
Merge pull request #1785 from ethereum/docs-address
...
Document all address methods in the global variables section
2017-03-16 12:46:26 +00:00
Alex Beregszaszi
17443f458a
Explain that .value() is only available if contract function is marked payable
2017-03-16 12:37:18 +00:00
Alex Beregszaszi
6ece0d6c2f
Document the .value() and .gas() modifiers
2017-03-16 12:37:18 +00:00
Alex Beregszaszi
e34a9600f2
Merge pull request #1791 from ethereum/docs-fixes
...
Mostly typo fixes in the documentation
2017-03-16 12:22:10 +00:00
chriseth
6ecfcbb686
Merge pull request #1784 from ethereum/docs-remix
...
Replace references to browser-solidity with Remix
2017-03-16 12:21:32 +01:00
Alex Beregszaszi
b053b6164e
Fix typo (recieve to receive)
2017-03-16 11:20:39 +00:00
Alex Beregszaszi
18a37ed799
Document all address methods in the global variables section
2017-03-16 11:17:17 +00:00
Alex Beregszaszi
42f2623cd3
Fix list indentation
2017-03-16 00:43:30 +00:00
Alex Beregszaszi
4c34adb799
Add link to version pragma
2017-03-16 00:43:30 +00:00
Alex Beregszaszi
2d8b0fdc39
Fix inconsistent use of single backticks
2017-03-15 23:41:02 +00:00
Alex Beregszaszi
a0d6ac63cc
Replace references to browser-solidity with Remix
2017-03-15 22:58:14 +00:00
chriseth
0c8a766146
Merge pull request #1698 from ethereum/exp-notation
...
Fix scientific notation in number literals
2017-03-15 14:55:45 +01:00
Alex Beregszaszi
07d775294b
Document scientific notation in integer literals
2017-03-15 13:16:16 +00:00
Yoichi Hirai
d134fda0c0
Merge pull request #1729 from ethereum/constantvariables
...
Only allow pure expressions for constant state variables.
2017-03-15 10:03:35 +01:00
chriseth
47cd8964b8
Require and Assert.
2017-03-14 14:21:33 +01:00
chriseth
c65d506811
Documentation update.
2017-03-13 13:30:23 +01:00
chriseth
bdbd3b158e
Extend documentation for constant state variables.
2017-03-13 13:30:23 +01:00
chriseth
592cec7e90
Disallow constants that are neither value types nor strings.
2017-03-13 13:30:23 +01:00
chriseth
4077e56a2f
Documentation.
2017-03-13 13:30:23 +01:00
Remo Fürst
b5c17d7058
Fix delegation loop in Ballot example contract
...
fixes #1753
2017-03-08 22:45:27 +01:00
Yoichi Hirai
78f7dd2344
Merge pull request #1750 from ethereum/asmoctal
...
Disallow octal numbers in parser.
2017-03-08 12:24:22 +01:00
Yoichi Hirai
a1e350a4ae
Merge pull request #1699 from ethereum/asmlabels
...
Assembly labels with stack information
2017-03-08 11:56:44 +01:00
chriseth
bb06569dc6
Disallow octal literals.
2017-03-07 12:34:32 +01:00
chriseth
14c1117098
Add keywords delete and for
2017-03-06 11:34:22 +01:00
Leonid Logvinov
0d8ae4a33a
Add IntelliJ plugin to Solidity integrations
2017-03-05 15:45:28 +01:00
Yoichi Hirai
cfbbd89daf
Merge pull request #1702 from ethereum/assertError
...
Change effect of assert to invalid opcode.
2017-03-03 18:25:50 +01:00
chriseth
8c1d949d1a
Remove stack annotations from documentation.
2017-03-03 15:41:02 +01:00
chriseth
c85f9257f8
Clarify stack height.
2017-03-03 15:41:02 +01:00
chriseth
f4f82615b1
Updated documentation.
2017-03-03 15:41:01 +01:00
Alex Beregszaszi
59514d8268
Remove obsolete .send() entry from FAQ
2017-02-24 00:18:18 +00: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
chriseth
4b1e8111cc
Remove assert for now.
2017-02-23 19:43:40 +01:00
chriseth
0177d964b1
Merge pull request #1714 from dimorinny/develop
...
Add lost payable attribute to sample withdrawal pattern contract in docs
2017-02-22 12:05:40 +01:00
Mikko Ohtamaa
c9e4e1d7ca
Downgrade instructions for Homebrew Solidity
...
Because 0.4.9+ causes a lot of havoc, breaking tools
2017-02-22 00:45:15 +02:00
Dmitriy Merkurev
a2f92033e7
add payable attribute
2017-02-21 22:44:18 +03:00
chriseth
811bb770c5
Change effect of assert to invalid opcode.
2017-02-16 15:54:17 +01:00
Alex Beregszaszi
d4da4ef35f
Merge pull request #1684 from federicobond/sphinx-highlight
...
Update the sphinx highlighting rules
2017-02-13 18:38:13 +00:00
Federico Bond
75d59b1adb
Update the sphinx highlighting rules
2017-02-13 12:05:03 -05:00
Alex Beregszaszi
28a7b1e019
Document revert()
2017-02-10 22:42:33 +00:00
Alex Beregszaszi
1fcad8b4ab
Document revert()
2017-02-10 22:41:09 +00:00
Alex Beregszaszi
fd7ffedead
Use different wording for assert
2017-02-10 21:41:40 +00:00
Alex Beregszaszi
39cd2214f2
Document user provided exceptions
2017-02-10 13:31:40 +00:00
Alex Beregszaszi
7f726de1cb
Document assert()
2017-02-10 13:29:17 +00:00
Alex Beregszaszi
dc431fe1f6
Simplify the compiler API section (and remove pseudo code)
2017-02-08 23:41:48 +00:00
Alex Beregszaszi
cd81e58e3b
Drop the legacy assembly output
2017-02-08 23:41:48 +00:00
Alex Beregszaszi
749db7608b
Include language field in the JSON
2017-02-08 23:41:48 +00:00
Alex Beregszaszi
10d3a591d4
Move file into sourceLocation
2017-02-08 23:41:48 +00:00
Alex Beregszaszi
96677cd178
Update the AST output
2017-02-08 23:41:48 +00:00
Alex Beregszaszi
9fa54db7bd
Explain every contract output field
2017-02-08 23:41:48 +00:00
Alex Beregszaszi
9fc017d10b
Support linkReferences with length specified
2017-02-08 23:41:48 +00:00
Alex Beregszaszi
a3340e210e
Error list should have sourceLocation
2017-02-08 23:41:48 +00:00
Alex Beregszaszi
c217bc2dca
Updated EVM output
2017-02-08 23:41:48 +00:00
Alex Beregszaszi
4b19f560b8
Make contracts output two-level
2017-02-08 23:41:47 +00:00
Alex Beregszaszi
627a2cec4d
Update errors output
2017-02-08 23:41:47 +00:00
Alex Beregszaszi
21a0228485
Include pseudo-code of compiler API
2017-02-08 23:41:47 +00:00
Alex Beregszaszi
d46ec20f88
Change layout and include API, Input, Output sections
2017-02-08 23:41:47 +00:00
Alex Beregszaszi
cbb668672f
Add metadata.useLiteralContent option
2017-02-08 23:41:47 +00:00
Alex Beregszaszi
4b5639bf63
Update output selection
2017-02-08 23:41:47 +00:00
Alex Beregszaszi
82c0e4de1d
Update settings section
2017-02-08 23:41:47 +00:00
Alex Beregszaszi
6e2cc081ec
Update sources definition based on the metadata
2017-02-08 23:40:07 +00:00
Alex Beregszaszi
720cf20855
Place into a code block
2017-02-08 21:53:07 +00:00
Alex Beregszaszi
d9f14e7737
The metadata section has been moved, make only a reference to it
2017-02-08 21:53:07 +00:00
Alex Beregszaszi
559c4c7a45
Update the metadata JSON spec
2017-02-08 21:53:07 +00:00
Alex Beregszaszi
073871c248
Update the metadata JSON spec
2017-02-08 21:53:07 +00:00
Alex Beregszaszi
04089edc4e
Add missing fields
2017-02-08 21:53:07 +00:00
Alex Beregszaszi
0b3f1a5378
Describe the ABI output field
2017-02-08 21:53:07 +00:00
Alex Beregszaszi
77b934c861
Update with https://pad.riseup.net/p/7x3G896a3NLA
2017-02-08 21:53:07 +00:00
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
3149b7b210
docs: `var x = 1/4
` is not working, so remove description about it
2016-12-02 15:28:19 +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
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
Denton Liu
4b74bf799c
Create contribution guidelines
2016-08-29 13:28:33 -04:00
Denton Liu
be86a2af9e
Fix line length
2016-08-29 11:00:11 -04:00
Denton Liu
dd543d4602
Fix selfdestruct documentation
2016-08-29 10:27:14 -04:00
Denton Liu
eea4b63b44
Fix syntax for Windows batch file
2016-08-29 10:25:10 -04:00
Denton Liu
9ace0ca310
Clarify typecasting
2016-08-26 17:13:45 -04:00
Denton Liu
f125b2813e
Clean up contracts.rst
2016-08-26 17:13:45 -04:00
Denton Liu
f55fb808e9
Fix grammar error
2016-08-26 17:02:49 -04:00
Denton Liu
af2e844062
Cleanup docs
2016-08-26 17:02:42 -04:00
Bob Summerwill
d14d7109b6
Merge pull request #946 from bobsummerwill/build_from_source_docs
...
Updated Solidity documentation's "building from source" section
2016-08-26 13:17:52 -07:00
Bob Summerwill
deb95b617d
Tweaks as suggested by chriseth.
...
I will commit this as-is, because it has been pending for a few days over minor issues.
We will continue to iterate on this.
2016-08-26 13:17:31 -07:00
Denton Liu
532266b89e
Use new style for the docs
2016-08-26 13:33:42 -04:00
Denton Liu
f1e6bc2eaa
Update style-guide to use new style
2016-08-26 13:33:42 -04:00
Denton Liu
d905f0e85b
Write about struct members as well
2016-08-26 13:28:44 -04:00
Denton Liu
2d834f723a
Write about multiple reads and writes
2016-08-26 13:25:57 -04:00
Denton Liu
89489da4cc
Fix typo
2016-08-26 13:25:22 -04:00
Denton Liu
cb0b2286c1
Added library keyword
2016-08-26 11:18:28 -04:00
Denton Liu
b0d9da05cf
Added ufixed and fixed keywords
2016-08-26 11:18:28 -04:00
chriseth
83160d56f3
Merge pull request #953 from Denton-L/fallback-stuff
...
Write about what fallback functions cannot do
2016-08-26 17:01:38 +02:00
Denton Liu
8c3b1334ae
Add "Sending Ether"
2016-08-26 10:31:57 -04:00
chriseth
21b6aa92ff
Disallow fallback function to return values.
2016-08-26 00:07:50 +02:00
Denton Liu
f5989fb5e0
Correct spacing
2016-08-25 15:44:16 -04:00
Denton Liu
c276086f3f
Write about what fallback functions cannot do
2016-08-25 15:43:04 -04:00
Denton Liu
0268cbddc7
Document use of smaller storage variables
2016-08-25 13:20:54 -04:00
chriseth
f329d5e772
Merge pull request #925 from mocamircea/patch-10
...
Update contracts.rst
2016-08-25 18:06:30 +02:00
Mircea Moca
55be44dd5f
Update contracts.rst
...
I left the example with contract C only, showing the access specifiers discussed at 186-188. The specifier of data is left public since nothing is related to accessor functions now.
Added a separate example with contracts C, D and E to show specifier's effect.
Added a separate example to prove the synthesizing of accessor functions.
Added a new example to show the internal/external call of the accessor, according to existent discussion.
2016-08-25 11:43:17 +03:00
chriseth
c2665dc2fe
Merge pull request #913 from chriseth/auction
...
Updated the function withdraw() in the SimpleAuction and BlindAuction…
2016-08-24 23:17:04 +02:00
Bob Summerwill
d49cfebbf7
Updated Solidity documentation's "building from source" section.
...
It now references install_deps.sh/.bat, and also adds instructions for Windows.
Cherry picked some further tweaks from Denton-L. Thanks :-)
2016-08-24 14:06:36 -07: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
89004edb2f
Add comma
2016-08-24 11:43:56 -04:00
Denton Liu
41ad2110c2
Fix control-structures
2016-08-24 11:43:56 -04:00
Denton Liu
1655f3b7bf
Update contracts.rst
2016-08-24 11:43:55 -04:00
Denton Liu
4bd96d9382
Fix description about how blocks work
2016-08-24 11:43:55 -04:00
Denton Liu
c65735fc19
Change XXX bit to XXX-bit
2016-08-24 11:43:55 -04:00
Denton Liu
72f2799556
Fix typo
2016-08-24 11:43:55 -04:00
Denton Liu
c58e460ba2
Change example code formatting
2016-08-24 11:43:55 -04:00
Denton Liu
02a72871d2
Change capitalisation
2016-08-24 11:43:55 -04:00
Denton Liu
ac799aff0e
Remove trailing whitespaces
2016-08-24 11:43:55 -04:00
Dave Hoover
1bb53ad3e7
Small documentation update
2016-08-23 22:53:30 -05:00
chriseth
0d736fde6d
Merge pull request #706 from Denton-L/withdrawal-pattern
...
Add Withdrawal Pattern Example
2016-08-20 02:57:07 +02:00
Mircea Moca
01dc055d42
Update contracts.rst
...
I think it's more clear now and without the risk of mentioning the yet discussed accessor concept
2016-08-19 17:47:57 +03:00
Denton Liu
e27493aa83
Remove throw from withdrawal pattern
2016-08-18 12:56:39 -04:00
Denton Liu
bbe7c493ad
Document throwing on contract-creation fail
2016-08-18 12:47:41 -04:00
Alex Darby
41eaf3a0cc
Updated the function withdraw() in the SimpleAuction and BlindAuction contracts to not use a 'throw' if a address send() fails.
2016-08-18 18:00:30 +02:00
Mircea Moca
ee51894e73
Update contracts.rst
...
Extended example according to the discussed stuff, clarification & typos
2016-08-18 14:16:01 +03: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
b2507e9f10
Merge pull request #839 from chriseth/checkcode
...
BREAKING: Make function calls throw if target does not have code.
2016-08-17 16:44:15 +02:00
chriseth
d6579a0a5f
Merge pull request #888 from chriseth/throwOnDivZero
...
Throw on division by zero.
2016-08-17 16:43:13 +02: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
9c83109549
BREAKING: return only exits current function/modifier
2016-08-17 11:29:31 +02:00
chriseth
e7084d9e16
Throw on division by zero.
2016-08-17 11:27:15 +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
d5505e21eb
Merge pull request #838 from chriseth/ecrecover
...
Make ecrecover return zero for malformed input.
2016-08-17 11:05:20 +02:00
chriseth
a63f94e042
Fix docs. ( #916 )
2016-08-17 11:04:40 +02:00
Alex Beregszaszi
ec3298535e
Introduce hex literals ( #832 )
...
* Introduce hex keyword token
* Support hex literals
* Include tests for hex literals
* Document hex literals
2016-08-16 16:31:23 +02:00
gl367
c547f9c24b
fix typo in costs modifier ( #850 )
2016-08-16 16:26:57 +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
chriseth
70994f4996
Merge pull request #904 from mocamircea/patch-9
...
Update control-structures.rst
2016-08-16 15:08:05 +02:00
Mircea Moca
d24c431ce5
Update control-structures.rst
2016-08-16 16:06:08 +03:00
chriseth
d731225d02
Actually better to return zero on error.
2016-08-16 14:53:01 +02:00
chriseth
2a560b798b
Throw if contract creation fails.
2016-08-16 14:49:44 +02:00
Jacob Benjamin Cholewa
c9a9a4a797
Update index.rst
...
Added a link for Syntastic. A vim plugin that provide compile checking using the solc compiler.
2016-08-16 13:12:19 +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
0b3ad9262c
Fix code
2016-08-12 11:08:53 -04:00
Denton Liu
269a6d1379
Reference inspiration
2016-08-12 11:03:58 -04:00
chriseth
c5203344a0
Merge pull request #886 from mocamircea/patch-6
...
Update units-and-global-variables.rst
2016-08-12 16:17:13 +02:00
Mircea Moca
6615487266
Update units-and-global-variables.rst
...
Coherence -> at the bottom of the document Wei is used several times, not "wei".
2016-08-12 16:54:25 +03:00
Mircea Moca
76f5c67dcc
Update units-and-global-variables.rst
...
"Suffixes of" is wrong and misleading. "seconds", "minutes" etc. are suffixes of literal numbers.
2016-08-12 16:33:22 +03:00
chriseth
c389f894b5
Merge pull request #858 from Denton-L/quotes-docs
...
Document existence of single-quotes
2016-08-12 15:20:02 +02:00
chriseth
0d894a6832
Merge pull request #844 from Denton-L/remove-after
...
BREAKING: Remove after
2016-08-12 15:09:55 +02:00
Denton Liu
0f1fb33d58
Add minor corrections
2016-08-11 14:34:36 -04:00
chriseth
69e5409bc5
Merge pull request #857 from cholewa1992/patch-1
...
Update installing-solidity.rst
2016-08-11 18:53:28 +02:00
Denton Liu
1634a79bd8
Correct all UTF-8 spellings
2016-08-11 11:10:47 -04:00
Denton Liu
2a492f59c9
Add double-quotes to style guide
2016-08-11 11:10:47 -04:00
Denton Liu
f2389b3314
Change i.e. to e.g.
2016-08-11 11:10:47 -04:00
Denton Liu
e4f9e1f788
Mention single-quotes
2016-08-11 11:10:47 -04:00
Denton Liu
581114da3e
Correct UTF-8 spellings
2016-08-11 11:10:47 -04:00
Denton Liu
058e5f0159
Update contracts and descriptions
2016-08-11 10:45:47 -04:00
Denton Liu
4737100d00
Change withdrawal example
...
The example is now a "King of the Ether"-esque contract. This is
actually relevant as they suffered an attack because of an almost
identical issue.
See the post-mortem here:
https://www.kingoftheether.com/postmortem.html
2016-08-11 10:35:45 -04:00
Denton Liu
1ff7ba0b06
Remove after keyword from documentation
2016-08-11 10:15:59 -04:00
chriseth
5a3740378f
Merge pull request #824 from Denton-L/fix-typo
...
Fix typo
2016-08-10 21:22:49 +02:00
Denton Liu
666c46ac29
Use store example
2016-08-10 11:11:13 -04:00
Denton Liu
b688d33055
Change example to auction
2016-08-10 10:42:51 -04:00
Denton Liu
a6c9d85399
Remove trailing whitespace
2016-08-10 10:42:51 -04:00
Denton Liu
617daa1f00
Fix withdrawal pattern documentation
2016-08-10 10:40:55 -04:00
Denton Liu
82365f21c0
Link to withdraw pattern
2016-08-10 10:40:55 -04:00
Denton Liu
efb48659dd
Add section about withdrawal pattern
2016-08-10 10:40:55 -04:00
Jacob Benjamin Cholewa
adfb2f2b9f
Update installing-solidity.rst
...
The JsonCpp library is also a needed dependency
2016-08-10 15:23:54 +02: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
chriseth
2fcc6ec335
Merge pull request #820 from mocamircea/patch-3
...
Update layout-of-source-files.rst
2016-08-08 15:49:37 +02:00
chriseth
b13e581397
Merge pull request #819 from mocamircea/patch-2
...
Update layout-of-source-files.rst
2016-08-08 15:48:48 +02:00
Denton Liu
2204c597fb
Fix typo
2016-08-05 11:59:10 -04:00
Mircea Moca
6846bb5dfd
Update layout-of-source-files.rst
...
An example of natspec comment.
2016-08-05 14:16:14 +03:00
Mircea Moca
396c02e507
Update layout-of-source-files.rst
...
better reading
2016-08-05 11:45:52 +03:00
Mircea Moca
0c2e7b7ee0
Update layout-of-source-files.rst
...
The phrase eds with the given example.
2016-08-05 11:30:40 +03:00
chriseth
3c93a22d47
Merge pull request #666 from axic/feature/unicode-escape
...
Support unicode escape characters
2016-08-05 08:47:52 +02:00
Alex Beregszaszi
b881dbb292
Document \n, \xNN and \uNNNN
2016-08-04 17:35:34 +01:00
Alex Beregszaszi
fefe9bdee7
Fix String Literals documentation about implicit conversions
2016-08-04 17:35:34 +01:00
chriseth
a3d79f7ec6
Build using solidity-standalone.
2016-08-04 11:04:13 +02:00
chriseth
08c6a4e7ba
Merge pull request #776 from chriseth/deploydocs
...
Deploydocs
2016-08-01 16:10:26 +02:00
chriseth
23a4d07821
Merge pull request #750 from ethereum/chriseth-patch-2
...
Correct source map definition.
2016-08-01 12:44:38 +02:00
chriseth
267b32df83
Merge pull request #764 from Denton-L/make-safe
...
Throw if send() fails in example code
2016-08-01 12:43:21 +02:00
chriseth
66133469e9
Merge pull request #732 from Denton-L/document-precedence
...
Document precedence
2016-08-01 12:40:24 +02:00