Commit Graph
62 Commits
Author SHA1 Message Date
Alexander Arlt df8bbeeb22 ViewPureChecker::reportMutability: don't check visibility on constructors. 2020-09-07 11:35:33 -05:00
Alexander Arlt 5f7b4a2e05 OSX: Fix readlink issues and that ASTImportTest.sh silently ignores errors. 2020-08-31 21:04:25 -05:00
Alexander Arlt e0c55d6570 [circleci] Use hera enabled docker images. 2020-07-27 07:28:15 -05:00
Alexander Arlt cbe9a2d240 Add Hera to buildpacks. 2020-07-22 11:17:05 -05:00
Alexander Arlt f7e180fb8f Push images to docker hub. 2020-07-16 14:14:51 +02:00
Alexander Arlt aed424f23e Initial docker image creation workflows. 2020-07-14 19:00:48 -05:00
Alexander Arlt 86be0fbc2f [ewasm] Fix infinite loops. 2020-06-23 12:35:03 +02:00
Alexander Arlt a7b89065ca [yul] Add support for EVM version-dependent rules. 2020-05-27 11:57:08 +02:00
Alexander Arlt 118cb13476 [Sol - Yul] Add support for ABIDecode. 2020-05-26 13:30:37 -05:00
Alexander Arlt cb5bfc7436 Update natspec comments on state variables.
- changing some warnings to errors
2020-05-26 11:18:24 -05:00
Alexander Arlt 410986e00f [isoltest] Improve parameter formatting. 2020-05-19 19:13:39 -05:00
Alexander Arlt af8bb5fb60 Allow natspec comments on state variables. 2020-05-19 11:01:52 -05:00
Alexander Arlt 7af4c13486 [circleci] add t_ubu_asan_constantinople_clang 2020-05-18 06:29:05 -05:00
Alexander Arlt 91e9d54c71 [Sol - Yul] Add support for ripemd160 & ecrecover. 2020-05-14 10:44:39 -05:00
Alexander Arlt af44c05f1a Add new test. 2020-05-13 18:16:59 +02:00
Alexander Arlt 52b9a92ff8 Update existing tests. 2020-05-13 18:16:59 +02:00
Alexander Arlt a9f4d14010 [Sol - Yul] Add support for send(..) & transfer(..) 2020-05-01 08:32:51 -05:00
Alexander Arlt 151e637336 [Sol - Yul] Add some built-in functions.
- simplifications for GasLeft, Selfdestruct and BlockHash.
- add support for addmod & mulmod.
2020-04-30 14:10:09 -05:00
Alexander Arlt d0bed50260 [ci] add chk_shellscripts 2020-04-27 07:55:59 -05:00
Alexander Arlt 66edaf43f4 [Sol - Yul] Add support for built-in logN(). 2020-04-25 11:10:28 -05:00
Alexander Arlt 2fa26f4e92 [Sol - Yul] Add support for built-in selfdestruct(..). 2020-04-24 17:03:41 -05:00
Alexander Arlt 55eda85a30 docs/cheatsheet.rst: Add `type(I).interfaceId` description. 2020-04-24 08:09:45 -05:00
Alexander Arlt aafa4583df [Sol - Yul] Add support for built-in gasleft(). 2020-04-23 17:14:03 -05:00
Alexander Arlt 3754a86ab2 Add support for interfaceID. 2020-04-16 12:17:40 -05:00
Alexander Arlt aac7a1e434 Apply modernize-pass-by-value. 2020-04-14 10:32:13 -05:00
Alexander Arlt 50776133b5 Fix ownership, part two. 2020-04-08 11:04:44 -05:00
Alexander Arlt 6cf830742d Fix ownership. 2020-04-07 15:39:18 -05:00
Alexander Arlt d8671d9c14 Add script to determine percentage of tests compilable via Yul. 2020-04-04 18:04:54 -05:00
Alexander Arlt cae6e7769f Apply modernize-use-override. 2020-04-02 18:00:44 -05:00
Alexander Arlt 90bb1d8a7c Apply modernize-use-emplace. 2020-04-02 17:35:48 -05:00
Alexander Arlt a7e1ef6a50 [build-system] Add -Wpessimizing-move & -Wredundant-move warnings.
-Wpessimizing-move warns when a call to std::move would prevent copy elision
if the argument was not wrapped in a call.  This happens when moving a local
variable in a return statement when the variable is the same type as the
return type or using a move to create a new object from a temporary object.

