Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Include Unicode tests in the scanner | Alex Beregszaszi | 2016-08-05 | 1 | -0/+40 |
| | |||||
* | Fixed up broken ifdefs in new sockets code. | Bob Summerwill | 2016-08-03 | 1 | -1/+1 |
| | |||||
* | Fix build break in new TestHelper code. | Bob Summerwill | 2016-08-03 | 1 | -1/+1 |
| | |||||
* | Windows pipe for soltest | Dmitry K | 2016-08-03 | 6 | -35/+176 |
| | |||||
* | Merge branch 'develop' of https://github.com/ethereum/solidity into develop | Dmitry K | 2016-08-02 | 10 | -50/+153 |
|\ | |||||
| * | Further fixes to the optimizer. | chriseth | 2016-08-02 | 1 | -1/+4 |
| | | |||||
| * | Test case. | chriseth | 2016-08-01 | 1 | -0/+58 |
| | | |||||
| * | Fix optimizer tests. | chriseth | 2016-08-01 | 1 | -3/+6 |
| | | |||||
| * | Make the Solidity repository standalone. | Bob Summerwill | 2016-08-01 | 9 | -46/+71 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is the culmination of several months of work to decouple Solidity from the webthree-umbrella so that it can be developed in parallel with cpp-ethereum (the Ethereum C++ runtime) and so that even for the Solidity unit-tests there is no hard-dependency onto the C++ runtime. The Tests-over-IPC refactoring was a major step in the same process which was already committed. This commit contains the following changes: - A subset of the CMake functionality in webthree-helpers was extracted and tailored for Solidity into ./cmake. Further cleanup is certainly possible. - A subset of the libdevcore functionality in libweb3core was extracted and tailored for Solidity into ./libdevcore. Further cleanup is certainly possible - The gas price constants in EVMSchedule were orphaned into libevmasm. - Some other refactorings and cleanups were made to sever unnecessary EVM dependencies in the Solidity unit-tests. - TravisCI and Appveyor support was added, covering builds and running of the unit-tests (Linux and macOS only for now) - A bug-fix was made to get the Tests-over-IPC running on macOS. - There are still reliability issues in the unit-tests, which need immediate attention. The Travis build has been flipped to run the unit-tests 5 times, to try to flush these out. - The Emscripten automation which was previously in webthree-umbrella was merged into the TravisCI automation here. - The development ZIP deployment step has been commented out, but we will want to read that ONLY for release branch. Further iteration on these changes will definitely be needed, but I feel these have got to sufficient maturity than holding them back further isn't winning us anything. It is go time :-) | ||||
| * | Bugfix: Allocate empty array. | chriseth | 2016-07-28 | 1 | -0/+14 |
| | | |||||
* | | windowspipe | Dmitry K | 2016-08-02 | 2 | -0/+28 |
|/ | |||||
* | Source location as part of AST. | chriseth | 2016-07-21 | 1 | -0/+69 |
| | |||||
* | Do not link to libethereum for tests. | chriseth | 2016-07-01 | 1 | -1/+1 |
| | |||||
* | Fix jsoncpp includes for macos. | chriseth | 2016-07-01 | 2 | -3/+3 |
| | |||||
* | Fix test contracts. | chriseth | 2016-06-29 | 2 | -5/+12 |
| | |||||
* | Re-enable registrar tests. | chriseth | 2016-06-29 | 1 | -2/+2 |
| | |||||
* | Rename IPCSocket and removed unused code in TestHelper. | chriseth | 2016-06-29 | 5 | -90/+4 |
| | |||||
* | Fixes for gas tests. | chriseth | 2016-06-29 | 1 | -1/+16 |
| | |||||
* | Some more test fixes. | chriseth | 2016-06-29 | 3 | -5/+6 |
| | |||||
* | Fix some more tests. | chriseth | 2016-06-29 | 8 | -179/+220 |
| | |||||
* | Fix empty storage check. | chriseth | 2016-06-29 | 1 | -1/+3 |
| | |||||
* | Parse arguments in free function. | chriseth | 2016-06-29 | 2 | -18/+10 |
| | |||||
* | parse command line arguments | Dimitry | 2016-06-29 | 2 | -3/+32 |
| | | | | ipcPath | ||||
* | replace BalanceAt | Dimitry | 2016-06-29 | 5 | -24/+27 |
| | | | | | add addressHasCode remove m_state and sealengine | ||||
* | Balance and storage. | chriseth | 2016-06-29 | 5 | -65/+82 |
| | |||||
* | logs | chriseth | 2016-06-29 | 5 | -12/+42 |
| | |||||
* | style | Dimitry | 2016-06-29 | 1 | -5/+4 |
| | |||||
* | fix rpc mining | Dimitry | 2016-06-29 | 1 | -18/+12 |
| | |||||
* | Refactor testing via IPC. | chriseth | 2016-06-29 | 13 | -194/+239 |
| | |||||
* | Style | chriseth | 2016-06-29 | 2 | -9/+11 |
| | |||||
* | test framework | Dimitry | 2016-06-29 | 4 | -64/+375 |
| | | | | IPC socket and RPC communication with node | ||||
* | Initial poc to test via ipc. | chriseth | 2016-06-29 | 1 | -0/+31 |
| | |||||
* | Only warn about unused return in low-level functions. | chriseth | 2016-06-26 | 1 | -1/+49 |
| | |||||
* | Warn about unused return values. | chriseth | 2016-06-26 | 1 | -0/+25 |
| | |||||
* | Allow remappings to change depending on the context. | chriseth | 2016-06-09 | 1 | -0/+22 |
| | |||||
* | Tests for implementation by constructor. | chriseth | 2016-06-07 | 1 | -0/+15 |
| | |||||
* | Merge pull request #624 from chriseth/inaccessibleDynType | chriseth | 2016-06-06 | 2 | -0/+47 |
|\ | | | | | Inaccessible dynamic types | ||||
| * | Add a test for a struct accessor. | chriseth | 2016-06-05 | 1 | -0/+26 |
| | | |||||
| * | Inaccessible dynamic types | chriseth | 2016-06-02 | 2 | -0/+21 |
| | | |||||
* | | Include nested headers. | chriseth | 2016-06-03 | 1 | -1/+1 |
|/ | |||||
* | Fixes for invalid cleanups for small types. | chriseth | 2016-05-20 | 1 | -3/+4 |
| | |||||
* | Tests for invalid cleanup and missing bool conversion code. | chriseth | 2016-05-20 | 2 | -0/+30 |
| | |||||
* | explicit conversion and loosening of binary operations on integer and fixed ↵ | VoR0220 | 2016-05-19 | 1 | -2/+1 |
| | | | | | | point types...still other problems fixed some spaces and deleted lines from failing test | ||||
* | current debugging info | VoR0220 | 2016-05-19 | 1 | -0/+39 |
| | |||||
* | Merge pull request #545 from chriseth/accessFunLabels | chriseth | 2016-05-18 | 1 | -0/+19 |
|\ | | | | | Allow access to functions in inline assembly. | ||||
| * | Allow access to functions in inline assembly. | chriseth | 2016-05-12 | 1 | -0/+19 |
| | | |||||
* | | Merge pull request #546 from chriseth/fixiszero | chriseth | 2016-05-14 | 1 | -0/+20 |
|\ \ | |/ |/| | Correctly use not/bnot/iszero. | ||||
| * | Correctly use not/bnot/iszero. | chriseth | 2016-05-09 | 1 | -0/+20 |
| | | | | | | | | | | A long time ago, some opcodes were renamed. Now we should only have not (bitwise negation) and iszero (logical negation). | ||||
* | | Remove unused tests and add asserts for not implemented parts in code ↵ | chriseth | 2016-05-11 | 1 | -22/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | generation. quick fix on christian's rational change so that ubuntu will stop yelling be more specific with rational declaration for Windows sake rational in namespace correction for windows | ||||
* | | Correctly handle unexpected exceptions during tests. | chriseth | 2016-05-11 | 1 | -2/+34 |
| | | |||||
* | | reorganized tests and fixed mobile types and implicit conversions of ↵ | VoR0220 | 2016-05-10 | 1 | -82/+125 |
| | | | | | | | | | | | | | | | | rationals and fixed point types one final tweak check for null types | ||||
* | | updated algorithm for bit finding...now to figure out literal value | VoR0220 | 2016-05-10 | 1 | -4/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | tiny fixups changed location of the check got rid of extra space and fixed a couple of things added binary results bits change back literal value | ||||
* | | added bytes conversion tests, resolved that, converted to binary scaling, ↵ | VoR0220 | 2016-05-10 | 2 | -26/+64 |
| | | | | | | | | | | | | | | | | | | | | | | | | refactored the find algo to prevent large numbers and take into account integer bytes think we're good on solidity type name resolution now removed couts updates to documentation and more removed couts along with literal value implementation forgot semicolons | ||||
* | | fixing modulus and Solidity Name and Type Resolution | VoR0220 | 2016-05-10 | 1 | -272/+0 |
| | | | | | | | | | | | | minor fixes current attempts at binary fixup | ||||
* | | currently what we have | VoR0220 | 2016-05-10 | 1 | -1/+1 |
| | | |||||
* | | got exponents up and working with their inverse, changed a few of the ↵ | RJ Catalano | 2016-05-10 | 1 | -41/+131 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests....something is working that likely shouldn't be slight changes to how to flip the rational negative around...still trying to figure it out tests added updated tests odd differences in trying soltest from solc binary, let me know if you can replicate test not working for odd reason fixed test problem with fixed literals...still need a way to log this error broken up the tests, added some, changed some things in types and began compiler work moar tests and prepping for rebuilding much of the types.cpp file further fixing infinite loop still happening but it's somewhere in the fixedPoint methodd fractional bits needed algo improved! Eliminated 2 errors Corrected problems with the previous commit. No infinite loops. Actually appear to have corrected an error | ||||
* | | fixed problem with var...probably a conversion problem for fixed in size ↵ | RJ Catalano | 2016-05-10 | 1 | -2/+70 |
| | | | | | | | | | | | | | | | | capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together | ||||
* | | fix for token bug, also quick fix for the wei and seconds | RJ Catalano | 2016-05-10 | 1 | -1/+1 |
| | | |||||
* | | Rational implemented...trying to figure out exponential | RJ Catalano | 2016-05-10 | 1 | -2/+30 |
| | | |||||
* | | initial work for fixed types...potentially needing a constant literal type ↵ | RJ Catalano | 2016-05-10 | 3 | -31/+475 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for this notation Rational implemented...trying to figure out exponential fix for token bug, also quick fix for the wei and seconds fixed problem with var...probably a conversion problem for fixed in size capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together size capabilities functioning properly for fixed types got exponents up and working with their inverse, changed a few of the tests....something is working that likely shouldn't be slight changes to how to flip the rational negative around...still trying to figure it out tests added updated tests odd differences in trying soltest from solc binary, let me know if you can replicate test not working for odd reason fixed test problem with fixed literals...still need a way to log this error broken up the tests, added some, changed some things in types and began compiler work moar tests and prepping for rebuilding much of the types.cpp file further fixing initial work for fixed types...potentially needing a constant literal type for this | ||||
* | Modify failing test: Accessor functions are not available anymore in libraries. | chriseth | 2016-05-04 | 1 | -2/+1 |
| | |||||
* | Some more tests. | chriseth | 2016-05-04 | 2 | -0/+39 |
| | |||||
* | Allow calling internal functions of libraries. | chriseth | 2016-05-04 | 1 | -0/+77 |
| | | | | | | | | | | | | Internal functions of libraries can be called as if the library were a base contract of the calling contract. As the calling convention for internal functions is to not create a new call context, the code of these functions will be pulled into the context of the caller, duplicating their code. This might pull in code of further internal or even private functions. The use case for such functions is to allow libraries which can operate on memory types such that these types can also be modified in place. | ||||
* | wrap soltest add_executable | rainbeam | 2016-05-01 | 1 | -1/+1 |
| | | | | Allows static linking. | ||||
* | Merge pull request #507 from chriseth/sealEngine | Bob Summerwill | 2016-04-16 | 1 | -13/+2 |
|\ | | | | | Explicitly init seal engine. | ||||
| * | Explicitly init seal engine. | chriseth | 2016-04-16 | 1 | -13/+2 |
| | | |||||
* | | Test for bug in static array constructor argument decoder. | chriseth | 2016-04-16 | 1 | -0/+20 |
|/ | |||||
* | Test for bug when deleting dynamic array of structs. | chriseth | 2016-04-15 | 1 | -0/+22 |
| | |||||
* | Merge pull request #491 from winsvega/sealengines | Bob Summerwill | 2016-04-13 | 1 | -0/+14 |
|\ | | | | | sealengines throught init function | ||||
| * | sealengines throught init function | Dimitry | 2016-04-11 | 1 | -0/+14 |
| | | |||||
* | | Merge pull request #496 from chriseth/removelog | Bob Summerwill | 2016-04-12 | 5 | -5/+0 |
|\ \ | |/ |/| | Remove log.h from solidity. | ||||
| * | Remove log.h from solidity. | chriseth | 2016-04-12 | 5 | -5/+0 |
| | | |||||
* | | Make solidity independent from ethcore. | chriseth | 2016-04-07 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #475 from chriseth/byteasm | chriseth | 2016-04-06 | 1 | -0/+5 |
|\ | | | | | Allow "byte" in inline assembly. | ||||
| * | Allow "byte" in inline assembly. | chriseth | 2016-04-06 | 1 | -0/+5 |
| | | |||||
* | | reduce unnecessary solidity:: namespace | Dimitry | 2016-04-04 | 1 | -111/+111 |
| | | |||||
* | | enable solidity test | Dimitry | 2016-04-04 | 2 | -130/+130 |
|/ | |||||
* | Merge pull request #470 from chriseth/redundancy | Bob Summerwill | 2016-04-01 | 1 | -2/+3 |
|\ | | | | | Remove code duplication in source references formatter. | ||||
| * | Remove code duplication in source references formatter. | chriseth | 2016-04-01 | 1 | -2/+3 |
| | | |||||
* | | Merge pull request #457 from VoR0220/tokenNameAndStringFix | chriseth | 2016-04-01 | 1 | -0/+12 |
|\ \ | |/ |/| | Fix for Token::name and token::toString | ||||
| * | added solidity invalid fixed type test | VoR0220 | 2016-03-31 | 1 | -0/+12 |
| | | |||||
* | | Test to check we correctly clean higher order bits for index access. | chriseth | 2016-03-31 | 1 | -0/+16 |
|/ | |||||
* | Code generation (missing external access and source locations). | chriseth | 2016-03-30 | 2 | -12/+118 |
| | |||||
* | Parsing for inline assembly. | chriseth | 2016-03-30 | 1 | -0/+138 |
| | |||||
* | Fix Windows warning for boost in solidity tests. | Bob Summerwill | 2016-03-22 | 1 | -1/+9 |
| | | | | We need this fixed before we can enable warnings-as-errors. | ||||
* | Fixed Windows warnings | Bob Summerwill | 2016-03-18 | 4 | -2/+20 |
| | |||||
* | Set version to 0.3.0 | chriseth | 2016-03-12 | 1 | -1/+1 |
| | |||||
* | added keyword type and some tests, changes in lexical cast | RJ Catalano | 2016-03-12 | 1 | -0/+13 |
| | |||||
* | BREAKING: Implement delegatecall and make default for library calls. | chriseth | 2016-03-12 | 3 | -1/+70 |
| | |||||
* | Test for optimizer bug caused by not incrementing the sequence counter. | chriseth | 2016-03-11 | 1 | -0/+14 |
| | |||||
* | further optimization, splitting function into pieces | RJ Catalano | 2016-02-19 | 1 | -0/+25 |
| | | | | generating strings on the fly, changed name, and added two tests | ||||
* | added two functions in Token to handle long identifiers, redid ↵ | RJ Catalano | 2016-02-19 | 1 | -101/+113 |
| | | | | fromIdentifierOrKeyword, and made complementary changes in scanner and parser | ||||
* | tests added and changes made | RJ Catalano | 2016-02-19 | 2 | -110/+140 |
| | | | | | | fixed some silly problems in Token.cpp windows error fix | ||||
* | changes to redefine the token list, the scanner, and the parser and how they ↵ | RJ Catalano | 2016-02-19 | 3 | -119/+120 |
| | | | | | | | | pass around variable types of different sizes not ready for change to FixedPoint just yet made this more const correct and added a switch statement for easier reading | ||||
* | Test for segfault when using wrong number of constructor arguments. | chriseth | 2016-02-12 | 1 | -0/+15 |
| | |||||
* | Index access for bytesXX. | chriseth | 2016-02-10 | 2 | -0/+49 |
| | |||||
* | add more test cases for cond-expr | Lu Guanqun | 2016-01-23 | 1 | -0/+49 |
| | |||||
* | cond-expr: add more unit tests | Lu Guanqun | 2016-01-23 | 2 | -14/+150 |
| | |||||
* | cond-expr: use the mobile type instead of the original type | Lu Guanqun | 2016-01-23 | 1 | -1/+34 |
| | |||||
* | [cond-expr] change the end to end test | Lu Guanqun | 2016-01-23 | 1 | -4/+5 |
| | |||||
* | [cond-expr] add a test for different types | Lu Guanqun | 2016-01-23 | 1 | -0/+15 |
| | |||||
* | [cond-expr] add a test to assign memory to storage | Lu Guanqun | 2016-01-23 | 1 | -0/+33 |
| | |||||
* | [cond-expr] don't allow conditional as left value for the first stage | Lu Guanqun | 2016-01-23 | 2 | -18/+4 |
| | |||||
* | [cond-expr] fixup according to code review | Lu Guanqun | 2016-01-23 | 1 | -2/+13 |
| | |||||
* | comment out one un-supported test case | Lu Guanqun | 2016-01-23 | 1 | -0/+2 |
| | |||||
* | fixup end to end test | Lu Guanqun | 2016-01-23 | 1 | -1/+1 |
| | |||||
* | [cond-expr] add another parser expression | Lu Guanqun | 2016-01-23 | 1 | -0/+1 |
| | |||||
* | [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 |
| | |||||
* | Fix a "Solidity::solidity" dependency edge in the CMake file for soltest, ↵ | Bob Summerwill | 2015-12-06 | 1 | -1/+1 |
| | | | | | | | which got missed in the previous PR. This change resolves an inconsistency which was discovered in the automated dependency graph generation. softest was being declared as dependent on the Solidity module, not on just libsolidity, as it should be. | ||||
* | 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 | 2 | -2/+18 |
|\ \ | | | | | | | Introduce selfdestruct alias for suicide. | ||||
| * | | Introduce selfdestruct alias for suicide. | chriseth | 2015-11-29 | 2 | -2/+18 |
| |/ | |||||
* / | 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 |
| | |||||
* | Allow building with new boost version 1.59 | Lefteris Karapetsas | 2015-10-25 | 1 | -7/+27 |
| | |||||
* | 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. | ||||
* | used throw statement instead of __throw() | LianaHus | 2015-09-30 | 1 | -9/+4 |
| | |||||
* | 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 |
| |