Commit Graph

726 Commits

Author SHA1 Message Date
Gav Wood
08bf3c0121 Merge pull request #663 from CJentzsch/NewStateTests
more refunds tests
2014-12-19 13:13:18 +01:00
chriseth
7d7fa86697 Merge pull request #664 from chriseth/sol_fix_compoundAssign
Bugfix: Additional swap for compound assignment.
2014-12-19 11:38:45 +01:00
Lefteris Karapetsas
d7d40a13c2 Adding const attribute to ABI output 2014-12-19 10:48:59 +01:00
chriseth
7795b2a892 Merge pull request #655 from chriseth/sol_precedence
Bit operators should bind more strongly than comparison operators.
2014-12-18 22:24:44 +01:00
Christian
beb0606726 Bugfix: Additional swap for compound assignment. 2014-12-18 22:23:34 +01:00
CJentzsch
9520acbb6e more refunds tests 2014-12-18 21:43:40 +01:00
Lefteris Karapetsas
da29d945e2 updating solidity parser natspec tests to comply with recent changes 2014-12-18 18:16:43 +01:00
Christian
f96578196e Also test non-equality comparison operator. 2014-12-18 17:49:11 +01:00
Christian
f35ee00ca2 Bit operators should bind more strongly than comparison operators. 2014-12-18 17:19:42 +01:00
Lefteris Karapetsas
89f5b86692 Merge branch 'develop' into sol_natspecMultiline 2014-12-18 16:49:56 +01:00
Lefteris Karapetsas
fc981d5d79 More multiline natspec tests and small issue fix 2014-12-18 16:48:25 +01:00
Lefteris Karapetsas
5dbe2f198c Solidity Tests names are now more consistent
- File names and Boost Test Suite have the same name now for
   every solidity Test, so that there is no need to guess or check
   when you want to run a specific suite from the command line
2014-12-18 15:21:03 +01:00
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
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
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
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
ethdev
fd275b6d37 fixed msvc not expanding macros correctly 2014-12-17 16:47:22 +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
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
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
0050a1a8f9 Solidity: More tests for the ForStatement 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
28fc881547 Minor issues, grammar update, new ForStatement test 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
72e4d08918 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
Christian
ff143b06c4 Add functions needed by constructor. 2014-12-16 23:49:45 +01:00
Christian
5e148ae4b6 Fix: Resolve function types of all contracts before checking types inside functions. 2014-12-16 23:49:02 +01:00
wanderer
9e7fcbb7bd append JSON objects to log 2014-12-16 14:28:28 -05:00
wanderer
35aa48567f using json_spirit 2014-12-16 14:28:28 -05:00
wanderer
ab5953b555 changed output stacktrace format to json 2014-12-16 14:28:28 -05:00
chriseth
350953e598 Merge pull request #621 from chriseth/sol_createContracts
Contract creation ("new" operator).
2014-12-16 19:47:36 +01:00
Marek Kotewicz
4b907092e6 Merge branch 'develop' into windows_debug 2014-12-16 15:20:01 +01:00
Christoph Jentzsch
9c18e7bc24 Merge pull request #3 from winsvega/NewStateTests
Transaction Test Filler
2014-12-15 22:06:05 +01:00
winsvega
93593540ab Transaction Test Filler 2014-12-15 23:50:43 +03:00
CJentzsch
51a8c528b4 Merge remote-tracking branch 'upstream/develop' into NewStateTests 2014-12-15 20:30:03 +01:00
ethdev
8266da7f60 boost library -> libraries 2014-12-15 19:01:20 +01:00
Christian
a1f61684b0 Check that constructor does not have "returns" directive. 2014-12-15 16:09:50 +01:00
Christian
17c433e7c9 Packing and unpacking of constructor arguments. 2014-12-15 13:05:18 +01:00
Christian
ab5347100b Create contracts. 2014-12-15 13:05:18 +01:00
Lu Guanqun
a576b38125 update to the correct file name 2014-12-14 21:57:38 +08:00
CJentzsch
aff990f5ab Merge remote-tracking branch 'upstream/develop' into NewStateTests 2014-12-13 22:56:38 +01:00
CJentzsch
1ee9fbbc19 Merge branch 'NewStateTests' of https://github.com/CJentzsch/cpp-ethereum into NewStateTests 2014-12-13 22:56:14 +01:00