Gav Wood
e2cb773dac
Minor warning fix.
10 years ago
Gav Wood
25939bc777
Fix tests.
10 years ago
Gav Wood
e0389c58ba
Reduce verbosity.
10 years ago
Gav Wood
8f36428c70
Whisper test fix.
10 years ago
Gav Wood
0528037690
Fix genesis test.
Refactor/cleaning.
10 years ago
Gav Wood
946fd2126a
Remove extraneous old stuff for PoC-7.
Fix gas remaining issue.
10 years ago
Christian
22fa12debf
Do not add at the end of the function selector "loop".
10 years ago
Christian
615438a890
Swap literals to the end if optimizing.
10 years ago
chriseth
4e0dbd1c7a
Whitespace change.
10 years ago
Christian
31cb9bb310
Some (few) tests for the optimizer.
10 years ago
Christian
37a15d96ea
Support empty strings.
10 years ago
Paweł Bylica
b1dc0d5e6a
VMFactory - a new way of creating VMs
10 years ago
Christian
0a4ed44679
Tests for empty and too long strings.
10 years ago
Christian
781d58d705
String types.
10 years ago
Lefteris Karapetsas
01e419fcaf
Natspec title and author tag.
- Adding the title and author natspec documentation tags for contracts
- Also using the author tag for functions now
- Tests
10 years ago
Christian
f8c78bafb5
Variable-size stack elements for expression compiler.
10 years ago
Christian
e676cd21bc
Register variably-sized variables on stack.
10 years ago
subtly
be5e829f97
cryptopp crash w/null plaintext passed to decrypt
10 years ago
Christian
e8c39062f8
Calling functions of other contracts.
10 years ago
Christian
ddb5111d3e
Comments and braces.
10 years ago
CJentzsch
4ce6e3483a
fix stackoverflow in calldataload, codecopy, extcodecopy + some tests
10 years ago
CJentzsch
38454cc08f
state log tests
10 years ago
Paweł Bylica
160aa47288
Use safe pointers in Executive
10 years ago
Lefteris Karapetsas
8857a7a75e
Replacing old cstyle enums with c++11 enums in natspec
10 years ago
Lefteris Karapetsas
78938ac468
Stack compiler now correctly returns a string and not a pointer
10 years ago
Lefteris Karapetsas
9977229d75
Newline right after doctag is now a valid natspec entry
- Plus tests for that
10 years ago
Lefteris Karapetsas
4bbb9eb264
Using iterators in Natspec comment parsing
- Used iterators in the entirety of the InterfaceHandler natspec comment
parsing pipeline
- Fixed issue where @param continuing in new line would not get a space
10 years ago
Lefteris Karapetsas
69bb2a38b9
Natspec @return tag parsing
- Also omitting tags from the output JSON file if they are missing
instead of providing an empty string for their value
10 years ago
CJentzsch
4f53689086
fix stackoverflow in calldataload, codecopy, extcodecopy + some tests
10 years ago
Lefteris Karapetsas
112c583ddb
Natspec parsing @param doctags
- Plus additional work on generally parsing doctags.
One important missing feature is to parse a tag midline
- Adding more tests
10 years ago
Lefteris Karapetsas
5fe1133583
Parsing notice and dev doxytags.
- Only initial work done. Still need to refine the logic and
incorporate all the other types of tags.
- Added/Modified some tests
- Work in progress
10 years ago
Christian
04c8d8bdc0
Improved external interface for multi-source and multi-contract compilation.
10 years ago
Christian
50b61e3dd3
Multi-source and multi-contract compiler.
10 years ago
Lefteris Karapetsas
4613214098
Moving all Interface and Documentation functionality to own class
- Creating the Interface Handler class which will take care of the
parsing of Natspec comments and of interfacing with and outputing to
JSON files.
- Will also handle the ABI interface creation
10 years ago
Lefteris Karapetsas
994e891078
Separate user and dev natspec documentation
- plus other small changes according to the spec
10 years ago
Christian
8621949067
Import directive.
10 years ago
CJentzsch
e7be724496
test update due to CALLCODA <-> RETURN
10 years ago
Gav Wood
8cbea38df9
PV46. Minor protocol alterations.
10 years ago
Lefteris Karapetsas
88b1bb2540
More Natspec JSON export tests and better error reporting
10 years ago
CJentzsch
8245dd6978
style
Conflicts:
libevm/VM.h
10 years ago
CJentzsch
934d366cdb
updated createRandomTest to correct exception behavior
10 years ago
CJentzsch
c4138a5ad4
added logs to state tests
10 years ago
Lefteris Karapetsas
eed32824c3
Using jsoncpp for exporting ABI interface from solidity
- Also changing the interface JSON test to have a shorter name
plus to provide meaningful error message in case of failure
10 years ago
Christian
a2aa117a6b
Disallow assignments to structs and mappings.
10 years ago
Lefteris Karapetsas
60ac4d3a2c
Exporting Natspec documentation to a JSON interface
- Adding a getDocumentation() function to solidity compiler stack
so that we can obtain the natspec interface for a contract
- Adding libjsoncpp as a dependency of libsolidity. This is done
in a dirty way, using libjsonrpc-cpp s an intermediate dependency
for the moment. Will fix soon.
- Start of a test file for Natspec exporting to JSON
10 years ago
Lefteris Karapetsas
70dd83f887
Adding natspec comment test being between keyword and signature
10 years ago
Lefteris Karapetsas
7ac651726f
Solidity natspec docstring test improvements
- Adding a test for docstring being between function signature and
function body
- Properly checking for exceptions in parsing
- Small parser fix
10 years ago
Lefteris Karapetsas
4bb7cc9f67
Solidity FunctionDefinition used ASTString shared ptr for docstrings
10 years ago
Lefteris Karapetsas
3e42b5ff0d
Adding solidity natspec comment inside function body
10 years ago
Lefteris Karapetsas
170ff1a07f
Fixing multiline comment parsing in solidity
10 years ago