Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Stricter check for member access to "this" in constructor. | Daniel Kirchner | 2018-04-13 | 3 | -0/+50 |
| | |||||
* | Merge pull request #3848 from ethereum/constantDivisionByZero | chriseth | 2018-04-12 | 14 | -20/+98 |
|\ | | | | | Error on invalid arithmetic with constant expressions. | ||||
| * | Add test to check ConstantEvaluator for pure non-rational functions. | Daniel Kirchner | 2018-04-12 | 1 | -0/+11 |
| | | |||||
| * | Add tests for literal operations as well. | Daniel Kirchner | 2018-04-12 | 4 | -0/+20 |
| | | |||||
| * | Error on invalid arithmetic with constant expressions. | Daniel Kirchner | 2018-04-12 | 9 | -20/+67 |
| | | |||||
* | | Properly cope with constructor headers. | chriseth | 2018-04-12 | 2 | -0/+15 |
| | | |||||
* | | Update expectations. | chriseth | 2018-04-12 | 10 | -17/+18 |
| | | |||||
* | | Extract modifier tests. | chriseth | 2018-04-12 | 15 | -158/+73 |
| | | |||||
* | | Warn if modifiers are applied to functions without implementation. | chriseth | 2018-04-12 | 2 | -0/+23 |
| | | |||||
* | | New tests for function state variables. | chriseth | 2018-04-12 | 6 | -0/+61 |
| | | |||||
* | | Add expectations. | chriseth | 2018-04-12 | 24 | -9/+53 |
| | | |||||
* | | Extract function type tests. | chriseth | 2018-04-12 | 26 | -313/+132 |
| | | |||||
* | | Merge pull request #3863 from ethereum/fixGasEstimation | chriseth | 2018-04-12 | 1 | -0/+13 |
|\ \ | |/ |/| | Correctly ignore costs of fallback for other functions. | ||||
| * | Correctly ignore costs of fallback for other functions. | chriseth | 2018-04-12 | 1 | -0/+13 |
| | | |||||
* | | Fix ConstantEvaluator to correctly handle single element tuples. | Daniel Kirchner | 2018-04-12 | 3 | -0/+35 |
| | | |||||
* | | Syntax Tests: extract array_length_* tests. | Daniel Kirchner | 2018-04-12 | 20 | -165/+117 |
|/ | |||||
* | Merge pull request #3580 from ethereum/asm-bitshift-optim | chriseth | 2018-04-11 | 2 | -0/+131 |
|\ | | | | | Add simplification rule for bitwise shifting | ||||
| * | Ignore shift warnings on constantinople tests | Alex Beregszaszi | 2018-04-10 | 1 | -0/+2 |
| | | |||||
| * | Add end to end tests for SHL/SHR/SAR instructions (constantinople only) | Alex Beregszaszi | 2018-04-10 | 1 | -0/+129 |
| | | |||||
* | | Fix line numbers for errors. | chriseth | 2018-04-11 | 2 | -512/+512 |
| | | |||||
* | | Merge pull request #3309 from ethereum/limit-errors | chriseth | 2018-04-11 | 2 | -0/+1048 |
|\ \ | | | | | | | Limit the number of errors output in a single run to 256 | ||||
| * | | Limit the number of errors output in a single run to 256 | Alex Beregszaszi | 2018-04-06 | 2 | -0/+1048 |
| | | | |||||
* | | | Fix bug in typechecking when comparing rational literals | Jason Cobb | 2018-04-11 | 1 | -0/+7 |
| | | | |||||
* | | | Add source locations to syntax test expectations. | Daniel Kirchner | 2018-04-10 | 54 | -108/+215 |
| | | | |||||
* | | | Error when using no parentheses in modifier-style constructor calls. | Daniel Kirchner | 2018-04-10 | 2 | -2/+5 |
| | | | |||||
* | | | Move constructor argument override check to TypeChecker and reuse ↵ | Daniel Kirchner | 2018-04-09 | 8 | -7/+19 |
| | | | | | | | | | | | | annotations in ContractCompiler. | ||||
* | | | Allow duplicated constructor calls, if no arguments; support for multiple ↵ | Daniel Kirchner | 2018-04-09 | 8 | -5/+38 |
| | | | | | | | | | | | | | | | | | | inheritance; backwards compatibility. # tmp | ||||
* | | | Error on duplicated super constructor calls | Federico Bond | 2018-04-09 | 3 | -4/+12 |
| |/ |/| | |||||
* | | Common subexpression eliminator. | chriseth | 2018-04-06 | 1 | -0/+102 |
|/ | |||||
* | Allow ``memory`` suffix for internal elementary type parsing. | chriseth | 2018-04-05 | 1 | -0/+1 |
| | |||||
* | Merge pull request #3828 from ethereum/soltest | chriseth | 2018-04-05 | 1 | -1/+3 |
|\ | | | | | Show JSON error if jsonParseStrict failed in soltest | ||||
| * | Show JSON error if jsonParseStrict failed in soltest | Alex Beregszaszi | 2018-04-05 | 1 | -1/+3 |
| | | |||||
* | | Merge pull request #3827 from ethereum/constantinople | chriseth | 2018-04-05 | 1 | -0/+2 |
|\ \ | | | | | | | Support constantinople in soltest | ||||
| * | | Support constantinople in soltest | Alex Beregszaszi | 2018-04-05 | 1 | -0/+2 |
| |/ | |||||
* | | Merge pull request #3824 from ethereum/baseArgumentsEmptyParenthesis | Daniel Kirchner | 2018-04-05 | 3 | -1/+16 |
|\ \ | | | | | | | Error when using empty parentheses for base class constructors that r… | ||||
| * | | Error when using empty parenthesis for base class constructors that require ↵ | Daniel Kirchner | 2018-04-05 | 3 | -1/+16 |
| | | | | | | | | | | | | arguments. | ||||
* | | | Merge pull request #3745 from ethereum/fixRecursion | Alex Beregszaszi | 2018-04-05 | 14 | -125/+115 |
|\ \ \ | | | | | | | | | Fix invalid recursion errors for structs | ||||
| * | | | Extract constant cycle tests. | chriseth | 2018-04-03 | 5 | -32/+32 |
| | | | | |||||
| * | | | Fix detection of recursive structs. | chriseth | 2018-04-03 | 2 | -0/+30 |
| | | | | |||||
| * | | | Extract recursive struct tests. | chriseth | 2018-04-03 | 8 | -93/+53 |
| | | | | |||||
* | | | | Merge pull request #3822 from ethereum/swap-comparison | chriseth | 2018-04-05 | 2 | -5/+82 |
|\ \ \ \ | | | | | | | | | | | Replace comparison operators with opposites if preceded by SWAP1 | ||||
| * | | | | Add end-to-end test for SwapComparison and CommutativeSwap peephole optimisers | Alex Beregszaszi | 2018-04-05 | 1 | -0/+44 |
| | | | | | |||||
| * | | | | Replace comparison operators with opposites if preceded by SWAP1 | Alex Beregszaszi | 2018-04-04 | 1 | -5/+38 |
| | |_|/ | |/| | | |||||
* / | | | More specific push implementation. | chriseth | 2018-04-04 | 2 | -2/+67 |
|/ / / | |||||
* | | | Merge pull request #3808 from ethereum/parserTests | chriseth | 2018-04-04 | 8 | -145/+113 |
|\ \ \ | | | | | | | | | SyntaxTests: extend syntax tests and isoltest to support parser error… | ||||
| * | | | Adds parsing sub-directory in syntaxTests and moves two example tests from ↵ | Daniel Kirchner | 2018-04-04 | 3 | -20/+9 |
| | | | | | | | | | | | | | | | | SolidityParser.cpp to test contracts. | ||||
| * | | | SyntaxTests: extend syntax tests and isoltest to support parser errors and ↵ | Daniel Kirchner | 2018-04-04 | 5 | -125/+104 |
| | | | | | | | | | | | | | | | | compiler exceptions. | ||||
* | | | | Create empty dynamic memory arrays more efficiently. | chriseth | 2018-04-04 | 4 | -8/+66 |
| |_|/ |/| | | |||||
* | | | Merge pull request #3798 from ethereum/commutative-swap | Alex Beregszaszi | 2018-04-04 | 1 | -0/+76 |
|\ \ \ | | | | | | | | | Remove useless SWAP1 in front of commutative operations | ||||
| * | | | Test multiple instructions with the (non)commutative peephole optimiser | Alex Beregszaszi | 2018-04-04 | 1 | -37/+62 |
| | | | | |||||
| * | | | Remove useless SWAP1 in front of commutative operations | Alex Beregszaszi | 2018-04-04 | 1 | -0/+51 |
| |/ / | |||||
* | | | Remove redundant test and enforce success without warnings. | Daniel Kirchner | 2018-04-04 | 1 | -7/+1 |
| | | | |||||
* | | | Constructors are defined using the ``constructor`` keyword. | Daniel Kirchner | 2018-04-04 | 3 | -5/+40 |
|/ / | |||||
* | | Merge pull request #3693 from ethereum/optimizeMLOAD | Alex Beregszaszi | 2018-04-03 | 3 | -10/+84 |
|\ \ | |/ |/| | Optimize across MLOAD if MSIZE is not used. | ||||
| * | Add memory array init test. | chriseth | 2018-04-03 | 1 | -0/+26 |
| | | |||||
| * | Test number of sstore operations. | chriseth | 2018-04-03 | 1 | -7/+33 |
| | | |||||
| * | Optimize across MLOAD if MSIZE is not used. | chriseth | 2018-04-03 | 2 | -3/+25 |
| | | |||||
* | | Merge pull request #3699 from ethereum/interfaceExternalVisibility | Alex Beregszaszi | 2018-04-03 | 8 | -48/+39 |
|\ \ | | | | | | | Defaults to external visibility for interfaces. | ||||
| * | | Makes visibility warning more concise. | Erik Kundt | 2018-04-03 | 1 | -1/+1 |
| | | | |||||
| * | | Moves all interface function visibility related tests. | Erik Kundt | 2018-04-03 | 6 | -48/+26 |
| | | | |||||
| * | | Defaults to external visibility for interfaces. | bitshift | 2018-04-03 | 2 | -0/+13 |
| | | | |||||
* | | | Fix: Treat empty base constructor argument list as not provided. | chriseth | 2018-04-03 | 2 | -0/+16 |
| |/ |/| | |||||
* | | Set default fixed point decimal places to 18 | Jason Cobb | 2018-03-31 | 1 | -5/+5 |
| | | |||||
* | | Update tests for empty structs | Alex Beregszaszi | 2018-03-31 | 2 | -0/+2 |
| | | |||||
* | | Merge pull request #3790 from ethereum/empty-structs | chriseth | 2018-03-30 | 3 | -1/+12 |
|\ \ | | | | | | | Disallow empty structs | ||||
| * | | Still allow empty structs for non-0.5.0 mode | Alex Beregszaszi | 2018-03-27 | 2 | -1/+7 |
| | | | |||||
| * | | Disallow empty structs | Alex Beregszaszi | 2018-03-27 | 2 | -1/+6 |
| | | | |||||
* | | | Prevent encoding of weird types and support packed encoding of external ↵ | chriseth | 2018-03-29 | 6 | -0/+87 |
| | | | | | | | | | | | | function types. | ||||
* | | | Support for error on non-existant or irregular files with command line ↵ | Anthony Broad-Crawford | 2018-03-28 | 1 | -1/+1 |
| |/ |/| | | | | | option to ignore | ||||
* | | Merge pull request #3775 from federicobond/improve-error-fractional-shift | chriseth | 2018-03-28 | 1 | -0/+10 |
|\ \ | |/ |/| | Improve error message when attempting to shift by fractional number | ||||
| * | Improve error message when trying to shift by fractional number | Federico Bond | 2018-03-22 | 1 | -0/+10 |
| | | |||||
* | | Merge pull request #3681 from ethereum/interface-external | chriseth | 2018-03-27 | 1 | -0/+14 |
|\ \ | | | | | | | Allow overriding external functions in interfaces with public in a child | ||||
| * | | Allow overriding external functions in interfaces with public in an ↵ | Alex Beregszaszi | 2018-03-26 | 1 | -0/+14 |
| |/ | | | | | | | implementing contract | ||||
* | | Merge pull request #3686 from ethereum/doNotIncludeItnernal | chriseth | 2018-03-27 | 1 | -0/+60 |
|\ \ | | | | | | | Do not include internal functions only used by constructor | ||||
| * | | Test that internal functions only used by constructor are not included in ↵ | chriseth | 2018-03-27 | 1 | -0/+60 |
| |/ | | | | | | | runtime context. | ||||
* | | Merge pull request #3748 from ethereum/extractScopingTests | chriseth | 2018-03-27 | 17 | -223/+130 |
|\ \ | | | | | | | Extract scoping tests | ||||
| * | | Extract scoping tests. | chriseth | 2018-03-16 | 17 | -223/+130 |
| | | | |||||
* | | | Changes deprecation and adjusts tests. | bitshift | 2018-03-27 | 3 | -39/+52 |
| | | | |||||
* | | | Adds unit tests for moved function. | bitshift | 2018-03-27 | 4 | -5/+49 |
| |/ |/| | |||||
* | | Merge pull request #3308 from ethereum/usereturndatacopy | chriseth | 2018-03-22 | 2 | -1/+104 |
|\ \ | | | | | | | Use returndatacopy for retrieving dynamically sized outputs. | ||||
| * | | Tests for returning dynamic data. | chriseth | 2018-03-21 | 2 | -6/+104 |
| | | | |||||
| * | | Decode dynamic data. | chriseth | 2018-03-21 | 1 | -0/+5 |
| | | | |||||
* | | | Merge pull request #3744 from ethereum/useUsrBinEditor | Alex Beregszaszi | 2018-03-21 | 1 | -0/+2 |
|\ \ \ | |/ / |/| | | Use /usr/bin/editor if exists. | ||||
| * | | Use /usr/bin/editor if exists. | chriseth | 2018-03-16 | 1 | -0/+2 |
| |/ | |||||
* / | Only consider files ending with .sol and not starting with ~ in syntax tests. | Daniel Kirchner | 2018-03-16 | 3 | -2/+13 |
|/ | |||||
* | Only colour error type, not error message in isoltest. | Daniel Kirchner | 2018-03-15 | 1 | -10/+16 |
| | |||||
* | Add interactive test tool isoltest. | Daniel Kirchner | 2018-03-15 | 2 | -0/+349 |
| | |||||
* | Add formatted printing to SyntaxTest and expand its public interface. | Daniel Kirchner | 2018-03-15 | 3 | -16/+123 |
| | |||||
* | Merge branch 'develop' into externalFunctionsInLibraries | chriseth | 2018-03-15 | 36 | -36/+145 |
|\ | |||||
| * | Merge pull request #3734 from ethereum/soltestOptions | chriseth | 2018-03-15 | 33 | -39/+51 |
| |\ | | | | | | | test: Rename test/TestHelper.* to test/Options.* and add Options::val… | ||||
| | * | test: Rename test/TestHelper.* to test/Options.* and add Options::validate(). | Daniel Kirchner | 2018-03-14 | 33 | -39/+51 |
| | | | |||||
| * | | Merge pull request #3725 from ethereum/blockhashNoCall | chriseth | 2018-03-15 | 1 | -0/+17 |
| |\ \ | | | | | | | | | Allow ``block.blockhash`` without it being called. | ||||
| | * | | Allow ``block.blockhash`` without being called. | chriseth | 2018-03-14 | 1 | -0/+17 |
| | | | | |||||
| * | | | Merge pull request #3722 from ethereum/fixMods | Alex Beregszaszi | 2018-03-15 | 2 | -0/+66 |
| |\ \ \ | | | | | | | | | | | Fix modifier lookup in libraries. | ||||
| | * | | | Tests. | chriseth | 2018-03-13 | 1 | -0/+52 |
| | | | | | |||||
| | * | | | Changelog entry. | chriseth | 2018-03-13 | 1 | -0/+14 |
| | |/ / | |||||
| * | | | Merge pull request #3730 from ethereum/docstringBug | chriseth | 2018-03-14 | 1 | -0/+6 |
| |\ \ \ | | |_|/ | |/| | | DocStringParser: Fix error message for empty parameter description. | ||||
| | * | | DocStringParser: Add Changelog entry and test case for empty descriptions. | Daniel Kirchner | 2018-03-14 | 1 | -0/+6 |
| | | | | |||||
| * | | | soltest: force the use of the --testpath option for soltest with an explicit ↵ | Daniel Kirchner | 2018-03-14 | 1 | -0/+4 |
| |/ / | | | | | | | | | | error. | ||||
| * / | Store filenames in static variable to guarantee sufficient lifetime. | Daniel Kirchner | 2018-03-14 | 1 | -1/+5 |
| |/ | |||||
* / | Make external library functions accessible. | chriseth | 2018-03-14 | 2 | -0/+29 |
|/ | |||||
* | Minor adjustments. | Daniel Kirchner | 2018-03-13 | 1 | -4/+4 |
| | |||||
* | Refactoring; fuse SyntaxTestParser and SyntaxTester to SyntaxTest. | Daniel Kirchner | 2018-03-13 | 7 | -310/+247 |
| | |||||
* | Workaround for boost < 1.59.0 | Daniel Kirchner | 2018-03-13 | 1 | -0/+13 |
| | |||||
* | Infrastructure for extracting syntax tests in separate test files. | Daniel Kirchner | 2018-03-13 | 12 | -52/+379 |
| | |||||
* | [SMTChecker_Bool] Fix PR comments; Add support to gt, ge, lt, le. and tests. | Leonardo Alt | 2018-03-13 | 1 | -0/+40 |
| | |||||
* | [SMTChecker] Support to Bool variables | Leonardo Alt | 2018-03-13 | 1 | -0/+98 |
| | |||||
* | Merge pull request #3708 from ethereum/moveTestTools | chriseth | 2018-03-13 | 4 | -8/+28 |
|\ | | | | | Move test tools to the subdirectory test/tools and adjust CMakeLists | ||||
| * | Move test tools to the subdirectory test/tools and adjust CMakeLists.txt. | Daniel Kirchner | 2018-03-13 | 4 | -8/+28 |
| | | |||||
* | | Support constantinople in evm-version | Alex Beregszaszi | 2018-03-13 | 1 | -0/+2 |
|/ | |||||
* | Fix test. | chriseth | 2018-03-07 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3611 from ethereum/warn-using-address-overload | Alex Beregszaszi | 2018-03-07 | 2 | -11/+170 |
|\ | | | | | Warn if using address overloads on contracts | ||||
| * | Warn if using address overloads on contracts | Alex Beregszaszi | 2018-03-05 | 2 | -11/+170 |
| | | |||||
* | | Tests for warnings/errors for loose assembly. | chriseth | 2018-03-07 | 1 | -4/+192 |
| | | |||||
* | | Warn about using loose inline assembly features as experimental 0.5.0 feature. | chriseth | 2018-03-07 | 2 | -0/+2 |
| | | |||||
* | | Merge pull request #2966 from ethereum/useStaticCall | Alex Beregszaszi | 2018-03-07 | 1 | -4/+56 |
|\ \ | | | | | | | Use STATICCALL for pure function calls. | ||||
| * | | Test for using staticcall for view and pure functions. | chriseth | 2018-03-06 | 1 | -4/+56 |
| | | | |||||
* | | | Merge pull request #3549 from ethereum/fixmultidim | Alex Beregszaszi | 2018-03-06 | 1 | -0/+56 |
|\ \ \ | |/ / |/| | | Properly detect which array and struct types are unsupported by the old ABI encoder. | ||||
| * | | Tests for multi-dimensional arrays. | chriseth | 2018-03-01 | 1 | -0/+56 |
| | | | |||||
* | | | Merge pull request #3652 from ethereum/gasleft_v2 | chriseth | 2018-03-06 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | Use StaticAnalyzer to deprecate msg.gas instead of conditionally remo… | ||||
| * | | | Use StaticAnalyzer to deprecate msg.gas instead of conditionally removing it ↵ | Daniel Kirchner | 2018-03-06 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | in MagicType. | ||||
* | | | | Merge pull request #3643 from ethereum/gasleft | chriseth | 2018-03-06 | 4 | -0/+90 |
|\| | | | | | | | | | | | Move msg.gas to global function gasleft(). Closes #2971. | ||||
| * | | | Improved gasleft tests. | Daniel Kirchner | 2018-03-06 | 2 | -7/+19 |
| | | | | |||||
| * | | | Add test cases for shadowing gasleft with local functions/variables. | Daniel Kirchner | 2018-03-05 | 1 | -0/+19 |
| | | | | |||||
| * | | | Remove unstable test case. | Daniel Kirchner | 2018-03-05 | 1 | -19/+0 |
| | | | | |||||
| * | | | Move msg.gas to global function gasleft(). Closes #2971. | Daniel Kirchner | 2018-03-05 | 4 | -0/+78 |
| | | | | |||||
* | | | | Do not warn about 0.5.0 experimental pragma. | chriseth | 2018-03-05 | 1 | -6/+3 |
| |_|/ |/| | | |||||
* | | | Merge pull request #3569 from ethereum/evmVersion | chriseth | 2018-03-05 | 29 | -158/+391 |
|\ \ \ | |/ / |/| | | EVM version | ||||
| * | | Use EVM version in gas meter and optimizer. | chriseth | 2018-03-05 | 8 | -124/+190 |
| | | | |||||
| * | | Only warn for shift instructions if not using constantinople | Alex Beregszaszi | 2018-03-02 | 1 | -3/+3 |
| | | | |||||
| * | | Add TangerineWhistle. | chriseth | 2018-03-02 | 4 | -9/+15 |
| | | | |||||
| * | | CREATE2 test fix. | chriseth | 2018-03-02 | 1 | -1/+1 |
| | | | |||||
| * | | Returndatasize and staticcall test fixes. | chriseth | 2018-03-02 | 2 | -10/+10 |
| | | | |||||
| * | | Correctly set evm version in tests | chriseth | 2018-03-02 | 11 | -6/+68 |
| | | | |||||
| * | | Activate byzantium for testing. | chriseth | 2018-03-02 | 1 | -1/+9 |
| | | | |||||
| * | | Provide EVM version to assembly analysis. | chriseth | 2018-03-02 | 6 | -14/+37 |
| | | | |||||
| * | | Use EVM version in type checker. | chriseth | 2018-03-02 | 3 | -6/+14 |
| | | | |||||
| * | | Test both EVM versions. | chriseth | 2018-03-02 | 5 | -5/+31 |
| | | | |||||
| * | | Some tests. | chriseth | 2018-03-02 | 2 | -1/+35 |
| |/ | |||||
* | | Merge pull request #3633 from ethereum/reserved-keywords-test | chriseth | 2018-03-02 | 1 | -0/+30 |
|\ \ | | | | | | | Parser: Add test case for reserved keywords. | ||||
| * | | Parser: Add test case for reserved keywords. | Daniel Kirchner | 2018-03-02 | 1 | -0/+30 |
| |/ | |||||
* | | Merge pull request #3628 from ethereum/literalsHexUnit | chriseth | 2018-03-02 | 1 | -0/+19 |
|\ \ | |/ |/| | Deprecate using unit denominations in combination with hex numbers. | ||||
| * | Deprecate using unit denominations in combination with hex numbers. Closes ↵ | Daniel Kirchner | 2018-03-01 | 1 | -0/+19 |
| | | | | | | | | #3574. | ||||
* | | Ensure that library addresses supplied are of correct length and hex ↵ | Alex Beregszaszi | 2018-03-01 | 1 | -7/+27 |
|/ | | | | prefixed in JSONIO | ||||
* | Merge pull request #3607 from izgzhen/complain-unknown-params | chriseth | 2018-03-01 | 1 | -0/+15 |
|\ | | | | | stop allow_guessing for command line option parser | ||||
| * | Stop allow_guessing for command line option parser | Zhen Zhang | 2018-02-28 | 1 | -0/+15 |
| | | |||||
* | | Merge pull request #3617 from ethereum/jsonio-libraries | chriseth | 2018-03-01 | 1 | -0/+133 |
|\ \ | | | | | | | Add more comprehensive tests and checks for libraries in JSONIO | ||||
| * | | Properly validate invalid hex characters in JSONIO libraries | Alex Beregszaszi | 2018-02-28 | 1 | -0/+23 |
| | | | |||||
| * | | Add more comprehensive tests and checks for libraries in JSONIO | Alex Beregszaszi | 2018-02-28 | 1 | -0/+110 |
| | | | |||||
* | | | Merge pull request #3615 from ethereum/test-framework | chriseth | 2018-02-28 | 4 | -23/+18 |
|\ \ \ | | | | | | | | | Simplify contract compilation in the test framework | ||||
| * | | | Use compileContract in contract tests | Alex Beregszaszi | 2018-02-28 | 3 | -21/+6 |
| | | | | |||||
| * | | | Split compileContract off compileAndRunWithoutCheck in ↵ | Alex Beregszaszi | 2018-02-28 | 1 | -2/+12 |
| |/ / | | | | | | | | | | SolidityExecutionFramework | ||||
* | | | Merge pull request #3613 from ethereum/require-visibility | chriseth | 2018-02-28 | 2 | -7/+24 |
|\ \ \ | |/ / |/| | | Issue error if no visibility is specified (on 0.5.0) | ||||
| * | | Issue error if no visibility is specified (on 0.5.0) | Alex Beregszaszi | 2018-02-27 | 2 | -7/+24 |
| | | | |||||
* | | | Merge pull request #3476 from ethereum/scoping | chriseth | 2018-02-28 | 4 | -16/+302 |
|\ \ \ | |/ / |/| | | C99/C++ scoping rules | ||||
| * | | Some more scoping tests. | chriseth | 2018-02-27 | 2 | -1/+102 |
| | | | |||||
| * | | Only active variables at the point of their declaration. | chriseth | 2018-02-27 | 2 | -3/+92 |
| | | | |||||
| * | | Enable C99-scoping with the 0.5.0-experimental pragma. | chriseth | 2018-02-27 | 1 | -2/+45 |
| | | | |||||
| * | | Tests for new scoping behaviour. | chriseth | 2018-02-27 | 1 | -0/+44 |
| | | | |||||
| * | | Adjust tests. | chriseth | 2018-02-27 | 3 | -14/+23 |
| | | | |||||
* | | | Merge pull request #2541 from ethereum/asm-bitshift | Alex Beregszaszi | 2018-02-27 | 1 | -0/+14 |
|\ \ \ | | | | | | | | | Add bit shifting opcodes (EIP145) | ||||
| * | | | Add basic test for shift opcodes | Alex Beregszaszi | 2018-02-27 | 1 | -0/+14 |
| |/ / | |||||
* | | | Merge pull request #3601 from ethereum/circleParallel | Alex Beregszaszi | 2018-02-27 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | Parallelize tests on circle. | ||||
| * | | Run tests in parallel on circle. | chriseth | 2018-02-27 | 1 | -1/+1 |
| | | | |||||
* | | | Turn throw into a syntax error for 0.5.0 | Alex Beregszaszi | 2018-02-27 | 1 | -1/+10 |
| |/ |/| | |||||
* | | Merge pull request #3589 from ethereum/identifiers | Alex Beregszaszi | 2018-02-27 | 1 | -0/+15 |
|\ \ | |/ |/| | Clean up type identifiers | ||||
| * | Add test for escapeIdentifier | Alex Beregszaszi | 2018-02-27 | 1 | -0/+15 |
| | | |||||
* | | Test data location of getter return type. | chriseth | 2018-02-26 | 1 | -0/+20 |
|/ | |||||
* | Use readStandardInput in the fuzzer | Alex Beregszaszi | 2018-02-23 | 1 | -14/+4 |
| | |||||
* | Parser test. | chriseth | 2018-02-22 | 1 | -0/+13 |
| | |||||
* | Tests for warnings. | chriseth | 2018-02-22 | 1 | -0/+23 |
| | |||||
* | Introduce emit statement. | chriseth | 2018-02-22 | 2 | -0/+130 |
| | |||||
* | Do not warn about analysis-only experimental features. | chriseth | 2018-02-22 | 1 | -6/+1 |
| | |||||
* | Raise error on oversized number literals in assembly | Alex Beregszaszi | 2018-02-22 | 2 | -0/+2 |
| | |||||
* | Merge pull request #3555 from ethereum/libraryTestCallInput | chriseth | 2018-02-22 | 1 | -2/+2 |
|\ | | | | | Provide proper input for test call. | ||||
| * | Provide proper input for test call. | chriseth | 2018-02-21 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #3554 from ethereum/reuseScannerOrNot | chriseth | 2018-02-21 | 3 | -2/+7 |
|\ \ | | | | | | | Expect end of string at end of top-level block for assembly parser. | ||||
| * | | Expect end of string at end of top-level block for assembly parser. | chriseth | 2018-02-21 | 3 | -2/+7 |
| | | | |||||
* | | | Add new JSON API for better abstraction and for supporting strict JSON parsing | Alexander Arlt | 2018-02-21 | 9 | -27/+194 |
| |/ |/| | |||||
* | | Provide input for two optimizer tests. | chriseth | 2018-02-21 | 1 | -2/+2 |
|/ | |||||
* | Test aliasing in shadowing. | chriseth | 2018-02-20 | 1 | -1/+22 |
| | |||||
* | Test ``_offset`` for constants in inline assembly. | chriseth | 2018-02-20 | 1 | -0/+15 |
| | |||||
* | Merge pull request #3135 from federicobond/formatter-instance | chriseth | 2018-02-20 | 3 | -10/+13 |
|\ | | | | | Convert static SourceReferenceFormatter functions to member ones | ||||
| * | Convert static SourceReferenceFormatter functions to member ones | Federico Bond | 2018-02-19 | 3 | -10/+13 |
| | | |||||
* | | Fix indentation. | Emilio Almansi | 2018-02-19 | 1 | -3/+3 |
| | | |||||
* | | Added property _documentation_ to Function, Event, and Modifier definition ↵ | Emilio Almansi | 2018-02-19 | 1 | -1/+22 |
| | | | | | | | | classes. | ||||
* | | Minor improvement: check sources | Alexander Arlt | 2018-02-17 | 1 | -0/+36 |
|/ | | | | | - returns error, if "sources" is an array, an empty object or not defined - Added new test-cases in test/libsolidity/StandardCompiler.cpp | ||||
* | Make addmod and mulmod revert if the last argument is zero. | chriseth | 2018-02-15 | 1 | -0/+27 |
| | |||||
* | Disallow uninitialized storage pointers as experimental 0.5.0 feature. | chriseth | 2018-02-15 | 1 | -0/+32 |
| | |||||
* | Merge pull request #3498 from ethereum/allowthisfselector | chriseth | 2018-02-14 | 3 | -12/+56 |
|\ | | | | | Allow `this.f.selector` to be pure. | ||||
| * | Add tests for selectors for public variables. | chriseth | 2018-02-13 | 2 | -4/+10 |
| | | |||||
| * | Allow `this.f.selector` to be pure. | chriseth | 2018-02-13 | 2 | -9/+47 |
| | | |||||
* | | Restructure code for alternative identifier suggestions | Balajiganapathi S | 2018-02-13 | 1 | -0/+32 |
| | | |||||
* | | Add tests for similarity routine | Balajiganapathi S | 2018-02-13 | 1 | -0/+56 |
| | | |||||
* | | Move string distance function to utils and format error message | Balajiganapathi S | 2018-02-13 | 1 | -4/+4 |
| | | |||||
* | | Suggest alternatives when identifier not found. | Balajiganapathi S | 2018-02-13 | 1 | -0/+87 |
| | | |||||
* | | Merge pull request #3349 from federicobond/number-improv | Alex Beregszaszi | 2018-02-13 | 1 | -2/+2 |
|\ \ | |/ |/| | Avoid output messages size blow-up using huge bignums literals | ||||
| * | Always use shortened literal number representation. | chriseth | 2018-02-13 | 1 | -1/+1 |
| | | |||||
| * | Avoid output messages size blow-up using huge bignums literals | Federico Bond | 2018-02-13 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #3425 from jevogel/3301 | chriseth | 2018-02-13 | 2 | -17/+29 |
|\ \ | | | | | | | Deprecate the var keyword in SyntaxChecker | ||||
| * | | Adjust tests for multiple errors with the var keyword | Alex Beregszaszi | 2018-02-13 | 2 | -13/+25 |
| | | | |||||
| * | | Do not use var where not neccessary in tests | Alex Beregszaszi | 2018-02-13 | 2 | -4/+4 |
| | | | |||||
* | | | Merge pull request #2818 from ethereum/testGnosis | chriseth | 2018-02-13 | 1 | -17/+28 |
|\ \ \ | | | | | | | | | Also test gnosis contracts. | ||||
| * | | | Replace fixed-version pragmas in Gnosis | Alex Beregszaszi | 2018-02-13 | 1 | -0/+4 |
| | | | | |||||
| * | | | Also test Gnosis contracts. | chriseth | 2018-02-13 | 1 | -18/+25 |
| | |/ | |/| | |||||
* / | | Test for Mod-And rule. | chriseth | 2018-02-13 | 1 | -0/+12 |
|/ / | |||||
* | | Merge pull request #3489 from ethereum/fixZepplein | Alex Beregszaszi | 2018-02-13 | 1 | -0/+7 |
|\ \ | |/ |/| | Fix some weird zeppelin tests. | ||||
| * | Fix some weird zeppelin tests. | chriseth | 2018-02-13 | 1 | -0/+7 |
| | | |||||
* | | Merge pull request #3479 from ethereum/multiError | chriseth | 2018-02-13 | 6 | -70/+184 |
|\ \ | |/ |/| | Support searching inside multiple errors. | ||||
| * | Support searching inside multiple errors. | chriseth | 2018-02-12 | 6 | -70/+184 |
| | | |||||
* | | Merge pull request #3474 from ethereum/circle2 | Alex Beregszaszi | 2018-02-12 | 1 | -0/+63 |
|\ \ | | | | | | | Split emscripten circle job into build and test. | ||||
| * | | Handle version for solcjs tests. | chriseth | 2018-02-10 | 1 | -3/+3 |
| | | | |||||
| * | | Split solcjs and external tests. | chriseth | 2018-02-10 | 1 | -0/+63 |
| |/ | |||||
* / | Fix segfault with undeclared array types | Federico Bond | 2018-02-12 | 1 | -0/+10 |
|/ | |||||
* | Merge pull request #3456 from ethereum/simplifier | chriseth | 2018-02-08 | 1 | -0/+130 |
|\ | | | | | Use simplification rules also for IULIA | ||||
| * | Also apply simplification rules that require multiple identical sub-expressions. | chriseth | 2018-02-07 | 1 | -0/+24 |
| | | |||||
| * | Tests. | chriseth | 2018-02-07 | 1 | -0/+40 |
| | | |||||
| * | Expression simplifier. | chriseth | 2018-02-07 | 1 | -0/+66 |
| | | |||||
* | | Fix tests for old precompiler. | chriseth | 2018-02-08 | 1 | -53/+53 |
| | | |||||
* | | Test about recursively calling functions. | chriseth | 2018-02-06 | 1 | -7/+21 |
| | | |||||
* | | Tests for functional inliner. | chriseth | 2018-02-06 | 1 | -2/+22 |
| | | |||||
* | | Function inliner. | chriseth | 2018-02-06 | 1 | -2/+65 |
| | | |||||
* | | Tests for inlinable function filter. | chriseth | 2018-02-06 | 1 | -0/+102 |
|/ | |||||
* | Test for self-referring assignment. | chriseth | 2018-02-06 | 1 | -0/+9 |
| | |||||
* | Test not to remat if the expression is too large. | chriseth | 2018-02-06 | 1 | -0/+12 |
| | |||||
* | Reassign test for remat. | chriseth | 2018-02-06 | 1 | -0/+8 |
| | |||||
* | Fix for rematerializer. | chriseth | 2018-02-06 | 1 | -0/+12 |
| | |||||
* | Only substitute if all referenced variables are in scope. | chriseth | 2018-02-06 | 1 | -0/+9 |
| | |||||
* | Tests for rematerialiser. | chriseth | 2018-02-06 | 1 | -0/+129 |
| | |||||
* | Add more tests for UnusedPruner | Alex Beregszaszi | 2018-02-06 | 1 | -0/+23 |
| | |||||
* | Support variable declarations without assignment in UnusedPruner | Alex Beregszaszi | 2018-02-06 | 1 | -0/+8 |
| | |||||
* | Unused variable and function remover. | chriseth | 2018-02-06 | 1 | -0/+98 |
| | |||||
* | Merge pull request #3360 from federicobond/nonfatal-reference-errors | Alex Beregszaszi | 2018-02-04 | 1 | -1/+66 |
|\ | | | | | Replace some fatal errors when resolving references with normal ones | ||||
| * | Add more test cases for reference resolving error handling | Federico Bond | 2018-02-03 | 1 | -0/+65 |
| | | |||||
| * | Replace some fatal errors when resolving references with normal ones | Federico Bond | 2018-02-03 | 1 | -1/+1 |
| | | |||||
* | | Issue warning for using public visibility for interface functions | Alex Beregszaszi | 2018-02-01 | 2 | -3/+9 |
| | | |||||
* | | Prevent libraries from being called. | chriseth | 2018-01-19 | 1 | -0/+33 |
|/ | |||||
* | Disallow non-functional instructions in parseExpression early | Alex Beregszaszi | 2018-01-10 | 1 | -2/+2 |
| | |||||
* | Show restricted instruction warning before argument mismatch issue | Alex Beregszaszi | 2018-01-08 | 1 | -4/+4 |
| | |||||
* | Tests for strict mode. | chriseth | 2018-01-06 | 1 | -9/+69 |
| | |||||
* | Split inline assembly into loose and strict flavours. | chriseth | 2018-01-06 | 2 | -4/+5 |
| | |||||
* | Merge pull request #3382 from ethereum/julia-identifier-parser | chriseth | 2018-01-06 | 1 | -0/+8 |
|\ | | | | | Support some restricted tokens (return, byte, address) as identifier in Julia | ||||
| * | Support some restricted tokens (return, byte, address) as identifiers in Julia | Alex Beregszaszi | 2018-01-05 | 1 | -0/+8 |
| | | |||||
* | | Properly support library file names containing a colon (such as URLs). | Alex Beregszaszi | 2018-01-05 | 1 | -0/+35 |
|/ | |||||
* | [SMTChecker] Variables are merged after branches (ite variables) | Leonardo Alt | 2018-01-05 | 1 | -8/+39 |
| | |||||
* | Provide easy way to update source location expectation. | chriseth | 2018-01-04 | 1 | -9/+45 |
| | |||||
* | Merge pull request #3297 from ethereum/separate_expression_and_statement | Alex Beregszaszi | 2018-01-04 | 1 | -4/+4 |
|\ | | | | | Separate expression and statement | ||||
| * | Adjust tests. | chriseth | 2017-12-13 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #3369 from ethereum/jsonio-colon | Alex Beregszaszi | 2018-01-04 | 1 | -0/+30 |
|\ \ | | | | | | | Properly handle colons in file names within jsonio | ||||
| * | | Properly handle colons in file names within jsonio | Alex Beregszaszi | 2018-01-03 | 1 | -0/+30 |
| | | |