Commit Graph

17980 Commits

Author SHA1 Message Date
Lefteris Karapetsas
d7d40a13c2 Adding const attribute to ABI output 2014-12-19 10:48:59 +01:00
Christian
7dc7827907 Possibility for binary operators to yield types different from their operands'. 2014-12-19 00:12:04 +01:00
winsvega
3729d5e5b2 Cteate Contract From Contract Init Code Test 2014-12-19 01:57:21 +03:00
chriseth
59835e9df1 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
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
8dbe13f840 Bugfix: Additional swap for compound assignment. 2014-12-18 22:23:34 +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
subtly
ed9a5e572a stash 2014-12-18 20:25:36 +01:00
Paweł Bylica
35d8b94e73 Merge branch 'develop' into develop-evmcc
Conflicts:
	CMakeLists.txt
	alethzero/CMakeLists.txt
	eth/CMakeLists.txt
	exp/CMakeLists.txt
	libethereum/CMakeLists.txt
	neth/CMakeLists.txt
	test/CMakeLists.txt
	test/TestHelper.cpp
	windows/Eth.vcxproj
	windows/Ethereum.sln
	windows/LibEthereum.vcxproj
	windows/LibEthereum.vcxproj.filters
	windows/TestEthereum.vcxproj
	windows/TestEthereum.vcxproj.filters
	windows/bootstrap.sh
2014-12-18 19:08:04 +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
Lefteris Karapetsas
1da53d1681 Factoring forward slash scanning out to its own function 2014-12-18 17:30:10 +01:00
subtly
b3b4411c4c spacing 2014-12-18 17:21:06 +01:00
Christian
b0037eddfd Bit operators should bind more strongly than comparison operators. 2014-12-18 17:19:42 +01:00
Christian
f35ee00ca2 Bit operators should bind more strongly than comparison operators. 2014-12-18 17:19:42 +01:00
subtly
095792cfc8 Merge branch 'develop' into p2p 2014-12-18 17:18:59 +01:00
Lefteris Karapetsas
89f5b86692 Merge branch 'develop' into sol_natspecMultiline 2014-12-18 16:49:56 +01:00
Lefteris Karapetsas
0cdacde3b9 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
e6e5d5ea24 More multiline natspec tests and small issue fix 2014-12-18 16:48:25 +01:00
Lefteris Karapetsas
d97bdba471 Adressing some natspec issues 2014-12-18 16:27:17 +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
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