Alex Beregszaszi
33b27258e4
Add more tests for UnusedPruner
2018-02-06 10:15:41 +00:00
Alex Beregszaszi
2cbbe58281
Support variable declarations without assignment in UnusedPruner
2018-02-06 10:07:00 +00:00
chriseth
b0407cfac0
Unused variable and function remover.
2018-02-05 16:43:39 +00:00
chriseth
9c85589122
Utility to remove empty blocks.
2018-02-05 16:43:39 +00:00
chriseth
3c8b777b9b
References counter.
2018-02-05 16:43:39 +00:00
chriseth
5437457f46
Merge pull request #3455 from ethereum/codesizemetric
...
Code size metric.
2018-02-05 17:12:55 +01:00
Alex Beregszaszi
c696803f0b
Merge pull request #3453 from ethereum/chriseth-patch-1
...
Remind authors of best practices.
2018-02-04 13:08:55 +00:00
Alex Beregszaszi
32300ea3ff
Merge pull request #3360 from federicobond/nonfatal-reference-errors
...
Replace some fatal errors when resolving references with normal ones
2018-02-04 13:07:55 +00:00
Federico Bond
aef9518039
Add more test cases for reference resolving error handling
2018-02-02 14:09:32 -03:00
Federico Bond
600e66e605
Replace some fatal errors when resolving references with normal ones
2018-02-02 14:09:32 -03:00
chriseth
eb42720145
Code size metric.
2018-02-02 15:28:41 +01:00
chriseth
01ba8b7e1f
Remind authors of best practices.
2018-02-01 17:13:46 +01:00
chriseth
07f8f96c94
Merge pull request #3450 from ethereum/interface-public-visibility
...
Issue warning for using public visibility for interface functions
2018-02-01 13:54:51 +01:00
Alex Beregszaszi
b545987ec7
Issue warning for using public visibility for interface functions
2018-02-01 10:28:00 +00:00
chriseth
cc1c461fc0
Merge pull request #3447 from fulldecent/patch-7
...
Fix new Solidity warnings, for #3379
2018-01-29 20:06:02 +01: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
chriseth
a668b9dee0
Merge pull request #3440 from ysqi/patch-1
...
update types
2018-01-29 13:40:15 +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
chriseth
bbad48bb34
Merge pull request #3439 from hyperfekt/lib-inline-clarification
...
fixes #1209
2018-01-26 16:00:52 +01: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
chriseth
513c771e2c
Merge pull request #3433 from ZoOgY-DoOgY/patch-1
...
Inheritance, "super" and DDD
2018-01-24 15:38:17 +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
Alex Beregszaszi
b177352a87
Merge pull request #3430 from fulldecent/patch-6
...
Support macOS High Sierra for install_deps script
2018-01-24 03:29:03 +00:00
William Entriken
053e634276
Add mutability declaration to example, for #3379
2018-01-23 21:52:58 -05:00
William Entriken
a8e7637faa
Support macOS High Sierra for install_deps script
2018-01-23 21:33:22 -05:00
Maurelian
31aaf4336a
Add comment to clarify example ( #3415 )
...
* Add comment to clarify example
* Reverse bases.
2018-01-23 18:14:56 +01:00
chriseth
f9fcd7b43f
Merge pull request #3422 from ldct/patch-1
...
clarify `address` in function selector
2018-01-23 17:53:24 +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
wbt
761eae2499
Update from official repo
2018-01-23 09:44:37 -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
Alex Beregszaszi
e5def2da3d
Merge pull request #3417 from zhangsawyer/patch-2
...
Update using-the-compiler.rst
2018-01-22 18:39:16 +00: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
eba46a65fc
Merge pull request #3313 from terasum/develop
...
Update GPG key URL for Centos install
2018-01-19 17:55:42 +01:00
chriseth
f7315d19bd
Document call protector.
2018-01-19 16:52:23 +01:00
chriseth
6807010dc7
Prevent libraries from being called.
2018-01-19 16:27:44 +01:00
chriseth
33723c457a
Merge pull request #3407 from duaraghav8/patch-1
...
update solium description
2018-01-18 12:09:58 +01:00
Raghav Dua
95bafbc4e0
update solium description
2018-01-18 16:32:46 +05:30
chriseth
43b836fb2a
Merge pull request #3399 from wbt/patch-1
...
Case convention clarification
2018-01-18 09:35:30 +01:00
chriseth
4715167ea2
Merge pull request #3403 from xManusx/deps_arch_linux
...
Made install_deps.sh safe to use on Arch Linux
2018-01-17 11:07:21 +01:00
Manus
1208fdb60f
Made install_deps.sh safe to use on Arch Linux
2018-01-17 09:36:52 +01:00
wbt
1948b9687f
Case convention clarification
...
Constructors follow the contract naming convention, using CapWords, instead of mixedCase.
2018-01-16 13:08:20 -05:00
Alex Beregszaszi
fc7733c053
Merge pull request #3352 from ethereum/movability
...
Movability check
2018-01-16 15:12:52 +00:00
chriseth
14fcbd659f
Merge pull request #3393 from fulldecent/patch-5
...
Use CapWords style for example
2018-01-15 10:55:11 +01:00
chriseth
e6d15cd01e
Merge pull request #3392 from fulldecent/patch-4
...
Prefer CapWords style struct names
2018-01-15 10:54:31 +01:00