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
chriseth
d5e536a4fb
Made snippet work as is.
2016-08-01 12:14:17 +02:00
cseberino
a20e03135b
Update contracts.rst
2016-08-01 12:12:06 +02:00
Denton Liu
e3a942c738
Throw if send() fails in example code
2016-07-29 14:04:47 -04:00
Denton Liu
5687beb424
Add unary operations to the table
2016-07-28 15:25:58 -04:00
Denton Liu
7a20324142
Link to order of precedence table
2016-07-28 15:19:04 -04:00
chriseth
4f0f9fcdbe
Mix is discontinued
2016-07-27 17:42:21 +02:00
Denton Liu
8bf96b1c43
Remove >>> and >>>= operators
2016-07-27 10:30:20 -04:00
Denton Liu
71438157ce
Revert "Remove comma operator"
...
This reverts commit 1ec74f8cc4
.
2016-07-27 10:26:39 -04:00
chriseth
c8aa39e587
Correct source map definition.
2016-07-27 16:06:04 +02:00
Manidos
fe45221952
Update contracts.rst
...
I've changed line 88, because **if (msg.sender == creator)** threw an exception in solidity browser compier.
Untitled:25:13: Error: Operator == not compatible with types address and contract TokenCreator
if (msg.sender == creator)
^-------------------^
2016-07-27 13:27:56 +06:00
Denton Liu
ca5e6a6bd4
Fix assignment operators
2016-07-26 14:01:01 -04:00
Denton Liu
1ec74f8cc4
Remove comma operator
2016-07-26 13:54:17 -04:00
chriseth
2dbadbabb3
Merge pull request #721 from ethers/patch-5
...
mixedCase for modifiers
2016-07-26 18:25:46 +02:00
DennisBPeterson
6a6f0623b0
Added tx.origin caution
2016-07-21 17:06:53 -04:00
Weiyang Zhu
b8d75340af
Missing '_' in modifier 'timedTransitions'
2016-07-21 14:10:53 +08:00
Denton Liu
5d09211d50
Add link to operator table
2016-07-20 15:48:55 -04:00
Denton Liu
dfe55a929d
Create order of precedence table
2016-07-20 15:48:54 -04:00
chriseth
9f7a55d2b2
Source mapping documentation.
2016-07-20 19:45:45 +02:00
chriseth
e10297a2ef
Merge pull request #704 from ethereum/malleability
...
Expanded malleability risks.
2016-07-18 19:34:35 +02:00
ethers
70f7df6430
mixedCase for modifiers
2016-07-14 03:29:15 -07:00
Denton Liu
5d113600aa
Fix typos
2016-07-12 17:06:49 -04:00
Denton Liu
f8aec4d89e
Update copyright
2016-07-11 17:04:44 -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
chriseth
e5061615ce
Merge pull request #689 from redsquirrel/patch-1
...
Removing "easy" language
2016-07-08 20:12:42 +02:00
Denton Liu
cf0579a86e
Incorporate changes
2016-07-08 14:07:58 -04:00
chriseth
f8d67a8ea6
Merge pull request #700 from Denton-L/sec
...
Minor Changes to #693
2016-07-08 19:54:01 +02:00
Denton Liu
d94d2fc901
Repharse sentence
2016-07-08 12:27:04 -04:00
chriseth
8df9d49c44
Merge pull request #703 from raineorshine/patch-2
...
Documentation: Add Solidity Tools
2016-07-08 17:55:27 +02: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
chriseth
b71144dd53
Expanded malleability risks.
2016-07-06 18:33:38 +02:00
Raine Revere
f737aa9a1b
Documentation: Add Solidity Tools
2016-07-06 09:39:32 -06:00
svantetobias
d45f241069
Fixed mix-up of variable names in Sent event
...
event Sent(address from, address to, uint amount) defines "amount" variable but it is two times referred to as "value", which can be a bit confusing for the reader.
2016-07-06 10:53:08 +02:00
Denton Liu
811980afe6
Reformat code
2016-07-05 11:55:09 -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
d4d7d9854a
Add reference to default values in mapping section
2016-07-04 10:52:08 -04:00
Denton Liu
cb5fc23014
Fix incorrect directives
2016-07-04 10:51:02 -04:00
chriseth
3b494348ea
Fixes.
2016-07-04 15:39:31 +02:00
chriseth
2df142c496
Security Considerations
2016-07-04 15:27:53 +02:00
Dave Hoover
20c02594ed
Removing "easy" language
...
I'm trying to steer us away from language that over-simplifies the complexity of writing secure smart contracts.
2016-06-27 08:51:07 -04:00
chriseth
2ccfea8b54
Merge pull request #672 from pjdelport/patch-1
...
Update link to atom-ethereum-interface package
2016-06-27 10:41:43 +02:00
Dave Hoover
b31bd4a2e4
Fixing library examples that don't compile.
...
Addressing https://github.com/ethereum/solidity/issues/684
2016-06-25 07:11:45 -05:00
Denton Liu
0db67b8895
Add section about default values of variables
2016-06-22 13:35:15 -04:00
chriseth
b23c300792
Merge pull request #658 from graup/graup-patch-1
...
Fix typo in Libraries section
2016-06-21 17:52:35 +02:00
chriseth
00c89cdb49
Merge pull request #555 from Denton-L/single-line-functions
...
Added a Clause in Style Guide about Single Line Function Declarations
2016-06-21 17:16:56 +02:00
chriseth
957da9803e
Merge pull request #669 from fabioberger/patch-2
...
Fix two documentation typos
2016-06-21 17:12:19 +02:00
chriseth
263676a259
Merge pull request #673 from pjdelport/patch-2
...
Restore correct inline code sample
2016-06-21 17:10:37 +02:00
Pi Delport
d9ee41f4a8
Add missing inline code tag
2016-06-20 16:16:10 +02:00
Pi Delport
d88956e864
Restore correct inline code sample
...
(This appears to have been accidentally broken in a73428b4.)
2016-06-20 15:37:56 +02:00
Pi Delport
04544c25a6
Update link to atom-ethereum-interface package
2016-06-20 12:44:26 +02:00
Fabio Berger
9272c8ab32
Fix two documentation typos
2016-06-20 01:41:46 +01:00
Fabio Berger
4139eddb1d
Fix mis-typed word. The recipient will run
out of gas, not go
out of gas
2016-06-19 02:19:57 +01:00
Fabio Berger
38b1c3d492
Added missing word in sentence
2016-06-18 05:05:38 +01:00
Paul Grau
6aa069403a
Fix typo in Libraries section
2016-06-17 23:13:03 +02:00
chriseth
31aa67f1ca
Merge pull request #640 from chriseth/globalPaths
...
Allow remappings to change depending on the context.
2016-06-10 17:58:25 +02:00
chriseth
dc7ba37925
Merge pull request #616 from chriseth/docs
...
Removed some problems in documentation examples.
2016-06-10 12:50:42 +02:00
chriseth
39c031bfca
Typo.
2016-06-09 00:36:31 +02:00
chriseth
3150ab2bcf
Allow remappings to change depending on the context.
2016-06-08 18:16:46 +02:00
chriseth
63b6305689
Merge pull request #618 from chriseth/inlineArrays
...
Document inline arrays.
2016-06-08 18:09:18 +02:00
chriseth
e97ac4fb49
Merge pull request #612 from Denton-L/global-variables
...
Cleaned up and modified global variables documentation
2016-06-06 22:27:58 +02:00
Giacomo Tazzari
07837e0abb
Up-to-date build instructions for Ubuntu 14.04
2016-06-05 17:40:03 +02:00
Giacomo Tazzari
f3c4543099
I forgot to finish typing a paragraph
2016-06-04 21:36:10 +02:00
Giacomo Tazzari
840351982d
Instructions to build Solidity on Ubuntu 16.04
...
Minimal dependencies for Solidity on Ubuntu 16.04, removed those for older Ubuntu versions for now (they were a bit confusing).
Removed --all and added -DETHASHCL=0 to ethbuild.sh when building Solidity only.
2016-06-04 21:33:53 +02:00
Denton Liu
ccd54ed87e
Added back 'For more information...' statement
2016-06-03 09:20:18 -04:00
chriseth
4df0765934
Fixed typo.
2016-06-03 11:42:48 +02:00
Denton Liu
bb83fd5adb
Changed reference name
2016-06-02 09:29:53 -04:00
Denton Liu
a7b5e21e66
Fixed a bad reference
2016-06-02 09:27:55 -04:00
Denton Liu
c2bb2d2a72
Added newlines to fix build error
2016-06-02 09:22:24 -04:00
Denton Liu
fc121b9ba7
Documented max stack depth at 1024
2016-06-02 09:14:53 -04:00
Denton Liu
0b4b5e1046
Make address link look better
2016-06-02 09:13:27 -04:00
chriseth
ed9cc5476e
style
2016-06-01 23:40:38 +02:00
Denton Liu
4a2c8fa9b7
uint20 is not a type
2016-06-01 13:59:45 -04:00
Denton Liu
1f19b93836
Copied warning message from cherry-picked commit
2016-06-01 13:59:16 -04:00
Denton Liu
f03d315bad
Updated incorrect list number
2016-06-01 13:25:36 -04:00
chriseth
84a8c0c008
Document some pitfalls in connection with "send".
2016-06-01 13:22:15 -04:00
Denton Liu
9da7a4c17c
Link address-type and address-global methods
2016-06-01 13:18:43 -04:00
Denton Liu
cb2a4df6e5
Corrected typo
2016-06-01 13:15:17 -04:00
chriseth
d8bf98598b
Document inline arrays.
2016-05-31 15:55:58 +02:00
chriseth
f9c8a9b5ca
Removed some problems in documentation examples.
2016-05-31 13:56:16 +02:00
Denton Liu
2d32041552
Named the global function parameters
2016-05-30 13:18:30 -04:00
Denton Liu
a29aaa3776
Added section on address-related constants
2016-05-30 13:18:30 -04:00
Denton Liu
e72f819111
Corrected descriptions of hashes
2016-05-30 13:18:30 -04:00
Denton Liu
0c03577ade
Removed leading space
2016-05-30 13:18:29 -04:00
Denton Liu
aafc65a275
Made explicit that we use KECCAK-256
2016-05-30 13:18:29 -04:00
Denton Liu
2667874587
Removed ending periods for consistency
2016-05-30 13:18:29 -04:00
Denton Liu
c0e10b1cf0
Added the type of .balance
2016-05-30 13:18:29 -04:00
Denton Liu
a6785113b5
Sorted block attributes alphabetically
2016-05-30 13:18:28 -04:00
Denton Liu
bc3e17192f
Made it apparent that block.blockhash is function
2016-05-30 13:18:28 -04:00
Denton Liu
91459ffc76
Corrected underline length
2016-05-30 13:18:28 -04:00
Denton Liu
a011ffdd48
Corrected capitalisation on index.rst
2016-05-30 13:18:14 -04:00
Denton Liu
d0a0e4f3d2
Added a section about .send() returning false
2016-05-30 09:44:33 -04:00
Denton Liu
17f23629f1
Added @Arachnid's string library
2016-05-30 09:44:33 -04:00
Denton Liu
9862d61a5a
Removed inline code formatting for one title
2016-05-30 09:44:33 -04:00
Denton Liu
2112f6239c
Corrected underline lengths
2016-05-30 09:44:33 -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
652bb0e8c1
Modified units-and-global-variables.rst
...
Corrected syntax for inline code
2016-05-30 09:44:33 -04:00
Denton Liu
a73428b4ef
Modified types.rst
...
Corrected inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
09a7fb7f6b
Modified style-guide.rst
...
Corrected inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
b3669e6394
Corrected solidity-by-example.rst
...
Fixed inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
d87627e6ee
Modified miscellaneous.rst
...
Corrected inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
3fc4e2c14a
Modified layout-of-source-files.rst
...
Corrected inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
506191b06c
Modified introduction-to-smart-contracts.rst
...
Corrected inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
981c38b8b0
Modified installing-solidity.rst
...
Corrected inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
5d084afa81
Fixed whitespacing issues
2016-05-30 09:44:33 -04:00
Denton Liu
a67317928a
Corrected FAQ titles
2016-05-30 09:42:30 -04:00
Denton Liu
ef6dc52801
Modified frequently-asked-questions.rst
...
Changed inline code syntax
2016-05-30 09:42:30 -04:00
Denton Liu
80600a5a42
Modified control-structures.rst
...
Changed inline code syntax
2016-05-30 09:42:30 -04:00
Denton Liu
c8e4ba4b52
Modified contracts.rst
...
Changed inline code syntax
2016-05-30 09:42:30 -04:00
Denton Liu
d57efc06c4
Modified common-patterns.rst
...
Now it uses proper inline code syntax
2016-05-30 09:42:30 -04:00
Jacob Payne
0b56c5d0d8
Added Atom Solidity Linter to Docs
2016-05-27 20:44:19 -07:00
chriseth
064c3e84bb
Merge pull request #601 from mathvdh/patch-1
...
Typo correction in solidity-by-example.rst
2016-05-27 16:50:41 +02:00
chriseth
ddc633f175
Use original vim-solidity repository
2016-05-26 19:14:25 +02:00
Mathieu Van der Haegen
0a9c95c53d
Typo correction in solidity-by-example.rst
...
Just correcting a simple typo in the comments of the code
2016-05-26 14:43:00 +02:00
chriseth
fef7473e31
Add vim and emacs plugins.
2016-05-26 13:37:10 +02:00
Denton Liu
d7666d9eda
Fixed errors introduced by previous commit
...
#565 introduced some errors in the documentation
2016-05-24 11:08:54 -04:00
chriseth
fad2d4ac01
Update links to browser-solidity.
2016-05-20 16:51:26 +02:00
chriseth
e3c5418543
Merge pull request #578 from winsvega/develop
...
More Solidity IDE links
2016-05-20 16:50:11 +02:00
chriseth
2f37356c58
Merge pull request #565 from VoR0220/fixedDataType
...
Fixed data typename fixes and documentation
2016-05-20 16:48:50 +02:00
Dave Hoover
ae677c1e31
Typo fix
2016-05-20 09:18:03 -05:00
Dimitry
65c8ddaa14
More links to solidity implementations
2016-05-20 16:10:50 +03:00
Denton Liu
27269181b3
Corrected capitalisation
2016-05-19 13:32:54 -04:00
Denton Liu
6eeb7ffb3c
Changed link to point to solc-js repo
2016-05-19 12:00:21 -04:00
Denton Liu
8bd1115255
Corrected typo
2016-05-18 18:04:15 -04:00
VoR0220
9192357452
updated docs
...
types
reference
2016-05-18 16:36:05 -05:00
Denton Liu
d29b9b986e
Changed link from markdown to rst
...
Added labels for the links to point to
2016-05-18 17:17:05 -04:00
Denton Liu
c851cd0481
Corrected capitalisation of symbol names
2016-05-18 17:17:05 -04:00
Denton Liu
a8164eb5d7
Corrected documentation for ecrecover
2016-05-18 17:17:05 -04:00
Denton Liu
5903ca451f
Corrected "who's" to "whose"
2016-05-18 17:17:05 -04:00
Denton Liu
f8fcd1bc26
Changed do_something to doSomething
...
This is in accordance to the style guide
2016-05-18 17:17:05 -04:00
chriseth
798775fa1b
Corrected errors.
2016-05-18 21:59:41 +02: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
ff26ea6c08
Added space to example code
2016-05-18 11:35:32 -04:00
Denton Liu
d4ad3231a2
Removed trailing whitespace
2016-05-18 11:35:32 -04:00
Denton Liu
4b9e9cad56
Added an extra necessary linebreak
2016-05-18 11:35:32 -04:00
Denton Liu
18fb63167b
Removed trailing whitespace
2016-05-18 11:35:28 -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
Denton Liu
bb62a8b3fd
Replaced all tabs with spaces
2016-05-18 11:23:47 -04:00
Denton Liu
8bbe99ad11
More code-style corrections
2016-05-18 11:23:47 -04:00
chriseth
0a37072e4c
Merge pull request #572 from Melvillian/fix-example-contract-abi
...
fix example solidity contract code by adding argument to constructor
2016-05-18 00:39:47 +02: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
Alex Melville
38940ddfa5
fix example solidity contract code by adding argument to constructor
2016-05-15 17:16:44 -07:00
chriseth
4b445b898e
Merge pull request #546 from chriseth/fixiszero
...
Correctly use not/bnot/iszero.
2016-05-14 00:58:55 +02:00
chriseth
902f1458c6
Merge pull request #543 from raineorshine/patch-1
...
Add this.balance and this.send to units-and-global-variables.rst
2016-05-13 19:31:44 +02:00
chriseth
c06051d38d
Merge pull request #557 from Denton-L/scoping
...
Added Section about Scoping Behaviours
2016-05-12 23:07:52 +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
Denton Liu
b6fd6ddc99
Change whitespace section to include exception
...
For single-line functions, some whitespace padding
makes the functions slightly more readable.
2016-05-11 15:16:18 -04:00
Denton Liu
d4125c4f07
Changed do_something to doSomething
...
This is in accordance to the style guide
2016-05-11 15:16:18 -04:00
mario02423
873c54106c
Update style-guide.rst
...
Removed extraneous comma from line 366
2016-05-09 15:42:57 -05:00
Raine Revere
4bfec4efa9
Update units-and-global-variables.rst with link to address ref
2016-05-09 10:15:58 -06: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
Raine Revere
5e6e9df7dd
Add this.balance and this.send to units-and-global-variables.rst
...
I looked here for this information and didn't initially find it. Hoping to help out others who think the same way as me and look here.
2016-05-08 13:27:30 -06:00
chriseth
9e36bdda8a
Merge pull request #541 from Denton-L/develop
...
Minor Documentation Changes
2016-05-06 19:03:28 +02:00
Denton Liu
7e94a1d84d
Added a clause about short functions
2016-05-06 10:19:28 -04:00
Denton Liu
7f940e498e
Removed trailing whitespace
2016-05-06 09:53:06 -04:00
Denton Liu
7bc9777b70
Removed bulleted list
2016-05-06 09:42:05 -04:00
Denton Liu
961eb53f41
Moved the location of the "||"
2016-05-06 09:40:05 -04:00
chriseth
1b7e2d3068
Merge pull request #515 from ssonicblue/patch-1
...
Update natspec summary in layout-of-source-files.rst
2016-05-06 01:01:26 +02:00
Denton Liu
ffade949de
Fixed up formatting
2016-05-05 15:31:00 -04:00
Denton Liu
88bb63a507
Corrected formatting
2016-05-05 15:10:32 -04:00
Denton Liu
3abb987179
Rephrased awkward phrasing
2016-05-05 15:06:04 -04:00
Denton Liu
50f894393a
Removed a trailing space
2016-05-05 15:05:05 -04:00
Denton Liu
4650280fff
Corrected misspelling
2016-05-05 15:02:47 -04:00
Denton Liu
565866dd87
Reformatted according to style guide
2016-05-05 14:58:02 -04:00
Denton Liu
a3230d60c2
Made the style consistent
2016-05-05 14:41:35 -04:00
Denton Liu
f364dcf719
Removed a bad reference to functions-on-addresses
2016-05-05 14:28:10 -04:00
Denton Liu
4de0a9556c
Removed bullet characters from types
2016-05-05 14:28:05 -04:00
Denton Liu
6c3e78a3d8
Update structure-of-a-contract.rst
...
Changed a non-space whitespace character to a space
2016-05-05 14:05:51 -04:00
Denton Liu
768b778615
Update contracts.rst
...
Corrected grammar error
2016-05-05 14:01:50 -04:00
chriseth
7e0a1863de
Documentation.
2016-05-05 13:36:32 +02:00
ssonicblue
943e27a1c3
Minor grammatical edit
2016-05-01 11:41:49 +08:00
ssonicblue
5a1f892361
Update natspec summary in layout-of-source-files.rst
...
Update the summary on natspec comments for clarity in what they do and how they should be used.
2016-04-20 19:53:36 +08:00
Dave Hoover
9af44f457c
Typo fix
2016-04-11 22:53:26 -05:00
Dave Hoover
66c8c15a7f
Tiny fix
2016-04-11 22:53:05 -05:00
Jordan Leigh
4b709f1bdd
Update installing-solidity.rst
...
The brew install boost --c++11 command failed for me due to an outdated version of Node.js.
`brew upgrade` fixed this. I think it should be in the documentation to reduce the number of errors on install
2016-04-02 18:07:25 -07:00
chriseth
4d200e3ee6
Merge pull request #461 from ethereum/mappingStructDocumentation
...
Inner struct mapping copy into a mapping question
2016-03-31 13:08:51 +02:00
RJ
9720851bd6
Update frequently-asked-questions.rst
2016-03-30 12:08:48 -05:00
chriseth
2acdfc527e
Merge pull request #464 from chriseth/doctypo
...
Typos in inline assembly documentation.
2016-03-30 18:59:43 +02:00
chriseth
bbfc580423
Typos in inline assembly documentation.
2016-03-30 18:32:39 +02:00
RJ
0df5f40ac4
Update frequently-asked-questions.rst
2016-03-30 10:43:39 -05:00
RJ
c2cf806996
quick fix for appearence
2016-03-30 10:36:22 -05:00
chriseth
b336f6261c
Documentation.
2016-03-30 10:08:09 +02:00
RJ
0c5156ca50
Update frequently-asked-questions.rst
2016-03-29 13:05:42 -05:00
chriseth
5dd81360a9
Merge pull request #453 from michaltrzesimiech/patch-1
...
Update structure-of-a-contract.rst
2016-03-29 12:48:40 +02:00
michaltrzesimiech
d9158fd7ab
Deleting redundant line
2016-03-26 08:48:15 +01:00
RJ
927a9710d5
Update frequently-asked-questions.rst
2016-03-25 11:25:14 -05:00
michaltrzesimiech
c994458a94
Update structure-of-a-contract.rst
2016-03-25 14:51:13 +01:00
RJ
49dc38bac0
Update frequently-asked-questions.rst
2016-03-23 16:42:01 -05:00
ssonicblue
570e7353b5
Update style-guide.rst
...
Update section 'Variable Declarations' for consistency with the format of the rest of the document.
2016-03-23 12:34:25 +08:00
chriseth
a81173be10
Extend example
2016-03-14 15:54:12 +01:00
chriseth
d34b59453a
Clarification
2016-03-14 15:46:55 +01:00
chriseth
c38797fbff
Fix examples.
2016-03-14 15:45:38 +01:00
chriseth
a762694f1d
Allocating arrays.
2016-03-14 15:43:38 +01:00
RJ
11d67369bd
Put in specific brew version as per the umbrella
2016-03-11 14:40:45 -06:00
chriseth
d0bb87ae88
Documentation for delegatecall.
2016-03-11 17:49:59 +01:00
chriseth
62d8be9e21
Warning about using integer literals in division.
2016-03-11 16:44:24 +01:00
uberlaufer
770d509af6
Update contracts.rst
2016-03-10 20:55:53 +01:00
uberlaufer
ec3800b28e
shortened lines to 79
2016-03-10 20:53:13 +01:00
uberlaufer
ac03a08bec
Update contracts.rst
...
minor grammar and spelling corrections
2016-03-10 19:12:16 +01:00
Georgios Paralykidis
858274cb19
Typo fix.
2016-03-08 23:13:34 +01:00
MrChico
3dbb8ad92a
ecrecover takes uint8, not byte
2016-03-02 14:57:09 +01:00
Oleg Iakovlev
683f01fb22
[Minor]: typo fix
2016-03-01 13:15:20 +02:00
holgerd77
aec2f4879a
Added in-depth links to function modifiers, structs and enums in structure section
2016-02-19 12:05:56 +01:00
holgerd77
448d1601ce
Name-spacing the structure reference links for not being confused with the globally probably more used in-depth links
2016-02-19 11:47:16 +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
holgerd77
6640e9e918
Changed reference naming from understore to dash separation for consistency with existing naming
2016-02-19 11:03:30 +01:00
holgerd77
2e52170d7a
Added examples, references to structure section
2016-02-18 11:45:15 +01:00
holgerd77
688313cc51
Comment code examples
2016-02-18 11:08:20 +01:00
holgerd77
0e44481b0f
Code blocks for compiler use section
2016-02-18 11:00:33 +01:00
holgerd77
9904dc386d
Use code blocks for import syntax explanations for better readability
2016-02-18 10:34:23 +01:00
chriseth
c6c3c78327
Merge pull request #382 from chriseth/bytesIndex
...
Index access for bytesXX.
2016-02-11 14:09:53 +01:00
RJ
7b5d96c43b
Update frequently-asked-questions.rst
...
Correcting inline array documentation
2016-02-10 10:53:08 -06:00
RJ
543cc33681
Update frequently-asked-questions.rst
2016-02-10 10:45:46 -06:00
chriseth
13732aed12
Documentation.
2016-02-09 17:07:04 +01:00
Andres Nötzli
1d9f8c26f5
[Documentation] Add details on libjsonrpccpp-dev
...
Add explanation to the documentation that the package name changes from `libjson-rpc-cpp-dev` to `libjsonrpccpp-dev` and is supplied by the universe repository instead of the Ethereum PPA.
2016-02-03 13:04:29 -08:00
Andres Nötzli
f311a6123d
[Documentation] Include correct dev package
...
The Ubuntu part of the installation guide mentions `libjson-rpc-cpp-dev`. However, the correct name seems to be `libjsonrpccpp-dev`.
2016-02-01 11:43:26 -08:00
chriseth
02161b29b8
documentation
2016-01-29 23:17:43 +01:00
chriseth
bdbb7d8a40
Merge pull request #370 from chriseth/redirects
...
Path remappings for solc.
2016-01-28 17:05:12 +01:00
chriseth
bdfd8a6e07
Update index.rst
2016-01-27 18:06:41 +01:00
chriseth
873f961bf4
Add a link to the ethereum stackexchange.
2016-01-27 18:04:30 +01:00
chriseth
92e8c9aec9
Document remappings
2016-01-25 21:02:06 +01:00
Lu Guanqun
41039705ac
[cond-expr] add one doc about conditional expression
2016-01-22 17:14:01 +00:00
chriseth
ca45cfee8c
Merge pull request #306 from pipermerriam/piper/flesh-out-naming-conventions
...
Flesh out naming convention in the Style Guide
2016-01-14 11:38:56 +01:00
chriseth
9ed15c40c6
Some more clarifications about remappings.
2016-01-13 17:35:38 +01:00
chriseth
154dd8cb02
Extended documentation about imports.
2016-01-13 17:35:05 +01:00
chriseth
02c1aacd25
Merge pull request #345 from VoR0220/develop
...
Inline Arrays
2016-01-12 19:01:35 +01:00
RJ Catalano
c45593a444
clarification on dynamic arrays, switcheroo on typepointer, and a documentation test added
2016-01-11 23:41:20 -06:00
chriseth
3d66e5ad2e
Refund actual deposit, and not bid value.
...
Thanks to @jonasnick for finding this.
Fixes #349
2016-01-12 00:47:23 +01:00
RJ Catalano
b230fe1905
forgot to take the auto tabs off...turned into spaces
2016-01-11 15:48:41 -06:00
RJ Catalano
9c29cf79cf
added documentation and one last test for struct creation inline
2016-01-11 15:36:30 -06:00
Piper Merriam
3af5db99b8
fix spelling and heading title
2016-01-06 16:26:08 -07:00
chriseth
252bd142b9
Merge pull request #331 from u2/doc_fix2
...
docs: code sytle
2016-01-04 11:50:22 +01:00
chriseth
306245113d
Merge pull request #329 from guanqun/patch-2
...
[docs]: change unsupported underscore to star
2016-01-04 11:47:47 +01:00
u2
af2e4c0673
docs: code sytle
2015-12-30 20:56:46 +08:00
Lu Guanqun
e213d7f25b
[docs]: change unsupported underscore to start
...
highlight "not"
2015-12-30 13:46:05 +08:00
Lu Guanqun
04eecdc73f
[docs]: add an ending period
2015-12-30 12:28:03 +08:00
chriseth
6b711d0527
Merge pull request #316 from chriseth/docs
...
Fixes in the misc section.
2015-12-21 17:37:08 +01:00
chriseth
8fe89455b3
Fixes in the misc section.
2015-12-21 16:54:32 +01:00
ethers
f03a8c9cb7
sending value to an overloaded function
...
from https://gitter.im/ethereum/solidity?at=5673fb41b5777fb85ba496fa
2015-12-18 18:13:17 -08:00
RJ
96854548f8
Update installing-solidity.rst
2015-12-17 12:55:51 -06:00
RJ
14c7ceef28
Update installing-solidity.rst
2015-12-17 10:36:31 -06:00
RJ Catalano
8edd409c61
new doc
2015-12-17 10:31:37 -06:00
Piper Merriam
d1882bc753
use mixedCase
2015-12-17 08:57:02 -07:00
Piper Merriam
d63ae5a5fa
Flesh out naming convention section of docs
2015-12-16 16:21:04 -07:00
chriseth
5622011bc5
Note about private note being invisible.
2015-12-14 16:22:52 +01:00
chriseth
c7ec85754a
Pygments highlighting rules for Solidity.
2015-12-10 17:30:33 +01:00
chriseth
ca10971291
Merge pull request #293 from chriseth/doc_index
...
Documentation index page and build instructions.
2015-12-10 15:47:18 +01:00
chriseth
9fd7200847
Overflow check.
2015-12-10 12:34:46 +01:00
chriseth
3ce73e0bd3
Added build guide.
2015-12-10 12:22:53 +01:00
chriseth
b344bbac5d
Improved index page.
2015-12-10 11:36:27 +01:00
RJ
8223abaf20
Update for_Ze_Devs.md
2015-12-09 20:45:17 -06:00
RJ
2385f2ffbc
Update for_Ze_Devs.md
2015-12-09 14:04:06 -06:00
RJ
dfea21209e
Update for_Ze_Devs.md
2015-12-09 13:57:05 -06:00
RJ
1f1b180d94
Create for_Ze_Devs.md
...
tentative means to get a dev environment set up for the compiler on OS X
2015-12-09 13:54:26 -06:00
chriseth
92c789a89c
Added some lost changes.
2015-12-07 23:35:39 +01:00
chriseth
99bb8a9740
Add pdf config.
2015-12-07 23:35:39 +01:00
chriseth
64fa9ca478
Imported documentation.
2015-12-07 22:35:51 +01:00