Commit Graph

11255 Commits

Author SHA1 Message Date
chriseth
3c55cfd936
Merge pull request #4970 from ethereum/chriseth-patch-6
Updates to examples.
2018-09-17 19:15:32 +02:00
Alex Beregszaszi
7a19ac629f
Merge pull request #4971 from ethereum/chriseth-patch-7
Update solidity-in-depth.rst
2018-09-17 18:15:02 +01:00
chriseth
7e749056e8
Merge pull request #4992 from ethereum/docs-1190-inline-assembly
Docs: Improve sections of Inline assembly
2018-09-17 19:02:59 +02:00
Chris Ward
7b82a83786 Improve noted sections of Inline assembly doc 2018-09-17 19:00:05 +02:00
chriseth
ca61ec9ea1
Merge pull request #4996 from ethereum/docs-3339-state-variables
Docs: Add clarification of state variables
2018-09-17 18:35:40 +02:00
chriseth
47b8d998d1
Merge pull request #4999 from liangdzou/fix_typo
fix some code format problems
2018-09-17 17:47:35 +02:00
chriseth
da90bc0224
Merge pull request #4984 from elopio/add-missing-inliner-test
Add a missing tests for yul inliner optimization
2018-09-17 16:32:30 +02:00
liangdzou
808c3f3df5 fix some format typos 2018-09-17 22:13:21 +08:00
Chris Ward
98349929cd Add clarification of state variables 2018-09-17 15:56:04 +02:00
chriseth
804ea43782
Merge pull request #4973 from ethereum/updateImports
Some more info about imports and comments.
2018-09-17 15:34:48 +02:00
chriseth
8e96b35973
Merge pull request #4974 from ethereum/structureCleanup
Some cleanup in structure section.
2018-09-17 15:34:04 +02:00
chriseth
a32fb75f8f Some cleanup in structure section. 2018-09-17 15:25:25 +02:00
chriseth
40b71cb977
Merge pull request #4964 from ethereum/updateBuilding
Some updates about how to install solidity.
2018-09-17 15:21:38 +02:00
chriseth
d46d3feb41
Merge pull request #4904 from liangdzou/type_conversion
type conversion checker for array should be stronger
2018-09-17 15:13:52 +02:00
chriseth
f4ed315197
Merge pull request #4916 from ethereum/isolate_tests_filenames
Include origin filename in the filenames generated by isolate_tests.py
2018-09-17 14:05:41 +02:00
Leo Arias
aae385031f Add a missing tests for yul inliner optimization
When the statement has two return values, the function is not inlinable.

When the function has one statement but it is not an assignment to the
return variable, the function is not inlinable.

l
2018-09-16 06:38:08 +00:00
liangdzou
f3cbdadec7 Do not set to ref for explicit conversion and add assertion for array
type conversion. Also, add some test cases for #4901 and #4948.
2018-09-14 08:42:40 +02:00
chriseth
5f4a2d2cad
Merge pull request #4849 from lastmjs/develop
Introduce static elementary types to use
2018-09-14 00:54:53 +02:00
Jordan Last
d0497aacc0 fixing rebase conflicts
add ElementaryTypes::BytesMemory and ElementaryTypes::StringMemory

fix rebase conflicts

fixing rebase conflicts

use make_shared instead of new

fix tabs and StateMutability parameter

create address and addressType functions, fix spaces in comment

fix typo and switch nonpayable to payable

fix spaces

