Commit Graph

9366 Commits

Author SHA1 Message Date
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
William Entriken
b1d99587e0
Use CapWords style for example
Follows recommendation in https://github.com/ethereum/solidity/pull/3392
2018-01-14 13:56:02 -05:00
William Entriken
cb5758aa75
Prefer CapWords style struct names 2018-01-14 13:53:45 -05:00
chriseth
95cf9266ab Movability. 2018-01-12 17:48:51 +01:00
chriseth
937b95cbe5 Use explicit visit function for the walker. 2018-01-12 17:21:52 +01:00
chriseth
0c20b6da6b
Merge pull request #3381 from fulldecent/patch-3
No nonsense explanation of compiler options
2018-01-11 16:44:36 +01:00
William Entriken
deeee06bc2
Fix links and JS reference 2018-01-10 20:43:38 -05:00
chriseth
a75d5333d8
Merge pull request #3317 from ethereum/looseStrictAsm
Split inline assembly into loose and strict flavour.
2018-01-10 15:25:53 +01:00
Alex Beregszaszi
8b20a7cd53 Disallow non-functional instructions in parseExpression early 2018-01-10 14:16:46 +01:00
Alex Beregszaszi
42f8875770 Show restricted instruction warning before argument mismatch issue 2018-01-08 00:39:22 +00:00
chriseth
767052f2f7 Tests for strict mode. 2018-01-06 03:28:21 +00:00
Alex Beregszaszi
bc1fffb42f Support --strict-assembly in CLI 2018-01-06 03:28:12 +00:00
Alex Beregszaszi
c269a12c5e Support strict assembly mode in AssemblyStack 2018-01-06 01:23:38 +00:00
chriseth
124190336b Split inline assembly into loose and strict flavours. 2018-01-06 01:23:38 +00:00
Alex Beregszaszi
2548228b36
Merge pull request #3383 from ethereum/inlineasm-expressions
Simplify parseElementaryOperation in regards to special instructions
2018-01-06 01:20:51 +00:00
Alex Beregszaszi
fcbdaa32b9 Simplify parseElementaryOperation in regards to special instructions 2018-01-06 00:39:06 +00:00
chriseth
bca01f8f68
Merge pull request #3382 from ethereum/julia-identifier-parser
Support some restricted tokens (return, byte, address) as identifier in Julia
2018-01-06 00:02:21 +01:00
chriseth
cf4fdab134
Merge pull request #3380 from ethereum/jsonio-colon
Properly support library file names containing a colon (such as URLs).
2018-01-05 23:54:59 +01:00
Alex Beregszaszi
a91393f4d7 Support some restricted tokens (return, byte, address) as identifiers in Julia 2018-01-05 15:53:49 +00:00
William Entriken
c7632fc732
No nonsense explanation of compiler options 2018-01-05 10:13:33 -05:00
Alex Beregszaszi
9e7e312fdf Properly support library file names containing a colon (such as URLs). 2018-01-05 13:24:07 +00:00
chenquan
d0d9522837 Merge branch 'develop' of https://github.com/ethereum/solidity into develop 2018-01-05 20:43:24 +08:00
chriseth
35095e9fcc
Merge pull request #3375 from leonardoalt/develop
[SMTChecker] Added feature line to Changelog
2018-01-04 21:30:37 +01:00
Leonardo Alt
e27418cb33 [SMTChecker] Added feature line to Changelog 2018-01-04 21:23:56 +01:00