Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #5451 from ethereum/bound_function_tests | chriseth | 2018-11-23 | 4 | -0/+43 |
|\ | | | | | Add assert and tests for bound functions | ||||
| * | Add assert and tests for bound functions | Leonardo Alt | 2018-11-22 | 4 | -0/+43 |
| | | |||||
* | | Organize smt tests in subdirectories | Leonardo Alt | 2018-11-22 | 46 | -0/+0 |
| | | |||||
* | | Remove pragma ABIEncoderV2 from smt test | Leonardo Alt | 2018-11-22 | 1 | -6/+8 |
| | | |||||
* | | Drop numbering in front of the SMTChecker tests | Alex Beregszaszi | 2018-11-22 | 46 | -0/+0 |
| | | |||||
* | | Move most of SMTChecker tests from C++ to isoltest | Alex Beregszaszi | 2018-11-22 | 47 | -593/+489 |
|/ | | | | But keep divison in C++ because results differ between different solvers | ||||
* | Merge pull request #5427 from ethereum/liblangutil | chriseth | 2018-11-22 | 37 | -56/+86 |
|\ | | | | | Factor out langutil, a new static library that is shared between libyul/libsolidity | ||||
| * | Introduce namespace `langutil` in liblangutil directory. | Christian Parpart | 2018-11-22 | 27 | -25/+52 |
| | | | | | | | | | | | | | | Also: - Use {}-style list initialisation for SourceLocation construction - Introduce new system includes - Changes the API of the Scanner to take source as value (with move) as opposed to as a reference | ||||
| * | Isolating files shared between Yul- and Solidity language frontend. | Christian Parpart | 2018-11-22 | 25 | -35/+38 |
| | | |||||
* | | Fix constructor in AuctionRegistrar | Alex Beregszaszi | 2018-11-22 | 1 | -1/+1 |
|/ | |||||
* | LLL: implement WITH keyword | Alex Beregszaszi | 2018-11-21 | 1 | -0/+13 |
| | |||||
* | Merge pull request #5444 from Mordax/issue-5168-rmvirtual | Alex Beregszaszi | 2018-11-21 | 2 | -6/+6 |
|\ | | | | | Removing redundant virtual from override function declaration | ||||
| * | Removing redundant virtual from override function declaration | mordax | 2018-11-21 | 2 | -6/+6 |
| | | | | | | | | | | | | Remove trailing whitespace Remove changelog change | ||||
* | | Merge pull request #5355 from ethereum/yul-forloop-pre-rewrite | chriseth | 2018-11-21 | 5 | -1/+75 |
|\ \ | |/ |/| | [Yul] Implements a pass to rewrite for-loop's pre block into the parent's Block | ||||
| * | [Yul] Implements a pass to rewrite for-loop's pre block into the parent's Block. | Christian Parpart | 2018-11-16 | 5 | -1/+75 |
| | | |||||
* | | [SMTChecker] Support bound function calls | Leonardo Alt | 2018-11-19 | 4 | -0/+78 |
| | | |||||
* | | [SMTChecker] Implement uninterpreted functions and use it for blockhash() | Leonardo Alt | 2018-11-15 | 1 | -2/+6 |
|/ | |||||
* | Do not perform cleanup on unsigned integers when loading from calldata. | chriseth | 2018-11-15 | 1 | -1/+1 |
| | |||||
* | Merge pull request #5410 from ethereum/lll-build | chriseth | 2018-11-14 | 4 | -3/+12 |
|\ | | | | | Do not build LLL unless requested via the LLL cmake option | ||||
| * | Move LLL tests into a single directory | Alex Beregszaszi | 2018-11-14 | 2 | -0/+0 |
| | | |||||
| * | Do not build tests for LLL if disabled | Alex Beregszaszi | 2018-11-14 | 2 | -3/+12 |
| | | |||||
* | | Fix commandline tests. | chriseth | 2018-11-14 | 1 | -1/+1 |
|/ | |||||
* | Use latest solcjs and replace compileStandard by compile. | chriseth | 2018-11-13 | 1 | -1/+12 |
| | |||||
* | Remove old libsolc API (compileJSON, compileJSONMulti, compileJSONCallback) | Alex Beregszaszi | 2018-11-13 | 2 | -141/+4 |
| | |||||
* | LLL: ensure assembly tests have the correct arguments | Alex Beregszaszi | 2018-11-13 | 1 | -168/+168 |
| | |||||
* | LLL: add test which has a sub assembly without a forced STOP | Alex Beregszaszi | 2018-11-13 | 1 | -0/+14 |
| | |||||
* | LLL bytecode is padded by STOP in tests | Alex Beregszaszi | 2018-11-13 | 1 | -239/+239 |
| | |||||
* | LLL: do not wrap opcode tests into sequence | Alex Beregszaszi | 2018-11-13 | 1 | -239/+239 |
| | |||||
* | Update tests. | chriseth | 2018-11-13 | 1 | -66/+66 |
| | |||||
* | Merge pull request #5406 from ethereum/uninitializedStorageUnimplemented | chriseth | 2018-11-13 | 2 | -0/+8 |
|\ | | | | | Ignore unimplemented functions for detecting uninitialized storage returns. | ||||
| * | Ignore unimplemented functions for storage returns. | Daniel Kirchner | 2018-11-13 | 2 | -0/+8 |
| | | |||||
* | | Merge pull request #5333 from ethereum/joinPerformance | chriseth | 2018-11-13 | 1 | -0/+654 |
|\ \ | | | | | | | [Yul] Use map join algorithm for performance. | ||||
| * | | Remove variables that go out of scope from data structure. | chriseth | 2018-11-13 | 1 | -139/+170 |
| | | | |||||
| * | | Use map join algorithm for performance. | chriseth | 2018-11-13 | 1 | -0/+623 |
| |/ | |||||
* / | Deterministic YulStringRepository using string hashes. | Daniel Kirchner | 2018-11-13 | 3 | -11/+10 |
|/ | |||||
* | Remove trailing whitespace. | chriseth | 2018-11-12 | 2 | -2/+2 |
| | |||||
* | Refactor of bool TypeChecker::visit(FunctionCall const& _functionCall). | Kristofer Peterson | 2018-11-10 | 3 | -1/+11 |
| | | | | | | Visit method now cleanly determines if node represents a function call, struct construction or type conversion. Type checking, validation and error message logic is moved to separate methods. | ||||
* | Merge pull request #5128 from ethereum/breakUnbreak | chriseth | 2018-11-09 | 4 | -5/+74 |
|\ | | | | | [Yul] Test case that shows that break / unbreak are more or less inverse | ||||
| * | Test case that shows that break/unbreak are more or less inverse. | chriseth | 2018-11-09 | 4 | -5/+74 |
| | | |||||
* | | Reset yul string repository. | chriseth | 2018-11-09 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #5265 from ethereum/cleanupsha3 | chriseth | 2018-11-09 | 4 | -4/+4 |
|\ \ | |/ |/| | Simplify sha3. | ||||
| * | Renamed SHA3.{h,cpp} files. | chriseth | 2018-10-18 | 4 | -4/+4 |
| | | |||||
* | | Remove side-effect-free statements. | chriseth | 2018-11-09 | 2 | -3/+9 |
| | | |||||
* | | Merge pull request #5325 from ethereum/fixDataFlow | chriseth | 2018-11-08 | 2 | -0/+104 |
|\ \ | | | | | | | [Yul] Fix data flow analyzer for function definitions. | ||||
| * | | Fix data flow analyzer for function definitions. | chriseth | 2018-11-08 | 2 | -0/+104 |
| | | | |||||
* | | | Merge pull request #5365 from ethereum/improveNameDispenser | chriseth | 2018-11-08 | 13 | -63/+63 |
|\ \ \ | | | | | | | | | [Yul] Use single counter for name dispenser for performance reasons. | ||||
| * | | | Use single counter for name dispenser for performance reasons. | chriseth | 2018-11-08 | 13 | -63/+63 |
| | | | | |||||
* | | | | Merge pull request #5366 from ethereum/addVarDecl | chriseth | 2018-11-08 | 1 | -1/+5 |
|\ \ \ \ | | | | | | | | | | | [Yul] Add VarDeclPropagator to full suite and interactive optimizer. | ||||
| * | | | | Add VarDeclPropagator to full suite and interactive optimizer. | chriseth | 2018-11-08 | 1 | -1/+5 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #5351 from ethereum/functionTypeConversion | chriseth | 2018-11-08 | 13 | -0/+128 |
|\ \ \ \ | | | | | | | | | | | Relax type equality requirement of function types during conversion in code generation. | ||||
| * | | | | Function type conversion test cases. | Daniel Kirchner | 2018-11-08 | 13 | -0/+128 |
| | | | | | |||||
* | | | | | Merge pull request #5348 from ethereum/boostRationalNegativeDenominatorFix | chriseth | 2018-11-08 | 1 | -0/+5 |
|\ \ \ \ \ | |_|/ / / |/| | | | | Fix negative denominator in ``boost::rational`` during exponentiation. | ||||
| * | | | | Fix negative denominator in ``boost::rational`` during exponentiation. | Daniel Kirchner | 2018-11-06 | 1 | -0/+5 |
| |/ / / | |||||
* | | | | Merge pull request #5327 from ethereum/rematerializerSmall | chriseth | 2018-11-08 | 1 | -1/+5 |
|\ \ \ \ | |_|/ / |/| | | | Add rematerializer to interactive optimizer. | ||||
| * | | | Add rematerializer to interactive optimizer. | chriseth | 2018-10-28 | 1 | -1/+5 |
| | | | | |||||
* | | | | Performance: Replace string by special single-copy YulString class. | chriseth | 2018-11-08 | 1 | -4/+4 |
| | | | | |||||
* | | | | Eliminate `byte`-typedef and use `uint8_t` in all their places instead. | Christian Parpart | 2018-11-07 | 3 | -154/+154 |
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is made to (easily) be forward compatible with future C++ standards, in order to allow compiling the code with newer standards at some point in the future. * Removed the `using byte = uint8_t;` line from Common.h * Mechanically change all uses of `byte` to `uint8_t`. Tested with GCC 7.3 in C++11/14/17 modes :-) | ||||
* | | | Remove uses of boost::rational with negative denominator, which breaks with ↵ | Daniel Kirchner | 2018-11-06 | 1 | -2/+0 |
| | | | | | | | | | | | | boost 1.68. | ||||
* | | | Fixes crash while encoding too large arrays. | Erik Kundt | 2018-10-30 | 3 | -0/+26 |
| | | | |||||
* | | | Yul: Implements empty-var-decl-propagation | Christian Parpart | 2018-10-26 | 9 | -0/+105 |
|/ / | |||||
* | | Merge pull request #5273 from ethereum/interactiveOpt | chriseth | 2018-10-25 | 2 | -0/+228 |
|\ \ | | | | | | | [Yul] Interactive optimizer tool | ||||
| * | | Add redundant assign and ssa. | chriseth | 2018-10-24 | 1 | -1/+10 |
| | | | |||||
| * | | Interactive optimizer tool. | chriseth | 2018-10-24 | 2 | -0/+219 |
| | | | |||||
* | | | Merge pull request #5283 from ethereum/smt_fixed_bytes | chriseth | 2018-10-25 | 3 | -8/+16 |
|\ \ \ | | | | | | | | | [SMTChecker] Support FixedBytes | ||||
| * | | | Grouping of symbolic variables in the same file and support to FixedBytes | Leonardo Alt | 2018-10-25 | 3 | -8/+16 |
| |/ / | |||||
* | | | Merge pull request #5242 from ethereum/someChecks | chriseth | 2018-10-25 | 4 | -0/+44 |
|\ \ \ | | | | | | | | | Some well-formedness checks for the Yul AST. | ||||
| * | | | Added some tests. | chriseth | 2018-10-24 | 4 | -0/+44 |
| | | | | |||||
* | | | | Merge pull request #5271 from ethereum/fullSuite | chriseth | 2018-10-25 | 2 | -0/+29 |
|\ \ \ \ | | | | | | | | | | | [Yul] Full suite tests. | ||||
| * | | | | Full suite tests. | chriseth | 2018-10-25 | 2 | -0/+29 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #5296 from ethereum/setPragmaToArbitrary | chriseth | 2018-10-25 | 92 | -2012/+52 |
|\ \ \ \ | |/ / / |/| | | | Set pragma to arbitrary | ||||
| * | | | Remove pragma changer. | chriseth | 2018-10-24 | 1 | -2/+0 |
| | | | | |||||
| * | | | Set pragma to arbitrary. | chriseth | 2018-10-24 | 52 | -52/+52 |
| | | | | |||||
| * | | | Only run zeppelin as external tests. | chriseth | 2018-10-24 | 39 | -1958/+0 |
| | | | | |||||
* | | | | Merge pull request #5272 from ethereum/smt_special_vars | chriseth | 2018-10-24 | 10 | -17/+128 |
|\ \ \ \ | | | | | | | | | | | [SMTChecker] Support msg.*, tx.*, block.*, gasleft and blockhash | ||||
| * | | | | Add gasleft constraint and use full member access name | Leonardo Alt | 2018-10-23 | 2 | -0/+14 |
| | | | | | |||||
| * | | | | [SMTChecker] Support msg.*, tx.*, block.*, gasleft and blockhash | Leonardo Alt | 2018-10-19 | 9 | -17/+114 |
| | |/ / | |/| | | |||||
* | | | | Redundant assign eliminator. | chriseth | 2018-10-24 | 20 | -0/+413 |
| |/ / |/| | | |||||
* | | | Refactor `solidity::Token` into an `enum class` with `TokenTraits` helper ↵ | Christian Parpart | 2018-10-22 | 1 | -3/+3 |
|/ / | | | | | | | namespace | ||||
* | | Merge pull request #5256 from ethereum/lvalueCleanup | chriseth | 2018-10-19 | 1 | -0/+18 |
|\ \ | | | | | | | Lvalue cleanup | ||||
| * | | Add a test for delete x.length | chriseth | 2018-10-18 | 1 | -0/+18 |
| | | | |||||
* | | | Merge pull request #5267 from ethereum/ssatransform | chriseth | 2018-10-19 | 12 | -0/+314 |
|\ \ \ | | | | | | | | | SSA transform - first step. | ||||
| * | | | SSA transform - first step. | chriseth | 2018-10-19 | 12 | -0/+314 |
| | |/ | |/| | |||||
* | | | Merge pull request #5260 from ethereum/flattenMore | chriseth | 2018-10-19 | 1 | -0/+22 |
|\ \ \ | | | | | | | | | Flatten more. | ||||
| * | | | Flatten more. | chriseth | 2018-10-18 | 1 | -0/+22 |
| | |/ | |/| | |||||
* | | | Merge pull request #5258 from ethereum/coverage2 | chriseth | 2018-10-19 | 2 | -0/+56 |
|\ \ \ | | | | | | | | | Add some simplification tests for operations. | ||||
| * | | | Add some simplification tests for operations. | chriseth | 2018-10-18 | 2 | -0/+56 |
| |/ / | |||||
* | | | Merge pull request #5213 from Mordax/issue-5103 | chriseth | 2018-10-19 | 1 | -0/+15 |
|\ \ \ | | | | | | | | | Tests for flipping signs on signed type edge case | ||||
| * | | | Added test for flipping signs on signed type edge case | mordax | 2018-10-16 | 1 | -0/+15 |
| | | | | |||||
* | | | | Merge pull request #5270 from ethereum/inlineFlexible | chriseth | 2018-10-19 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Make full inliner more flexible. | ||||
| * | | | | Make full inliner more flexible. | chriseth | 2018-10-18 | 1 | -1/+1 |
| | |_|/ | |/| | | |||||
* | | | | Fix a bug in CSE where a variable that was already out of scope was used. | chriseth | 2018-10-18 | 1 | -1/+1 |
| | | | | |||||
* | | | | Test case that shows a CSE bug related to scopes. | chriseth | 2018-10-18 | 1 | -0/+25 |
|/ / / | |||||
* | | | Merge pull request #5240 from ethereum/limitDispenserSize | chriseth | 2018-10-18 | 3 | -6/+40 |
|\ \ \ | |_|/ |/| | | [Yul] Limit name length created by dispenser | ||||
| * | | Limit size of generated names and add convenience constructors. | chriseth | 2018-10-17 | 3 | -6/+40 |
| | | | |||||
* | | | Merge pull request #5232 from ethereum/inlineHeuristic | chriseth | 2018-10-17 | 3 | -0/+97 |
|\ \ \ | |/ / |/| | | [Yul] Add simple inlining heuristic | ||||
| * | | Use metrics in the full inliner. | chriseth | 2018-10-17 | 3 | -0/+97 |
| | | | |||||
* | | | Handle externally supplied variables correctly in disambiguator. | chriseth | 2018-10-17 | 1 | -1/+1 |
|/ / | |||||
* | | Inline each function separately. | chriseth | 2018-10-16 | 2 | -41/+16 |
| | | |||||
* | | Test for crash via inlining. | chriseth | 2018-10-16 | 1 | -0/+84 |
| | | |||||
* | | New full inliner. | chriseth | 2018-10-16 | 10 | -56/+124 |
| | | |||||
* | | Add a "full simplify" test that applies multiple elementary transforms. | chriseth | 2018-10-16 | 17 | -0/+198 |
| | | |||||
* | | New simplifier via broken expressions. | chriseth | 2018-10-16 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #5225 from mestorlx/issue5007 | chriseth | 2018-10-16 | 1 | -0/+8 |
|\ \ | |/ |/| | Prevent crash in case there are no contracts | ||||
| * | fix issue##5007 | mestorlx | 2018-10-16 | 1 | -0/+8 |
| | | |||||
* | | Merge pull request #5226 from ethereum/chriseth-patch-3 | chriseth | 2018-10-16 | 1 | -1/+2 |
|\ \ | | | | | | | Correct include path | ||||
| * | | Correct include path | chriseth | 2018-10-16 | 1 | -1/+2 |
| | | | |||||
* | | | Merge pull request #5222 from ethereum/yul-block-flattener | chriseth | 2018-10-16 | 5 | -0/+93 |
|\ \ \ | |/ / |/| | | [WIP] Yul: Introduces a block flattening pass | ||||
| * | | Yul: Introduces a block flattening pass + tests | Christian Parpart | 2018-10-16 | 5 | -0/+93 |
| |/ | |||||
* / | Bug fix: Add missing include in test/Options.h; otherwise compiler does not ↵ | Bhargava Shastry | 2018-10-15 | 1 | -1/+1 |
|/ | | | | recognise the boost object that Options subclasses | ||||
* | [SMTChecker] Inline calls to internal functions | Leonardo Alt | 2018-10-15 | 22 | -7/+290 |
| | |||||
* | Merge pull request #5221 from ethereum/splitRenamingLeftovers | chriseth | 2018-10-15 | 1 | -1/+1 |
|\ | | | | | Some renaming leftovers. | ||||
| * | Some renaming leftovers. | chriseth | 2018-10-15 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #5208 from mestorlx/bug4156 | chriseth | 2018-10-15 | 3 | -0/+43 |
|\ \ | |/ |/| | [WIP] Bad identifier suggestion in certain cases | ||||
| * | Updated MAXIMUM_STRING_DISTANCE to non static maximumStringDistance taking ↵ | mestorlx | 2018-10-13 | 3 | -0/+43 |
| | | | | | | | | into account length of the identifier | ||||
* | | Renaming namespace dev::julia to dev::yul. | Christian Parpart | 2018-10-15 | 7 | -13/+13 |
| | | |||||
* | | Renaming libjulia to libyul | Christian Parpart | 2018-10-15 | 119 | -30/+30 |
| | | |||||
* | | Merge pull request #5149 from ethereum/fix_assertion_on_inval_tuple_call | chriseth | 2018-10-15 | 2 | -0/+16 |
|\ \ | | | | | | | Fixes invalid function calls to literals inside tuple assignment's LHS. | ||||
| * | | Fixes invalid function calls to literals inside tuple assignment's LHS. | Christian Parpart | 2018-10-15 | 2 | -0/+16 |
| |/ | |||||
* / | Also substitute variables in CSE. | chriseth | 2018-10-12 | 1 | -0/+27 |
|/ | |||||
* | Merge pull request #5127 from ethereum/exprUnbreaker | chriseth | 2018-10-12 | 17 | -0/+236 |
|\ | | | | | [Yul] Expression joiner. | ||||
| * | Expression joiner. | chriseth | 2018-10-12 | 17 | -0/+236 |
| | | |||||
* | | Merge pull request #5206 from ethereum/splitConstantsToo | chriseth | 2018-10-12 | 4 | -33/+56 |
|\ \ | | | | | | | [Yul] Split constants too | ||||
| * | | Also split constants. | chriseth | 2018-10-12 | 4 | -33/+56 |
| |/ | |||||
* | | Merge pull request #5145 from ethereum/hashLinker | chriseth | 2018-10-12 | 2 | -1/+19 |
|\ \ | |/ |/| | Hash linker | ||||
| * | Change library placeholder to `__$<hash>$__`. | chriseth | 2018-10-12 | 1 | -1/+1 |
| | | |||||
| * | Use hash for library placeholders. | chriseth | 2018-10-12 | 2 | -1/+19 |
| | | |||||
* | | Move unused pruner tests. | chriseth | 2018-10-12 | 12 | -129/+113 |
| | | |||||
* | | Move expression simplifier tests. | chriseth | 2018-10-12 | 18 | -178/+158 |
| | | |||||
* | | Move rematerialiser tests. | chriseth | 2018-10-12 | 19 | -179/+292 |
| | | |||||
* | | Move main function tests. | chriseth | 2018-10-12 | 7 | -87/+117 |
| | | |||||
* | | Move tests for full inliner. | chriseth | 2018-10-12 | 9 | -175/+205 |
| | | |||||
* | | Move expression inliner tests. | chriseth | 2018-10-12 | 9 | -95/+124 |
| | | |||||
* | | Move function hoister tests. | chriseth | 2018-10-12 | 7 | -85/+97 |
| | | |||||
* | | Move function grouper tests. | chriseth | 2018-10-12 | 7 | -85/+102 |
| | | |||||
* | | Move expression splitter tests. | chriseth | 2018-10-12 | 7 | -156/+106 |
| | | |||||
* | | Move common subexpression eliminator tests. | chriseth | 2018-10-12 | 8 | -102/+81 |
|/ | |||||
* | Remove old disambiguator test. | chriseth | 2018-10-11 | 1 | -105/+0 |
| | |||||
* | Disambiguator tests. | chriseth | 2018-10-11 | 9 | -0/+159 |
| | |||||
* | Add Yul optimizer test framework. | chriseth | 2018-10-11 | 6 | -2/+266 |
| | |||||
* | Combine test path discovery. | chriseth | 2018-10-11 | 5 | -41/+93 |
| | |||||
* | Extract test suite runs. | chriseth | 2018-10-11 | 1 | -36/+39 |
| | |||||
* | Extract function. | chriseth | 2018-10-11 | 1 | -19/+25 |
| | |||||
* | Adds syntax tests for array index access. | Erik Kundt | 2018-10-11 | 5 | -0/+31 |
| | |||||
* | Merge pull request #5195 from ethereum/unsigned-array-index | chriseth | 2018-10-11 | 4 | -0/+40 |
|\ | | | | | Do not crash on non-unsigned array index | ||||
| * | Fixes crash on non-unsigned array index. | Erik Kundt | 2018-10-11 | 4 | -0/+40 |
| | | |||||
* | | Improved error message for lookup in function types. | Martin Diz | 2018-10-10 | 5 | -0/+85 |
| | | |||||
* | | Merge pull request #5186 from ethereum/renameBreaker | chriseth | 2018-10-10 | 1 | -3/+3 |
|\ \ | | | | | | | Rename ExpressionBreaker to ExpressionSplitter. | ||||
| * | | Rename ExpressionBreaker to ExpressionSplitter. | chriseth | 2018-10-10 | 1 | -3/+3 |
| | | | |||||
* | | | Merge pull request #5134 from ethereum/fuzzer-input-file | chriseth | 2018-10-10 | 1 | -11/+27 |
|\ \ \ | |/ / |/| | | solfuzzer: adds --input-file=FILENAME command line argument (defaulting to stdin) | ||||
| * | | adds --input-file=FILENAME to solfuzzer | Christian Parpart | 2018-10-10 | 1 | -11/+27 |
| | | | |||||
* | | | Merge pull request #5184 from ethereum/viewFunctionDocs | chriseth | 2018-10-10 | 1 | -0/+25 |
|\ \ \ | |_|/ |/| | | Library view functions | ||||
| * | | Documents library view functions and adds unit test. | Erik Kundt | 2018-10-10 | 1 | -0/+25 |
| | | | |||||
* | | | Merge pull request #5180 from ethereum/cpp-cleanup | chriseth | 2018-10-10 | 4 | -5/+3 |
|\ \ \ | |_|/ |/| | | Some C++ cleanup | ||||
| * | | Do not require ctype/stdio if not needed | Alex Beregszaszi | 2018-10-10 | 2 | -2/+0 |
| | | | |||||
| * | | Use nullptr instead of NULL where appropriate | Alex Beregszaszi | 2018-10-10 | 2 | -3/+3 |
| | | | |||||
* | | | Merge pull request #5076 from ethereum/exprBreaker | chriseth | 2018-10-09 | 2 | -0/+253 |
|\ \ \ | | | | | | | | | [Yul] Expression breaker. | ||||
| * | | | Expression breaker. | chriseth | 2018-10-09 | 2 | -0/+253 |
| | | | | |||||
* | | | | Fixes large rational number literals being wrongly interpreted. | Christian Parpart | 2018-10-09 | 2 | -0/+18 |
|/ / / | | | | | | | | | | Fixes #5052. | ||||
* | | | Merge pull request #5124 from lazaridiscom/1802-hex-error-reporting | chriseth | 2018-10-09 | 1 | -4/+8 |
|\ \ \ | | | | | | | | | use Token type for hex error, draft re #1802 | ||||
| * | | | provide general hex-literal error message, fixes #1802 | Lazaridis | 2018-10-09 | 1 | -4/+8 |
| |/ / | | | | | | | | | | dummy | ||||
* / / | Fix commandline tests for release version. | chriseth | 2018-10-09 | 7 | -9/+4 |
|/ / | |||||
* | | Fix ast json test for function kind. | chriseth | 2018-10-09 | 2 | -1/+2 |
| | | |||||
* | | Merge pull request #4734 from ethereum/astUpdate | chriseth | 2018-10-09 | 29 | -10/+571 |
|\ \ | |/ |/| | JSON AST: replace ``isConstructor`` by ``kind`` which also supports fallbacks | ||||
| * | Restore ``isConstructor`` in the legacy AST. | Daniel Kirchner | 2018-09-11 | 13 | -0/+13 |
| | | |||||
| * | Add new test cases. | Daniel Kirchner | 2018-09-11 | 9 | -0/+548 |
| | | |||||
| * | Replace ``isConstructor`` field in the JSON AST by a ``kind`` field. | Daniel Kirchner | 2018-09-11 | 20 | -20/+20 |
| | | |||||
* | | soltest: provides sane defaults for --testpath command line option | Christian Parpart | 2018-10-08 | 1 | -0/+23 |
| | | |||||
* | | Fix typos. | chriseth | 2018-10-04 | 1 | -1/+1 |
| | | |||||
* | | Fixes #5051 (introduced in #4684), effectively allowing underscores in ↵ | Christian Parpart | 2018-10-02 | 1 | -0/+1 |
| | | | | | | | | address literals. | ||||
* | | Merge pull request #5104 from ethereum/fuzzer | chriseth | 2018-10-01 | 1 | -45/+26 |
|\ \ | | | | | | | Do not use compileJSON wrapper in the fuzzer | ||||
| * | | Do not use compileJSON wrapper in the fuzzer | Alex Beregszaszi | 2018-09-29 | 1 | -45/+26 |
| | | | |||||
* | | | Merge pull request #5115 from mestorlx/cleancircleci | chriseth | 2018-10-01 | 1 | -2/+8 |
|\ \ \ | | | | | | | | | removed stray (B in CI test output | ||||
| * | | | removed stray (B in CI test output | Martin Diz | 2018-09-29 | 1 | -2/+8 |
| | | | | |||||
* | | | | Merge pull request #5075 from ethereum/fixInliner | chriseth | 2018-10-01 | 1 | -0/+35 |
|\ \ \ \ | |_|/ / |/| | | | [Yul] Fix inliner | ||||
| * | | | Fix for inlining inside conditions. | chriseth | 2018-10-01 | 1 | -30/+30 |
| | | | | |||||
| * | | | Tests for inlining inside condition. | chriseth | 2018-09-25 | 1 | -0/+35 |
| | | | | |||||
* | | | | Merge pull request #4676 from jwasinger/extcodehash | Alex Beregszaszi | 2018-09-28 | 2 | -0/+17 |
|\ \ \ \ | | | | | | | | | | | Add support for EXTCODEHASH | ||||
| * | | | | Add LLL tests for EXTCODEHASH | Alex Beregszaszi | 2018-09-26 | 1 | -0/+4 |
| | | | | | |||||
| * | | | | Add test for extcodehash | Alex Beregszaszi | 2018-09-26 | 1 | -0/+13 |
| | | | | | |||||
* | | | | | Be more strict about values in the optimizer block in StandardJSON | Alex Beregszaszi | 2018-09-26 | 1 | -0/+65 |
|/ / / / | |||||
* | | | | Merge pull request #5061 from ethereum/fixedSizeArrayLength | chriseth | 2018-09-26 | 4 | -2/+32 |
|\ \ \ \ | | | | | | | | | | | Disallow fixed-size arrays with zero length | ||||
| * | | | | Moves length check to reference resolver. | Erik Kundt | 2018-09-22 | 5 | -8/+32 |
| | | | | | |||||
| * | | | | Disallows fixed-size multidim. arrays with zero-length. | Erik Kundt | 2018-09-22 | 1 | -0/+6 |
| | | | | | |||||
* | | | | | CREATE2 is part of Constantinople now | Alex Beregszaszi | 2018-09-26 | 1 | -5/+7 |
| | | | | | | | | | | | | | | | | | | | | Also add hasCreate2 to EVMVersion | ||||
* | | | | | Better regex for finding version pragmas and replace it with >=0.0 | Alex Beregszaszi | 2018-09-26 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | There is a bug which stops ^0 from working. | ||||
* | | | | | Automatically replace version pragmas in compilation tests | Alex Beregszaszi | 2018-09-26 | 1 | -0/+2 |
| | | | | | |||||
* | | | | | Require 0.5.0 in contract tests | Alex Beregszaszi | 2018-09-26 | 3 | -3/+3 |
| | | | | | |||||
* | | | | | Turn on patch to replace version pragmas for Zeppelin | Alex Beregszaszi | 2018-09-26 | 1 | -2/+2 |
| |/ / / |/| | | | | | | | | | | | An also replace every single one of them with ^0 | ||||
* | | | | Merge pull request #5034 from liangdzou/fix_test_format_issue | chriseth | 2018-09-25 | 1 | -2/+4 |
|\ \ \ \ | |_|/ / |/| | | | fix format issue for test files to enable the format checker in PR #5027 | ||||
| * | | | fix format issue for test files | liangdzou | 2018-09-24 | 1 | -2/+4 |
| |/ / | |||||
* | | | Merge pull request #5003 from herrBez/cleanUpdated | chriseth | 2018-09-24 | 12 | -0/+106 |
|\ \ \ | | | | | | | | | Add syntax tests to fix #4627 | ||||
| * | | | Add syntax tests to augment the test coverage of | herrBez | 2018-09-21 | 12 | -0/+106 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libsolidity/parsing/Scanner.cpp and libsolidity/parsing/Scanner.h Fix #4627 and PR #5003. - Add multiline comment test - Add upper case hex literal test - Add test for unicode escapes - Add test for strings with escaped newlines - Add test for string escapes - Add test for strings that do not terminate before end of file - Add test for unterminated blocks | ||||
* | | | Merge pull request #5050 from ethereum/standard-json-crashes | Alex Beregszaszi | 2018-09-21 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Add proper error reporting when invalid settings are provided in StandardJSON | ||||
| * | | | Add proper error reporting when invalid settings are provided in StandardJSON | Alex Beregszaszi | 2018-09-21 | 1 | -1/+1 |
| |/ / | |||||
* | | | Merge pull request #5030 from ethereum/payableConversion | chriseth | 2018-09-21 | 6 | -0/+40 |
|\ \ \ | | | | | | | | | Make non-payable default for conversion to address. | ||||
| * | | | Make non-payable default for conversion to address. | chriseth | 2018-09-20 | 6 | -0/+40 |
| |/ / | |||||
* / / | Disallow uppercase X in hex number literals | hydai | 2018-09-19 | 1 | -0/+5 |
|/ / | |||||
* | | Merge pull request #4999 from liangdzou/fix_typo | chriseth | 2018-09-17 | 2 | -3/+3 |
|\ \ | | | | | | | fix some code format problems | ||||
| * | | fix some format typos | liangdzou | 2018-09-17 | 2 | -3/+3 |
| | | | |||||
* | | | Merge pull request #4984 from elopio/add-missing-inliner-test | chriseth | 2018-09-17 | 1 | -0/+3 |
|\ \ \ | |/ / |/| | | Add a missing tests for yul inliner optimization | ||||
| * | | Add a missing tests for yul inliner optimization | Leo Arias | 2018-09-16 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | | Do not set to ref for explicit conversion and add assertion for array | liangdzou | 2018-09-14 | 7 | -0/+67 |
|/ / | | | | | | | type conversion. Also, add some test cases for #4901 and #4948. | ||||
* | | Merge pull request #4968 from ethereum/alethUpdateCompatible | chriseth | 2018-09-14 | 2 | -31/+22 |
|\ \ | | | | | | | Fix tests for newer versions of aleth. | ||||
| * | | Disable blockhash test for constantinople due to changes between aleth versions. | Daniel Kirchner | 2018-09-13 | 1 | -29/+20 |
| | | | |||||
| * | | Use "pending", not "latest" during ``eth_call`` in ``sendMessage``. | Daniel Kirchner | 2018-09-13 | 1 | -2/+2 |
| | | | |||||
* | | | Merge pull request #4911 from ethereum/addressPayable | Daniel Kirchner | 2018-09-13 | 34 | -7/+1434 |
|\ \ \ | |/ / |/| | | Payable and non-payable address type. | ||||
| * | | Add ``stateMutability`` field to JSON AST for ``address`` types. | Daniel Kirchner | 2018-09-13 | 3 | -0/+1171 |
| | | | |||||
| * | | Add payable and non-payable state mutability to AddressType. | Daniel Kirchner | 2018-09-13 | 31 | -7/+263 |
| | | | |||||
* | | | give more information (at most 35 chars before and after) for too long lines | liangdzou | 2018-09-13 | 13 | -2/+82 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Update test suite to use address payable. | Daniel Kirchner | 2018-09-12 | 26 | -67/+121 |
| | | |||||
* | | Accept ``address payable`` during parsing. | Daniel Kirchner | 2018-09-11 | 19 | -1/+224 |
|/ | |||||
* | Update bug description, add regex and tests. | chriseth | 2018-09-10 | 1 | -0/+34 |
| | |||||
* | Tests. | chriseth | 2018-09-10 | 1 | -0/+40 |
| | |||||
* | Merge pull request #4912 from ethereum/fixNewline | chriseth | 2018-09-10 | 1 | -0/+106 |
|\ | | | | | Fix bugs in comments. | ||||
| * | Tests. | chriseth | 2018-09-06 | 1 | -0/+98 |
| | | |||||
| * | This fixes several bugs with regards to line breaks and comments: | chriseth | 2018-09-06 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | - any unicode line break (line feed, vertical tab, form feed, carriage return, NEL, LS and PS) is considered to terminate a single-line comment. The line break itself is considered to be the next token after the comment, leading to a parser error if it is not an ascii character (i.e. for NEL, LS and PS). - unterminated multiline comments are considered illegal tokens - '/** /' is considered an unterminated multiline comment (previously, whitespace was allowed before the last '/' | ||||
* | | Buglist check script supports json paths | Leonardo Alt | 2018-09-07 | 2 | -21/+155 |
|/ | |||||
* | Merge pull request #4872 from bakaoh/issue4716 | chriseth | 2018-09-06 | 1 | -0/+8 |
|\ | | | | | Crash when array index value is too large | ||||
| * | Fix #4716: Crash when array index value is too large | bakaoh | 2018-09-05 | 1 | -0/+8 |
| | | |||||
* | | Split IntegerType into IntegerType and AddressType. | Daniel Kirchner | 2018-09-05 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #4590 from ethereum/msgValueModifier | chriseth | 2018-09-05 | 7 | -1/+39 |
|\ \ | | | | | | | Warn if modifier uses msg.value in non-payable function | ||||
| * | | Fix endToEnd test | Leonardo Alt | 2018-09-04 | 1 | -0/+10 |
| | | | |||||
| * | | Turn warning into error. | chriseth | 2018-09-04 | 3 | -3/+3 |
| | | | |||||
| * | | Warns if modifier uses msg.value in non-payable function. | Erik Kundt | 2018-09-04 | 5 | -0/+28 |
| |/ | |||||
* | | Merge pull request #4895 from ethereum/abidecodesingle | chriseth | 2018-09-05 | 2 | -0/+12 |
|\ \ | | | | | | | Fix abi.decode returning single value. | ||||
| * | | Fix abi.decode returning single value. | chriseth | 2018-09-05 | 2 | -0/+12 |
| | | | |||||
* | | | Merge pull request #4866 from bakaoh/issue4743 | chriseth | 2018-09-05 | 38 | -45/+45 |
|\ \ \ | | | | | | | | | Fix#4743: Incorrect source location for nameless parameters | ||||
| * | | | Update test to correct source location for nameless parameters | bakaoh | 2018-08-31 | 38 | -45/+45 |
| | |/ | |/| | |||||
* | | | Merge pull request #4880 from ethereum/fix_cmdlineTest_tmpdir | chriseth | 2018-09-05 | 1 | -13/+13 |
|\ \ \ | |_|/ |/| | | Rename TMPDIR to SOLTMPDIR in cmdlineTests | ||||
| * | | mktemp might use variable TMPDIR. Renaming it in our script to avoid conflicts. | Leonardo Alt | 2018-09-03 | 1 | -13/+13 |
| |/ | |||||
* | | Merge pull request #4888 from ↵ | chriseth | 2018-09-04 | 5 | -0/+58 |
|\ \ | | | | | | | | | | | | | ethereum/disallow_single_statement_vardecl_if_while_for Disallow single statement var decl in if/while/for without blocks | ||||
| * | | Changed error message and added tests | Leonardo Alt | 2018-09-04 | 5 | -0/+58 |
| |/ | |||||
* | | Add another end-to-end test. | Daniel Kirchner | 2018-09-04 | 1 | -0/+127 |
| | | |||||
* | | Update compilation tests. | Daniel Kirchner | 2018-09-04 | 4 | -16/+11 |
| | | |||||
* | | Add return data to bare calls. | Daniel Kirchner | 2018-09-04 | 10 | -92/+212 |
| | | |||||
* | | Remove trailing whitespace for all files in the repository. | Daniel Kirchner | 2018-09-04 | 2 | -6/+6 |
|/ | |||||
* | Dynamic type as mapping key returns error instead of assertion fail | Leonardo Alt | 2018-08-16 | 6 | -0/+34 |
| | |||||
* | Merge pull request #4822 from ethereum/addressStaticCall | chriseth | 2018-08-16 | 3 | -1/+120 |
|\ | | | | | Add ``staticcall`` to ``address``. | ||||
| * | Add syntax test for ``address.staticcall.value``. | Daniel Kirchner | 2018-08-15 | 1 | -0/+15 |
| | | |||||
| * | Add view pure checker tests for ``address.staticcall(...)``. | Daniel Kirchner | 2018-08-15 | 1 | -1/+20 |
| | | |||||
| * | Add ``staticcall`` to ``address``. | Daniel Kirchner | 2018-08-15 | 2 | -0/+85 |
| | | |||||
* | | Review suggestions | Leonardo Alt | 2018-08-15 | 3 | -3/+3 |
| | | |||||
* | | Add end to end tests | Leonardo Alt | 2018-08-15 | 1 | -0/+203 |
| | | |||||
* | | Disallow indexed reference types in events when using ABIEncoderV2 | Leonardo Alt | 2018-08-15 | 6 | -0/+41 |
|/ | |||||
* | Merge pull request #4390 from ethereum/abidecode | chriseth | 2018-08-15 | 9 | -0/+264 |
|\ | | | | | Add abi.decode | ||||
| * | Add abi.decode(bytes data, (...)) | chriseth | 2018-08-15 | 9 | -0/+264 |
| | | |||||
* | | Merge pull request #4583 from ethereum/nested_array_library_changelog | chriseth | 2018-08-15 | 2 | -0/+114 |
|\ \ | | | | | | | Bugfix Changelog entry regarding nested arrays returned by library functions | ||||
| * | | Update bug list and add regular expression to bug list and add test. | Leonardo Alt | 2018-08-14 | 2 | -0/+114 |
| | | | |||||
* | | | Fixes #4718: High CPU usage when using large variable names | bakaoh | 2018-08-15 | 3 | -0/+15 |
| |/ |/| | |||||
* | | Merge pull request #4738 from ethereum/dataloc_merged | chriseth | 2018-08-15 | 80 | -126/+318 |
|\ \ | | | | | | | Enforce data location. |