Commit Graph

12417 Commits

Author SHA1 Message Date
chriseth
ef59f35a14
Merge pull request #5693 from ethereum/assemblyitem
Use explicit break and do not coerce 0 into bool in AssemblyItem
2018-12-19 15:14:49 +01:00
chriseth
c8f20e075f
Merge pull request #5635 from ethereum/cpp-default-ctors
[RFC] C++ `=default` ctors/dtors and the use of non-static member initializer syntax.
2018-12-19 15:11:20 +01:00
chriseth
900d100700 Changelog entry. 2018-12-19 14:59:29 +01:00
chriseth
4c7151e57f Do not include empty JSON objects in output. 2018-12-19 14:59:29 +01:00
Alex Beregszaszi
517beb6fa6 Use explicit break and do not coerce 0 into bool in AssemblyItem 2018-12-19 12:35:00 +00:00
Paweł Bylica
b57a36ddae CMake: Use toolchain files 2018-12-19 12:32:15 +00:00
chriseth
1bf396af78 Tests. 2018-12-19 12:58:17 +01:00
chriseth
beae2a608b Only fully compile if binaries requested. 2018-12-19 12:58:17 +01:00
chriseth
4e89945d82 Some more compiler state tests. 2018-12-19 12:58:17 +01:00
chriseth
8875092073
Merge pull request #5683 from Zacharius/5673-doc_enum_fix
5673 doc enum fix
2018-12-19 12:31:29 +01:00
Zacharius
af3e6db038 changed interface code example to illustrate working solidity version 2018-12-19 12:22:49 +01:00
Christian Parpart
62fe57479e
make use of C++ = default constructor declarations as well as more non-static member initialization syntax. 2018-12-19 11:26:42 +01:00
Christian Parpart
d10bae245e
liblangutil: SourceLocation to default initialize data members (w/o the use of ctor)
See: http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c45-dont-define-a-default-constructor-that-only-initializes-data-members-use-in-class-member-initializers-instead
2018-12-19 11:21:45 +01:00
chriseth
678a95f6e3
Merge pull request #5686 from ethereum/someStyle
Formatting.
2018-12-19 00:33:02 +01:00
chriseth
d8218b7eef Formatting. 2018-12-18 23:50:39 +01:00
chriseth
5c8483dc8d
Merge pull request #5684 from ethereum/doc-fix-trivial
Doc: Fix typo "a messy" -> "a mess"
2018-12-18 23:14:47 +01:00
Mathias Baumann
36dc56fa77 Doc: Fix typo "a messy" -> "a mess" 2018-12-18 20:17:44 +01:00
chriseth
eed46f0011
Merge pull request #5680 from ethereum/doc-fix-trivial
[Trivial] Format "and" as instruction op code
2018-12-18 19:50:46 +01:00
chriseth
20189c3f3b
Merge pull request #5637 from ethereum/better-json-error-reporting
Json: Provide better error message when 'settings' is not an object
2018-12-18 19:39:46 +01:00
chriseth
e33545292a
Merge pull request #5678 from ethereum/buildRelease
Build in release mode.
2018-12-18 19:37:43 +01:00
Mathias Baumann
e9944206a5 Rephrase opcode result returning description
It was a bit between the lines that "pushing on the stack" is their
means of returning a result.
2018-12-18 19:36:38 +01:00
Mathias Baumann
c43d96f2bf Json: Provide better error messages for wrong types 2018-12-18 18:36:50 +01:00
chriseth
f5e52ef3c0
Merge pull request #5679 from ethereum/hashCache
Cache hash computations.
2018-12-18 18:23:27 +01:00
chriseth
34be592e53
Merge pull request #5677 from ethereum/someOpts
Some optimisations.
2018-12-18 18:23:16 +01:00
Mathias Baumann
50101570ef Format "and" as instruction op code 2018-12-18 18:06:43 +01:00
chriseth
e970590675
Merge pull request #5664 from ethereum/cmakeUpdates
Use imported CMake targets.
2018-12-18 17:45:23 +01:00
chriseth
27e4e25a99 Optimize some instruction comparisons. 2018-12-18 17:25:49 +01:00
chriseth
d959407f66
Merge pull request #5674 from ethereum/parser-pragmaversion
Add version pragma parsing to Parser
2018-12-18 16:42:22 +01:00
chriseth
bd52beedff Cache hash computations. 2018-12-18 16:38:25 +01:00
chriseth
5066424758 Build in release mode. 2018-12-18 16:20:02 +01:00
chriseth
01249984f2 Provide comparison shortcut. 2018-12-18 16:10:14 +01:00
chriseth
18efbb52c0 Use the move. 2018-12-18 16:10:14 +01:00
Alex Beregszaszi
bd2f2ecbbd Move unsatisfied_version test from SolidityNameAndTypeResolution to SolidityParser 2018-12-18 15:02:59 +00:00
Alex Beregszaszi
ba15bc0a23 Fail if parsing failed in AnalysisFramework
Otherwise Compilerstack::analyze will throw an exception.
2018-12-18 15:02:37 +00:00
Alex Beregszaszi
c2ec6d71b4 Add version pragma parsing to Parser 2018-12-18 15:02:35 +00:00
Alex Beregszaszi
a51a8368aa
Merge pull request #5676 from ethereum/someOpts
Make swappable instructions static.
2018-12-18 14:03:50 +00:00
chriseth
68ad015714 Make swappable instructions static. 2018-12-18 12:39:24 +01:00
chriseth
c60ec958ab
Merge pull request #5246 from ethereum/abi-type-array
Updates arrays section to improve order and clarify concepts
2018-12-18 12:20:20 +01:00
Chris Ward
995840bfe0 Updates arrays section to improve order and clarify concepts 2018-12-18 12:17:22 +01:00
chriseth
4e475cdbe9
Merge pull request #5625 from ethereum/single-check
Do check for callvalue only once if no payable functions
2018-12-18 11:36:58 +01:00
chriseth
4b43aecaeb
Merge pull request #5671 from ethereum/sort_includes_interface
Sort includes in libsolidity/interface
2018-12-18 11:35:56 +01:00
Mathias Baumann
1b8570f829 Only generate sort/search code when interface functions exist 2018-12-17 21:24:37 +01:00
chriseth
95977fdaf2
Merge pull request #5672 from ethereum/sort_includes_parsing
Sort includes in libsolidity/parsing
2018-12-17 21:23:11 +01:00
chriseth
8570bee20b
Merge pull request #5669 from ethereum/retire2015
Remove support for Visual Studio 2015.
2018-12-17 19:49:51 +01:00
Leonardo Alt
7f41487ff6 Sort includes in libsolidity/parsing 2018-12-17 19:28:10 +01:00
Leonardo Alt
340ee4156d Sort includes in libsolidity/interface 2018-12-17 19:24:42 +01:00
chriseth
7b1a6798e6 Remove support for Visual Studio 2015. 2018-12-17 18:56:23 +01:00
chriseth
c5316b13e7
Merge pull request #5668 from ethereum/sort_includes_formal
Sort includes in libsolidity/formal
2018-12-17 18:54:30 +01:00
Leonardo Alt
cce377833a Sort includes in libsolidity/formal 2018-12-17 18:26:10 +01:00
chriseth
7d3727bbf7
Merge pull request #5665 from ethereum/cmakeHeaders
Add headers to targets in CMakeLists.txt.
2018-12-17 17:47:38 +01:00