Commit Graph

18447 Commits

Author SHA1 Message Date
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
b6c8e9e011 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
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
CJentzsch
b7601aee9f fix stackoverflow in calldataload, codecopy, extcodecopy + some tests 2014-12-04 17:55:04 +01:00
Lefteris Karapetsas
c7e67ee59e Merge branch 'develop' into natspec_export_json 2014-12-04 17:28:46 +01:00
Lefteris Karapetsas
df4db1de07 Merge branch 'develop' into natspec_export_json 2014-12-04 17:28:46 +01:00
Lefteris Karapetsas
e3a1ef66e2 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
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
Marek Kotewicz
d8a65552d8 removed automocs 2014-12-04 09:55:54 +01:00
Marek Kotewicz
fa43a0ee95 removed automocs 2014-12-04 09:55:54 +01:00
Marek Kotewicz
c60def06b5 removed automocs 2014-12-04 09:55:54 +01:00
Marek Kotewicz
ef17bc3d8f removed automocs 2014-12-04 09:55:54 +01:00
Lefteris Karapetsas
75d0b8e0b6 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
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
Marek Kotewicz
dc31f34c54 Merge branch 'develop' into build_enhancement
Conflicts:
	eth/main.cpp
	neth/main.cpp
2014-12-04 01:26:10 +01:00
Marek Kotewicz
82dbdce5ee Merge branch 'develop' into build_enhancement 2014-12-04 00:32:05 +01:00
Christian
aae508748e Improved external interface for multi-source and multi-contract compilation. 2014-12-03 18:52:28 +01:00
Christian
69da6df77d Improved external interface for multi-source and multi-contract compilation. 2014-12-03 18:52:28 +01:00
Christian
d2cf345483 Improved external interface for multi-source and multi-contract compilation. 2014-12-03 18:52:28 +01:00
Christian
445ba10d3b Multi-source and multi-contract compiler. 2014-12-03 18:51:59 +01:00
Christian
254df50fea Multi-source and multi-contract compiler. 2014-12-03 18:51:59 +01:00
Lefteris Karapetsas
a0ff2179d4 Work in progress for parsing natspec doxytags 2014-12-03 17:46:04 +01:00
Lefteris Karapetsas
9ce5a4ebcf 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
Lefteris Karapetsas
4eefbc941e 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
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
Lefteris Karapetsas
d0758ccf1e Separate user and dev natspec documentation
- plus other small changes according to the spec
2014-12-03 13:50:04 +01:00
Lefteris Karapetsas
2f7b263f9b Separate user and dev natspec documentation
- plus other small changes according to the spec
2014-12-03 13:50:04 +01:00
Lefteris Karapetsas
be81981ec4 Separate user and dev natspec documentation
- plus other small changes according to the spec
2014-12-03 13:50:04 +01:00
Gav Wood
3c8a45cec4 Merge pull request #555 from CJentzsch/newTests
test update due to CALLCODE <-> RETURN
2014-12-03 12:09:50 +01:00
Christian
e6902e070e Import directive. 2014-12-03 10:44:46 +01:00
Christian
5b6a211b8a Import directive. 2014-12-03 10:44:46 +01:00
Christian
328387d6d0 Import directive. 2014-12-03 10:44:46 +01:00
Christian
9dadeea377 Remove std::. 2014-12-03 10:42:04 +01:00
Gav Wood
5af545d47d Merge pull request #547 from chriseth/sol_scannercleanup
Cleanup of scanner.
2014-12-03 10:15:42 +01:00
Gav Wood
e7201a0324 Merge pull request #549 from chriseth/sol_saveScope
Disallow assignments to structs and mappings
2014-12-03 10:15:11 +01:00
Gav Wood
f29e930f41 Merge pull request #549 from chriseth/sol_saveScope
Disallow assignments to structs and mappings
2014-12-03 10:15:11 +01:00
Christian
7b54d957d8 Comments for the TOKEN_LIST usage. 2014-12-03 09:41:12 +01:00
CJentzsch
8afb0256a7 test update due to CALLCODA <-> RETURN 2014-12-03 08:36:52 +01:00
chriseth
9cfccd1826 Merge pull request #554 from chriseth/sol_constantOptimizer
Solidity optimizer for literal numbers
2014-12-03 08:30:48 +01:00
Gav Wood
71ae1f8f00 Warnings fixes (well.. the UPnP was actually a crash fix.) 2014-12-02 20:18:01 +01:00
Gav Wood
2f5b9151d5 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
Conflicts:
	test/vm.cpp
2014-12-02 20:09:00 +01:00
Christian
24f3a4a2ea Fix: Storage offset of first struct member should be zero. 2014-12-02 17:58:44 +01:00
Lefteris Karapetsas
06998aa2d2 Simplifying lambda function in CompilerStack::getInterface() 2014-12-02 17:18:09 +01:00
Gav Wood
8d0a664740 PV46. Minor protocol alterations. 2014-12-02 17:13:17 +01:00
Lefteris Karapetsas
af9fb9917c Removing unneeded local variable in CompilerStack::getDocumentation() 2014-12-02 12:14:24 +01:00
Lefteris Karapetsas
0cc271fae9 Handle absence of Natspec doc and add option to solc 2014-12-02 11:03:34 +01:00
Lefteris Karapetsas
0d3ab07ad1 Handle absence of Natspec doc and add option to solc 2014-12-02 11:03:34 +01:00
Lefteris Karapetsas
92724ab80a More Natspec JSON export tests and better error reporting 2014-12-02 10:41:18 +01:00