-Wredundant-move warns when an implicit move would already be made, so the
std::move call is not needed, such as when moving a local variable in a return
that is different from the return type.
2020-04-02 08:36:47 -05:00
Alexander Arlt 616fd8df1e Apply modernize-use-nullptr. 2020-04-01 12:46:19 -05:00
Alexander Arlt 3e649eb8e1 Disallow access to functions from inline assembly. 2020-04-01 10:34:55 +02:00
Alexander Arlt 67e9776418 Extract 45 tests from SolidityEndToEndTest.cpp 2020-03-26 17:39:12 +01:00
Alexander Arlt df8e762bf9 Add tools: create_traces.sh, remove-testcases.py & verify-testcases.py 2020-03-18 11:56:43 -05:00
Alexander Arlt 23d00b5ca3 Extracted 292 tests from SolidityEndToEndTest.cpp 2020-03-18 11:56:43 -05:00
Alexander Arlt 9d67edb163 Add --show-metadata to enable metadata output. 2020-03-12 13:39:29 -05:00
Alexander Arlt d0eeca8014 Fix CompilerStack::loadMissingSources()
- FatalError Exception was not caught
- fixes #8102
2020-02-12 11:22:11 -05:00
Alexander Arlt 0ae3053618 Add support for reading standard-json from file.
Currently `--standard-json` only supports reading input from stdin,
reading input from a specified file may simplify debugging.
2020-02-05 17:34:24 -05:00
Alexander Arlt 160983141f [circleci] Add t_osx_soltest. 2019-11-08 14:44:54 -05:00
Alexander Arlt ce0cef7cbc Output which functions are not implemented 2019-11-08 14:06:57 -05:00
Alexander Arlt f3f652e290 Update TypeChecker.cpp 2019-11-01 14:54:47 -05:00
Alexander Arlt 569422d2c2 Add Changelog entry. 2019-11-01 14:54:47 -05:00
Alexander Arlt c908c16acd Remove InternalCompilerError on abstract contract instantiation. 2019-11-01 14:54:47 -05:00
Alexander Arlt cd3ad73b5a Update tests. 2019-11-01 14:54:47 -05:00
Alexander Arlt 793b906e05 Update docs/contracts/abstract-contracts.rst. 2019-11-01 14:54:47 -05:00
Alexander Arlt 6573638340 Update docs/grammar.txt 2019-11-01 14:54:47 -05:00
Alexander Arlt e87924a96e Update soltest related tests. 2019-11-01 14:54:47 -05:00
Alexander Arlt 54c5e604e5 Add new tests. 2019-11-01 14:54:47 -05:00
Alexander Arlt 62950a9234 Support for abstract contracts. 2019-11-01 14:54:47 -05:00
Alexander Arlt 47fae911f9 Add UseTab: ForIndentation 2019-09-13 12:40:51 -05:00
Alexander Arlt f76d4d5919 Fix: natspec annotations on constructors
- natspec annotations on constructore where ignored.
2018-08-08 21:53:35 +02:00
Alexander Arlt 89f790c3ab Mark jsoncpp-headers as system headers 2018-05-15 15:14:59 +02:00
Alexander Arlt 4aed41d9b6 cmake/EthCompilerSettings.cmake: increase stacksize for apple clang
- normally 16MB is enough to run all tests, but it will exceed the stack, if -DSANITIZE=address is used.
2018-05-15 15:11:38 +02:00
Alexander Arlt f94b793472 Add virtual destructors on base classes. 2018-05-02 13:29:16 +02:00
Alexander Arlt 3ec667f59b Add virtual destructor in LValue class. 2018-04-24 23:39:25 +02:00
Alexander Arlt a49dac8057 Install & use cmake provided by scripts/install_cmake.sh for emscripten 2018-04-23 11:10:39 +01:00
Alexander Arlt 0b49fd3493 CMake: Update jsoncpp to v1.8.4 2018-04-23 11:10:39 +01:00
Alexander Arlt 70fcf1a8e0 CMake: remove direct jsoncpp dependency in libevmasm 2018-04-20 20:37:26 +01:00
Alexander Arlt 0f29ac4e56 Add new JSON API for better abstraction and for supporting strict JSON parsing 2018-02-20 21:58:26 +01:00
Alexander Arlt 1d4547ab03 Minor improvement: check sources
- returns error, if "sources" is an array, an empty object or not defined
- Added new test-cases in test/libsolidity/StandardCompiler.cpp
2018-02-16 18:44:46 +01:00
Alexander Arlt d9c51f9ca1 Set stack-size to 16MB for darwin clang.
By default Apple's clang defines a stack size of 8MB, some tests require
more.
2018-02-05 22:15:05 +01:00