Lefteris Karapetsas
d53dcd3183
Styling in Natspec Enums
10 years ago
Christian
fd1f7b527f
Cleaner solution to provide standard sources.
10 years ago
Lefteris Karapetsas
221e0c93fa
Absence of tag in Natspec is now considered @notice
10 years ago
Lefteris Karapetsas
c3c2b1cf76
Improved handling of exceptions in some Solidity Tests
10 years ago
Lefteris Karapetsas
5b36d3c163
Natspec method key is now the Canonical Signature
10 years ago
Lefteris Karapetsas
5a44a670aa
Fixing bug where empty tagless docstring in Natspec would result in infinite loop
10 years ago
Gav Wood
0de1fe5b02
Rename "JSON Documentation" -> Metadata.
solc integration for Solidity-format ABI.
10 years ago
Lefteris Karapetsas
8edb5b8b54
Solidity Tests names are now more consistent
- File names and Boost Test Suite have the same name now for
every solidity Test, so that there is no need to guess or check
when you want to run a specific suite from the command line
10 years ago
Lefteris Karapetsas
30beaca359
Changes in InterfaceHandler to deal with multiline natspec
- Also now Solidity scanner considers Carriage Return as whitespace
- Tests for Natspec generation with the new multiline comments
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
debris
5071446c68
msvc changes in tests, but tests not yet working there
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
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
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
Lefteris Karapetsas
88b1bb2540
More Natspec JSON export tests and better error reporting
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