Commit Graph

489 Commits

Author SHA1 Message Date
Paweł Bylica 759e67a1c6
Rename examplevm to example-vm 2018-08-31 13:10:07 +02:00
Paweł Bylica 0bb3a67284
CMake: Flatten examplevm 2018-08-31 13:10:07 +02:00
Paweł Bylica f858f79e2a
CMake: Flatten example_host 2018-08-31 13:10:06 +02:00
Paweł Bylica 98213f93ec
Add back main example that uses example Host and VM 2018-08-31 13:09:05 +02:00
Paweł Bylica 78888b57a9
Create header for example_host 2018-08-31 13:09:04 +02:00
Paweł Bylica 43dce45a5b
Create context in example host 2018-08-31 13:09:04 +02:00
Paweł Bylica 5aefc4faf3
Replace capi.c example with example_host.cpp 2018-08-31 13:09:04 +02:00
Paweł Bylica 4d4ff37c1c
CMake: EVMC_TESTING option implies EVMC_EXAMPLES 2018-08-31 10:17:06 +02:00
Paweł Bylica 297ce06f05
Merge pull request #119 from ethereum/loader
Generalize loader searching algorithm
2018-08-31 10:15:06 +02:00
Paweł Bylica eadcd23ce8
changelog: Add entry about loader symbol searching 2018-08-30 23:24:24 +02:00
Paweł Bylica a0bffe9523
Generalize loader searching algorithm
Allow loader to shorten the name word by word to the point where only single word is left.
2018-08-30 23:24:24 +02:00
Alex Beregszaszi 4955ebfba1
Merge pull request #114 from ethereum/tx-context
Return evmc_tx_context in get_tx_context (as opposed to pointer parameter)
2018-08-30 14:24:50 +01:00
Alex Beregszaszi 0403343779 Return evmc_tx_context in get_tx_context (as opposed to pointer parameter) 2018-08-30 14:03:50 +01:00
Paweł Bylica a6c5721c51
Merge pull request #115 from ethereum/go-fix-host-checks
go: Fix Host functions type checks
2018-08-30 14:50:38 +02:00
Paweł Bylica 47cc4cab71
go: Fix Host functions type checks 2018-08-30 14:12:00 +02:00
Alex Beregszaszi cd7ccf8906
Merge pull request #109 from ethereum/call-return-result
Return result from call_fn
2018-08-30 12:24:54 +01:00
Paweł Bylica e119c535df
Merge pull request #111 from ethereum/go-host-type-checks
go: Add Host exported functions type checks
2018-08-30 13:21:24 +02:00
Paweł Bylica 83f135b5c5
go: Add Host exported functions type checks 2018-08-30 13:03:50 +02:00
Paweł Bylica febd7a1878
Merge pull request #113 from ethereum/appveyor
AppVeyor fixes
2018-08-30 12:57:11 +02:00
Paweł Bylica 04423b62dd
Upgrade Hunter to 0.23.4
This change tries to refresh AppVeyor cache.
2018-08-30 11:34:13 +02:00
Paweł Bylica a889442d6a
loader: Fix compilation on Windows with GCC 2018-08-30 11:09:00 +02:00
Paweł Bylica d22cf6e596
AppVeyor CI: Disable CMake dev warnings 2018-08-30 10:47:43 +02:00
Paweł Bylica 3c86a6b934
Return result from call_fn
This changes the evmc_call_fn signature to return evmc_result object instead of getting result as an output parameter.
2018-08-29 23:00:27 +02:00
Paweł Bylica 6768aa888e
Fix compilation in Debug configuration 2018-08-29 23:00:18 +02:00
Paweł Bylica e43026cf9f
EVMC 6.0.0-dev
Bump version: 5.2.0 → 6.0.0-dev
2018-08-28 23:16:30 +02:00
Paweł Bylica 224080ef8c
EVMC 5.2.0
Bump version: 5.2.0-dev → 5.2.0
2018-08-28 23:11:56 +02:00
Paweł Bylica a503fcfb4c
Merge pull request #107 from ethereum/docs-vmtester
docs: Add basic information about evmc-vmtester
2018-08-28 22:38:28 +02:00
Paweł Bylica 8242675583
Update Changelog 2018-08-28 22:25:18 +02:00
Paweł Bylica 0b0a811ae6
docs: Add basic information about evmc-vmtester 2018-08-28 22:17:05 +02:00
Paweł Bylica b7a046ccc3
Merge pull request #106 from ethereum/examplevm
Use nicer example EVM bytecode in examples
2018-08-28 22:08:07 +02:00
Paweł Bylica a777a13f87 Include project version in examplevm 2018-08-28 20:34:48 +01:00
Alex Beregszaszi 8726fc9a33 Use nicer example EVM bytecode in examples/capi.c 2018-08-28 20:34:38 +01:00
Alex Beregszaszi 3403282827 Do not keep sample EVM code as hex string, but as proper binary in examples/examplevm 2018-08-28 20:34:38 +01:00
Paweł Bylica 872ded2ea6
Merge pull request #94 from ethereum/vm-test-execute
Add vm test for execute
2018-08-28 21:19:21 +02:00
Alex Beregszaszi 81425662e6 Add mock context for VM testing 2018-08-28 19:36:52 +01:00
Alex Beregszaszi 4a3bd021f4 Add vm test for execute 2018-08-28 19:36:52 +01:00
Alex Beregszaszi d1cea93f82
Merge pull request #104 from ethereum/clang-format
CI: Check code format
2018-08-28 17:17:10 +01:00
Paweł Bylica 044a137a36
Format code 2018-08-28 17:05:13 +02:00
Paweł Bylica b290ef3dd0
Circle CI: Check code with clang-format 2018-08-28 16:48:22 +02:00
Alex Beregszaszi 505240d397
Merge pull request #103 from ethereum/cmake-fix
CMake: Clean up evmc-vmtester properties
2018-08-28 11:18:32 +01:00
Paweł Bylica 1a4b3c3c33
CMake: Clean up evmc-vmtester properties 2018-08-28 11:53:51 +02:00
Paweł Bylica aa394fd818
Merge pull request #97 from ethereum/release-result-comment
Add comment why the result is a pointer in release_result
2018-08-28 11:48:48 +02:00
Paweł Bylica a9bd9c308d
Add Changelog entries 2018-08-28 11:44:45 +02:00
Alex Beregszaszi 04081f8631
Add comment about the evmc_release_result_fn() param
Explains why the evmc_release_result_fn() param is passed by pointer and that it cannot be NULL. It also improves the wording in other parts.

Co-authored-by: Paweł Bylica <chfast@gmail.com>
2018-08-28 11:40:14 +02:00
Paweł Bylica 3076fc8429
Merge pull request #93 from ethereum/tests-cppstd
Compile unittests and vmtests as C++11
2018-08-28 11:20:51 +02:00
Paweł Bylica 8108f04b7a
Build tests with C++11 in not specified otherwise 2018-08-28 11:10:53 +02:00
Paweł Bylica 83d828cfce
Circle CI: Build also with clang 2018-08-28 11:10:53 +02:00
Alex Beregszaszi e34ea20c0f
Merge pull request #92 from ethereum/cxx98compat
Fix compatibility with C++98
2018-08-27 21:39:00 +01:00
Paweł Bylica 978a64049c
Fix compatibility with C++98 2018-08-27 22:13:33 +02:00
Alex Beregszaszi e7f313d947
Merge pull request #81 from ethereum/loader-fallback
Fall back to evmc_create in the loader as a last resort
2018-08-27 21:01:15 +01:00