Commit Graph

28 Commits

Author SHA1 Message Date
Lefteris Karapetsas
ac8ad058cf Natspec method key is now the Canonical Signature 2015-01-13 16:15:32 +01:00
Lefteris Karapetsas
c9446183b5 Fixing bug where empty tagless docstring in Natspec would result in infinite loop 2015-01-12 15:29:44 +01:00
Christian
ffeb7daf11 Buildfix after semantical merge conflict. 2015-01-09 11:51:52 +01:00
chriseth
42d186fdfc Merge pull request #754 from LefterisJP/sol_abiFunctionHash
Calculation of ABI Function Identifier Hash
2015-01-09 11:22:59 +01:00
Lefteris Karapetsas
9cf1c066fc Adjustments to Solidity compiler code for Function Hash 2015-01-09 00:27:26 +01:00
Gav Wood
ffce12b7ee Basic logging in Solidity (though no tests yet). 2015-01-09 00:22:06 +01:00
Lefteris Karapetsas
c55608f94b Solidity getInterfaceFunctions is now a map of hash to Function
- Also introduced dependency between libsolidity and libdevcrypto

- Compler's appendFunctionSelector now has a first version of using
  function signature hash instead of index
2015-01-07 16:39:21 +01:00
Gav Wood
566b980fa3 Fixed #683 2014-12-21 16:28:46 +01:00
Lefteris Karapetsas
d612bf1d17 Adding const attribute to ABI output 2014-12-19 10:48:59 +01:00
Lefteris Karapetsas
d97bdba471 Adressing some natspec issues 2014-12-18 16:27:17 +01:00
Lefteris Karapetsas
a6b0fba227 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
2014-12-18 15:03:45 +01:00
Christian
5a1a83ff42 Assertions that throw InternalCompilerErrors. 2014-12-17 16:24:56 +01:00
Christian
2f64c56ef3 Create contracts. 2014-12-15 13:05:18 +01:00
Lefteris Karapetsas
aebd1490bd Styling issues and add TODO in Interfacehandler 2014-12-10 16:44:54 +01:00
Lefteris Karapetsas
fbc35003ce Natspec title and author tag.
- Adding the title and author natspec documentation tags for contracts
- Also using the author tag for functions now
- Tests
2014-12-10 13:24:48 +01:00
Christian
26f554d0d8 Merge remote-tracking branch 'ethereum/develop' into sol_import
Conflicts:
	libsolidity/CompilerStack.cpp
	libsolidity/CompilerStack.h
	libsolidity/InterfaceHandler.cpp
	libsolidity/InterfaceHandler.h
	solc/main.cpp
	test/solidityJSONInterfaceTest.cpp
	test/solidityNatspecJSON.cpp
2014-12-08 12:07:17 +01:00
Lefteris Karapetsas
407f11ba76 Replacing old cstyle enums with c++11 enums in natspec 2014-12-05 15:50:39 +01:00
Christian
d4a958e1fe Merge remote-tracking branch 'ethereum/develop' into sol_import
Conflicts:
	libsolidity/CompilerStack.cpp
	libsolidity/CompilerStack.h
	solc/main.cpp
2014-12-05 15:27:07 +01:00
Lefteris Karapetsas
27ef18865d Newline right after doctag is now a valid natspec entry
- Plus tests for that
2014-12-05 12:27:18 +01:00
Lefteris Karapetsas
11cac68cf4 Introducing Docstring parsing error exception and style fixes 2014-12-05 12:08:26 +01:00
Lefteris Karapetsas
8f6656f1b8 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
2014-12-05 02:10:54 +01:00
Lefteris Karapetsas
dedd1a312b Addressing styling and miscellaneous issue with Natspec 2014-12-04 23:55:47 +01:00
Lefteris Karapetsas
02a04eef5c 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
2014-12-04 18:12:52 +01:00
Lefteris Karapetsas
05964375f8 Natspec parsing @param doctags
- Plus additional work on generally parsing doctags.
  One important missing feature is to parse a tag midline

- Adding more tests
2014-12-04 17:19:47 +01:00
Lefteris Karapetsas
3e803b40e1 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
2014-12-04 09:42:38 +01:00
Lefteris Karapetsas
ba27dc7421 Styling in libsolidity's InterfaceHandler 2014-12-04 01:27:38 +01:00
Lefteris Karapetsas
a0ff2179d4 Work in progress for parsing natspec doxytags 2014-12-03 17:46:04 +01:00
Lefteris Karapetsas
d25581de7c 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
2014-12-03 16:40:37 +01:00