Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [cond-expr] add test cases for type resolution | Lu Guanqun | 2016-01-23 | 1 | -0/+24 | |
| | ||||||
* | [cond-expr] add end to end test | Lu Guanqun | 2016-01-23 | 1 | -0/+58 | |
| | ||||||
* | [cond-expr] add parser test cases | Lu Guanqun | 2016-01-23 | 1 | -0/+80 | |
| | ||||||
* | Merge pull request #356 from guanqun/break-not-in-loop | chriseth | 2016-01-21 | 2 | -12/+46 | |
|\ | | | | | check whether break/continue is in the loop | |||||
| * | add another test case for continue not in loop | Lu Guanqun | 2016-01-19 | 1 | -0/+15 | |
| | | ||||||
| * | check whether break/continue is in the loop | Lu Guanqun | 2016-01-15 | 2 | -12/+31 | |
| | | ||||||
* | | Merge pull request #358 from chriseth/fix_storage | chriseth | 2016-01-18 | 1 | -0/+21 | |
|\ \ | | | | | | | Test for incorrect storage access. | |||||
| * | | Test for incorrect storage access. | chriseth | 2016-01-16 | 1 | -0/+21 | |
| | | | ||||||
* | | | Merge pull request #347 from chriseth/libraryNameClashes | chriseth | 2016-01-18 | 1 | -0/+16 | |
|\ \ \ | | | | | | | | | Detect library name clashes | |||||
| * | | | Tests for library name clashes. | chriseth | 2016-01-14 | 1 | -0/+16 | |
| |/ / | ||||||
* | | | Update SolidityNameAndTypeResolution.cpp | Liana Husikyan | 2016-01-16 | 1 | -1/+0 | |
| | | | ||||||
* | | | Update SolidityNameAndTypeResolution.cpp | Liana Husikyan | 2016-01-16 | 1 | -1/+0 | |
| | | | ||||||
* | | | fixed assert on EI creation for structs containing only mapping or arrays | LianaHus | 2016-01-16 | 1 | -0/+13 | |
|/ / | ||||||
* | | Merge pull request #346 from chriseth/importAliases | chriseth | 2016-01-14 | 1 | -0/+25 | |
|\ \ | |/ |/| | Allow aliases during import. | |||||
| * | Allow aliases during import. | chriseth | 2016-01-11 | 1 | -0/+25 | |
| | | ||||||
* | | clarification on dynamic arrays, switcheroo on typepointer, and a ↵ | RJ Catalano | 2016-01-12 | 2 | -2/+19 | |
| | | | | | | | | documentation test added | |||||
* | | added documentation and one last test for struct creation inline | RJ Catalano | 2016-01-12 | 1 | -0/+16 | |
| | | ||||||
* | | final changes to typechecker, the expression compiler, and a couple more ↵ | RJ Catalano | 2016-01-12 | 1 | -0/+25 | |
| | | | | | | | | tests for good measure | |||||
* | | one last test for long strings | RJ Catalano | 2016-01-11 | 1 | -0/+15 | |
| | | ||||||
* | | Update SolidityNameAndTypeResolution.cpp | RJ | 2016-01-11 | 1 | -1/+0 | |
| | | ||||||
* | | Update SolidityEndToEndTest.cpp | RJ | 2016-01-11 | 1 | -7/+18 | |
| | | ||||||
* | | Update SolidityEndToEndTest.cpp | RJ | 2016-01-10 | 1 | -0/+70 | |
| | | ||||||
* | | Update with type resolution tests for arrays | RJ | 2016-01-10 | 1 | -8/+76 | |
|/ | ||||||
* | Merge pull request #338 from guanqun/add_paren | chriseth | 2016-01-05 | 2 | -0/+16 | |
|\ | | | | | support syntax "(x) = 3" | |||||
| * | add a test case for decayed tuple expression as left value | Lu Guanqun | 2016-01-04 | 2 | -0/+16 | |
| | | ||||||
* | | Merge pull request #317 from chriseth/pathsEverywhere | chriseth | 2016-01-04 | 1 | -1/+1 | |
|\ \ | |/ |/| | Use paths instead of simple identifiers wherever possible. | |||||
| * | Use paths instead of simple identifiers wherever possible. | chriseth | 2015-12-22 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #308 from chriseth/fixoverloadbug | chriseth | 2015-12-21 | 1 | -0/+11 | |
|\ \ | | | | | | | Fix bug preventing overloads of different array types. | |||||
| * | | Fix bug preventing overloads of different array types. | chriseth | 2015-12-18 | 1 | -0/+11 | |
| |/ | ||||||
* / | Add structs and enums to contract types. | chriseth | 2015-12-18 | 2 | -0/+30 | |
|/ | ||||||
* | Simple aliasing during import. | chriseth | 2015-12-18 | 1 | -0/+8 | |
| | ||||||
* | Parse complex import directives. | chriseth | 2015-12-18 | 1 | -0/+21 | |
| | ||||||
* | updated tests and much simpler algorithm for parsing errors | RJ Catalano | 2015-12-17 | 1 | -21/+8 | |
| | ||||||
* | added one more test and realized that there was one last change before the ↵ | RJ Catalano | 2015-12-17 | 1 | -5/+32 | |
| | | | | parser is perfect | |||||
* | forgot about this one...again making this purely about ↵ | RJ Catalano | 2015-12-17 | 1 | -2/+2 | |
| | | | | parsing...typechecking will come another day | |||||
* | making this purely about parsing...type checking will go in a different PR | RJ Catalano | 2015-12-17 | 1 | -2/+2 | |
| | ||||||
* | changed a couple of small nuances, made an attempt at fixing the parsing in ↵ | RJ Catalano | 2015-12-17 | 1 | -6/+20 | |
| | | | | the inline arrays case (fails), and added test for inline arrays per Chriseth request | |||||
* | new tests | RJ Catalano | 2015-12-16 | 1 | -0/+26 | |
| | ||||||
* | updated attempt, a couple of more things to sort through and change | RJ Catalano | 2015-12-16 | 1 | -0/+14 | |
| | ||||||
* | Relative paths in import directives. | chriseth | 2015-12-10 | 1 | -0/+17 | |
| | ||||||
* | Source units are independent scopes. | chriseth | 2015-12-10 | 2 | -9/+99 | |
| | ||||||
* | Increment version to 0.2.0 (includes breaking changes). | chriseth | 2015-12-01 | 1 | -1/+1 | |
| | ||||||
* | Code generation for calling bound methods. | chriseth | 2015-12-01 | 1 | -0/+120 | |
| | ||||||
* | Merge pull request #251 from chriseth/bind2 | chriseth | 2015-11-30 | 2 | -0/+175 | |
|\ | | | | | Bind library functions to types. | |||||
| * | Also check the object type for bound functions. | chriseth | 2015-11-29 | 1 | -0/+45 | |
| | | ||||||
| * | Add bound functions to types. | chriseth | 2015-11-29 | 1 | -0/+93 | |
| | | ||||||
| * | Added the `using x for y` directive. | chriseth | 2015-11-27 | 2 | -0/+37 | |
| | | ||||||
* | | Merge pull request #256 from chriseth/selfdestruct | chriseth | 2015-11-30 | 1 | -0/+16 | |
|\ \ | | | | | | | Introduce selfdestruct alias for suicide. | |||||
| * | | Introduce selfdestruct alias for suicide. | chriseth | 2015-11-29 | 1 | -0/+16 | |
| |/ | ||||||
* / | Bugfix for constructor unpacking with fixed-size arrays. | chriseth | 2015-11-29 | 1 | -0/+17 | |
|/ | ||||||
* | Fix smart pointer lifetime issue in tests. | chriseth | 2015-11-26 | 1 | -16/+15 | |
| | ||||||
* | Do not store elements of a contract by AST node type. | chriseth | 2015-11-26 | 1 | -8/+8 | |
| | ||||||
* | Code generation for creating arrays. | chriseth | 2015-11-26 | 1 | -0/+44 | |
| | ||||||
* | Type checking for creating new arrays. | chriseth | 2015-11-26 | 1 | -1/+37 | |
| | ||||||
* | Allow "new expressions" also for general type names. | chriseth | 2015-11-26 | 2 | -1/+19 | |
| | | | | | | | Breaking change: If you want to send value with a contract creation, you have to use parentheses now: `(new ContractName).value(2 ether)(arg1, arg2)` | |||||
* | Test for allocation bug. | chriseth | 2015-11-24 | 1 | -0/+31 | |
| | ||||||
* | Merge pull request #236 from ethereum/hot_gav | Gav Wood | 2015-11-23 | 1 | -1/+3 | |
|\ | | | | | Fix up for new API from EIP-1.1. | |||||
| * | Fix up for new API from EIP-1.1. | Gav Wood | 2015-11-21 | 1 | -1/+3 | |
| | | ||||||
* | | Merge remote-tracking branch 'origin/hot_gav' into develop | Gav Wood | 2015-11-20 | 1 | -1/+5 | |
|\| | ||||||
| * | Fix solidity tests. | Gav Wood | 2015-11-20 | 1 | -1/+5 | |
| | | ||||||
* | | Merge pull request #227 from chriseth/addmod | chriseth | 2015-11-19 | 1 | -0/+18 | |
|\ \ | | | | | | | Addmod and mulmod. | |||||
| * | | Addmod and mulmod. | chriseth | 2015-11-19 | 1 | -0/+18 | |
| | | | ||||||
* | | | Merge pull request #204 from ethereum/hot_gav | Gav Wood | 2015-11-19 | 2 | -2/+3 | |
|\ \ \ | |/ / |/| / | |/ | The Big Refactor | |||||
| * | Fix tests for new API. | Gav Wood | 2015-11-17 | 1 | -1/+1 | |
| | | ||||||
| * | Fixups for new API. | Gav Wood | 2015-11-06 | 1 | -1/+2 | |
| | | ||||||
| * | New vocab. | Gav Wood | 2015-11-06 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #218 from chriseth/fix_overwriteMemory | chriseth | 2015-11-17 | 1 | -0/+15 | |
|\ \ | | | | | | | Fix memory overwrite problem for arrays. | |||||
| * | | Fix memory overwrite problem for arrays. | chriseth | 2015-11-17 | 1 | -0/+15 | |
| | | | ||||||
* | | | Merge pull request #216 from chriseth/dynamic_indexed_event_args | chriseth | 2015-11-17 | 1 | -0/+35 | |
|\ \ \ | | | | | | | | | Fix dynamic indexed event arguments - applies sha3. | |||||
| * | | | Fix dynamic indexed event arguments - applies sha3. | chriseth | 2015-11-17 | 1 | -0/+35 | |
| |/ / | ||||||
* | | | Merge pull request #214 from chriseth/fix_optimizerTest | chriseth | 2015-11-17 | 1 | -1/+5 | |
|\ \ \ | | | | | | | | | Test fix: Do not increment iterator past end. | |||||
| * | | | Test fix: Do not increment iterator past end. | chriseth | 2015-11-16 | 1 | -1/+5 | |
| |/ / | ||||||
* / / | Fix segfault during test. | chriseth | 2015-11-16 | 1 | -1/+1 | |
|/ / | ||||||
* | | Work around bug in MSVC/Boost for u256->unsigned conversion. | chriseth | 2015-11-16 | 1 | -0/+10 | |
| | | ||||||
* | | style fixes | LianaHus | 2015-11-07 | 1 | -2/+2 | |
| | | ||||||
* | | fixed test framework | LianaHus | 2015-11-07 | 1 | -17/+20 | |
|/ | ||||||
* | Bugfix: Returning literal strings in tuples. | chriseth | 2015-11-01 | 1 | -0/+20 | |
| | ||||||
* | Store docstrings in AST annotations. | chriseth | 2015-10-26 | 3 | -48/+31 | |
| | ||||||
* | File reorganisation. | chriseth | 2015-10-21 | 12 | -35/+35 | |
| | ||||||
* | Correctly parse ambiguities like `A.B[10] x` and `x.y[10] = 3`. | chriseth | 2015-10-16 | 2 | -0/+39 | |
| | ||||||
* | Fix errors when struct array type is used on its own. | chriseth | 2015-10-16 | 1 | -0/+15 | |
| | ||||||
* | Some fixes taking other pull requests into account. | chriseth | 2015-10-16 | 2 | -9/+5 | |
| | ||||||
* | Wildcards. | chriseth | 2015-10-15 | 1 | -3/+6 | |
| | ||||||
* | Destructuring assignments. | chriseth | 2015-10-15 | 1 | -5/+42 | |
| | ||||||
* | Tuple expressions. | chriseth | 2015-10-15 | 3 | -1/+98 | |
| | ||||||
* | Merge pull request #130 from LefterisJP/dynamic_array_push | chriseth | 2015-10-15 | 1 | -0/+40 | |
|\ | | | | | Dynamic array push | |||||
| * | push() for byte arrays also properly implemented | Lefteris Karapetsas | 2015-10-15 | 1 | -9/+10 | |
| | | ||||||
| * | Working implementation of arraypush | Lefteris Karapetsas | 2015-10-15 | 1 | -2/+21 | |
| | | | | | | | | | | ByteArrayPush() gets a test but is ignored for now, since there are still some issues with its implementation | |||||
| * | Implement Dynamic array push and fix test | Lefteris Karapetsas | 2015-10-15 | 1 | -4/+7 | |
| | | | | | | | | | | Still a work in progress. There is a disturbance in the stack at the moment and that's why there are some cout statements left for debugging. | |||||
| * | Add a dynamic array push() test | Lefteris Karapetsas | 2015-10-15 | 1 | -0/+17 | |
| | | ||||||
* | | renaming in test framework | LianaHus | 2015-10-15 | 1 | -195/+195 | |
| | | ||||||
* | | some more style fixes | LianaHus | 2015-10-15 | 2 | -6/+6 | |
| | | ||||||
* | | mainly style fixes/renaming | LianaHus | 2015-10-15 | 2 | -82/+92 | |
| | | ||||||
* | | fix | LianaHus | 2015-10-15 | 1 | -2/+0 | |
| | | ||||||
* | | fixed new tests | LianaHus | 2015-10-15 | 2 | -23/+15 | |
| | | ||||||
* | | errors instead of exceptions | LianaHus | 2015-10-15 | 7 | -250/+313 | |
| | | | | | | | | | | | | | | | | | | Conflicts: libsolidity/CompilerStack.cpp libsolidity/NameAndTypeResolver.cpp libsolidity/NameAndTypeResolver.h libsolidity/TypeChecker.cpp test/libsolidity/SolidityNameAndTypeResolution.cpp | |||||
* | | added Error class for all kind of errors | LianaHus | 2015-10-15 | 2 | -5/+10 | |
|/ | | | | | Conflicts: libsolidity/Exceptions.h | |||||
* | Some further test fixes. | chriseth | 2015-10-13 | 1 | -1/+2 | |
| | ||||||
* | Some more tests and typos fixed. | chriseth | 2015-10-13 | 2 | -0/+27 | |
| | ||||||
* | Multi-variable declarations. | chriseth | 2015-10-13 | 2 | -12/+59 | |
| | ||||||
* | Introduced tuple type and added multi variable declarations to type | chriseth | 2015-10-10 | 2 | -2/+14 | |
| | | | | checker. | |||||
* | Tests for multi variable declaration. | chriseth | 2015-10-09 | 3 | -0/+50 | |
| | ||||||
* | Check invalid integer constants for functions accepting arbitrary arguments. | chriseth | 2015-10-08 | 1 | -2/+13 | |
| | ||||||
* | Resolve binary dependencies properly. | chriseth | 2015-10-07 | 2 | -8/+38 | |
| | ||||||
* | Merge pull request #122 from chriseth/anonymousEventsWithFourIndexedParams | chriseth | 2015-10-07 | 2 | -4/+24 | |
|\ | | | | | Allow four indexed arguments for anynomous events. | |||||
| * | Allow four indexed arguments for anynomous events. | chriseth | 2015-10-07 | 2 | -4/+24 | |
| | | ||||||
* | | Reject ether sent to library. | chriseth | 2015-10-07 | 1 | -0/+23 | |
|/ | ||||||
* | Merge pull request #117 from chriseth/internalTypesForLibrary | chriseth | 2015-10-07 | 4 | -5/+118 | |
|\ | | | | | Internal types for library | |||||
| * | Compiler version stamp. | chriseth | 2015-10-06 | 1 | -0/+11 | |
| | | ||||||
| * | Add structs to library interface. | chriseth | 2015-10-06 | 1 | -1/+2 | |
| | | ||||||
| * | Provide access to scoped structs. | chriseth | 2015-10-06 | 1 | -0/+27 | |
| | | ||||||
| * | Compute canonical names of types for function signatures. | chriseth | 2015-10-06 | 4 | -31/+50 | |
| | | ||||||
| * | Encode storage items correctly for library calls. | chriseth | 2015-10-06 | 1 | -0/+26 | |
| | | ||||||
| * | Test for internal types. | chriseth | 2015-10-06 | 1 | -0/+29 | |
| | | ||||||
* | | Merge pull request #115 from chriseth/testLongConstructorArguments | chriseth | 2015-10-06 | 1 | -0/+28 | |
|\ \ | |/ |/| | Test long constructor arguments. | |||||
| * | Test long constructor arguments. | chriseth | 2015-10-05 | 1 | -0/+28 | |
| | | ||||||
* | | Report warning in tests if requested. | chriseth | 2015-10-03 | 1 | -13/+11 | |
|/ | ||||||
* | Store small byte arrays and strings in storage in one slot with their | chriseth | 2015-10-02 | 1 | -0/+110 | |
| | | | | length. | |||||
* | -fixed the warning printing | LianaHus | 2015-10-02 | 1 | -3/+3 | |
| | | | | -style fixes | |||||
* | added warning for noninitialized references in storage. | LianaHus | 2015-10-02 | 1 | -9/+23 | |
| | ||||||
* | added test | LianaHus | 2015-10-02 | 1 | -0/+18 | |
| | ||||||
* | Bugfix in calldata unpacker. | chriseth | 2015-10-01 | 2 | -1/+20 | |
| | | | | | The offset was not specified correctly if memory activity preceded the unpacker. | |||||
* | Merge pull request #91 from chriseth/literalStringsToStoragePointer | chriseth | 2015-09-24 | 1 | -0/+10 | |
|\ | | | | | Literal strings to storage pointer | |||||
| * | Test that literal strings cannot be assigned to storage pointers. | chriseth | 2015-09-23 | 1 | -0/+10 | |
| | | ||||||
* | | improved the test | LianaHus | 2015-09-23 | 1 | -3/+13 | |
| | | ||||||
* | | fixed-sized arrays as return type | LianaHus | 2015-09-23 | 1 | -0/+19 | |
|/ | | | | | Conflicts: test/libsolidity/SolidityEndToEndTest.cpp | |||||
* | Merge pull request #85 from chriseth/warnings | chriseth | 2015-09-23 | 4 | -213/+258 | |
|\ | | | | | Support mulitple errors and warnings. | |||||
| * | Refactoring: Check types outside of AST and recover from some errors. | chriseth | 2015-09-22 | 4 | -213/+258 | |
| | | ||||||
* | | fixed the test | LianaHus | 2015-09-22 | 1 | -4/+1 | |
| | | ||||||
* | | fixed using string as a type for struct member | LianaHus | 2015-09-17 | 1 | -6/+6 | |
| | | ||||||
* | | test | LianaHus | 2015-09-17 | 1 | -0/+45 | |
|/ | | | | | Conflicts: test/libsolidity/SolidityEndToEndTest.cpp | |||||
* | throw statement implementation | LianaHus | 2015-09-16 | 1 | -0/+18 | |
| | ||||||
* | style fix | LianaHus | 2015-09-15 | 2 | -7/+7 | |
| | ||||||
* | fixed rebase | LianaHus | 2015-09-15 | 1 | -17/+0 | |
| | ||||||
* | moved the test | LianaHus | 2015-09-15 | 2 | -1/+17 | |
| | | | | | | Conflicts: test/libsolidity/SolidityEndToEndTest.cpp test/libsolidity/SolidityNameAndTypeResolution.cpp | |||||
* | returned test for exceptions in constructor | LianaHus | 2015-09-15 | 1 | -0/+17 | |
| | ||||||
* | - changed implementation | LianaHus | 2015-09-15 | 1 | -1/+1 | |
| | | | | - style fixes | |||||
* | some fixes in tests | LianaHus | 2015-09-15 | 1 | -48/+5 | |
| | ||||||
* | added compile time check for out of bounds access for ordinary arrays | LianaHus | 2015-09-15 | 1 | -26/+52 | |
| | | | | | | | todo: check for dynamicaly sized arrays Conflicts: test/libsolidity/SolidityEndToEndTest.cpp | |||||
* | test | LianaHus | 2015-09-15 | 1 | -0/+17 | |
| | ||||||
* | Merge pull request #66 from chriseth/sol_libraries | chriseth | 2015-09-12 | 7 | -8/+103 | |
|\ | | | | | Calling libraries. | |||||
| * | Possibility to call library functions. | chriseth | 2015-09-11 | 3 | -5/+57 | |
| | | ||||||
| * | Transition from bytecode to more general linker objects. | chriseth | 2015-09-11 | 4 | -4/+4 | |
| | | ||||||
| * | Parsing and type checking of libraries without inheritance. | chriseth | 2015-09-11 | 2 | -0/+43 | |
| | | ||||||
* | | Merge pull request #69 from LianaHus/sol_enum_too_many_indexed_args | chriseth | 2015-09-11 | 1 | -1/+0 | |
|\ \ | |/ |/| | too many indexed arguments for event | |||||
| * | add call for EventDefinition::checkTypeRequirements() | LianaHus | 2015-09-11 | 2 | -15/+0 | |
| | | ||||||
| * | added test | LianaHus | 2015-09-11 | 1 | -0/+14 | |
| | | | | | | | | | | Conflicts: test/libsolidity/SolidityEndToEndTest.cpp | |||||
* | | Merge pull request #65 from LianaHus/sol_Creating_a_contract_from_within_itself | chriseth | 2015-09-11 | 1 | -0/+12 | |
|\ \ | |/ |/| | Added error when creating a contract from within itself | |||||
| * | style fixes | LianaHus | 2015-09-11 | 1 | -1/+1 | |
| | | ||||||
| * | added type check if the type of the var decl is one of base contract type | LianaHus | 2015-09-10 | 2 | -11/+12 | |
| | | ||||||
| * | added test | LianaHus | 2015-09-10 | 1 | -0/+11 | |
| | | | | | | | | | | Conflicts: test/libsolidity/SolidityEndToEndTest.cpp | |||||
* | | - added tests to test empty comment | LianaHus | 2015-09-10 | 3 | -0/+36 | |
|/ | | | | | - fixed skipSingleLineComment - some style fixes | |||||
* | Merge pull request #51 from ethereum/revert-25-sol_strings_as_mapping_keys | chriseth | 2015-09-09 | 1 | -7/+4 | |
|\ | | | | | Revert "added check for string as mapping key for local var." | |||||
| * | Revert "added check for string as mapping key for local var." | chriseth | 2015-09-08 | 1 | -7/+4 | |
| | | ||||||
* | | Stylistic corrections. | chriseth | 2015-09-09 | 1 | -1/+1 | |
| | | ||||||
* | | Fix for constant strings. | chriseth | 2015-09-08 | 1 | -0/+32 | |
| | | ||||||
* | | - renamed AST to ast and ABI to abi | LianaHus | 2015-09-08 | 1 | -1/+1 | |
| | | | | | | | | - style fixes | |||||
* | | removed get prefix | LianaHus | 2015-09-08 | 4 | -23/+23 | |
| | | | | | | | | style fixes | |||||
* | | renamed getter functions | LianaHus | 2015-09-08 | 11 | -154/+154 | |
|/ | ||||||
* | added check for string as mapping key for local var. | LianaHus | 2015-08-24 | 1 | -4/+7 | |
| | ||||||
* | added test to check string as mapping key | LianaHus | 2015-08-24 | 1 | -0/+16 | |
| | ||||||
* | add tests for state variables accessors. normal and constant | LianaHus | 2015-08-21 | 1 | -0/+21 | |
| | | | | fixed the issue with accessors for constant state variables | |||||
* | Move Solidity tests. | chriseth | 2015-08-20 | 14 | -0/+12249 | |