Commit Graph

11977 Commits

Author SHA1 Message Date
Robert Chung
4a907faf44 Added information about debugging and examples on how to run subsets of tests. 2018-12-01 21:40:43 -08:00
Christian Parpart
757623e381
liblangutil: SourceLocation: Retricts == and != operator 2018-11-30 17:34:54 +01:00
Christian Parpart
18e3d6dbca
liblangutil: small refactors wrt. API cleanups
Especially also remove SourceLocation ctor's that the compiler can default-implement.
2018-11-30 17:10:39 +01:00
Christian Parpart
435f7b3b72 liblangutil: Scanner: remove superfluous sourceName field (it's in CharStream already)
Also, ParserBase::sourceName() was dead code. Eliminating it should
increase test coverage (how sneaky) :-)
2018-11-30 17:07:17 +01:00
Christian Parpart
c48a5264be
liblangutil: SourceLocation: adds (shared) pointer to underlying CharStream source, eliminating sourceName
Also, adapted affecting code to those changes.
2018-11-30 17:07:12 +01:00
Christian Parpart
22eff22492 liblangutil: extends CharStream to know about the respective (file-)name (and adapt codebase to it) 2018-11-29 12:45:27 +01:00
Christian Parpart
6060a3682c liblangutil: adds Scanner.charStream() accessor 2018-11-29 12:28:57 +01:00
Christian Parpart
5ec67ee477 liblangutil: adds ParserBase::charStream() accessor 2018-11-29 01:15:24 +01:00
chriseth
463951e8cd
Merge pull request #5530 from ethereum/fix-ast-segfault
Fixes crash on empty runtime code.
2018-11-28 16:33:56 +01:00
chriseth
937891bc0a
Merge pull request #5289 from ethereum/docs-index-overhaul
DOCS: Updates to docs index file
2018-11-28 15:46:29 +01:00
Chris Ward
b75859ff15 Begin overhaul of documentation index 2018-11-28 15:40:21 +01:00
Erik Kundt
50351fb8e2 Fixes crash on empty runtime code. 2018-11-28 14:41:16 +01:00
chriseth
d748165fb2
Merge pull request #5522 from juztin/develop
Builds both scratch & Alpine Docker images
2018-11-28 14:38:57 +01:00
chriseth
47bd906541
Merge pull request #5527 from ethereum/smt_json_testcases
Remove boost test checks from SMTCheckerJSONTest
2018-11-28 14:31:42 +01:00
Leonardo Alt
c51e6a545a Remove boost test checks from SMTCheckerJSONTest 2018-11-28 14:16:43 +01:00
chriseth
5c0331a058
Merge pull request #5525 from ethereum/obsoleteComment
Remove obsolete comment.
2018-11-28 12:23:12 +01:00
chriseth
4fa47322f9 Remove obsolete comment. 2018-11-28 11:49:00 +01:00
chriseth
7cbf046864
Merge pull request #5358 from ethereum/yulObjects
[Yul] Yul objects parser
2018-11-28 11:33:29 +01:00
chriseth
69dcf1a5f7 Changelog entry. 2018-11-28 11:30:00 +01:00
Justin Wilson
9a2cb7bbc1 Added Docker updates to changelog 2018-11-27 13:50:00 -07:00
Justin Wilson
16d1bf3335 Builds both scratch & Alpine Docker images
- Adds `Dockerfile_alpine`, which copies the complier from the scratch
   step into an Alpine image
 - Updates `docker_build.sh` to build the Alpine image
 - Updates `docker_deploy.sh` to tag and push the Alpine images
 - Updates `docker_deploy_manual.sh` to tag and push the Alpine images

The tags that are pushed follow:

 - Scratch
    - ethereum/solc:stable
    - ethereum/solc:0.5.1
    - ethereum/solc:nightly
    - ethereum/solc:nightly-0.5.1-bc7cb301e3d71756c8fbefe888aca53433302117
    - ethereum/solc:nightly-0.5.1-bc7cb301e3d71756c8fbefe888aca53433302117
 - Alpine
    - ethereum/solc:stable-alpine
    - ethereum/solc:0.5.1-alpine
    - ethereum/solc:nightly-alpine
    - ethereum/solc:nightly-alpine-0.5.1-bc7cb301e3d71756c8fbefe888aca53433302117
    - ethereum/solc:nightly-alpine-0.5.1-bc7cb301e3d71756c8fbefe888aca53433302117