fix comment again
2018-09-13 15:53:06 -06:00
chriseth
c221ab132d Review suggestions. 2018-09-13 23:43:15 +02:00
chriseth
1205de65dc Some updates about how to install solidity. 2018-09-13 23:43:15 +02:00
chriseth
5cf570e100
Merge pull request #4968 from ethereum/alethUpdateCompatible
Fix tests for newer versions of aleth.
2018-09-13 23:38:46 +02:00
chriseth
dc62e084cc
Merge pull request #4908 from ethereum/chriseth-patch-5
Blockchain basics part 2
2018-09-13 23:33:15 +02:00
chriseth
6de07e5c10 Blockchain basics part 2 2018-09-13 23:30:51 +02:00
chriseth
300ac9878f Merge branch 'release' into develop. 2018-09-13 22:54:57 +02:00
chriseth
8b089cc849
Merge pull request #4963 from ethereum/version-0.4.26
Set version to 0.4.26
2018-09-13 22:49:29 +02:00
chriseth
540150a8fb Some more info about imports and comments. 2018-09-13 18:41:08 +02:00
chriseth
59dbf8f108
Merge pull request #4957 from ethereum/develop_v0425
Merge to release for 0.4.25
2018-09-13 18:38:41 +02:00
chriseth
738906c235
Update solidity-in-depth.rst 2018-09-13 18:17:01 +02:00
chriseth
5272fe660c
Updates to examples. 2018-09-13 18:04:49 +02:00
Daniel Kirchner
e7daed68c1
Merge pull request #4911 from ethereum/addressPayable
Payable and non-payable address type.
2018-09-13 17:30:54 +02:00
Daniel Kirchner
3e55aa3fa2 Disable blockhash test for constantinople due to changes between aleth versions. 2018-09-13 17:18:42 +02:00
Daniel Kirchner
583b87bb3d Use "pending", not "latest" during `eth_call in sendMessage`. 2018-09-13 16:48:51 +02:00
chriseth
76812ed567
Merge pull request #4965 from ethereum/updateChangelog
Update changelog
2018-09-13 16:42:39 +02:00
chriseth
6ed88d1bfe Update changelog. 2018-09-13 16:34:22 +02:00
chriseth
5aa5fa78f3
Merge pull request #4906 from ethereum/chriseth-patch-3
Second part of coin example.
2018-09-13 16:04:00 +02:00
chriseth
8e924fd644 Second part of coin example. 2018-09-13 15:52:43 +02:00
Daniel Kirchner
ae35a58124 Add `stateMutability field to JSON AST for address` types. 2018-09-13 15:15:49 +02:00
Daniel Kirchner
12aaca1645 Add payable and non-payable state mutability to AddressType. 2018-09-13 15:15:49 +02:00
Alex Beregszaszi
a0e8d3ca6e Set version to 0.4.26
To avoid conflict with 0.4.25 release.
2018-09-13 14:03:20 +01:00
chriseth
15c8c0d2cf
Merge pull request #4941 from liangdzou/properly_truncate_referenced_src
Properly truncate referenced src
2018-09-13 09:43:47 +02:00
liangdzou
558a4ac49c give more information (at most 35 chars before and after) for too long lines
add tests for giving more informations for too long lines

add edge tests for giving more informations for too long lines

avoid printing out tailing white space

update test case after avoiding printing out trailing whitespace

update test case for removing the pre-release warning from reference

refactor the code to if-else flavor

rename folder to cmdlineErrorReports under test

rename folder to cmdlineErrorReports under test

ignore whitespace for reference files

avoiding to modify the file stderr_path by call sed without -i option

print ' ...' instead of ' ... ' at the end of a line
2018-09-13 09:55:54 +08:00
chriseth
753a94fdae
Merge pull request #4955 from ethereum/prepare_0425
Set release date of 0.4.25.
2018-09-12 21:07:27 +02:00
chriseth
eb1fbaaac8
Merge pull request #4956 from ethereum/backport_json_build_fix
Backport json build fixes
2018-09-12 20:01:07 +02:00
Daniel Kirchner
84d9245076 Rename JSONCPP_EXTRA_FLAGS to JSONCPP_CXX_FLAGS, add EMSCRIPTEN workaround and remove obsolete MSVC workaround. 2018-09-12 18:57:14 +02:00
Guido Vranken
d2d9162bb9 Propagate original CMAKE_CXX_FLAGS to jsoncpp compilation 2018-09-12 18:57:02 +02:00
Christian Parpart
72b9ad6837 Visual Studio 2017 build-time (linking) fix and improvements 2018-09-12 18:56:48 +02:00
mingchuan
1a5f90954a Fix cmake when custom CMAKE_INSTALL_LIBDIR is given
According to cmake documents, we cannot assume CMAKE_INSTALL_LIBDIR is a
relative path. This commit fixes the "no rule to make libjsoncpp.a"
error by passing -DCMAKE_INSTALL_LIBDIR=lib to jsoncpp external project.
2018-09-12 18:56:22 +02:00
Paweł Bylica
73973d2448 CMake: Fix libdir for jsoncpp external project in special case
When building on Debian/Ubuntu with install prefix /usr (e.g. in PPA builds) the CMAKE_INSTALL_LIBDIR is resolved to lib/x86_64-linux-gnu. For jsoncpp external project this is never the case because the install prefix is not /usr. Remove multiarch part from libdir if there.
2018-09-12 18:55:36 +02:00
chriseth
8c56a5912b Set relase date of 0.4.25. 2018-09-12 18:38:16 +02:00