Commit Graph

8010 Commits

Author SHA1 Message Date
Alex Beregszaszi
556ddd0f38 Merge pull request #2564 from ethereum/large-arrays-calldata
Add type error for arrays too large for calldata
2017-07-13 23:07:34 +02:00
Alex Beregszaszi
4229caaadc Disable large arrays for memory location too 2017-07-13 22:47:35 +02:00
Alex Beregszaszi
e640bb2aed Add tests for large calldata arrays 2017-07-13 22:47:35 +02:00
Alex Beregszaszi
cb4875a28b Issue error properly for oversized arrays for calldata 2017-07-13 22:33:46 +02:00
chriseth
63bf0f68e6 Merge pull request #2553 from ethereum/extract-docs-tests
Extract examples from documentation and run tests on it
2017-07-13 22:16:49 +02:00
chriseth
a8d78bb767 Refactor compilation tests. 2017-07-13 21:47:29 +02:00
chriseth
d3b447c203 Ignore the docs build directory. 2017-07-13 21:47:29 +02:00
Alex Beregszaszi
41e5b2c3c2 Fix bugs in example contracts 2017-07-13 21:47:29 +02:00
Alex Beregszaszi
b2fcd59ee6 Add version pragma to docs examples 2017-07-13 17:10:37 +02:00
Alex Beregszaszi
9a5aac599e Run tests on source code from docs 2017-07-13 17:10:37 +02:00
Alex Beregszaszi
32a76f15e0 Upgrade isolate_tests.py to support extracting code from docs 2017-07-13 17:10:37 +02:00
Alex Beregszaszi
b5da5f6e42 Merge pull request #2504 from ethereum/inlineasm-decl-empty
Support variable declarations without an assignment in assembly
2017-07-13 16:58:24 +02:00
chriseth
d1c3ecc94a Merge pull request #2567 from ethereum/refactorExceptions
Refactor exceptions and provide comment function.
2017-07-13 16:56:03 +02:00
Alex Beregszaszi
32247fd028 Merge pull request #2569 from ethereum/transferToTransfer
Add another transfer testcase.
2017-07-13 16:20:11 +02:00
Alex Beregszaszi
8d90e6fc4e Rename expectedItems to numVariables 2017-07-13 15:18:40 +02:00
Alex Beregszaszi
ee3a2c0599 Add end-to-end test 2017-07-13 15:18:40 +02:00
Alex Beregszaszi
b65601bb3d Add changelog and documentation 2017-07-13 15:18:40 +02:00
Alex Beregszaszi
03abf792c5 Support variable declarations without an assignment in EVM 2017-07-13 15:18:18 +02:00
Alex Beregszaszi
cee93d946d Support parsing let statements without a value 2017-07-13 15:18:18 +02:00
chriseth
c9b51e71bd Add another transfer testcase. 2017-07-13 15:10:34 +02:00
chriseth
2b33e0bcec Merge pull request #2544 from federicobond/error-value-transfer-non-payable
Add type error when attempting to transfer value to a non-payable contract
2017-07-13 15:08:36 +02:00
chriseth
09e821619e Refactor exceptions and provide comment function. 2017-07-13 11:34:03 +02:00
Federico Bond
da917333d9 Fix error message formatting 2017-07-12 23:59:45 -03:00
Federico Bond
f20b150f38 Add type error when attempting value transfer to a non-payable contract 2017-07-12 23:57:53 -03:00
Alex Beregszaszi
757c500bda Merge pull request #2562 from ethereum/addGnosisTestContracts
Gnosis compilation contracts.
2017-07-12 20:38:52 +02:00
chriseth
b1c1fb6c83 Gnosis compilation contracts. 2017-07-12 15:55:11 +02:00
chriseth
91f17a3662 Merge pull request #2560 from ethereum/abi-spec-nitpick
Nitpicking abi-spec.rst
2017-07-12 15:16:23 +02:00
chriseth
b7a59652f1 Merge pull request #2501 from ethereum/undef-macros
Move UndefMacros from libdevcore to libsolidity/parsing
2017-07-12 15:07:20 +02:00
chriseth
106acd9cbb Merge pull request #2522 from ethereum/testCode
Added various contracts for testing.
2017-07-12 15:03:29 +02:00
chriseth
fca8d781b4 Merge pull request #2556 from ethereum/inlineasm-calldata
Issue proper warning trying to access calldata variables in inline assembly
2017-07-12 15:02:20 +02:00
Yoichi Hirai
6307a12651
Borrow a sentence from @axic
and edit the phrase "following its type", which sounded like the data follows the type in the call data.
2017-07-12 14:37:12 +02:00
Yoichi Hirai
d5c3ef4605
Nitpicking abi-spec.rst 2017-07-12 13:27:47 +02:00
chriseth
b981ef2055 Merge pull request #1477 from ethereum/doc-remove-fixed
[WIP] docs: ``var x = 1/4`` is not working, so remove description about it
2017-07-12 12:11:13 +02:00
Alex Beregszaszi
db7ad508f8 Issue proper warning trying to access calldata variables in inline assembly 2017-07-12 10:48:44 +02:00
Alex Beregszaszi
699a3724ae Merge pull request #2545 from benjaminion/lll-alloc-updated
LLL: alloc issues round-up
2017-07-11 22:44:41 +02:00
benjaminion
3bc935d932 LLL: rewrite alloc to avoid issues with edge cases. 2017-07-11 21:22:38 +01:00
chriseth
709b1a99c1 Merge pull request #2557 from ethereum/appveyor
Add failing implicit conversion test
2017-07-11 18:38:21 +02:00
Alex Beregszaszi
1682767c6e Add failing implicit conversion test 2017-07-11 14:51:58 +01:00
Alex Beregszaszi
0b17ff1bdd Merge pull request #2554 from ethereum/minMaxValue
Some helper functions.
2017-07-11 12:31:04 +02:00
chriseth
01a1296e90 Helper functions. 2017-07-11 11:24:41 +02:00
Alex Beregszaszi
6fa5d47f8f Merge pull request #2551 from ethereum/fixStructMemberWarning
Fix invalid "explicit storage keyword" warning for reference members of structs.
2017-07-10 19:31:09 +02:00
chriseth
883666d2c0 Fix invalid "explicit storage keyword" warning for reference members of structs. 2017-07-10 18:30:41 +02:00
Alex Beregszaszi
aafcc3606c Merge pull request #2536 from ethereum/releaseChecklist
Release checklist
2017-07-09 09:54:36 +02:00
chriseth
161515f425 Release checklist 2017-07-09 08:26:57 +01:00
Alex Beregszaszi
0b5c0d60bf Merge pull request #2539 from hh3755/patch-1
typo of bitween for between
2017-07-09 00:30:51 +02:00
Alex Beregszaszi
7d1ddfc652 Merge pull request #2540 from benjaminion/lll-for-test
LLL: Test cases for for and while loops.
2017-07-09 00:30:17 +02:00
benjaminion
e3c58eada6 Test cases for for and while loops. 2017-07-08 19:55:41 +01:00
hh3755
d01b02f8cf typo of bitween for between 2017-07-08 17:23:48 +08:00
chriseth
f129372245 Merge pull request #2535 from ethereum/release
Merge release back into develop.
2017-07-06 15:55:05 +02:00
chriseth
08dade9fba Merge pull request #2534 from ethereum/chriseth-patch-1
Bump version.
2017-07-06 14:53:45 +02:00