2018-11-27 13:45:59 -07:00
chriseth
bc7cb301e3
Merge pull request #5517 from ethereum/nondeterminismBoost
Fix nondeterminism bug related to boost version.
2018-11-27 16:00:43 +01:00
chriseth
fb2e471d00 Fix nondeterminism bug related to boost version. 2018-11-27 16:00:22 +01:00
chriseth
105898b81b Tests. 2018-11-27 15:59:57 +01:00
chriseth
728119bb11 Use yul parser in assembly stack. 2018-11-27 15:59:57 +01:00
chriseth
e016cb99e6 Yul objects. 2018-11-27 15:59:57 +01:00
chriseth
5e55cb1729
Merge pull request #5277 from ethereum/docs-5175-require-revert
DOCS: Add mention that pure functions can require and revert
2018-11-26 20:10:12 +01:00
Chris Ward
ae542176e3 Add that pure functions can use revert and require 2018-11-26 20:07:22 +01:00
chriseth
3adddefaf1
Merge pull request #5507 from ethereum/docs-move
Move function related content to contracts doc
2018-11-26 19:47:41 +01:00
chriseth
240ad0e34e
Merge pull request #5382 from ethereum/libraryMappingPublic
Allow mapping arguments for public and external library functions.
2018-11-26 19:47:32 +01:00
Chris Ward
12daec3535 Move function related content to contracts doc 2018-11-26 19:46:31 +01:00
chriseth
2f0088f620
Merge pull request #5121 from ethereum/docs-contributing-pt2
Review contributing docs for language and ease, tests sections
2018-11-26 18:42:02 +01:00
Chris Ward
2d5516b28d Review contributing docs for language and ease 2018-11-26 18:40:38 +01:00
chriseth
80fa898c44
Merge pull request #5487 from ethereum/fixInterfaceOverrideTypeChange
Fix interface override type change
2018-11-26 17:47:08 +01:00
chriseth
1e7a23a205 Changelog entry and tests. 2018-11-26 16:51:45 +01:00
chriseth
4d7799eed4 Properly disallow different return types for interface overloads with different visibilities. 2018-11-26 16:51:28 +01:00
chriseth
f937896727
Merge pull request #5445 from ethereum/publicExternalOverwrite
Allow overwriting external functions (with ``calldata`` arguments) with public functions (with ``memory`` arguments)
2018-11-26 16:50:40 +01:00
Daniel Kirchner
30e6f8d3fb Allow mapping arguments for public and external library functions. 2018-11-26 16:31:46 +01:00
chriseth
f6d8810103
Merge pull request #5504 from ethereum/smt_fix_emscripten
[SMTChecker] Fix crash when SMTLib2Interface reports unknow for constant checks
2018-11-26 16:14:02 +01:00
chriseth
764d618c44
Merge pull request #5404 from ethereum/jumpFixes
Annotate jump from calldata decode to function as "jump in".
2018-11-26 16:08:04 +01:00
chriseth
bd40c0ac02
Merge pull request #5313 from cpurta/circle-ci-error-bot
Add error reporting script and use in check_style script
2018-11-26 15:57:03 +01:00
Chris Purta
5c67821af4 Script that directly comments errors to the github pull request. 2018-11-26 15:43:17 +01:00
chriseth
f1cebed998
Merge pull request #5287 from ethereum/docs-update-input-parameters
DOCS: Merge FAQ into docs on multi-dimensional arrays
2018-11-26 15:19:55 +01:00
chriseth
e7f6ed8f5c
Merge pull request #5506 from ethereum/fixMergeConflict
Fix merge problem in CMake files.
2018-11-26 15:01:09 +01:00
chriseth
7cc6738df3
Merge pull request #5438 from ethereum/docs-faq-types-undefined
DOCS: Move undefined FAQ item
2018-11-26 14:51:38 +01:00
chriseth
a46d5c6580 Fix merge problem in CMake files. 2018-11-26 14:50:04 +01:00
chriseth
d00082f12f
Merge pull request #5435 from fulldecent/patch-9
Define how inheritance affects storage
2018-11-26 14:46:01 +01:00
chriseth
d950905a28
Merge pull request #5493 from ethereum/cmake-no-globbing
[WIP] CMake: Explicitly state which files to compile instead of relying on globbing
2018-11-26 14:45:35 +01:00
William Entriken
b98a9eeb97 Define how inheritance affects storage 2018-11-26 14:44:18 +01:00
Christian Parpart
cdd8c72c9d CMake: Explicitly state which files to compile instead of relying on globbing.
Also remove header file lists, as there is no need to add them to
add_library() or add_executable(), which should lower maintenance of the cmake files.
2018-11-26 14:39:24 +01:00