Commit Graph

16207 Commits

Author SHA1 Message Date
Lefteris Karapetsas
d6a696830f 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
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
Lefteris Karapetsas
00d6c1ac34 Scanner properly scans multiline natspec comments
- Single and multiline natspect comments get the initial whitespace
  skipped now

- Some rules introduced for the multiline comments. If first line is
  empty then no newline is added to the literal. Same thing with the
  last line. Finally in all lines initial '*' are skipped
2014-12-18 15:03:45 +01:00
Lefteris Karapetsas
f73278c8b2 Scanner properly scans multiline natspec comments
- Single and multiline natspect comments get the initial whitespace
  skipped now

- Some rules introduced for the multiline comments. If first line is
  empty then no newline is added to the literal. Same thing with the
  last line. Finally in all lines initial '*' are skipped
2014-12-18 15:03:45 +01:00
Lefteris Karapetsas
734a609d69 Work in progress for /** ... */ natspec comments
- Work in progress on the scanner for recognizing the second
      type of doxygen comments for Natspec.
2014-12-18 15:03:45 +01:00
Lefteris Karapetsas
d3234c51b9 Work in progress for /** ... */ natspec comments
- Work in progress on the scanner for recognizing the second
      type of doxygen comments for Natspec.
2014-12-18 15:03:45 +01:00
Christian
f744c34ccc Possibility to replace source and obtain ContractDefinition by name. 2014-12-18 14:39:16 +01:00
CJentzsch
f4cdc4a9fa style 2014-12-18 09:50:45 +01:00
CJentzsch
1f15cdf95c more refund tests 2014-12-18 09:48:14 +01:00
CJentzsch
fc3fafbaee refund test inclusion 2014-12-18 09:48:14 +01:00
CJentzsch
1ccfda18ec refund tests 2014-12-18 09:48:14 +01:00
subtly
4b9d760d73 Merge branch 'develop' into p2p 2014-12-18 08:36:14 +01:00
subtly
d22e4b3b21 initial interface for udp. test sending/receiving udp. 2014-12-18 08:35:12 +01:00
Christian
a98afc8eaa Return the last contract by default. 2014-12-17 18:37:06 +01:00
Paweł Bylica
f591197692 Windows fix 2014-12-17 17:56:54 +01:00
chriseth
d7873d9cd0 Format catch arguments as function parameters. 2014-12-17 17:08:57 +01:00
ethdev
fd275b6d37 fixed msvc not expanding macros correctly 2014-12-17 16:47:22 +01:00
Christian
5a1a83ff42 Assertions that throw InternalCompilerErrors. 2014-12-17 16:24:56 +01:00
Christian
80b8db4f17 Assertions that throw InternalCompilerErrors. 2014-12-17 16:24:56 +01:00
chriseth
8e87e85937 Merge pull request #623 from chriseth/sol_constructorChecks
Checks for the constructor and ability to call functions
2014-12-17 15:18:49 +01:00
chriseth
3d98ec1323 Merge pull request #623 from chriseth/sol_constructorChecks
Checks for the constructor and ability to call functions
2014-12-17 15:18:49 +01:00
Christian
1d1e612835 Whitespace change. 2014-12-17 15:15:04 +01:00
Gav Wood
9ef4fbe2d0 Merge pull request #639 from debris/msvc_fix
windows fix for initializer-list cannot convert to dev::bytes
2014-12-17 13:50:16 +01:00
Gav Wood
cb43022d7a Merge pull request #636 from chriseth/sol_fix_foreignFunctions
Fix: Resolve function types of all contracts before checking types inside functions.
2014-12-17 13:49:31 +01:00
Gav Wood
79341771f7 Merge pull request #636 from chriseth/sol_fix_foreignFunctions
Fix: Resolve function types of all contracts before checking types inside functions.
2014-12-17 13:49:31 +01:00
ethdev
30eb6334a2 initializer-list fix 2014-12-17 12:19:10 +01:00
ethdev
9def93fab4 windows fix for initializer-list cannot convert to dev::bytes 2014-12-17 11:57:32 +01:00
Marek Kotewicz
36532d9ab4 clang requires explicit initialization of map 2014-12-17 11:48:43 +01:00
Gav Wood
c83db9e6db Merge pull request #599 from wanderer/develop
changed output stacktrace format to json
2014-12-17 11:21:30 +01:00
Lefteris Karapetsas
aa83d5ea3c Moving comment to function body 2014-12-17 00:28:26 +01:00
Lefteris Karapetsas
a6fd19c8f3 better alignment of global string constants 2014-12-17 00:17:38 +01:00
Lefteris Karapetsas
0050a1a8f9 Solidity: More tests for the ForStatement 2014-12-17 00:03:30 +01:00
Lefteris Karapetsas
5c05b8d725 Solidity ForStatement Compiler part
- Work in progress
2014-12-17 00:03:30 +01:00
Lefteris Karapetsas
9f5f39300d Solidity ForStatement Compiler part
- Work in progress
2014-12-17 00:03:30 +01:00
Lefteris Karapetsas
adbea47596 Minor issues, grammar update, new ForStatement test 2014-12-17 00:03:30 +01:00
Lefteris Karapetsas
28fc881547 Minor issues, grammar update, new ForStatement test 2014-12-17 00:03:30 +01:00
Lefteris Karapetsas
062b51e7bd ForStatement typecheck and initExpression is a Statement 2014-12-17 00:03:30 +01:00
Lefteris Karapetsas
b76a5ecc23 Solidity ForStatements expressions are now optional 2014-12-17 00:03:30 +01:00
Lefteris Karapetsas
90e39c04d6 Solidity ForStatements expressions are now optional 2014-12-17 00:03:30 +01:00
Lefteris Karapetsas
72e4d08918 new ForStatement parsing test and small grammar fix 2014-12-17 00:03:30 +01:00
Lefteris Karapetsas
3f2600bb31 new ForStatement parsing test and small grammar fix 2014-12-17 00:03:30 +01:00
Lefteris Karapetsas
321f88b1be Adding a ForStatement solidity AST Node.
- Adding ForStatement node
- Implemented Parsing for ForStatement
- A simple parsing test for the ForStatement
- Work in progress
2014-12-17 00:03:30 +01:00
Lefteris Karapetsas
f7029726be Adding a ForStatement solidity AST Node.
- Adding ForStatement node
- Implemented Parsing for ForStatement
- A simple parsing test for the ForStatement
- Work in progress
2014-12-17 00:03:30 +01:00
Lefteris Karapetsas
dfff581057 Using strings instead of #defined literals in solc 2014-12-16 23:55:38 +01:00
Christian
ff143b06c4 Add functions needed by constructor. 2014-12-16 23:49:45 +01:00
Christian
b2e3771598 Add functions needed by constructor. 2014-12-16 23:49:45 +01:00
Christian
147e77b61f Fix: Resolve function types of all contracts before checking types inside functions. 2014-12-16 23:49:02 +01:00
Christian
5e148ae4b6 Fix: Resolve function types of all contracts before checking types inside functions. 2014-12-16 23:49:02 +01:00
Lefteris Karapetsas
d9f0160a41 Properly outputing opcodes in solc, using normal stream operator 2014-12-16 23:31:22 +01:00
Lefteris Karapetsas
40b4740b43 Fix for unhandled solc exception with opcodes argument
- This should fix #631
2014-12-16 23:08:25 +01:00