Commit Graph

12118 Commits

Author SHA1 Message Date
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
Lefteris Karapetsas
e411449219 More Natspec JSON export tests and better error reporting 2014-12-02 10:41:18 +01:00
CJentzsch
fb7c3bb302 style
Conflicts:
	libevm/VM.h
2014-12-01 22:44:31 +01:00
CJentzsch
057553a0a0 updated createRandomTest to correct exception behavior 2014-12-01 22:41:16 +01:00
CJentzsch
d952833c1b added logs to state tests 2014-12-01 22:41:16 +01:00
Marek Kotewicz
f5ed8c8ce3 common changes 2014-12-01 21:30:00 +01:00
Lefteris Karapetsas
bbf4beab45 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
2014-12-01 18:01:42 +01:00
Lefteris Karapetsas
0f79ed6957 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
2014-12-01 18:01:42 +01:00
Christian
5cecf5699b Disallow assignments to structs and mappings. 2014-12-01 17:33:21 +01:00
Christian
a2ad47441e Disallow assignments to structs and mappings. 2014-12-01 17:33:21 +01:00
Christian
9e91596c8d Save the scope for every declaration. 2014-12-01 17:33:21 +01:00
Lefteris Karapetsas
6b7bec980a 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
2014-12-01 17:03:04 +01:00
Lefteris Karapetsas
43d6726dd7 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
2014-12-01 17:03:04 +01:00
Paweł Bylica
29b1964cfb Merge branch 'pr-fixes' into develop-evmcc 2014-12-01 15:58:59 +01:00
Christian
b685735b3a Cleanup of scanner.
Removed redundancy of keyword definitions and removed some unused token
predicates.
2014-12-01 13:46:04 +01:00
chriseth
3fc2708d65 Merge pull request #545 from LefterisJP/sol_com_in_ast
Solidity function AST nodes get documentation attribute
2014-12-01 12:43:32 +01:00
Paweł Bylica
fc0a83967c Merge branch 'develop-evmcc' into pr-jit 2014-12-01 10:29:59 +01:00
Lefteris Karapetsas
4b84507310 simplifying Scanner::reset() 2014-12-01 01:05:55 +01:00
Lefteris Karapetsas
366514a725 Adding natspec comment test being between keyword and signature 2014-11-30 23:33:04 +01:00
Lefteris Karapetsas
21fdd84c09 Moving LiteralScope to Scanner.cpp 2014-11-30 23:25:42 +01:00
Lefteris Karapetsas
a595464739 Simplifying scanning for natspec documentation
- Scanner no longer remembers the last natspect comment until
  a new one is encountered. It remembers it only until the next
  scan()
2014-11-30 22:43:40 +01:00
Gav Wood
4b0d949df3 Warning fix.
ECDSA recover fix.
2014-11-28 14:28:02 +01:00
Lefteris Karapetsas
9e80ec9e7a 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
2014-11-28 11:17:18 +01:00
Lefteris Karapetsas
db7b118ece 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
2014-11-28 11:17:18 +01:00
Lefteris Karapetsas
263e1be34e Solidity FunctionDefinition used ASTString shared ptr for docstrings 2014-11-28 01:26:37 +01:00
Lefteris Karapetsas
e3e90c4e6b Solidity FunctionDefinition used ASTString shared ptr for docstrings 2014-11-28 01:26:37 +01:00
Lefteris Karapetsas
c8fa23735f Adding solidity natspec comment inside function body 2014-11-28 00:40:00 +01:00
Artur Zawłocki
b78dc045f6 resolved circular dependency between libevm and libevmjit 2014-11-28 00:37:24 +01:00
Lefteris Karapetsas
034870b4c0 Fixing multiline comment parsing in solidity 2014-11-28 00:06:38 +01:00
Lefteris Karapetsas
2b30e1ef2c Fixing multiline comment parsing in solidity 2014-11-28 00:06:38 +01:00