chriseth
a9c16b8c39
Add documentation.
2018-04-16 12:47:38 +02:00
chriseth
d8030c9b2a
Merge pull request #3880 from ethereum/addressMemberDocAndWarn
...
Improve documentation and warning about accessing contract members in…
2018-04-16 11:05:05 +02:00
Lefteris Karapetsas
8a7224683b
Docs: Update solidity version for revert with reason
2018-04-15 23:12:28 +02:00
chriseth
559fa58ddf
Document ABI encoding functions.
2018-04-13 18:36:33 +02:00
Daniel Kirchner
05c5ab19fb
Improve documentation and warning about accessing contract members inherited from address.
2018-04-13 18:26:24 +02:00
chriseth
966367305a
Remove dead code and clarify throw.
2018-04-12 20:13:16 +02:00
chriseth
b25598126e
Update documentation and minor changes.
2018-04-12 13:09:38 +02:00
chriseth
344a388d44
Update documentation.
2018-04-12 13:09:38 +02:00
chriseth
3da16b3e8a
Documentation for revert with reason string.
2018-04-12 13:09:37 +02:00
Daniel Kirchner
2192e4035a
Update version pragmas from >0.4.21 to ^0.4.22.
2018-04-12 10:43:00 +02:00
chriseth
0546a36aca
Merge pull request #3836 from netrunnerX/develop
...
Update solidity-by-example.rst.
2018-04-10 11:48:29 +02:00
NetX
089c295641
Update solidity-by-example.rst
2018-04-09 16:57:38 +02:00
Federico Bond
4e037281ac
Error on duplicated super constructor calls
2018-04-09 11:22:35 +02:00
Robbie Ferguson
49567b3f4c
Update Delegatecall Description in Docs
...
The previous description did not include the fact that the storage locations of the two contracts must align up until the storage variable(s) affected in order for the called contract to successfully write to the caller's storage. If they are misaligned, delegatecall will silently fail. This is difficult to debug without underlying knowledge of how delegatecall works, and clarity in the docs would certainly be helpful.
2018-04-06 16:38:59 +02:00
chriseth
d74b71a554
Merge pull request #3805 from kevinflo/tuple-documentation-var-removal
...
Removed documentation reference to var for tuple variable assignment
2018-04-05 16:19:16 +02:00
chriseth
251e4cff58
Document use of AFL.
2018-04-05 14:39:55 +02:00
Kevin Florenzano
d662622b25
Variable assignment wording change
2018-04-05 17:12:48 +09:00
chriseth
7cf09941bb
Merge pull request #3657 from ethereum/codingStyle
...
Use coding style.
2018-04-05 10:09:53 +02:00
chriseth
0f7e18780f
Clarify code state of contracts under construction.
2018-04-04 15:07:29 +02:00
chriseth
0cbe55005d
Create empty dynamic memory arrays more efficiently.
2018-04-04 12:37:04 +02:00
Roman
86c5d6aaad
hash256 -> bytes32 fix in misleading note
...
As it was described here: https://ethereum.stackexchange.com/questions/44628/understanding-low-level-interface-to-logs/44629?noredirect=1#comment52316_44629
2018-04-04 09:02:58 +03:00
Daniel Kirchner
3ae326139a
Document absence of constructors.
2018-04-03 18:21:55 +02:00
Daniel Kirchner
f855c78a08
Update version pragma and use new constructor syntax in std/ contracts.
2018-04-03 18:21:55 +02:00
bitshift
07c74ef924
Updates docs to new constructor syntax.
2018-04-03 18:21:55 +02:00
chriseth
d21382157c
Merge pull request #3801 from meowingtwurtle/preFixedPoint
...
Set default fixed point decimal places to 18
2018-04-03 11:10:55 +02:00
chriseth
3d0b99731f
Merge pull request #3803 from ethereum/homebrew
...
Remove brew linkapps from the installation instructions
2018-04-03 11:09:12 +02:00
Haoliang Yu
826de65e2d
fix a wrong number
2018-04-02 22:22:38 -04:00
kevinflo
884ea39d85
Removed documentation reference to the now-depricated var tuple variable assignment syntax
2018-04-02 13:57:19 +09:00
Alex Beregszaszi
29df18d4d7
Remove brew linkapps from the installation instructions
2018-03-31 01:11:56 +01:00
Jason Cobb
e37b619593
Set default fixed point decimal places to 18
2018-03-31 00:56:36 +01:00
wbt
8aadc179ae
Fix small formatting issue
...
in which a constant was not treated as code, inconsistent with surrounding examples.
2018-03-30 15:28:15 -04:00
Alex Beregszaszi
b540ba527a
Disallow empty structs
2018-03-27 15:49:41 +01:00
Alex Beregszaszi
8c1352ca75
Merge pull request #3772 from ethereum/docsTestingGuide
...
Add syntax testing guide to docs
2018-03-27 14:28:16 +01:00
Erik Kundt
80458b0420
Explains test structure and update mechanism more detailed.
2018-03-27 11:55:21 +02:00
bitshift
bddfa47e77
Updates docs for blockhash changes.
2018-03-27 03:30:03 +01:00
Erik Kundt
9d9c0bf908
Updates "How to contribute"
...
Adds detailed description of the new syntax test tool.
2018-03-21 19:35:22 +01:00
Matías A. Ré Medina
6e730df036
Fix: Missing payable at function forceOwnerChange
...
forceOwnerChange expects ether, and does not have the payable keyword.
2018-03-19 16:38:20 -03:00
Daniel Kirchner
3232561d97
Refactoring; fuse SyntaxTestParser and SyntaxTester to SyntaxTest.
2018-03-13 11:20:11 +01:00
chriseth
5ad34e035e
Merge pull request #3702 from solidity-korea/develop
...
Add Korean to Translations
2018-03-12 15:07:46 +01:00
wbt
7d206ba64a
Noted suicide
is deprecated ( #3692 )
...
According to the [changelog](b5e804b8ca/Changelog.md
), `suicide` was deprecated before 0.4.3 (after 0.2.0) and warning by 0.4.17.
2018-03-12 15:02:24 +01:00
dongsamb
a0907e90c6
Add Korean to Translation
2018-03-10 11:49:51 +09:00
Grzegorz Hasse
7ebd580954
Fix a typo.
2018-03-07 21:27:24 -08:00
chriseth
cbd8644f2d
Update changelog for release.
2018-03-07 18:15:25 +01:00
chriseth
c1bf6fb96f
Merge pull request #3634 from ethereum/useCorrectVersionForEmit
...
Use 0.4.21 pragma for documentation that uses "emit".
2018-03-07 18:13:11 +01:00
ankit raj
7566787cd2
Some words on Remix
2018-03-06 19:39:53 +01:00
chriseth
3057aeece4
Document STATICCALL usage in experimental 0.5.0.
2018-03-06 15:32:45 +01:00
chriseth
6055bc250f
Use coding style.
2018-03-06 10:32:58 +01:00
chriseth
5f5af650ce
Merge pull request #3653 from ethereum/docNegativeSourceIndex
...
Document the meaning of sourceIndex "-1" in source mappings.
2018-03-06 09:28:53 +01:00
Oleksii Matiiasevych
5d486b741f
Revert warning update about view
modifier
2018-03-06 14:19:59 +07:00
Daniel Kirchner
154fd1d6cb
Document the meaning of sourceIndex "-1" in source mappings.
2018-03-06 02:05:35 +01:00
chriseth
3793aa405b
Merge pull request #3643 from ethereum/gasleft
...
Move msg.gas to global function gasleft(). Closes #2971 .
2018-03-05 20:11:37 +01:00
Daniel Kirchner
b8589fbe0f
Use msg.value and gasleft() as an example in the docs.
2018-03-05 16:59:33 +01:00
chriseth
6dc137317f
Merge pull request #3569 from ethereum/evmVersion
...
EVM version
2018-03-05 12:10:49 +01:00
Daniel Kirchner
c633c0eacb
Move msg.gas to global function gasleft(). Closes #2971 .
2018-03-05 11:18:04 +01:00
Furkan Ayhan
c2730a4893
Correct warning message in Pure Functions doc
...
wrong commit that caused this: (64eaff6420 (diff-754689a291c0a19b500c31eb6c1d30c7R506)
)
2018-03-04 13:23:07 +03:00
bernard peh
cde4e3172b
change the language so that it doesn't sound like send and transfer is providing the stipend
2018-03-02 23:40:17 +11:00
chriseth
66ee9aa2f1
Use 0.4.21 pragma for documentation that uses "emit".
2018-03-02 12:29:48 +01:00
bernard peh
2c086cb90b
clarify 2300 gas stipend in fallback function section
2018-03-02 16:25:52 +11:00
chriseth
1246917e32
Explain json-io setting.
2018-03-01 17:19:35 +01:00
Elena Dimitrova
c9840c98f4
Documentation updates for internal constructors and function signature ( #3365 )
...
* Add a note explaining return values not included in function signature
* Add section on Constructors in documentation
* Improve documented definition for abstract contract
* Add benefits of abstraction to documentation
2018-03-01 16:59:47 +01:00
Oleksii Matiiasevych
a0d006015e
Update Tips and Tricks on structs initialization. ( #3626 )
...
* Update Tips and Tricks on structs initialization.
2018-03-01 16:54:04 +01:00
chriseth
cf6720eab5
Merge pull request #3587 from OTTTO/develop
...
Multiline output parameters and return statements
2018-03-01 12:07:09 +01:00
Jordi Baylina
4f34d092ca
Update miscellaneous.rst
2018-02-28 09:35:07 +01:00
chriseth
908b46e9a7
Merge pull request #3476 from ethereum/scoping
...
C99/C++ scoping rules
2018-02-27 17:06:10 +01:00
Alex Beregszaszi
317e017849
Shift operands were swapped in accepted EIP145
2018-02-27 13:43:02 +01:00
Alex Beregszaszi
afa4a48e37
Remove ROL/ROR as they are not part of EIP145 anymore
2018-02-27 13:42:41 +01:00
Alex Beregszaszi
9e0446a22c
Document bitwise shift operators in assembly
2018-02-27 13:42:28 +01:00
chriseth
6391a36a6c
Documentation about new scoping rules.
2018-02-27 12:41:32 +01:00
Alex Beregszaszi
aeb75172d5
Fix builtin function formatting in julia
2018-02-27 11:16:12 +01:00
Alex Beregszaszi
8cebfb168b
Introduce VM version ('hard fork') column for assembly opcodes
2018-02-27 11:16:12 +01:00
Alex Beregszaszi
e424bd1007
Fix some keyword highlighting in docs
2018-02-27 11:12:10 +01:00
Dax Bondye
e34d367593
Multiline output parameters and return statements
2018-02-26 19:32:55 -08:00
Alex Beregszaszi
3594f02d51
Fix link to solcjs in the installation section
2018-02-27 00:38:52 +01:00
Alex Beregszaszi
241134a881
Mention that solcjs is not compatible with solc in the using-the-compiler section
2018-02-27 00:36:01 +01:00
chriseth
1f5eb4ba59
Merge pull request #3335 from nisdas/ballot-contract
...
Fixes the errors in the sample ballot contract
2018-02-27 00:17:46 +01:00
wbt
92fe9e621e
Note deprecation of constant keyword on functions
2018-02-27 00:08:17 +01:00
chriseth
098033c94a
Fix name shadowing in ballot example contract.
2018-02-27 00:02:39 +01:00
Alex Beregszaszi
64eaff6420
Random documentation updates (assembly, faq)
2018-02-26 20:19:26 +01:00
Aaron Colaço
ef7fbf8d0c
Fix example; closes #3582
2018-02-24 00:09:49 +05:30
Hongbin Zuo
02307235c5
add in progress
2018-02-23 16:44:05 +08:00
Hongbin Zuo
fc3473b282
Why you made this change:
...
Talked with Chris and Matt, in order to develop stronger ethereum community in China, we decided to initiate the activity to translate Solidity documentation into Simplified Chinese version. We have invited over 10 experienced translators as a team to contribute on this effort.
What you did:
I finished translation of index.rst into Simplified Chinese and wanted it to be added into main doc index.
2018-02-23 15:06:14 +08:00
chriseth
2b62c201be
Merge pull request #3538 from ethereum/emitEvents
...
emit pseudo-keyword for events.
2018-02-22 22:42:04 +01:00
chriseth
97d1c70491
Merge pull request #3575 from OTTTO/develop
...
Recommend to explicitly label the visibility of functions.
2018-02-22 22:41:29 +01:00
Dax Bondye
2ac49b3c2d
Reccomend to explicitly label the visibility of functions.
2018-02-22 10:23:20 -08:00
chriseth
71a34abd87
Merge pull request #3513 from OTTTO/develop
...
Add "Maximum Line Length" section
2018-02-22 16:12:49 +01:00
DYLAN BECKWITH
187e50b14c
Recommend consistent style for wrapping long lines.
2018-02-22 07:01:07 -08:00
chriseth
7d87aed5d0
Merge pull request #3552 from ethereum/chriseth-patch-1
...
ABI: Clarify padding direction.
2018-02-22 15:32:18 +01:00
chriseth
2ada9683dd
Use the term "trailing zero-bytes".
2018-02-22 15:24:14 +01:00
chriseth
f58024b974
Documentation about emitting events.
2018-02-22 15:17:42 +01:00
chriseth
388718b59f
Introduce emit statement.
2018-02-22 15:17:30 +01:00
mirgj
d01786f0aa
Update solidity-by-example.rst
...
highestBidder is the address.
it's highestBid that should be != 0 to be considered as pending return.
It's that right?
2018-02-22 01:42:57 +08:00
chriseth
20d8254029
Merge pull request #3427 from duaraghav8/patch-3
...
Abstract Contracts: Add note about function type
2018-02-21 18:04:35 +01:00
chriseth
29d40ad42a
Clarify padding direction.
2018-02-20 12:19:19 +01:00
chriseth
2a58b44b8b
Merge pull request #3543 from medvedev1088/feature/add-gas-details-to-documentation
...
Add gas forwarding details to address related functions in documentation
2018-02-19 23:16:36 +01:00
William Entriken
360009c376
Typo
2018-02-19 15:38:55 -05:00
Evgeny Medvedev
bce545c990
Add adjustable/no adjustable gas details to address related functions in units-and-global-variables.rst
2018-02-20 02:06:42 +07:00
chriseth
59f5a31376
Merge pull request #3357 from federicobond/improve-asm-grammar
...
docs: Improve assembly grammar definition
2018-02-19 19:30:54 +01:00
chriseth
09887de266
Fix link.
2018-02-19 19:02:49 +01:00
chriseth
39f09a90f0
Merge pull request #3448 from fulldecent/patch-8
...
Clarify name documentation for mixedCase
2018-02-19 18:59:50 +01:00
chriseth
a938e39a9d
Merge pull request #3182 from janat08/patch-2
...
Update introduction-to-smart-contracts.rst
2018-02-19 16:52:45 +01:00