Commit Graph

1133 Commits

Author SHA1 Message Date
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
chriseth
2b23d02c83
Update introduction-to-smart-contracts.rst 2018-02-19 16:52:37 +01:00
Evgeny Medvedev
bfcf4a86c3 Add gas forwarding details to address related functions in units-and-global-variables.rst 2018-02-18 23:43:09 +07:00
chriseth
2b5a5a8669 Make addmod and mulmod revert if the last argument is zero. 2018-02-15 13:52:17 +01:00
Alexandre Bezroutchko
3804f29a8d fix a typo 2018-02-14 09:49:06 +01:00
chriseth
fccede62ce Prepare 0.4.20 release. 2018-02-13 17:17:46 +01:00
chriseth
01ba8b7e1f
Remind authors of best practices. 2018-02-01 17:13:46 +01:00
William Entriken
5497a85158
Clarify name documentation for mixedCase 2018-01-29 14:45:36 -05:00
William Entriken
b517ebb8bc
Fix new Solidity warnings, for #3379 2018-01-29 10:26:07 -05:00
chriseth
bd3692f1e6
Merge pull request #3431 from fulldecent/patch-7
Add mutability declaration to example, for #3379
2018-01-29 13:44:43 +01:00
William Entriken
1cc31bacef
Remove useless self assignment 2018-01-28 17:41:09 -05:00
YuShuangqi
0ef43978fd
update types
correct the mistakes in writings
2018-01-27 07:36:25 +08:00
chriseth
9028610b45
Merge pull request #3424 from wbt/addDecompilerLink
Correct FAQ answer re: decompiler
2018-01-26 19:22:15 +01:00
wbt
efcc8efffa
Respond to chriseth's suggestions
https://github.com/ethereum/solidity/pull/3424#pullrequestreview-90873869
2018-01-26 13:15:22 -05:00
hyperfekt
b4fb7255dd
fixes ethereum/solidity#1209
This clears up a common and easy misunderstanding which seems to occur rather often.
(https://ethereum.stackexchange.com/questions/8263/trying-to-understand-libraries)
2018-01-26 15:32:11 +01:00
chriseth
e7afde9587
Merge pull request #3203 from ethereum/nocall
Prevent libraries from being called.
2018-01-25 16:45:54 +01:00
ZoOgY-DoOgY
4f753233f7
Inheritance, "super" and DDD
As explained in "Multiple Inheritance and Linearization" part, "a simple rule to remember is to specify the base classes in the order from “most base-like” to “most derived”". So "contract Final is Base1, Base2" means Final is derived from Base2, derived from Base1, so the final inheritance sequence should be, starting with the most derived contract : Final, Base2, Base1, mortal, owned.
2018-01-24 13:38:47 +01:00
William Entriken
053e634276
Add mutability declaration to example, for #3379 2018-01-23 21:52:58 -05:00
Raghav Dua
694fc6835f
correct terminology 2018-01-23 23:43:04 +05:30
Raghav Dua
18539e5353
Abstract Contracts: Add note about function type 2018-01-23 23:23:18 +05:30
Maurelian
31aaf4336a Add comment to clarify example (#3415)
* Add comment to clarify example

* Reverse bases.
2018-01-23 18:14:56 +01:00
chriseth
b24de1c29c
Some more clarifications. 2018-01-23 17:53:13 +01:00
wbt
a396572f57
Update FAQ answer re decompiler 2018-01-23 09:53:00 -05:00
Li Xuanji
d555c82db4
clarify address in function selector
I found that the canonical form for `address` in computing the function selector calldata tag is `uint160`. Update the abi specs to explicitly mention this.
2018-01-22 17:34:58 -05:00
Sawyer
530b47a01b
Update using-the-compiler.rst
in outputSelection section of Compiler Input and Output JSON Description:
"evm.sourceMap" should be "evm.bytecode.sourceMap"
"evm.opcodes"  should be "evm.bytecode.opcodes"
2018-01-21 16:35:59 +08:00
chriseth
f7315d19bd Document call protector. 2018-01-19 16:52:23 +01:00
Raghav Dua
95bafbc4e0
update solium description 2018-01-18 16:32:46 +05:30
wbt
1948b9687f
Case convention clarification
Constructors follow the contract naming convention, using CapWords, instead of mixedCase.
2018-01-16 13:08:20 -05:00