Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add more complex tests for interfaces | Alex Beregszaszi | 2017-03-18 | 1 | -0/+35 |
| | |||||
* | Merge pull request #1698 from ethereum/exp-notation | chriseth | 2017-03-15 | 1 | -0/+33 |
|\ | | | | | Fix scientific notation in number literals | ||||
| * | Add tests for negative base | Alex Beregszaszi | 2017-03-15 | 1 | -0/+12 |
| | | |||||
| * | Add tests for fractional numbers in exponential notation | Alex Beregszaszi | 2017-03-15 | 1 | -0/+4 |
| | | |||||
| * | Add tests for scientific notation | Alex Beregszaszi | 2017-03-15 | 1 | -0/+17 |
| | | |||||
* | | Merge pull request #1729 from ethereum/constantvariables | Yoichi Hirai | 2017-03-15 | 1 | -1/+52 |
|\ \ | | | | | | | Only allow pure expressions for constant state variables. | ||||
| * | | Disallow constants that are neither value types nor strings. | chriseth | 2017-03-13 | 1 | -24/+26 |
| | | | |||||
| * | | Allow enum values for constants. | chriseth | 2017-03-13 | 1 | -1/+0 |
| | | | |||||
| * | | End to end tests for constants. | chriseth | 2017-03-13 | 1 | -0/+50 |
| |/ | |||||
* / | Require and Assert. | chriseth | 2017-03-14 | 1 | -18/+24 |
|/ | |||||
* | Test for array singletons. | chriseth | 2017-03-06 | 1 | -0/+14 |
| | |||||
* | Merge pull request #1702 from ethereum/assertError | Yoichi Hirai | 2017-03-04 | 1 | -18/+18 |
|\ | | | | | Change effect of assert to invalid opcode. | ||||
| * | Remove assert for now. | chriseth | 2017-02-24 | 1 | -18/+18 |
| | | |||||
* | | Disallow setting .gas() on .transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -17/+0 |
| | | |||||
* | | Fix test for gas overloading in .transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -2/+13 |
| | | |||||
* | | Support gas modifier on addr.transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -0/+6 |
| | | |||||
* | | Add test for address.transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -0/+36 |
|/ | |||||
* | Merge pull request #1661 from ethereum/asm-revert | chriseth | 2017-02-13 | 1 | -0/+24 |
|\ | | | | | Implement REVERT (EIP140) | ||||
| * | Check for state changes in revert() tests | Alex Beregszaszi | 2017-02-11 | 1 | -0/+5 |
| | | |||||
| * | Add tests for revert() | Alex Beregszaszi | 2017-02-11 | 1 | -0/+19 |
| | | |||||
* | | Merge pull request #1676 from ethereum/test-modifytimestamp | chriseth | 2017-02-13 | 1 | -2/+8 |
|\ \ | |/ |/| | Add blockTimestamp and do not rely on mining time (soltest) | ||||
| * | Compare start/end timestamp | Alex Beregszaszi | 2017-02-10 | 1 | -1/+4 |
| | | |||||
| * | Do not use modifyTimestamp where not needed | Alex Beregszaszi | 2017-02-10 | 1 | -2/+5 |
| | | |||||
* | | Add tests for assert() | Alex Beregszaszi | 2017-02-10 | 1 | -0/+19 |
|/ | |||||
* | Add more tests for function type conversion | Alex Beregszaszi | 2017-02-01 | 1 | -0/+19 |
| | |||||
* | Add tests for invalid instruction | Alex Beregszaszi | 2017-01-28 | 1 | -0/+15 |
| | |||||
* | Test double inclusion of bytecode. | chriseth | 2017-01-25 | 1 | -0/+29 |
| | |||||
* | Test for initializing recursive structs. | chriseth | 2017-01-24 | 1 | -0/+22 |
| | |||||
* | Merge pull request #1245 from ethereum/1215 | chriseth | 2017-01-24 | 1 | -0/+99 |
|\ | | | | | Allow multiple events of the same name | ||||
| * | test: add a test case about inheriting multiple events of the same name | Yoichi Hirai | 2017-01-23 | 1 | -0/+52 |
| | | |||||
| * | test: somehow log counting system has changed | Yoichi Hirai | 2017-01-23 | 1 | -10/+10 |
| | | |||||
| * | test: check the results of function calls in the test for multiple events of ↵ | Yoichi Hirai | 2017-01-23 | 1 | -6/+9 |
| | | | | | | | | the same name | ||||
| * | test: fixing inconsistent usage of end-to-end test framework | Yoichi Hirai | 2017-01-23 | 1 | -4/+7 |
| | | |||||
| * | test: Add an end-to-end test about multiple events of the same name | Yoichi Hirai | 2017-01-23 | 1 | -0/+41 |
| | | | | | | | | See #1215 | ||||
* | | Add tests for internal constructor. | chriseth | 2017-01-21 | 1 | -0/+10 |
|/ | |||||
* | Provide fallback for linking. | chriseth | 2017-01-19 | 1 | -12/+12 |
| | |||||
* | Use fully-qualified names for linking, too | Rhett Aultman | 2017-01-17 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | Using libraries leaves behind a library link reference in the binary which the linker must later resolve. These link references were still being generated by name and not by fully-qualified name. This would lead to a link-time collision between two libraries having the same name but in different source units. This change changes linker symbols over to fully-qualified names, which resolves that issue. This does potentially introduce a new problem, which is that linker symbols appear to be limited to 36 characters and are truncated. Storing paths extends the average symbol size, and it would be great if truncation was from the tail rather than the head. | ||||
* | analysis: allow some shadowings explicitly | Yoichi Hirai | 2017-01-12 | 1 | -54/+0 |
| | |||||
* | test: add a test case for #1286 | Yoichi Hirai | 2017-01-03 | 1 | -0/+22 |
| | |||||
* | Fix tests. | chriseth | 2016-12-14 | 1 | -5/+5 |
| | |||||
* | test: add tests that tries different types on <<= | Yoichi Hirai | 2016-12-13 | 1 | -0/+18 |
| | |||||
* | Tests for bytes. | chriseth | 2016-12-12 | 1 | -0/+38 |
| | |||||
* | Correct test expectations. | chriseth | 2016-12-12 | 1 | -3/+5 |
| | |||||
* | Cleaner shift handling and type conversion for binary operations. | chriseth | 2016-12-12 | 1 | -3/+22 |
| | |||||
* | Type after shift should be type of left operand. | chriseth | 2016-12-12 | 1 | -0/+15 |
| | |||||
* | Support bitshifting in variables | Alex Beregszaszi | 2016-12-12 | 1 | -0/+298 |
| | |||||
* | Merge pull request #1351 from ethereum/truncate_bit | chriseth | 2016-12-08 | 1 | -0/+28 |
|\ | | | | | Truncate a boolean from calldata into one bit | ||||
| * | test: add a test that witnesses #1318 | Yoichi Hirai | 2016-12-01 | 1 | -0/+28 |
| | | |||||
* | | Remove unneeded optimised test from EndToEndTest | Alex Beregszaszi | 2016-12-01 | 1 | -7/+0 |
| | | |||||
* | | Fix tests. | chriseth | 2016-12-01 | 1 | -11/+0 |
| | | |||||
* | | Merge pull request #1458 from federicobond/r-literals | chriseth | 2016-12-01 | 1 | -439/+564 |
|\ \ | | | | | | | Use more R string literals in tests | ||||
| * | | Use more R string literals in tests | Federico Bond | 2016-12-01 | 1 | -439/+564 |
| |/ | |||||
* / | Test that contracts separated by comments are compiled | Alex Beregszaszi | 2016-12-01 | 1 | -0/+12 |
|/ | |||||
* | Rename testSolidityAgainstCpp* to testContractAgainstCpp* | Alex Beregszaszi | 2016-11-30 | 1 | -75/+75 |
| | |||||
* | Move ExecutionFramework to the dev::test namespace | Alex Beregszaszi | 2016-11-30 | 1 | -0/+1 |
| | |||||
* | Split out Solidity-specific part of ExecutionFramework | Alex Beregszaszi | 2016-11-30 | 1 | -1/+2 |
| | |||||
* | test: add a test that stores an invalid enum value | Yoichi Hirai | 2016-11-24 | 1 | -0/+29 |
| | |||||
* | test: add a test about trying to log an event with too big enum values | Yoichi Hirai | 2016-11-24 | 1 | -0/+34 |
| | |||||
* | test: add a test that compares overflown enums | Yoichi Hirai | 2016-11-24 | 1 | -0/+33 |
| | |||||
* | Fix licensing headers | VoR0220 | 2016-11-23 | 1 | -4/+4 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Rename test contract names to capitalised | Alex Beregszaszi | 2016-11-18 | 1 | -12/+12 |
| | |||||
* | Add missing payable constructors | Alex Beregszaszi | 2016-11-18 | 1 | -1/+12 |
| | |||||
* | Change encoding to address-funid and add "function" as ABI type. | chriseth | 2016-11-16 | 1 | -3/+3 |
| | |||||
* | Converted sub assembly to smart pointer. | chriseth | 2016-11-16 | 1 | -1/+1 |
| | |||||
* | Stored combined creation and runtime tags. | chriseth | 2016-11-16 | 1 | -0/+63 |
| | | | | | | | Includes a change to Assembly to allow tags from sub-assemblies to be used. Sorry, this get a bit bigger than I thought. | ||||
* | Fix tests. | chriseth | 2016-11-16 | 1 | -1/+1 |
| | |||||
* | Test passing functions as arrays to other contracts. | chriseth | 2016-11-16 | 1 | -3/+40 |
| | |||||
* | Fix tests. | chriseth | 2016-11-16 | 1 | -9/+22 |
| | |||||
* | delete for function types | chriseth | 2016-11-16 | 1 | -1/+18 |
| | |||||
* | Implement uninitialized storage functions. | chriseth | 2016-11-16 | 1 | -3/+1 |
| | |||||
* | Tests for uninitialized storage functions. | chriseth | 2016-11-16 | 1 | -1/+53 |
| | |||||
* | test: add a test for storing an internal function in the constructor and ↵ | Yoichi Hirai | 2016-11-16 | 1 | -0/+46 |
| | | | | then using the stored function in runtime | ||||
* | Tests. | chriseth | 2016-11-16 | 1 | -24/+174 |
| | |||||
* | Add a test around storing functions in an array | Yoichi Hirai | 2016-11-16 | 1 | -0/+39 |
| | |||||
* | Add tests around calling functions returning functions returning functions | Yoichi Hirai | 2016-11-16 | 1 | -0/+30 |
| | |||||
* | External functions in storage. | chriseth | 2016-11-16 | 1 | -1/+27 |
| | |||||
* | Fix some type checks and tests for internal / external function parameters. | chriseth | 2016-11-16 | 1 | -4/+4 |
| | |||||
* | Function type state variables. | chriseth | 2016-11-16 | 1 | -1/+27 |
| | |||||
* | Code generator for function types. | chriseth | 2016-11-16 | 1 | -1/+48 |
| | |||||
* | Function types. | chriseth | 2016-11-16 | 1 | -0/+18 |
| | |||||
* | Rename ErrorTag to invalidJumpLabel in inline assembly | Alex Beregszaszi | 2016-11-15 | 1 | -2/+2 |
| | |||||
* | Add tests for the ErrorTag | Alex Beregszaszi | 2016-11-15 | 1 | -0/+15 |
| | |||||
* | test: add a testcase about using an invalid enum value as an external call ↵ | Yoichi Hirai | 2016-11-15 | 1 | -0/+27 |
| | | | | argument | ||||
* | test: add tests about returning invalid enum values from interface functions | Yoichi Hirai | 2016-11-14 | 1 | -0/+34 |
| | |||||
* | test: add a test converting -1 as a literal into an enum | Yoichi Hirai | 2016-11-12 | 1 | -0/+6 |
| | | | | This shows #1334 fixes #1344 | ||||
* | test: add a test case for #1343 | Yoichi Hirai | 2016-11-12 | 1 | -0/+6 |
| | | | | The test witnesses that #1334 fixes #1343. | ||||
* | test: add tests that witness issue #1311 | Yoichi Hirai | 2016-11-12 | 1 | -0/+24 |
| | |||||
* | test: add a test for #621 | Yoichi Hirai | 2016-11-11 | 1 | -0/+14 |
| | |||||
* | Add support for do/while loops | Rhett Aultman | 2016-11-10 | 1 | -0/+28 |
| | | | | | | | This commit adds support for a standard do <statement> while <expr>; form of statement. While loops were already being supported; supporting a do/while loop mostly involves reusing code from while loops but putting the conditional checking last. | ||||
* | Test case for overflow in storage. | chriseth | 2016-10-31 | 1 | -0/+20 |
| | |||||
* | test: add more tests about state variable access under base contract names | Yoichi Hirai | 2016-10-25 | 1 | -2/+35 |
| | |||||
* | test: add tests from #988 | Yoichi Hirai | 2016-10-24 | 1 | -0/+66 |
| | |||||
* | test: add a test case for accessing a state variable under the contract's name | Yoichi Hirai | 2016-10-24 | 1 | -0/+15 |
| | | | | The test comes from the description of #988 | ||||
* | test: add a test about using an inherited enum definition as an expression, | Yoichi Hirai | 2016-10-24 | 1 | -0/+42 |
| | | | | with an explicit mention of the base contract. The test is about #1131. | ||||
* | test: add tests for #1131 | Yoichi Hirai | 2016-10-21 | 1 | -0/+51 |
| | | | | The tests are about enum inheritance. | ||||
* | Add tests for inline assembly in modifiers | Alex Beregszaszi | 2016-10-21 | 1 | -0/+22 |
| | |||||
* | Add tests for constant shifts | Alex Beregszaszi | 2016-10-20 | 1 | -0/+44 |
| | |||||
* | Add a test for #1242 | Yoichi Hirai | 2016-10-18 | 1 | -0/+9 |
| | | | | This is about `super` as an expression. | ||||
* | Fix build error. | chriseth | 2016-10-11 | 1 | -4/+6 |
| | |||||
* | Merge pull request #1168 from ethereum/rename-dev-sha3 | chriseth | 2016-10-11 | 1 | -23/+23 |
|\ | | | | | Rename dev::sha3 to dev::keccak256 | ||||
| * | Rename dev::sha3 to dev::keccak256 | Alex Beregszaszi | 2016-10-06 | 1 | -23/+23 |
| | | |||||
* | | Add alias keccak256() for sha3() | Alex Beregszaszi | 2016-10-06 | 1 | -0/+18 |
|/ | |||||
* | Merge pull request #1104 from ethereum/fixmemcosts | chriseth | 2016-09-17 | 1 | -0/+27 |
|\ | | | | | Fix memory resize costs during call | ||||
| * | Access output memory area so that we do not pay for resize during call. | chriseth | 2016-09-17 | 1 | -1/+1 |
| | | |||||
| * | Test case. | chriseth | 2016-09-17 | 1 | -0/+27 |
| | | |||||
* | | Allow value transfer to library functions. | chriseth | 2016-09-17 | 1 | -0/+17 |
|/ | |||||
* | Fix problem with release version string. | chriseth | 2016-09-08 | 1 | -1/+1 |
| | |||||
* | Provide gas stipend manually for send(0). | chriseth | 2016-09-06 | 1 | -0/+20 |
| | |||||
* | Change placeholder style. | chriseth | 2016-09-06 | 1 | -1/+1 |
| | |||||
* | Change function type to include and propagate payable and constant modifier. | chriseth | 2016-09-06 | 1 | -32/+27 |
| | |||||
* | Merged in changes from chriseth/payable | Alex Beregszaszi | 2016-09-06 | 1 | -12/+37 |
| | |||||
* | Mark every other test payable where neccesary in EndToEndTest | Alex Beregszaszi | 2016-09-06 | 1 | -26/+29 |
| | |||||
* | Include EndToEnd test for payable keyword | Alex Beregszaszi | 2016-09-06 | 1 | -0/+57 |
| | |||||
* | Require ";" after "_" | chriseth | 2016-09-05 | 1 | -17/+17 |
| | |||||
* | Merge pull request #960 from Denton-L/change-else-style | chriseth | 2016-09-01 | 1 | -1/+2 |
|\ | | | | | Change else style | ||||
| * | Make tests more consistent in style | Denton Liu | 2016-08-27 | 1 | -1/+2 |
| | | |||||
* | | Test cases. | chriseth | 2016-08-30 | 1 | -0/+13 |
| | | |||||
* | | Make fallback function throw by default. | chriseth | 2016-08-30 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #897 from Denton-L/remove-standard | chriseth | 2016-08-27 | 1 | -15/+0 |
|\ | | | | | BREAKING: Remove standard contracts | ||||
| * | Remove standard contracts | Denton Liu | 2016-08-19 | 1 | -15/+0 |
| | | |||||
* | | Fix tests. | chriseth | 2016-08-26 | 1 | -9/+9 |
| | | |||||
* | | Merge pull request #928 from winsvega/solremove | chriseth | 2016-08-25 | 1 | -5/+16 |
|\ \ | |/ |/| | remove sha256 and rmd160 hash | ||||
| * | remove sha256 and rmd160 hash | Dimitry | 2016-08-24 | 1 | -5/+16 |
| | | |||||
* | | Merge pull request #839 from chriseth/checkcode | chriseth | 2016-08-17 | 1 | -0/+26 |
|\ \ | | | | | | | BREAKING: Make function calls throw if target does not have code. | ||||
| * | | Make function calls throw if target does not have code. | chriseth | 2016-08-17 | 1 | -0/+26 |
| |/ | | | | | | | | | Low-level calls still just execute and will actually report "success". This allows `x.call.value(y)()` for x being a non-contract account. | ||||
* | | Merge pull request #888 from chriseth/throwOnDivZero | chriseth | 2016-08-17 | 1 | -0/+21 |
|\ \ | | | | | | | Throw on division by zero. | ||||
| * | | Throw on division by zero. | chriseth | 2016-08-17 | 1 | -0/+21 |
| | | | |||||
* | | | BREAKING: return only exits current function/modifier | chriseth | 2016-08-17 | 1 | -2/+134 |
| |/ |/| | |||||
* | | Merge pull request #836 from chriseth/unusedunderscore | chriseth | 2016-08-17 | 1 | -2/+2 |
|\ \ | |/ |/| | BREAKING: Require modifiers to contain "_". | ||||
| * | Fix tests. | chriseth | 2016-08-17 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #838 from chriseth/ecrecover | chriseth | 2016-08-17 | 1 | -0/+16 |
|\ \ | | | | | | | Make ecrecover return zero for malformed input. | ||||
| * | | Actually better to return zero on error. | chriseth | 2016-08-16 | 1 | -5/+3 |
| | | | |||||
| * | | Make ecrecover throw for malformed input. | chriseth | 2016-08-16 | 1 | -0/+18 |
| |/ | |||||
* / | Throw if contract creation fails. | chriseth | 2016-08-16 | 1 | -0/+27 |
|/ | |||||
* | Make the Solidity repository standalone. | Bob Summerwill | 2016-08-01 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | 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 |
| | |||||
* | Fix some more tests. | chriseth | 2016-06-29 | 1 | -9/+8 |
| | |||||
* | replace BalanceAt | Dimitry | 2016-06-29 | 1 | -3/+3 |
| | | | | | add addressHasCode remove m_state and sealengine | ||||
* | Balance and storage. | chriseth | 2016-06-29 | 1 | -61/+61 |
| | |||||
* | logs | chriseth | 2016-06-29 | 1 | -6/+6 |
| | |||||
* | Refactor testing via IPC. | chriseth | 2016-06-29 | 1 | -1/+1 |
| | |||||
* | Add a test for a struct accessor. | chriseth | 2016-06-05 | 1 | -0/+26 |
| | |||||
* | Inaccessible dynamic types | chriseth | 2016-06-02 | 1 | -0/+19 |
| | |||||
* | Tests for invalid cleanup and missing bool conversion code. | chriseth | 2016-05-20 | 1 | -0/+18 |
| | |||||
* | 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 | ||||
* | | added bytes conversion tests, resolved that, converted to binary scaling, ↵ | VoR0220 | 2016-05-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | initial work for fixed types...potentially needing a constant literal type ↵ | RJ Catalano | 2016-05-10 | 1 | -0/+23 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Some more tests. | chriseth | 2016-05-04 | 1 | -0/+25 |
| | |||||
* | 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. | ||||
* | 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 |
| | |||||
* | 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 | 1 | -0/+89 |
| | |||||
* | Set version to 0.3.0 | chriseth | 2016-03-12 | 1 | -1/+1 |
| | |||||
* | BREAKING: Implement delegatecall and make default for library calls. | chriseth | 2016-03-12 | 1 | -0/+56 |
| | |||||
* | changes to redefine the token list, the scanner, and the parser and how they ↵ | RJ Catalano | 2016-02-19 | 1 | -2/+2 |
| | | | | | | | | 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 | ||||
* | Index access for bytesXX. | chriseth | 2016-02-10 | 1 | -0/+36 |
| | |||||
* | add more test cases for cond-expr | Lu Guanqun | 2016-01-23 | 1 | -0/+49 |
| | |||||
* | 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 | 1 | -16/+0 |
| | |||||
* | [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 end to end test | Lu Guanqun | 2016-01-23 | 1 | -0/+58 |
| | |||||
* | check whether break/continue is in the loop | Lu Guanqun | 2016-01-15 | 1 | -12/+0 |
| | |||||
* | clarification on dynamic arrays, switcheroo on typepointer, and a ↵ | RJ Catalano | 2016-01-12 | 1 | -0/+17 |
| | | | | documentation test added | ||||
* | one last test for long strings | RJ Catalano | 2016-01-11 | 1 | -0/+15 |
| | |||||
* | Update SolidityEndToEndTest.cpp | RJ | 2016-01-11 | 1 | -7/+18 |
| | |||||
* | Update SolidityEndToEndTest.cpp | RJ | 2016-01-10 | 1 | -0/+70 |
| | |||||
* | add a test case for decayed tuple expression as left value | Lu Guanqun | 2016-01-04 | 1 | -0/+15 |
| | |||||
* | Add structs and enums to contract types. | chriseth | 2015-12-18 | 1 | -0/+15 |
| | |||||
* | 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 #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 |
|/ | |||||
* | Code generation for creating arrays. | chriseth | 2015-11-26 | 1 | -0/+44 |
| | |||||
* | Allow "new expressions" also for general type names. | chriseth | 2015-11-26 | 1 | -1/+1 |
| | | | | | | | 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 #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 | 1 | -1/+1 |
|\ \ | |/ |/| | The Big Refactor | ||||
| * | 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 |
| |/ | |||||
* / | Fix dynamic indexed event arguments - applies sha3. | chriseth | 2015-11-17 | 1 | -0/+35 |
|/ | |||||
* | Bugfix: Returning literal strings in tuples. | chriseth | 2015-11-01 | 1 | -0/+20 |
| | |||||
* | Store docstrings in AST annotations. | chriseth | 2015-10-26 | 1 | -26/+0 |
| | |||||
* | File reorganisation. | chriseth | 2015-10-21 | 1 | -1/+1 |
| | |||||
* | Fix errors when struct array type is used on its own. | chriseth | 2015-10-16 | 1 | -0/+15 |
| | |||||
* | Wildcards. | chriseth | 2015-10-15 | 1 | -3/+6 |
| | |||||
* | Destructuring assignments. | chriseth | 2015-10-15 | 1 | -5/+42 |
| | |||||
* | Tuple expressions. | chriseth | 2015-10-15 | 1 | -0/+55 |
| | |||||
* | 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 |
| | | |||||
* | | errors instead of exceptions | LianaHus | 2015-10-15 | 1 | -2/+2 |
|/ | | | | | | | | | Conflicts: libsolidity/CompilerStack.cpp libsolidity/NameAndTypeResolver.cpp libsolidity/NameAndTypeResolver.h libsolidity/TypeChecker.cpp test/libsolidity/SolidityNameAndTypeResolution.cpp | ||||
* | Tests for multi variable declaration. | chriseth | 2015-10-09 | 1 | -0/+24 |
| | |||||
* | Resolve binary dependencies properly. | chriseth | 2015-10-07 | 1 | -8/+18 |
| | |||||
* | Merge pull request #122 from chriseth/anonymousEventsWithFourIndexedParams | chriseth | 2015-10-07 | 1 | -4/+6 |
|\ | | | | | Allow four indexed arguments for anynomous events. | ||||
| * | Allow four indexed arguments for anynomous events. | chriseth | 2015-10-07 | 1 | -4/+6 |
| | | |||||
* | | Reject ether sent to library. | chriseth | 2015-10-07 | 1 | -0/+23 |
|/ | |||||
* | Merge pull request #117 from chriseth/internalTypesForLibrary | chriseth | 2015-10-07 | 1 | -0/+67 |
|\ | | | | | Internal types for library | ||||
| * | Compiler version stamp. | chriseth | 2015-10-06 | 1 | -0/+11 |
| | | |||||
| * | Provide access to scoped structs. | chriseth | 2015-10-06 | 1 | -0/+27 |
| | | |||||
| * | Compute canonical names of types for function signatures. | chriseth | 2015-10-06 | 1 | -26/+0 |
| | | |||||
| * | 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 |
| | | |||||
* | | Test long constructor arguments. | chriseth | 2015-10-05 | 1 | -0/+28 |
|/ | |||||
* | Store small byte arrays and strings in storage in one slot with their | chriseth | 2015-10-02 | 1 | -0/+110 |
| | | | | length. | ||||
* | Bugfix in calldata unpacker. | chriseth | 2015-10-01 | 1 | -0/+19 |
| | | | | | The offset was not specified correctly if memory activity preceded the unpacker. | ||||
* | 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 | 1 | -1/+1 |
|\ | | | | | Support mulitple errors and warnings. | ||||
| * | Refactoring: Check types outside of AST and recover from some errors. | chriseth | 2015-09-22 | 1 | -1/+1 |
| | | |||||
* | | 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 | 1 | -1/+1 |
| | |||||
* | fixed rebase | LianaHus | 2015-09-15 | 1 | -17/+0 |
| | |||||
* | moved the test | LianaHus | 2015-09-15 | 1 | -0/+3 |
| | | | | | | 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 |
| | |||||
* | Possibility to call library functions. | chriseth | 2015-09-11 | 1 | -0/+32 |
| | |||||
* | 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 |
|/ | |||||
* | 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 | 1 | -0/+5168 |