Liana Husikyan
342afb10d5
bug in abi. fixed external type for return parameters
2015-05-11 16:46:17 +02:00
Liana Husikyan
f0cac2f6a9
changed the implementation
2015-04-27 13:08:32 +02:00
Liana Husikyan
4cbff655ff
style fix
2015-04-27 13:08:32 +02:00
Liana Husikyan
2d62c482fd
fixed the output of the test
2015-04-27 13:08:32 +02:00
chriseth
ca97dcbd5b
Use non-implemented functions for solidity interface output.
2015-04-23 15:00:44 +02:00
Lefteris Karapetsas
819d9fd5a6
Detect if non-existant parameter is documented with natspec
2015-03-30 15:14:59 +02:00
Liana Husikyan
9986b072ad
renamed externalTypes to externalSignature
2015-03-25 13:59:46 +01:00
Liana Husikyan
701b34fbeb
renamed getCanonicalSignature
...
added externalTypes instead of types for interface functions
added simple test
todo
testing
2015-03-25 13:59:46 +01:00
Liana Husikyan
46cbb5525c
added anonymous to ABI
2015-03-17 14:25:23 +01:00
Liana Husikyan
2986ecbd75
Added anonymous flag to event.
...
added test
2015-03-17 10:51:03 +01:00
Lefteris Karapetsas
500cb69f12
Removing events from Solidity Interface
2015-02-16 17:16:15 +01:00
Lefteris Karapetsas
7c0ae1a82f
Styling in Natspec Enums
2015-02-09 14:12:36 +01:00
Gav Wood
ef05913743
Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
...
Conflicts:
libsolidity/InterfaceHandler.cpp
2015-01-31 08:43:37 -08:00
Gav Wood
a52da46168
Code for outputing events as well as functions.
2015-01-31 08:23:58 -08:00
arkpar
bc9d376590
style
2015-01-31 14:44:04 +01:00
arkpar
d6d7c9219b
json and solidity ABI generted for events
2015-01-31 14:41:11 +01:00
arkpar
54676604f5
fixed ABI generator
2015-01-31 01:21:45 +01:00
Lefteris Karapetsas
3701543ae8
FunctionType now returns const ref for Declaration
2015-01-29 19:18:50 +01:00
Lefteris Karapetsas
04190798eb
Minor fixes plus a rebase merge fix
2015-01-29 18:21:51 +01:00
Lefteris Karapetsas
005100c486
Contract Interface Functions now return FunctionType
...
- Enchanced Function Type by declaration so that it can provide all the
required information at each place interface functions are consumed
- Changed all places where interface functions was used.
- Simplified Mix's FunctionDefinition code
2015-01-29 17:11:13 +01:00
Lefteris Karapetsas
5c7359aa09
State variable accessors code is now more organized
...
- FunctionDescription is the abstraction of what should describe a
function. It can either be a VariableDeclaration of a
FunctionDefinition.
- ParamDescription is what FunctionDescription uses to describe its
parameters for outside use purposes with a pair of (name, type)
strings
- Modified code around Solidity and especially interface handler to
adapt to this change
2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
e0d1f79e06
Absence of tag in Natspec is now considered @notice
2015-01-20 13:15:43 +01:00
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