chriseth
4e0dbd1c7a
Whitespace change.
10 years ago
Christian
31cb9bb310
Some (few) tests for the optimizer.
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
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
Lefteris Karapetsas
e5da1ba6c6
Solidity work for documentation strings
- Still a work in progress
- Parser now properly gets each function's doc comment
- Small changes in the scanner
- Multiline comments are considered
10 years ago
Lefteris Karapetsas
43f269ce9a
Solidity function AST nodes get documentation attribute
10 years ago
Christian
68acfc0544
Global functions.
10 years ago
Christian
898f989aa1
Sending ether.
10 years ago
Christian
d759075528
More general function types and references.
10 years ago
Christian
b185a748a5
Access to blockchain data.
10 years ago
Christian
60a62708c4
Another test for struct references.
10 years ago
Christian
27d20cd849
Magic variables.
10 years ago
Christian
638960f22f
Contracts as types and framework for special global variables.
10 years ago
Christoph Jentzsch
c74f5ae0e5
style
10 years ago
Lefteris Karapetsas
06e2c08af7
extra comments scanning test
10 years ago
Christoph Jentzsch
648da92534
style
10 years ago
Christoph Jentzsch
1da0ca9aa6
Specify user defined test
10 years ago