Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix bug related to state variables of function type accessed via base contract. | chriseth | 2018-11-30 | 1 | -3/+3 |
| | |||||
* | Replace IntegerType(256) with static function IntegerType::uint256() | hydai | 2018-11-29 | 4 | -19/+19 |
| | |||||
* | Allow mapping arguments for public and external library functions. | Daniel Kirchner | 2018-11-26 | 1 | -0/+2 |
| | |||||
* | Merge pull request #5404 from ethereum/jumpFixes | chriseth | 2018-11-26 | 2 | -2/+8 |
|\ | | | | | Annotate jump from calldata decode to function as "jump in". | ||||
| * | Use "in" tag for jumps from unpacker to function. | chriseth | 2018-11-26 | 2 | -2/+8 |
| | | |||||
* | | Merge pull request #5497 from ethereum/langutil-SourceReferenceFormatter | chriseth | 2018-11-26 | 1 | -1/+1 |
|\ \ | | | | | | | Moving SourceReferenceFormatter into langutil namespace. | ||||
| * | | Moving SourceReferenceFormatter into langutil namespace. | Christian Parpart | 2018-11-24 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #5485 from ethereum/refactorCallableFunction | chriseth | 2018-11-26 | 1 | -1/+1 |
|\ \ | |/ |/| | Refactor callable function | ||||
| * | Use callable function for virtual resolution. | chriseth | 2018-11-22 | 1 | -1/+1 |
| | | |||||
* | | Isolating libyul library API into its own namespace `yul`. | Christian Parpart | 2018-11-23 | 2 | -11/+11 |
| | | |||||
* | | Reorder some include files and group <libyul/>'s together (as much as possible) | Christian Parpart | 2018-11-23 | 2 | -6/+5 |
| | | |||||
* | | Rewrite header paths to adapt to recent `git mv` of libsolidity/inlineasm to ↵ | Christian Parpart | 2018-11-23 | 2 | -6/+6 |
| | | | | | | | | libyul | ||||
* | | Add assert and tests for bound functions | Leonardo Alt | 2018-11-22 | 1 | -0/+3 |
|/ | |||||
* | Introduce namespace `langutil` in liblangutil directory. | Christian Parpart | 2018-11-22 | 7 | -22/+29 |
| | | | | | | | 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 | 8 | -10/+10 |
| | |||||
* | Removing redundant virtual from override function declaration | mordax | 2018-11-21 | 3 | -38/+38 |
| | | | | | | Remove trailing whitespace Remove changelog change | ||||
* | Do not perform cleanup on unsigned integers when loading from calldata. | chriseth | 2018-11-15 | 1 | -1/+8 |
| | |||||
* | Merge pull request #5265 from ethereum/cleanupsha3 | chriseth | 2018-11-09 | 1 | -1/+1 |
|\ | | | | | Simplify sha3. | ||||
| * | Renamed SHA3.{h,cpp} files. | chriseth | 2018-10-18 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #5351 from ethereum/functionTypeConversion | chriseth | 2018-11-08 | 1 | -2/+16 |
|\ \ | | | | | | | Relax type equality requirement of function types during conversion in code generation. | ||||
| * | | Function type conversion test cases. | Daniel Kirchner | 2018-11-08 | 1 | -4/+16 |
| | | | |||||
| * | | Relax identity requirement of function type conversions during code generation. | Daniel Kirchner | 2018-11-06 | 1 | -0/+2 |
| | | | |||||
* | | | Performance: Replace string by special single-copy YulString class. | chriseth | 2018-11-08 | 1 | -2/+3 |
|/ / | |||||
* | | Merge pull request #5316 from lazaridiscom/4891-memory-store-asserts | chriseth | 2018-10-29 | 1 | -21/+37 |
|\ \ | | | | | | | refine memory-store assertions, closes #4891 | ||||
| * | | refine memory-store assertions, closes #4891 | Lazaridis | 2018-10-27 | 1 | -21/+37 |
| | | | |||||
* | | | Refactor `solidity::Token` into an `enum class` with `TokenTraits` helper ↵ | Christian Parpart | 2018-10-22 | 2 | -26/+26 |
| | | | | | | | | | | | | namespace | ||||
* | | | Merge pull request #5256 from ethereum/lvalueCleanup | chriseth | 2018-10-19 | 1 | -42/+7 |
|\ \ \ | | | | | | | | | Lvalue cleanup | ||||
| * | | | Removed unreachable cases in LValue.cpp. | chriseth | 2018-10-18 | 1 | -42/+7 |
| | |/ | |/| | |||||
* / | | Assert about some removed language concepts in the code generator. | chriseth | 2018-10-18 | 1 | -10/+9 |
|/ / | |||||
* | | Prevent externally used functions from being removed. | chriseth | 2018-10-17 | 5 | -10/+29 |
| | | |||||
* | | Renaming namespace dev::julia to dev::yul. | Christian Parpart | 2018-10-15 | 2 | -10/+10 |
|/ | |||||
* | Use empty() instead of size() == 0 | Alex Beregszaszi | 2018-10-09 | 1 | -1/+1 |
| | |||||
* | Fix typos. | chriseth | 2018-10-04 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4962 from anurag-git/anurag_issue_3667-1 | chriseth | 2018-10-01 | 3 | -13/+0 |
|\ | | | | | Removed default case from "ExpressionCompiler::visit(FunctionCall...)". | ||||
| * | Removing extra default cases to force compile time error, instead of runtime. | Anurag Dashputre | 2018-09-30 | 2 | -11/+0 |
| | | |||||
| * | Removed default case from "ExpressionCompiler::visit(FunctionCall...)". | Anurag Dashputre | 2018-09-13 | 1 | -2/+0 |
| | | |||||
* | | fix typo | liangdzou | 2018-09-20 | 1 | -3/+3 |
| | | |||||
* | | fixing rebase conflicts | Jordan Last | 2018-09-14 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add ElementaryTypes::BytesMemory and ElementaryTypes::StringMemory fix rebase conflicts fixing rebase conflicts use make_shared instead of new fix tabs and StateMutability parameter create address and addressType functions, fix spaces in comment fix typo and switch nonpayable to payable fix spaces fix comment again | ||||
* | | Add payable and non-payable state mutability to AddressType. | Daniel Kirchner | 2018-09-13 | 2 | -5/+20 |
|/ | |||||
* | Always perform cleanup for EXP. | chriseth | 2018-09-10 | 1 | -1/+3 |
| | |||||
* | Split IntegerType into IntegerType and AddressType. | Daniel Kirchner | 2018-09-05 | 3 | -17/+52 |
| | |||||
* | Merge pull request #4895 from ethereum/abidecodesingle | chriseth | 2018-09-05 | 1 | -1/+5 |
|\ | | | | | Fix abi.decode returning single value. | ||||
| * | Fix abi.decode returning single value. | chriseth | 2018-09-05 | 1 | -1/+5 |
| | | |||||
* | | Remove trailing whitespace. | Daniel Kirchner | 2018-09-04 | 1 | -1/+1 |
|/ | |||||
* | Add return data to bare calls. | Daniel Kirchner | 2018-09-04 | 1 | -22/+45 |
| | |||||
* | Remove trailing whitespace for all files in the repository. | Daniel Kirchner | 2018-09-04 | 1 | -6/+6 |
| | |||||
* | Removed unused "FunctionType::Kind::CallCode" from Types.h and all its usage | Anurag Dashputre | 2018-08-23 | 1 | -4/+2 |
| | |||||
* | Merge pull request #4825 from ethereum/expressionCompBareCall | chriseth | 2018-08-16 | 1 | -5/+5 |
|\ | | | | | More safeguards for (library) function types. | ||||
| * | More safeguards for (library) function types. | chriseth | 2018-08-15 | 1 | -5/+5 |
| | | |||||
* | | Add ``staticcall`` to ``address``. | Daniel Kirchner | 2018-08-15 | 1 | -3/+8 |
|/ | |||||
* | Add abi.decode(bytes data, (...)) | chriseth | 2018-08-15 | 1 | -0/+21 |
| | |||||
* | Rename FunctionKind SHA3 to KECCAK256 (as the instruction was renamed in ↵ | Alex Beregszaszi | 2018-08-09 | 1 | -1/+1 |
| | | | | libevmasm) | ||||
* | Remove code generation for Throw statement | Alex Beregszaszi | 2018-08-09 | 1 | -4/+2 |
| | | | | It is disallowed in the type system. | ||||
* | Merge pull request #4753 from mattaereal/boost-to-string-patch | Alex Beregszaszi | 2018-08-08 | 1 | -1/+1 |
|\ | | | | | Replace boost:lexical_cast<std::string> for std::to_string. | ||||
| * | Removing std:: from std::to_string and include for boost/lexical_cast | Matías Aereal Aeón | 2018-08-08 | 1 | -1/+1 |
| | | |||||
* | | Remove remaining instances of ``fillRight`` left over from tuple wildcards ↵ | Daniel Kirchner | 2018-08-08 | 1 | -10/+2 |
| | | | | | | | | assignments. | ||||
* | | Remove clone feature. | chriseth | 2018-08-07 | 4 | -73/+0 |
| | | |||||
* | | FixedBytes(0) is invalid, do not check for it in ABIEncoderV2 | Alex Beregszaszi | 2018-08-06 | 1 | -1/+2 |
| | | |||||
* | | Renamed FunctionType::hasEqualArgumentTypes to ↵ | Jesse Busman | 2018-08-06 | 1 | -1/+1 |
|/ | | | | FunctionType::hasEqualParameterTypes | ||||
* | Merge pull request #4327 from ethereum/document-internals | chriseth | 2018-08-02 | 1 | -0/+4 |
|\ | | | | | Properly explain all the analsys steps in CompilerStack | ||||
| * | Properly explain all the analsys steps in CompilerStack | Alex Beregszaszi | 2018-07-31 | 1 | -0/+4 |
| | | |||||
* | | Isolate determining the encoding type into its own function. | chriseth | 2018-08-01 | 2 | -26/+9 |
|/ | |||||
* | Fix abiDecode comment | Leonardo Alt | 2018-07-24 | 1 | -3/+3 |
| | |||||
* | Changes in ExpressionCompiler | Leonardo Alt | 2018-07-19 | 1 | -50/+39 |
| | |||||
* | Disallow multi variable declarations with mismatching number of values. | Daniel Kirchner | 2018-07-13 | 1 | -8/+7 |
| | |||||
* | Merge pull request #4479 from ethereum/fixFixedPointCrash | Alex Beregszaszi | 2018-07-12 | 1 | -3/+7 |
|\ | | | | | Fix handling of fixed point types in arithmetics. | ||||
| * | Fix handling of fixed point types in arithmetics. | chriseth | 2018-07-11 | 1 | -3/+7 |
| | | |||||
* | | Merge pull request #4428 from ethereum/enforce_staticcall_view | chriseth | 2018-07-12 | 1 | -5/+1 |
|\ \ | | | | | | | [BREAKING] Enforce STATICCALL for view and pure | ||||
| * | | Use STATICCALL for view and pure | Leonardo Alt | 2018-07-11 | 1 | -5/+1 |
| |/ | |||||
* | | Merge pull request #4083 from ethereum/variable_stack_slot | chriseth | 2018-07-12 | 6 | -42/+129 |
|\ \ | | | | | | | [BREAKING] Allocate local variables according to their scope | ||||
| * | | Added assertion and tests suggestions | Leonardo Alt | 2018-07-11 | 3 | -3/+17 |
| | | | |||||
| * | | Add more tests and assertions | Leonardo Alt | 2018-07-11 | 3 | -0/+4 |
| | | | |||||
| * | | Added tests and review suggestions | Leonardo Alt | 2018-07-11 | 4 | -22/+22 |
| | | | |||||
| * | | [050] Reserving and popping local vars in their scope | Leonardo Alt | 2018-07-11 | 4 | -41/+110 |
| | | | |||||
* | | | Merge pull request #4472 from ethereum/complexCalldataArraysNotYetImplemented | chriseth | 2018-07-12 | 1 | -1/+2 |
|\ \ \ | |_|/ |/| | | Throw unimplemented exception for complex calldata arrays. | ||||
| * | | Throw unimplemented exception for complex calldata arrays. | chriseth | 2018-07-11 | 1 | -1/+2 |
| |/ | |||||
* / | Code, Changelog, ReleaseChecklist: Fix typos. | Cryptomental | 2018-07-11 | 3 | -5/+5 |
|/ | | | | Refs: #4442 | ||||
* | Fix allocation of byte arrays. | chriseth | 2018-07-05 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4224 from ethereum/revert_wrong_calldata | chriseth | 2018-07-02 | 3 | -48/+34 |
|\ | | | | | [BREAKING] Revert if calldata has wrong size | ||||
| * | Revert if calldata is too short or points out of bounds | Leonardo Alt | 2018-06-26 | 3 | -48/+34 |
| | | |||||
* | | Save double encode call for sha3. | chriseth | 2018-06-25 | 1 | -8/+16 |
| | | |||||
* | | Bare functions take single bytes argument. | chriseth | 2018-06-25 | 1 | -56/+15 |
| | | |||||
* | | Single bytes argument. | chriseth | 2018-06-25 | 1 | -11/+28 |
|/ | | | | | In 0.5.0 mode, only accept a single bytes argument for ``.call``, ``keccak256`` and others and do not pad when encoding. | ||||
* | Change comments | Alex Beregszaszi | 2018-06-14 | 3 | -5/+5 |
| | |||||
* | Merge pull request #4272 from ethereum/assert-break-continue | chriseth | 2018-06-13 | 1 | -4/+4 |
|\ | | | | | Fail if break/continue statements are used outside for/while loops in ContractCompiler | ||||
| * | Fail if break/continue statements are used outside for/while loops in ↵ | Alex Beregszaszi | 2018-06-12 | 1 | -4/+4 |
| | | | | | | | | ContractCompiler | ||||
* | | Properly pad data from calldata. | chriseth | 2018-06-13 | 1 | -6/+11 |
| | | |||||
* | | Extend explanatory remark and argue using bitwise operations instead of ↵ | Daniel Kirchner | 2018-06-12 | 1 | -6/+14 |
| | | | | | | | | rounding. | ||||
* | | Use proper SAR for signed right shifts and emulate on pre-constantinople. | Daniel Kirchner | 2018-06-12 | 1 | -4/+21 |
|/ | |||||
* | Fixes assembly bug and adds tests to cover it. | Erik Kundt | 2018-05-30 | 1 | -5/+4 |
| | |||||
* | Adds syntax tests, documentation and changelog entry. | Erik Kundt | 2018-05-30 | 2 | -2/+2 |
| | | | | Refines comment for array utility function. | ||||
* | Improves assembly and adds more tests. | Erik Kundt | 2018-05-30 | 2 | -32/+14 |
| | |||||
* | Implements pop() for byte arrays. | Erik Kundt | 2018-05-29 | 1 | -10/+65 |
| | |||||
* | Implements pop() for value type arrays. | bitshift | 2018-05-29 | 3 | -1/+64 |
| | |||||
* | Fix continue inside do-while. | Daniel Kirchner | 2018-05-17 | 1 | -12/+16 |
| | |||||
* | Fix revert with reason coming from a string variable | Alex Beregszaszi | 2018-05-09 | 2 | -1/+4 |
| | |||||
* | fixed grammar in error in CompilerUtils.cpp line 399, 'less variables.' ↵ | njwest | 2018-05-07 | 1 | -3/+3 |
| | | | | should be 'fewer variables.' | ||||
* | Change bytes to unsigned in FixedBytesType | daniel | 2018-05-04 | 1 | -2/+2 |
| | |||||
* | Removed signed shift right from the utilities. | chriseth | 2018-05-01 | 6 | -24/+24 |
| | |||||
* | Do not use SAR instead of SDIV in shifts because it rounds differently | Alex Beregszaszi | 2018-05-01 | 3 | -7/+10 |
| | |||||
* | Use native shift instructions in ABIFunctions on Constantinople | Alex Beregszaszi | 2018-05-01 | 3 | -26/+70 |
| | |||||
* | Use native shift instructions on Constantinople | Alex Beregszaszi | 2018-05-01 | 2 | -4/+19 |
| | |||||
* | Add virtual destructor in LValue class. | Alexander Arlt | 2018-04-25 | 1 | -0/+1 |
| | |||||
* | Remove redundant cleanup for abi.encode. | Alex Beregszaszi | 2018-04-16 | 1 | -2/+1 |
| | |||||
* | Properly force-clean for shortening bytesXX conversions. | chriseth | 2018-04-16 | 1 | -10/+9 |
| | |||||
* | Merge pull request #3364 from ethereum/revertWithReason | chriseth | 2018-04-13 | 6 | -12/+76 |
|\ | | | | | Revert with reason | ||||
| * | Use error signature for revert data. | chriseth | 2018-04-12 | 3 | -20/+24 |
| | | |||||
| * | Only forward returndata if EVM version supports it. | chriseth | 2018-04-12 | 2 | -1/+3 |
| | | |||||
| * | Bubble up error messages. | chriseth | 2018-04-12 | 5 | -11/+26 |
| | | |||||
| * | Allow error string for ``require``. | chriseth | 2018-04-12 | 1 | -0/+26 |
| | | |||||
| * | Code generator for revert with reason string. | chriseth | 2018-04-12 | 1 | -1/+18 |
| | | |||||
* | | Add abi.encode, abi.encodePacked, abi.encodeWithSelector and ↵ | Alex Beregszaszi | 2018-04-12 | 1 | -0/+102 |
|/ | | | | abi.encodeWithSignature. | ||||
* | Error when using no parentheses in modifier-style constructor calls. | Daniel Kirchner | 2018-04-10 | 1 | -3/+6 |
| | |||||
* | Move constructor argument override check to TypeChecker and reuse ↵ | Daniel Kirchner | 2018-04-09 | 2 | -28/+13 |
| | | | | annotations in ContractCompiler. | ||||
* | Merge pull request #3824 from ethereum/baseArgumentsEmptyParenthesis | Daniel Kirchner | 2018-04-05 | 1 | -2/+2 |
|\ | | | | | 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 | 1 | -2/+2 |
| | | | | | | | | arguments. | ||||
* | | More specific push implementation. | chriseth | 2018-04-04 | 3 | -13/+71 |
| | | |||||
* | | Create empty dynamic memory arrays more efficiently. | chriseth | 2018-04-04 | 2 | -8/+29 |
|/ | |||||
* | Merge pull request #3693 from ethereum/optimizeMLOAD | Alex Beregszaszi | 2018-04-03 | 2 | -25/+32 |
|\ | | | | | Optimize across MLOAD if MSIZE is not used. | ||||
| * | Optimize across MLOAD if MSIZE is not used. | chriseth | 2018-04-03 | 2 | -25/+32 |
| | | |||||
* | | Fix: Treat empty base constructor argument list as not provided. | chriseth | 2018-04-03 | 1 | -3/+5 |
|/ | |||||
* | Prevent encoding of weird types and support packed encoding of external ↵ | chriseth | 2018-03-29 | 1 | -1/+0 |
| | | | | function types. | ||||
* | Add runtimeOnly option to pushCombinedFunctionEntryLabel | Alex Beregszaszi | 2018-03-27 | 3 | -8/+8 |
| | |||||
* | Use shortcut for internal function calls to avoid runtime reference. | chriseth | 2018-03-27 | 1 | -1/+23 |
| | |||||
* | Decode dynamic data. | chriseth | 2018-03-21 | 3 | -17/+47 |
| | |||||
* | Move dynamic type removal out of the type system. | chriseth | 2018-03-21 | 1 | -5/+12 |
| | |||||
* | Simple size check for old ABI decoder. | chriseth | 2018-03-21 | 3 | -32/+97 |
| | |||||
* | Move the old ABI decoder code. | chriseth | 2018-03-20 | 4 | -105/+106 |
| | |||||
* | Merge pull request #3725 from ethereum/blockhashNoCall | chriseth | 2018-03-15 | 1 | -0/+3 |
|\ | | | | | Allow ``block.blockhash`` without it being called. | ||||
| * | Allow ``block.blockhash`` without being called. | chriseth | 2018-03-14 | 1 | -0/+3 |
| | | |||||
* | | Bugfix in virtual lookup for modifiers in libraries. | chriseth | 2018-03-13 | 3 | -5/+16 |
|/ | |||||
* | Properly skip cleanup if only enlarging storage array. | chriseth | 2018-03-09 | 1 | -2/+2 |
| | |||||
* | Warn about using loose inline assembly features as experimental 0.5.0 feature. | chriseth | 2018-03-07 | 1 | -0/+1 |
| | |||||
* | Use STATICCALL for pure function calls if EVM version supports it and 0.5.0 ↵ | chriseth | 2018-03-06 | 1 | -0/+9 |
| | | | | is activated. | ||||
* | Merge pull request #3652 from ethereum/gasleft_v2 | chriseth | 2018-03-06 | 1 | -5/+0 |
|\ | | | | | 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 | -5/+0 |
| | | | | | | | | in MagicType. | ||||
* | | Merge pull request #3599 from ethereum/sendAllGasOnByzantium | chriseth | 2018-03-06 | 1 | -10/+13 |
|\ \ | | | | | | | Send all gas on byzantium | ||||
| * | | Do not retain any gas in external calls (except if EVM version is set to ↵ | chriseth | 2018-03-06 | 1 | -10/+13 |
| | | | | | | | | | | | | homestead). | ||||
* | | | Merge pull request #3643 from ethereum/gasleft | chriseth | 2018-03-06 | 1 | -0/+8 |
|\ \ \ | |/ / |/| / | |/ | Move msg.gas to global function gasleft(). Closes #2971. | ||||
| * | Style improvements. | Daniel Kirchner | 2018-03-06 | 1 | -2/+5 |
| | | |||||
| * | Move msg.gas to global function gasleft(). Closes #2971. | Daniel Kirchner | 2018-03-05 | 1 | -1/+6 |
| | | |||||
* | | Use EVM version in gas meter and optimizer. | chriseth | 2018-03-05 | 4 | -5/+5 |
| | | |||||
* | | Provide EVM version to assembly analysis. | chriseth | 2018-03-02 | 1 | -0/+1 |
| | | |||||
* | | Provide target EVM version in CompilerContext. | chriseth | 2018-03-02 | 3 | -7/+17 |
|/ | |||||
* | Introduce emit statement. | chriseth | 2018-02-22 | 2 | -0/+10 |
| | |||||
* | Expect end of string at end of top-level block for assembly parser. | chriseth | 2018-02-21 | 1 | -1/+1 |
| | |||||
* | Make addmod and mulmod revert if the last argument is zero. | chriseth | 2018-02-15 | 1 | -1/+5 |
| | |||||
* | Allow `this.f.selector` to be pure. | chriseth | 2018-02-13 | 1 | -0/+24 |
| | |||||
* | Prevent libraries from being called. | chriseth | 2018-01-19 | 4 | -3/+81 |
| | |||||
* | Split inline assembly into loose and strict flavours. | chriseth | 2018-01-06 | 2 | -4/+9 |
| | |||||
* | Reset source location after using inline assembly. | chriseth | 2018-01-04 | 1 | -0/+3 |
| | |||||
* | Favour if over switch in ABI coder. | chriseth | 2017-12-15 | 1 | -14/+14 |
| | |||||
* | Cleanup and overflow checks for data pointers. | chriseth | 2017-11-30 | 4 | -23/+47 |
| | |||||
* | ABI decoder. | chriseth | 2017-11-30 | 6 | -4/+503 |
| | |||||
* | Use if statement in abi functions. | chriseth | 2017-11-22 | 1 | -3/+3 |
| | |||||
* | Add explanation to unimplemented assertions | Alex Beregszaszi | 2017-11-16 | 2 | -3/+3 |
| | |||||
* | Do not accept truncated function selectors. | chriseth | 2017-10-18 | 1 | -7/+4 |
| | |||||
* | Allocate one byte per memory byte array element instead of 32. | chriseth | 2017-10-17 | 1 | -2/+9 |
| | |||||
* | Merge pull request #2982 from ethereum/encoderFixes | Alex Beregszaszi | 2017-10-05 | 2 | -25/+18 |
|\ | | | | | ABI encoder fixes and test. | ||||
| * | Rename "compacted" to "fromStack". | chriseth | 2017-10-04 | 2 | -22/+18 |
| | | |||||
| * | ABI encoder fixes and test. | chriseth | 2017-09-27 | 1 | -5/+2 |
| | | |||||
* | | Merge pull request #3029 from ethereum/tanwisgas | Alex Beregszaszi | 2017-10-05 | 1 | -0/+3 |
|\ \ | | | | | | | Send all gas for 0.5.0. | ||||
| * | | Send all gas for 0.5.0. | chriseth | 2017-10-05 | 1 | -0/+3 |
| | | | |||||
* | | | Merge pull request #2968 from ethereum/calldataencodedsize | chriseth | 2017-10-05 | 1 | -0/+3 |
|\ \ \ | |/ / |/| | | Add some asserts about calldata encoded size. | ||||
| * | | Add some asserts about calldata encoded size. | chriseth | 2017-10-04 | 1 | -0/+3 |
| | | | |||||
* | | | Merge pull request #2962 from ethereum/optionalDebugInfoAsm | chriseth | 2017-10-04 | 1 | -5/+16 |
|\ \ \ | | | | | | | | | Debugging info in CompilerContext. | ||||
| * | | | Debugging info in CompilerContext. | chriseth | 2017-10-04 | 1 | -5/+16 |
| | | | | |||||
* | | | | Better readable encoder assembly. | chriseth | 2017-09-27 | 1 | -6/+28 |
| |_|/ |/| | | |||||
* | | | Split encodeToMemory to packedEncode and abiEncode | Alex Beregszaszi | 2017-09-27 | 4 | -18/+41 |
| | | | |||||
* | | | Make most of the parameters mandatory in encodeToMemory | Alex Beregszaszi | 2017-09-27 | 2 | -6/+6 |
| | | | |||||
* | | | Ensure that address types are always declared as 160bit | Alex Beregszaszi | 2017-09-27 | 3 | -6/+6 |
| |/ |/| | |||||
* | | Simplify switch statements by refactoring internal break statements | Alex Beregszaszi | 2017-09-25 | 2 | -24/+24 |
| | | |||||
* | | Avoid switch fallthrough in ExpressionCompiler | Alex Beregszaszi | 2017-09-25 | 1 | -26/+32 |
| | | |||||
* | | Avoid switch fallthrough in CompilerUtils | Alex Beregszaszi | 2017-09-25 | 1 | -6/+3 |
|/ | |||||
* | More verbose errors for generated assembly. | chriseth | 2017-09-22 | 1 | -2/+18 |
| | |||||
* | Mark functions static | Alex Beregszaszi | 2017-09-20 | 2 | -2/+2 |
| | |||||
* | Ensure parameter names match between headers and implementation | Alex Beregszaszi | 2017-09-20 | 1 | -2/+2 |
| | |||||
* | Implement struct encoder. | chriseth | 2017-09-16 | 3 | -6/+131 |
| | |||||
* | Update tests and error messages. | chriseth | 2017-09-16 | 1 | -1/+1 |
| | |||||
* | Move ABI encoder into its own function. | chriseth | 2017-09-16 | 5 | -66/+82 |
| | |||||
* | Named assembly labels. | chriseth | 2017-09-16 | 3 | -15/+8 |
| | |||||
* | Rename .sig to .selector on function types | Alex Beregszaszi | 2017-09-13 | 1 | -1/+1 |
| | |||||
* | Add sig member on function type | Alex Beregszaszi | 2017-09-13 | 1 | -1/+8 |
| | |||||
* | Introduce assemblyString | Alex Beregszaszi | 2017-09-11 | 2 | -4/+4 |
| | |||||
* | Do not return the stream in asssemblyStream | Alex Beregszaszi | 2017-09-11 | 2 | -4/+4 |
| | |||||
* | Split out the JSON functionality from assembly.stream() | Alex Beregszaszi | 2017-09-11 | 2 | -6/+15 |
| | |||||
* | Merge pull request #2847 from ethereum/codegen-docs | Alex Beregszaszi | 2017-08-29 | 3 | -1/+25 |
|\ | | | | | Document more of the codegen features | ||||
| * | Document more of the codegen features | Alex Beregszaszi | 2017-08-29 | 3 | -1/+25 |
| | | |||||
* | | Merge pull request #2833 from ethereum/statemutability-builtins | chriseth | 2017-08-29 | 1 | -1/+1 |
|\ \ | | | | | | | Mark all built in functions with appropriate statemutability | ||||
| * | | Swap declaration/statemutability in FunctionType constructor | Alex Beregszaszi | 2017-08-29 | 1 | -1/+1 |
| |/ | |||||
* / | Move all file specific globals to anonymous namespace | Alex Beregszaszi | 2017-08-29 | 1 | -0/+5 |
|/ | |||||
* | Mark to places fall-through | Alex Beregszaszi | 2017-08-25 | 2 | -0/+2 |
| | |||||
* | Remove fallthrough from ArrayUtils | Alex Beregszaszi | 2017-08-25 | 1 | -3/+3 |
| | |||||
* | Mark a lot of functions static (where possible) | Alex Beregszaszi | 2017-08-22 | 2 | -2/+2 |
| | |||||
* | Mark appropriate constructors explicit | Alex Beregszaszi | 2017-08-22 | 3 | -3/+3 |
| | |||||
* | Mark a lot of functions const (where possible) | Alex Beregszaszi | 2017-08-22 | 6 | -9/+9 |
| | |||||
* | Merge pull request #2704 from ethereum/newEncoder | chriseth | 2017-08-14 | 7 | -10/+1296 |
|\ | | | | | New ABI encoder | ||||
| * | Experimental feature switch for ABI encoder. | chriseth | 2017-08-14 | 3 | -2/+10 |
| | | |||||
| * | Remove unused magic global feature. | chriseth | 2017-08-14 | 2 | -10/+2 |
| | | |||||
| * | Interface for new ABI encoder. | chriseth | 2017-08-14 | 2 | -0/+40 |
| | | |||||
| * | New ABI encoder. | chriseth | 2017-08-14 | 2 | -0/+1246 |
| | | |||||
* | | Remove constant/payable in all function types | Alex Beregszaszi | 2017-08-14 | 1 | -2/+1 |
|/ | |||||
* | .delegatecall() should always return a boolean of execution status | Alex Beregszaszi | 2017-08-02 | 1 | -1/+1 |
| | |||||
* | Provide new account gas for low-level callcode/delegatecall | Alex Beregszaszi | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | Rename Bare to Barecall | Alex Beregszaszi | 2017-08-01 | 1 | -5/+5 |
| | |||||
* | Fix for invalid clearing of memory in ecrecover. | chriseth | 2017-07-28 | 1 | -1/+1 |
| | |||||
* | Remove the need of jumping out of the fallback | Alex Beregszaszi | 2017-07-28 | 1 | -8/+4 |
| | |||||
* | Merge pull request #2652 from ethereum/fixMultiModifier | chriseth | 2017-07-27 | 2 | -6/+11 |
|\ | | | | | Re-allow multiple modifiers per function. | ||||
| * | Re-allow multiple modifiers per function. | chriseth | 2017-07-27 | 2 | -6/+11 |
| | | |||||
* | | Merge pull request #2645 from ethereum/asserts | Alex Beregszaszi | 2017-07-27 | 2 | -14/+12 |
|\ \ | |/ |/| | Use solAssert where possible | ||||
| * | Use solAssert instead of boost throw where possible | Alex Beregszaszi | 2017-07-27 | 2 | -14/+12 |
| | | |||||
* | | Report location on stack too deep if possible | Alex Beregszaszi | 2017-07-27 | 2 | -1/+7 |
|/ | |||||
* | Change fixed point types to have digit count | VoR0220 | 2017-07-20 | 1 | -1/+1 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Fix internal "variable already present" error. | chriseth | 2017-07-05 | 1 | -0/+3 |
| | |||||
* | Add assert to shift helper | Alex Beregszaszi | 2017-07-03 | 1 | -0/+2 |
| | |||||
* | Use shift helper in LValue | Alex Beregszaszi | 2017-07-03 | 1 | -4/+2 |
| | |||||
* | More uses of shift helper | Alex Beregszaszi | 2017-07-03 | 1 | -6/+10 |
| | |||||
* | Change shiftNumberOnStack to bits | Alex Beregszaszi | 2017-07-03 | 3 | -13/+13 |
| | |||||
* | Use shift helper | Alex Beregszaszi | 2017-07-03 | 2 | -8/+8 |
| | |||||
* | Add shift helper to CompilerUtils | Alex Beregszaszi | 2017-07-03 | 2 | -0/+16 |
| | |||||
* | Abort early if there is nothing to encode or decode. | chriseth | 2017-06-30 | 2 | -3/+9 |
| | |||||
* | Document appendFunctionSelector | Alex Beregszaszi | 2017-06-29 | 1 | -0/+4 |
| | |||||
* | Stack adjustment and code generation for fallback function. | chriseth | 2017-06-29 | 1 | -4/+6 |
| | | | | This assumes that the fallback function does not have return parameters. | ||||
* | Fix negative stack size checks. | chriseth | 2017-06-28 | 2 | -0/+11 |
| | |||||
* | Merge pull request #2459 from ethereum/noComparisonForSomeTypes | Alex Beregszaszi | 2017-06-27 | 1 | -0/+1 |
|\ | | | | | No comparison for some types | ||||
| * | Disallow comparisons between some types. | chriseth | 2017-06-26 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #2453 from ethereum/memcopyAsForLoop | Alex Beregszaszi | 2017-06-27 | 2 | -23/+20 |
|\ \ | |/ |/| | Use for loop for assembly memcopy. | ||||
| * | Comment about zero length. | chriseth | 2017-06-27 | 1 | -0/+2 |
| | | |||||
| * | Reformat. | chriseth | 2017-06-26 | 1 | -6/+9 |
| | | |||||
| * | Use for loop for assembly memcopy. | chriseth | 2017-06-26 | 1 | -23/+15 |
| | | |||||
* | | Merge pull request #2460 from ethereum/disallowMultiModifier | Alex Beregszaszi | 2017-06-26 | 2 | -0/+5 |
|\ \ | |/ |/| | Disallow invoking the same modifier multiple times. | ||||
| * | Disallow invoking the same modifier multiple times. | chriseth | 2017-06-24 | 2 | -0/+5 |
| | | |||||
* | | Review suggestions. | chriseth | 2017-06-24 | 1 | -1/+1 |
| | | |||||
* | | Change invalid opcode to revert for input validation. | chriseth | 2017-06-24 | 6 | -20/+52 |
|/ | |||||
* | Merge pull request #2444 from ethereum/parser-scanner | Alex Beregszaszi | 2017-06-23 | 1 | -0/+1 |
|\ | | | | | Avoid including Scanner.h in ParserBase.h | ||||
| * | Avoid including Scanner.h in ParserBase.h | Alex Beregszaszi | 2017-06-23 | 1 | -0/+1 |
| | | |||||
* | | Fix ABI encoding of empty string literal. | chriseth | 2017-06-22 | 1 | -1/+1 |
|/ | |||||
* | Merge interface/Exceptions and interface/Utils | Alex Beregszaszi | 2017-06-22 | 3 | -2/+3 |
| | |||||
* | Move subroutine helpers from CompilerContext to Assembly | Alex Beregszaszi | 2017-06-15 | 1 | -3/+3 |
| | |||||
* | Remove obsolete errorTag() | Alex Beregszaszi | 2017-06-15 | 1 | -2/+0 |
| | |||||
* | Use inline assembly directly and not via AsmStack | Alex Beregszaszi | 2017-06-09 | 1 | -3/+17 |
| | |||||
* | Remove error reporter from code generation phase. | chriseth | 2017-06-08 | 1 | -5/+1 |
| | |||||
* | Initial EVM1.5 assembly implementation. | chriseth | 2017-06-08 | 2 | -7/+13 |
| | |||||
* | Merge pull request #2317 from ethereum/keccak256 | chriseth | 2017-05-31 | 4 | -8/+8 |
|\ | | | | | Use keccak256 in tests and replace the SHA3 instruction in assembly | ||||
| * | Rename the SHA3 assembly instruction to KECCAK256 | Alex Beregszaszi | 2017-05-30 | 4 | -8/+8 |
| | | |||||
* | | Refactor error reporting | Rhett Aultman | 2017-05-30 | 1 | -2/+3 |
|/ | | | | | | | | | This commit introduces ErrorReporter, a utility class which consolidates all of the error logging functionality into a common set of functions. It also replaces all direct interactions with an ErrorList with calls to an ErrorReporter. This commit resolves issue #2209 | ||||
* | Adapt EVM codegen to new namespace. | chriseth | 2017-05-26 | 2 | -9/+9 |
| | |||||
* | Merge pull request #1810 from ethereum/compactJson | chriseth | 2017-05-22 | 1 | -3/+3 |
|\ | | | | | Compact format for AST-Json. | ||||
| * | refactoring functionCallAnnotation | djudjuu | 2017-05-19 | 1 | -3/+3 |
| | | |||||
* | | Refactor to abstract assembly to JULIA. | chriseth | 2017-05-20 | 2 | -24/+28 |
|/ |