Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add opcode RAND support | Wei-Ning Huang | 2018-12-06 | 2 | -1/+2 |
| | | | | | | DEXON has a built-in on chain random oracle that allow one to retrieve a random variable. Add `rand` solidity variable is introduced to load the random variable onto the stack. | ||||
* | Merge pull request #5557 from ↵ | chriseth | 2018-12-03 | 1 | -21/+32 |
|\ | | | | | | | | | ethereum/fixInterfaceImplementedByPublicStateVariable Public state variables are implementing external functions. | ||||
| * | Public state variables are implementing external functions. | chriseth | 2018-12-03 | 1 | -21/+32 |
| | | |||||
* | | Merge pull request #5537 from ethereum/cp-SourceLocation-related-refactoring | chriseth | 2018-12-01 | 1 | -3/+3 |
|\ \ | |/ |/| | [1/3] SourceLocation related refactoring. | ||||
| * | liblangutil: SourceLocation: adds (shared) pointer to underlying CharStream ↵ | Christian Parpart | 2018-12-01 | 1 | -3/+3 |
| | | | | | | | | | | | | source, eliminating sourceName Also, adapted affecting code to those changes. | ||||
* | | Move library related checks. | chriseth | 2018-11-30 | 4 | -16/+16 |
| | | |||||
* | | Move hash collisions checks. | chriseth | 2018-11-30 | 3 | -13/+18 |
| | | |||||
* | | Move external type clash check. | chriseth | 2018-11-30 | 4 | -40/+40 |
| | | |||||
* | | Move fallback function checks. | chriseth | 2018-11-30 | 3 | -20/+25 |
| | | |||||
* | | Move constructor checks. | chriseth | 2018-11-30 | 3 | -16/+21 |
| | | |||||
* | | Rename functions. | chriseth | 2018-11-30 | 2 | -15/+15 |
| | | |||||
* | | No need to visit structs early. | chriseth | 2018-11-30 | 1 | -7/+1 |
| | | |||||
* | | Move base constructor argument checks. | chriseth | 2018-11-30 | 4 | -93/+97 |
| | | |||||
* | | Move abstract function check. | chriseth | 2018-11-30 | 4 | -46/+46 |
| | | |||||
* | | Move override checks. | chriseth | 2018-11-30 | 4 | -87/+88 |
| | | |||||
* | | Move duplication checks. | chriseth | 2018-11-30 | 4 | -92/+93 |
| | | |||||
* | | Add skeleton for contract level checker. | chriseth | 2018-11-30 | 2 | -0/+96 |
| | | |||||
* | | Disallow inline arrays of mapping type. | chriseth | 2018-11-30 | 1 | -0/+3 |
| | | |||||
* | | Report deprecation error on functions sha3 and suicide also without call. | Leonardo Alt | 2018-11-29 | 1 | -20/+17 |
| | | |||||
* | | Replace IntegerType(256) with static function IntegerType::uint256() | hydai | 2018-11-29 | 1 | -3/+3 |
| | | |||||
* | | Merge pull request #5526 from ethereum/fixGetterNewCoder | chriseth | 2018-11-29 | 1 | -10/+31 |
|\ \ | |/ |/| | Fix: Disallow structs in getters for old encoder. | ||||
| * | Properly check getter types to be old-abi-coder-compatible. | chriseth | 2018-11-28 | 1 | -10/+31 |
| | | |||||
* | | Remove obsolete comment. | chriseth | 2018-11-28 | 1 | -6/+1 |
|/ | |||||
* | Merge pull request #5382 from ethereum/libraryMappingPublic | chriseth | 2018-11-27 | 1 | -13/+15 |
|\ | | | | | Allow mapping arguments for public and external library functions. | ||||
| * | Allow mapping arguments for public and external library functions. | Daniel Kirchner | 2018-11-26 | 1 | -13/+15 |
| | | |||||
* | | Properly disallow different return types for interface overloads with ↵ | chriseth | 2018-11-26 | 1 | -3/+3 |
| | | | | | | | | different visibilities. | ||||
* | | Use asCallableFunction for definition clashes in the same contract. | chriseth | 2018-11-26 | 1 | -1/+3 |
| | | |||||
* | | Use asCallableFunction for external interface clash check. | chriseth | 2018-11-26 | 1 | -2/+2 |
| | | |||||
* | | Use callable types for override check. | chriseth | 2018-11-26 | 1 | -4/+4 |
| | | |||||
* | | Use asCallableFunction in override check (part 1). | chriseth | 2018-11-26 | 1 | -1/+1 |
|/ | |||||
* | Allow visibility change from external to public. | chriseth | 2018-11-26 | 1 | -9/+6 |
| | |||||
* | Merge pull request #5485 from ethereum/refactorCallableFunction | chriseth | 2018-11-26 | 1 | -16/+16 |
|\ | | | | | Refactor callable function | ||||
| * | Correct style. | chriseth | 2018-11-23 | 1 | -16/+16 |
| | | |||||
* | | Isolating libyul library API into its own namespace `yul`. | Christian Parpart | 2018-11-23 | 3 | -22/+22 |
| | | |||||
* | | Reorder some include files and group <libyul/>'s together (as much as possible) | Christian Parpart | 2018-11-23 | 2 | -2/+2 |
| | | |||||
* | | Rewrite header paths to adapt to recent `git mv` of libsolidity/inlineasm to ↵ | Christian Parpart | 2018-11-23 | 3 | -7/+7 |
|/ | | | | libyul | ||||
* | Introduce namespace `langutil` in liblangutil directory. | Christian Parpart | 2018-11-22 | 22 | -54/+109 |
| | | | | | | | 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 | 12 | -13/+13 |
| | |||||
* | Removing redundant virtual from override function declaration | mordax | 2018-11-21 | 10 | -119/+119 |
| | | | | | | Remove trailing whitespace Remove changelog change | ||||
* | Ignore unimplemented functions for storage returns. | Daniel Kirchner | 2018-11-13 | 1 | -2/+5 |
| | |||||
* | Refactor of bool TypeChecker::visit(FunctionCall const& _functionCall). | Kristofer Peterson | 2018-11-10 | 2 | -277/+521 |
| | | | | | | 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. | ||||
* | Performance: Replace string by special single-copy YulString class. | chriseth | 2018-11-08 | 1 | -4/+4 |
| | |||||
* | Refactor `solidity::Token` into an `enum class` with `TokenTraits` helper ↵ | Christian Parpart | 2018-10-22 | 5 | -16/+16 |
| | | | | namespace | ||||
* | Merge pull request #5208 from mestorlx/bug4156 | chriseth | 2018-10-15 | 1 | -4/+4 |
|\ | | | | | [WIP] Bad identifier suggestion in certain cases | ||||
| * | Updated MAXIMUM_STRING_DISTANCE to non static maximumStringDistance taking ↵ | mestorlx | 2018-10-13 | 1 | -4/+4 |
| | | | | | | | | into account length of the identifier | ||||
* | | Renaming namespace dev::julia to dev::yul. | Christian Parpart | 2018-10-15 | 2 | -7/+7 |
| | | |||||
* | | Fixes invalid function calls to literals inside tuple assignment's LHS. | Christian Parpart | 2018-10-15 | 1 | -2/+6 |
|/ | |||||
* | Merge pull request #5195 from ethereum/unsigned-array-index | chriseth | 2018-10-11 | 2 | -3/+6 |
|\ | | | | | Do not crash on non-unsigned array index | ||||
| * | Fixes crash on non-unsigned array index. | Erik Kundt | 2018-10-11 | 2 | -3/+6 |
| | | |||||
* | | Improved error message for lookup in function types. | Martin Diz | 2018-10-10 | 1 | -2/+19 |
|/ | |||||
* | Merge pull request #5180 from ethereum/cpp-cleanup | chriseth | 2018-10-10 | 2 | -2/+2 |
|\ | | | | | Some C++ cleanup | ||||
| * | Use empty() instead of size() == 0 | Alex Beregszaszi | 2018-10-09 | 2 | -2/+2 |
| | | |||||
* | | Fix pragma error suggestion. | chriseth | 2018-10-09 | 1 | -1/+1 |
|/ | |||||
* | Fix typos. | chriseth | 2018-10-04 | 1 | -4/+4 |
| | |||||
* | Fixes #5051 (introduced in #4684), effectively allowing underscores in ↵ | Christian Parpart | 2018-10-02 | 1 | -2/+2 |
| | | | | address literals. | ||||
* | Merge pull request #5061 from ethereum/fixedSizeArrayLength | chriseth | 2018-09-26 | 1 | -0/+2 |
|\ | | | | | Disallow fixed-size arrays with zero length | ||||
| * | Removes unnecessary check of array type. | Erik Kundt | 2018-09-26 | 1 | -3/+1 |
| | | |||||
| * | Simplifies zero-length check for fixed-size arrays. | Erik Kundt | 2018-09-22 | 1 | -3/+3 |
| | | |||||
| * | Moves length check to reference resolver. | Erik Kundt | 2018-09-22 | 2 | -5/+4 |
| | | |||||
| * | Disallows fixed-size multidim. arrays with zero-length. | Erik Kundt | 2018-09-22 | 1 | -0/+5 |
| | | |||||
* | | Removed extra whitespace. | Nicolás Venturo | 2018-09-26 | 1 | -1/+1 |
| | | |||||
* | | Use 'switch' instead of 'if..else if' | Khan M Rashedun-Naby | 2018-09-24 | 1 | -17/+22 |
| | | |||||
* | | Make non-payable default for conversion to address. | chriseth | 2018-09-20 | 1 | -3/+1 |
|/ | |||||
* | Do not set to ref for explicit conversion and add assertion for array | liangdzou | 2018-09-14 | 1 | -2/+17 |
| | | | | type conversion. Also, add some test cases for #4901 and #4948. | ||||
* | fixing rebase conflicts | Jordan Last | 2018-09-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | 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 | 3 | -17/+53 |
| | |||||
* | Accept ``address payable`` during parsing. | Daniel Kirchner | 2018-09-11 | 1 | -1/+14 |
| | |||||
* | Merge pull request #4872 from bakaoh/issue4716 | chriseth | 2018-09-06 | 1 | -4/+5 |
|\ | | | | | Crash when array index value is too large | ||||
| * | Fix #4716: Crash when array index value is too large | bakaoh | 2018-09-05 | 1 | -4/+5 |
| | | |||||
* | | Split IntegerType into IntegerType and AddressType. | Daniel Kirchner | 2018-09-05 | 2 | -3/+3 |
| | | |||||
* | | Merge pull request #4590 from ethereum/msgValueModifier | chriseth | 2018-09-05 | 5 | -65/+102 |
|\ \ | | | | | | | Warn if modifier uses msg.value in non-payable function | ||||
| * | | Turn warning into error. | chriseth | 2018-09-04 | 1 | -5/+7 |
| | | | |||||
| * | | Warns if modifier uses msg.value in non-payable function. | Erik Kundt | 2018-09-04 | 5 | -65/+100 |
| |/ | |||||
* | | Fix abi.decode returning single value. | chriseth | 2018-09-05 | 2 | -20/+20 |
| | | |||||
* | | Merge pull request #4888 from ↵ | chriseth | 2018-09-04 | 2 | -2/+25 |
|\ \ | | | | | | | | | | | | | ethereum/disallow_single_statement_vardecl_if_while_for Disallow single statement var decl in if/while/for without blocks | ||||
| * | | Review suggestions | Leonardo Alt | 2018-09-04 | 2 | -11/+11 |
| | | | |||||
| * | | Changed error message and added tests | Leonardo Alt | 2018-09-04 | 1 | -1/+1 |
| | | | |||||
| * | | Disallow single statement var decl in if/while/for without blocks | Leonardo Alt | 2018-09-04 | 2 | -2/+25 |
| |/ | |||||
* / | Rename Location::Default to Location::Unspecified. | Chase McDermott | 2018-08-18 | 2 | -5/+5 |
|/ | |||||
* | Dynamic type as mapping key returns error instead of assertion fail | Leonardo Alt | 2018-08-16 | 1 | -1/+15 |
| | |||||
* | Merge pull request #4822 from ethereum/addressStaticCall | chriseth | 2018-08-16 | 1 | -3/+9 |
|\ | | | | | Add ``staticcall`` to ``address``. | ||||
| * | Add ``staticcall`` to ``address``. | Daniel Kirchner | 2018-08-15 | 1 | -3/+9 |
| | | |||||
* | | Review suggestions | Leonardo Alt | 2018-08-15 | 1 | -3/+3 |
| | | |||||
* | | Disallow indexed reference types in events when using ABIEncoderV2 | Leonardo Alt | 2018-08-15 | 1 | -0/+10 |
|/ | |||||
* | Merge pull request #4390 from ethereum/abidecode | chriseth | 2018-08-15 | 3 | -5/+81 |
|\ | | | | | Add abi.decode | ||||
| * | Add abi.decode(bytes data, (...)) | chriseth | 2018-08-15 | 3 | -5/+81 |
| | | |||||
* | | Fixes #4718: High CPU usage when using large variable names | bakaoh | 2018-08-15 | 1 | -2/+5 |
|/ | |||||
* | Merge pull request #4738 from ethereum/dataloc_merged | chriseth | 2018-08-15 | 4 | -112/+102 |
|\ | | | | | Enforce data location. | ||||
| * | Refactor data location check. | Chase McDermott | 2018-08-15 | 4 | -112/+102 |
| | | |||||
* | | Merge pull request #4542 from aarlt/constructor_natspec | chriseth | 2018-08-15 | 2 | -6/+39 |
|\ \ | |/ |/| | Fix: natspec annotations on constructors | ||||
| * | Fix: natspec annotations on constructors | Alexander Arlt | 2018-08-09 | 2 | -6/+39 |
| | | | | | | | | - natspec annotations on constructore where ignored. | ||||
* | | Adds support for structs in interfaces. | Christian Parpart | 2018-08-14 | 2 | -4/+9 |
| | | | | | | | | Closes #4733. | ||||
* | | Merge pull request #4777 from ethereum/typeConversionMemory | chriseth | 2018-08-14 | 1 | -3/+6 |
|\ \ | | | | | | | Defaul data location for type conversions is memory. | ||||
| * | | Defaul data location for type conversions is memory. | chriseth | 2018-08-13 | 1 | -3/+6 |
| | | | |||||
* | | | Merge pull request #4798 from ethereum/mappingArgumentsAndReturns | chriseth | 2018-08-13 | 2 | -2/+8 |
|\ \ \ | | | | | | | | | Mapping arguments and returns | ||||
| * | | | Allow mappings of arrays as arguments and return values of internal functions. | Daniel Kirchner | 2018-08-13 | 1 | -4/+1 |
| | | | | |||||
| * | | | Consider mappings return values in control flow analysis. | Daniel Kirchner | 2018-08-13 | 1 | -1/+4 |
| | | | | |||||
| * | | | Allow mapping arguments and return values in all internal functions. | Daniel Kirchner | 2018-08-13 | 1 | -1/+0 |
| | | | | |||||
| * | | | Allow mapping arguments and return values in internal library functions. | Daniel Kirchner | 2018-08-13 | 1 | -1/+8 |
| |/ / | |||||
* / / | Disallow ambiguous conversions between number literals and bytesXX types. | Daniel Kirchner | 2018-08-13 | 1 | -16/+0 |
|/ / | |||||
* | | Fix data location of external reference parameters. | chriseth | 2018-08-09 | 1 | -1/+1 |
| | | |||||
* | | Rename FunctionKind SHA3 to KECCAK256 (as the instruction was renamed in ↵ | Alex Beregszaszi | 2018-08-09 | 2 | -5/+5 |
|/ | | | | libevmasm) | ||||
* | Merge pull request #4684 from ethereum/underscores_in_numeric_literals | chriseth | 2018-08-09 | 2 | -0/+43 |
|\ | | | | | [BREAKING] Underscores in numeric literals | ||||
| * | Cleanup & polish numbers-with-underscores parsing, also improving tests. | Christian Parpart | 2018-08-08 | 1 | -25/+24 |
| | | |||||
| * | Add stricter hex underscore rules | Balajiganapathi S | 2018-08-08 | 2 | -0/+44 |
| | | |||||
* | | Provide nicer error message when referencing overloaded references | Alex Beregszaszi | 2018-08-08 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #4740 from ethereum/enforceNumberOfReturnValues | chriseth | 2018-08-08 | 1 | -1/+5 |
|\ \ | | | | | | | Disallow empty return in function with return arguments. | ||||
| * | | Disallow empty return expressions in functions with non-empty return parameters. | Daniel Kirchner | 2018-08-08 | 1 | -1/+5 |
| |/ | |||||
* | | Merge pull request #4745 from ethereum/nameResolverNoEarlyExit | chriseth | 2018-08-08 | 1 | -3/+0 |
|\ \ | | | | | | | Do not stop after the first error in reference resolution. | ||||
| * | | Do not stop after the first error in reference resolution. | chriseth | 2018-08-08 | 1 | -3/+0 |
| |/ | |||||
* / | Remove remaining instances of ``fillRight`` left over from tuple wildcards ↵ | Daniel Kirchner | 2018-08-08 | 1 | -4/+7 |
|/ | | | | assignments. | ||||
* | Merge pull request #4731 from ethereum/interface-enum | chriseth | 2018-08-07 | 2 | -8/+0 |
|\ | | | | | Allow enums in interfaces | ||||
| * | Allow enums in interfaces | Alex Beregszaszi | 2018-08-07 | 2 | -8/+0 |
| | | |||||
* | | Merge pull request #4699 from ethereum/cleanup_VariableDeclaration | chriseth | 2018-08-07 | 1 | -105/+109 |
|\ \ | | | | | | | libsolidity: Remove dead code wrt. VariableDeclaration::canHaveAutoType | ||||
| * | | libsolidity: Remove dead code wrt. VariableDeclaration::canHaveAutoType() | Christian Parpart | 2018-08-07 | 1 | -105/+109 |
| | | | | | | | | | | | | Closes #4667 | ||||
* | | | More precise error message if using non-variables with _slot/_offset | Alex Beregszaszi | 2018-08-07 | 2 | -3/+7 |
| | | | |||||
* | | | Properly handle invalid references used together with _slot and _offset. | Alex Beregszaszi | 2018-08-07 | 1 | -0/+2 |
| |/ |/| | |||||
* | | Do not crash on using _slot and _offset suffixes on their own | Alex Beregszaszi | 2018-08-07 | 1 | -0/+5 |
|/ | |||||
* | Merge pull request #4689 from ethereum/cleanup-050-tests | chriseth | 2018-08-06 | 2 | -3/+0 |
|\ | | | | | Cleanup 0.5.0 test cases | ||||
| * | Remove unused 050 variable in ReferencesResolver | Alex Beregszaszi | 2018-08-06 | 2 | -3/+0 |
| | | |||||
* | | Merge pull request #4690 from ethereum/equalParameterTypes | Alex Beregszaszi | 2018-08-06 | 2 | -5/+5 |
|\ \ | | | | | | | Renamed FunctionType::hasEqualArgumentTypes to FunctionType::hasEqual… | ||||
| * | | Renamed FunctionType::hasEqualArgumentTypes to ↵ | Jesse Busman | 2018-08-06 | 2 | -5/+5 |
| |/ | | | | | | | FunctionType::hasEqualParameterTypes | ||||
* | | Merge pull request #4671 from ethereum/mappingTupleAssignment | chriseth | 2018-08-06 | 2 | -5/+33 |
|\ \ | |/ |/| | Disallow assignments to mappings within tuple assignments; allow for local variables. | ||||
| * | Review suggestions; to be squashed. | Daniel Kirchner | 2018-08-03 | 1 | -8/+10 |
| | | |||||
| * | Allow assignments to local variables of mapping types. | Daniel Kirchner | 2018-08-03 | 1 | -1/+9 |
| | | |||||
| * | Disallow assignments to mappings within tuple assignments. | Daniel Kirchner | 2018-08-03 | 2 | -5/+23 |
| | | |||||
* | | Merge pull request #4644 from ethereum/event_struct_error | chriseth | 2018-08-06 | 1 | -0/+10 |
|\ \ | | | | | | | Disallow structs in events without ABIEncoderV2 | ||||
| * | | Disallow structs in events without ABIEncoderV2 | Leonardo Alt | 2018-08-03 | 1 | -0/+10 |
| |/ | |||||
* | | Merge pull request #4681 from ethereum/var-suggestion-crash | chriseth | 2018-08-06 | 1 | -0/+6 |
|\ \ | | | | | | | Fix declaration suggestion for var with different number of components | ||||
| * | | Fix declaration suggestion for var with different number of components | Alex Beregszaszi | 2018-08-04 | 1 | -0/+6 |
| |/ | |||||
* | | Merge pull request #4412 from ethereum/v050-reference-resolver-errorTypeForLoose | Christian Parpart | 2018-08-04 | 2 | -6/+2 |
|\ \ | |/ |/| | [BREAKING] permanently set errorTypeForLoose from Warning to SyntaxError | ||||
| * | Disallow loos assembly in Solidity by permanently setting it to SyntaxError ↵ | Christian Parpart | 2018-08-02 | 2 | -6/+2 |
| | | | | | | | | (from Warning) | ||||
* | | Turn warning about uninitialized storage returns into an error. | Daniel Kirchner | 2018-08-03 | 1 | -5/+5 |
| | | |||||
* | | Merge pull request #4522 from ethereum/fullEncodingType | chriseth | 2018-08-02 | 1 | -16/+2 |
|\ \ | |/ |/| | Isolate determining the encoding type into its own function. | ||||
| * | Isolate determining the encoding type into its own function. | chriseth | 2018-08-01 | 1 | -16/+2 |
| | | |||||
* | | Extend code comment about signatures. | Daniel Kirchner | 2018-08-01 | 1 | -1/+2 |
| | | |||||
* | | Do not exclude public state variables when looking for conflicting declarations. | Daniel Kirchner | 2018-08-01 | 1 | -8/+1 |
| | | |||||
* | | Merge pull request #4378 from ethereum/noBaseWithoutArguments | Alex Beregszaszi | 2018-08-01 | 1 | -17/+7 |
|\ \ | | | | | | | [BREAKING] Disallow calling base constructors without arguments. | ||||
| * | | Correctly determine whether base constructor is called without parentheses. | chriseth | 2018-08-01 | 1 | -11/+11 |
| | | | |||||
| * | | Disallow calling base constructors without arguments. | chriseth | 2018-08-01 | 1 | -14/+4 |
| |/ | |||||
* / | Guard CycleDetector against recursion exhaustion. | Christian Parpart | 2018-08-01 | 2 | -2/+8 |
|/ | | | | fixes #3935. | ||||
* | Merge pull request #4507 from ethereum/v050-var-keyword-trace-removals | Alex Beregszaszi | 2018-08-01 | 1 | -2/+19 |
|\ | | | | | Ensures an empty use of var keyword is caught with the proper non-fatal error message | ||||
| * | Ensures an empty use of var keyword is caught with the proper error message. | Christian Parpart | 2018-08-01 | 1 | -2/+19 |
| | | |||||
* | | Fix crash when FunctionType has undeclared type as parameter | Leonardo Alt | 2018-07-31 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #4527 from ethereum/mappingEnforceStorage | Alex Beregszaszi | 2018-07-24 | 1 | -1/+8 |
|\ \ | | | | | | | Enforces explicit data location for mappings | ||||
| * | | Enforces data location of local mappings to storage. | Erik Kundt | 2018-07-24 | 1 | -1/+8 |
| | | | |||||
* | | | Disallow functions without implementation to use modifiers. This was already ↵ | Christian Parpart | 2018-07-24 | 1 | -8/+2 |
| |/ |/| | | | | | the case in the experimental 0.5.0 mode. | ||||
* | | Do not handle `balance` member of contract types specially. | chriseth | 2018-07-20 | 1 | -2/+1 |
| | | |||||
* | | Merge pull request #4439 from ethereum/address_members | chriseth | 2018-07-19 | 1 | -18/+16 |
|\ \ | | | | | | | [BREAKING] Enforce address members not accessible by contract instance | ||||
| * | | Changes in ExpressionCompiler | Leonardo Alt | 2018-07-19 | 1 | -2/+3 |
| | | | |||||
| * | | Add suggestion to error message | Leonardo Alt | 2018-07-17 | 1 | -18/+15 |
| | | | |||||
* | | | Adds warning if function is shadowing a contract. | Erik Kundt | 2018-07-18 | 1 | -9/+1 |
| | | | |||||
* | | | Disallows old constructor syntax. | Erik Kundt | 2018-07-18 | 2 | -25/+17 |
| |/ |/| | |||||
* | | Suggests external for fallback and interface functions. | chriseth | 2018-07-18 | 2 | -1/+15 |
| | | |||||
* | | Enforces visibility specifier and updates docs. | Erik Kundt | 2018-07-17 | 2 | -11/+1 |
|/ | |||||
* | Add missing period in the end of error messages | Leonardo Alt | 2018-07-16 | 1 | -3/+3 |
| | |||||
* | Deprecate the throw statement | Alex Beregszaszi | 2018-07-16 | 1 | -12/+4 |
| | |||||
* | enforce interface-functions to be external-declared | Christian Parpart | 2018-07-16 | 1 | -12/+4 |
| | | | | | | | | - libsolidity: Enforce interface-functions must be external-declared. - Changelog adapted to reflect changes wrt. functions in interfaces. - test: Adjustments according to prior interface-function changes. - tests: Adapting SolidityEndToEndTest to interface-function change. - docs: Adapted documentation to interface-function change. | ||||
* | Merge pull request #4501 from ethereum/recursiveStructsWithFixedArrays | chriseth | 2018-07-13 | 1 | -13/+16 |
|\ | | | | | Consider fixed-size arrays when checking for recursive structs. | ||||
| * | Use CycleDetector and account for multi-dimensional arrays. | Daniel Kirchner | 2018-07-13 | 1 | -19/+16 |
| | | |||||
| * | Consider fixed size array members when checking for recursive structs. | Daniel Kirchner | 2018-07-13 | 1 | -0/+6 |
| | | |||||
* | | Disallow multi variable declarations with mismatching number of values. | Daniel Kirchner | 2018-07-13 | 1 | -72/+16 |
|/ | |||||
* | Merge pull request #4437 from ethereum/report-empty-var-decls | chriseth | 2018-07-13 | 2 | -0/+15 |
|\ | | | | | [BREAKING] Report empty var tuple decls | ||||
| * | Generates a syntax error when declaring a variable declaration's LHS has no ↵ | Christian Parpart | 2018-07-12 | 2 | -0/+15 |
| | | | | | | | | named components | ||||
* | | Require storage location. | Daniel Kirchner | 2018-07-12 | 1 | -13/+4 |
|/ | |||||
* | Merge pull request #4443 from ethereum/double_var_decl_fix | chriseth | 2018-07-12 | 3 | -1/+15 |
|\ | | | | | Fix crash when declaring the same var twice in the same scope | ||||
| * | Add comment explaining new code | Leonardo Alt | 2018-07-11 | 1 | -0/+5 |
| | | |||||
| * | Fix crash for double variable declaration in the same scope. | Leonardo Alt | 2018-07-11 | 3 | -1/+10 |
| | | |||||
* | | Merge pull request #4404 from ethereum/v050-var-keyword-suggest | Christian Parpart | 2018-07-11 | 3 | -19/+63 |
|\ \ | | | | | | | [WIP] v0.5.0 var keyword type suggestion | ||||
| * | | Coding style. | chriseth | 2018-07-11 | 1 | -23/+18 |
| | | | |||||
| * | | semantics: Suggest auto-deduced type when user declares variable with `var` ↵ | Christian Parpart | 2018-07-11 | 3 | -19/+68 |
| | | | | | | | | | | | | keyword. | ||||
* | | | Merge pull request #4454 from ethereum/constructorArgCount | chriseth | 2018-07-11 | 1 | -24/+9 |
|\ \ \ | | | | | | | | | [BREAKING] Wrong argument count in constructor call | ||||
| * | | | Improves error with suggestion to remove parantheses. | Erik Kundt | 2018-07-11 | 1 | -1/+1 |
| | | | | |||||
| * | | | Updates Changelog, syntax test and simplifies type checker. | Erik Kundt | 2018-07-11 | 1 | -3/+1 |
| | | | | |||||
| * | | | Turns wrong argument count in base constructor call into en error. | Erik Kundt | 2018-07-11 | 1 | -22/+9 |
| |/ / | |||||
* | | | Merge pull request #4388 from ethereum/noPackedLiterals | chriseth | 2018-07-11 | 1 | -17/+7 |
|\ \ \ | | | | | | | | | Disallow packed encoding of literals. | ||||
| * | | | Disallow packed encoding of literals. | chriseth | 2018-07-03 | 1 | -17/+7 |
| | | | | |||||
* | | | | Code, Changelog, ReleaseChecklist: Fix typos. | Cryptomental | 2018-07-11 | 2 | -2/+2 |
| |/ / |/| | | | | | | | | Refs: #4442 | ||||
* | | | Merge pull request #4376 from ethereum/fallbackExternal | chriseth | 2018-07-11 | 1 | -4/+1 |
|\ \ \ | | | | | | | | | Fallback functions have to be external | ||||
| * | | | Fallback function has to be external. | chriseth | 2018-07-04 | 1 | -4/+1 |
| | | | | |||||
* | | | | Merge pull request #4464 from ↵ | chriseth | 2018-07-11 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | cryptomental/bugfix/fix-typos-in-AsmParser-and-TypeChecker AsmParser,TypeChecker: Fix typos. | ||||
| * | | | | AsmParser,TypeChecker: Fix typos. | Cryptomental | 2018-07-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix typos. The change requested as a separate PR during codespell PR. Adapt tests as well. Refs: #4442 | ||||
* | | | | | Merge pull request #4466 from ethereum/tupleNotEmpty | chriseth | 2018-07-11 | 1 | -11/+2 |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | Disallow empty tuple components. | ||||
| * | | | | Remove special ``(x,)`` case from type assignment. | chriseth | 2018-07-10 | 1 | -4/+0 |
| | | | | | |||||
| * | | | | Disallow empty tuple components. | Daniel Kirchner | 2018-07-10 | 1 | -7/+2 |
| | | | | | |||||
* | | | | | defaulting to v0.5.0 behaviour of unary + operator (disallow); also adapting ↵ | Christian Parpart | 2018-07-10 | 1 | -8/+2 |
| | | | | | | | | | | | | | | | | | | | | all tests to it | ||||
* | | | | | Merge pull request #4415 from ethereum/uninitializedStoragePointer | chriseth | 2018-07-10 | 1 | -4/+1 |
|\ \ \ \ \ | |/ / / / |/| | | | | [BREAKING] Turn uninitialized storage variables into error. | ||||
| * | | | | Turn uninitialized storage variables into an error. | Daniel Kirchner | 2018-07-10 | 1 | -4/+1 |
| |/ / / | |||||
* / / / | Check for matching number of components in ↵ | Daniel Kirchner | 2018-07-10 | 1 | -19/+1 |
|/ / / | | | | | | | | | | TupleType::isImplicitlyConvertibleTo instead of the TypeChecker. | ||||
* | | | Enforce error on hex number combined with unit denomination | Leonardo Alt | 2018-07-09 | 1 | -17/+6 |
| | | | |||||
* | | | Merge pull request #4418 from ethereum/initialConstants | chriseth | 2018-07-05 | 1 | -13/+4 |
|\ \ \ | | | | | | | | | Only allow compile-time constants for constant state variables. | ||||
| * | | | Only allow compile-time constants for constant state variables. | chriseth | 2018-07-04 | 1 | -13/+4 |
| |/ / | |||||
* | | | Merge pull request #4409 from ethereum/viewPureChecker | chriseth | 2018-07-04 | 2 | -26/+13 |
|\ \ \ | | | | | | | | | Enforce state mutability in view pure checker. | ||||
| * | | | Remove v050 check for enforcing "view" in ViewPureChecker. | Daniel Kirchner | 2018-07-04 | 2 | -26/+13 |
| |/ / | |||||
* / / | Enforcing error on msg.gas and block.blockhash() | Leonardo Alt | 2018-07-04 | 1 | -27/+9 |
|/ / | |||||
* | | Merge pull request #4379 from ethereum/constructorArgsTwice | chriseth | 2018-07-04 | 1 | -14/+5 |
|\ \ | | | | | | | Disallow constructor arguments given multiple times. | ||||
| * | | Disallow constructor arguments given multiple times. | chriseth | 2018-06-29 | 1 | -14/+5 |
| | | | |||||
* | | | libsolidity: turns the var-keyword use from deprecation-warning to an error ↵ | Christian Parpart | 2018-07-03 | 1 | -6/+1 |
| |/ |/| | | | | | and include explicit type suggestion | ||||
* | | Remove trailing whitespace in missing visibility warning. | Daniel Kirchner | 2018-07-02 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #4352 from D-Nice/develop | chriseth | 2018-06-29 | 1 | -1/+1 |
|\ | | | | | Fixes storage ref var typo error from 'prefix' to 'suffix' | ||||
| * | Fixes storage ref var typo error from 'prefix' to 'suffix' | D-Nice | 2018-06-25 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #4097 from ethereum/noPackedExceptForPacked | chriseth | 2018-06-28 | 2 | -37/+44 |
|\ \ | | | | | | | [BREAKING] call only takes a single argument and does not pad | ||||
| * | | Also mention regular abi.encode in error message. | chriseth | 2018-06-27 | 1 | -2/+8 |
| | | | |||||
| * | | Provide better suggestions in error messages with respect to call and hash ↵ | chriseth | 2018-06-25 | 1 | -4/+34 |
| | | | | | | | | | | | | functions. | ||||
| * | | Bare functions take single bytes argument. | chriseth | 2018-06-25 | 2 | -33/+4 |
| | | | |||||
* | | | Remove non-0.5.0 warning for emit keyword (make it mandatory) | Alex Beregszaszi | 2018-06-27 | 1 | -6/+1 |
|/ / | |||||
* | | Keep the 'if it not used as an address' helper message for all cases of ↵ | Alex Beregszaszi | 2018-06-25 | 1 | -7/+12 |
| | | | | | | | | address related warnings | ||||
* | | Better wording for invalid address literal error | Alex Beregszaszi | 2018-06-25 | 1 | -2/+4 |
| | | |||||
* | | Change invalid (not exactly 160 bits long) address literal to error | Jason Cobb | 2018-06-25 | 1 | -4/+11 |
|/ | |||||
* | Disallow the years unit denomination properly | Alex Beregszaszi | 2018-06-22 | 1 | -12/+4 |
| | |||||
* | Merge pull request #4301 from rnaby/TypeChecker | chriseth | 2018-06-22 | 1 | -5/+3 |
|\ | | | | | Simplification of typeSupportedByOldABIEncoder | ||||
| * | Simplification of typeSupportedByOldABIEncoder | Khan M Rashedun-Naby | 2018-06-21 | 1 | -5/+3 |
| | | |||||
* | | Merge pull request #4306 from ethereum/remove_050_workaround_scoping | chriseth | 2018-06-21 | 4 | -36/+23 |
|\ \ | | | | | | | [BREAKING] C99 scoping rules by default (remove 050 workaround) | ||||
| * | | C99 scoping rules by default | Leonardo Alt | 2018-06-20 | 4 | -36/+23 |
| | | | |||||
* | | | Merge pull request #4219 from ethereum/functionTypeNamedArguments | Alex Beregszaszi | 2018-06-21 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | Turn named return parameters in function types into an error. | ||||
| * | | Return parameters in function types may not be named. | Daniel Kirchner | 2018-06-18 | 1 | -1/+1 |
| |/ | |||||
* / | Disallow raw callcode (was deprecated in 0.4.12) | Alex Beregszaszi | 2018-06-20 | 1 | -12/+4 |
|/ | |||||
* | Enforce disallowing empty structs | Christian Parpart | 2018-06-14 | 1 | -8/+2 |
| | | | | | | | | This patch enfoces an error when it encounters an empty struct, effectively eliminating the deprecation warning. Also adjust 419_interface_structs to explicitely test for (non-empty) structs, as this behaviour "may" change in the future. | ||||
* | Disallow sha3/suicide aliases | Alex Beregszaszi | 2018-06-13 | 1 | -10/+2 |
| | |||||
* | Show named argument name in error | Alex Beregszaszi | 2018-06-06 | 1 | -1/+1 |
| | |||||
* | Fix view/pure error ordering problem. | chriseth | 2018-06-04 | 1 | -2/+2 |
| | |||||
* | Allow using `calldata` keyword to specify data location | mingchuan | 2018-05-30 | 2 | -8/+32 |
| | |||||
* | Update control flow graph. | Daniel Kirchner | 2018-05-17 | 1 | -5/+4 |
| | |||||
* | Split warning for multi arguments for hash functions | Alex Beregszaszi | 2018-05-16 | 1 | -10/+12 |
| | |||||
* | Warn/enforce single bytes argument for certain builtins (hashing functions). | chriseth | 2018-05-16 | 1 | -0/+27 |
| | | | | | In 0.5.0 mode, only accept a single bytes argument for ``.call``, ``keccak256`` and others and do not pad when encoding. | ||||
* | ABI encoding functions are pure and should be usable in constants. | chriseth | 2018-05-15 | 1 | -0/+3 |
| | |||||
* | Add control flow analyzer and test for uninitialized storage returns. | Daniel Kirchner | 2018-05-15 | 2 | -0/+208 |
| | |||||
* | Add control flow graph. | Daniel Kirchner | 2018-05-15 | 4 | -0/+797 |
| | |||||
* | Deprecate wildcard assignments. | chriseth | 2018-05-08 | 1 | -8/+49 |
| | |||||
* | Merge pull request #4063 from ethereum/emit-non-event | chriseth | 2018-05-04 | 1 | -0/+1 |
|\ | | | | | Show proper error when trying to emit a non-event | ||||
| * | Show proper error when trying to emit a non-event | Alex Beregszaszi | 2018-05-04 | 1 | -0/+1 |
| | | |||||
* | | Change numBits to unsigned IntegerType | Alex Beregszaszi | 2018-05-03 | 1 | -1/+2 |
|/ | |||||
* | Merge pull request #3981 from ethereum/years-suffix | chriseth | 2018-04-24 | 1 | -0/+16 |
|\ | | | | | The "year" denomination is deprecated | ||||
| * | The "year" denomination is deprecated | Alex Beregszaszi | 2018-04-23 | 1 | -0/+16 |
| | | |||||
* | | Merge pull request #3976 from ethereum/emptyTupleComponent | chriseth | 2018-04-23 | 1 | -0/+13 |
|\ \ | |/ |/| | Empty tuple components should not be possible | ||||
| * | Treats inline array as an error. | Erik Kundt | 2018-04-23 | 1 | -0/+2 |
| | | |||||
| * | Turns it into warning (error for 0.5.0) and adds Changelog entry. | Erik Kundt | 2018-04-23 | 1 | -1/+8 |
| | | |||||
| * | Prevents null type from being used in tuple. | Erik Kundt | 2018-04-22 | 1 | -0/+4 |
| | | |||||
* | | Turn deprecated warnings for sha3/suicide into errors (experimental 0.5.0) | Alex Beregszaszi | 2018-04-21 | 1 | -2/+10 |
|/ | |||||
* | Make literals an error for tight packing (experimental 0.5.0) | Alex Beregszaszi | 2018-04-20 | 1 | -8/+18 |
| | |||||
* | Improve error message for failed member lookup. | chriseth | 2018-04-19 | 1 | -11/+16 |
| | |||||
* | Warn about functions named "constructor". | chriseth | 2018-04-19 | 1 | -1/+6 |
| | |||||
* | Fix name clashes between constructor and fallback function. | chriseth | 2018-04-18 | 1 | -47/+45 |
| | |||||
* | Merge pull request #3880 from ethereum/addressMemberDocAndWarn | chriseth | 2018-04-16 | 1 | -1/+2 |
|\ | | | | | Improve documentation and warning about accessing contract members in… | ||||
| * | Improve documentation and warning about accessing contract members inherited ↵ | Daniel Kirchner | 2018-04-14 | 1 | -1/+2 |
| | | | | | | | | from address. | ||||
* | | Merge pull request #3875 from ethereum/constructorSelfRef | chriseth | 2018-04-14 | 1 | -4/+26 |
|\ \ | |/ |/| | Stricter check for "this" in constructor. | ||||
| * | Stricter check for member access to "this" in constructor. | Daniel Kirchner | 2018-04-13 | 1 | -4/+26 |
| | | |||||
* | | Merge pull request #3364 from ethereum/revertWithReason | chriseth | 2018-04-13 | 4 | -8/+18 |
|\ \ | | | | | | | Revert with reason | ||||
| * | | Allow error string for ``require``. | chriseth | 2018-04-12 | 1 | -0/+1 |
| | | | |||||
| * | | Register overload for ``revert()`` that can receive a reason string. | chriseth | 2018-04-12 | 2 | -1/+4 |
| | | |