Commit Graph

123 Commits

Author SHA1 Message Date
Christian
c50cd646ce Contracts as types and framework for special global variables. 2014-11-23 21:28:44 +01:00
Christian
fa987e0a20 Convenience class for type members. 2014-11-23 21:04:39 +01:00
Christian
735dbe6986 We only care about member types. 2014-11-23 21:04:39 +01:00
Lefteris Karapetsas
93c98a6e52 no c_ prefix for const parameter names 2014-11-21 17:43:24 +01:00
Lefteris Karapetsas
4cbfb5a903 modifying solidity scanner class to conform with the coding standards 2014-11-21 17:08:35 +01:00
chriseth
c7b933b4db Merge pull request #524 from LefterisJP/sol_parse_comments
Solidity scanner taking documentation comments into account
2014-11-21 15:35:17 +01:00
Lefteris Karapetsas
3b16ffa8ab simplifying scanDocumentationComment() 2014-11-21 09:09:39 +01:00
Lefteris Karapetsas
cda2532de6 cleaning up the external interface of Scanner::next(). No special cases 2014-11-20 23:56:24 +01:00
Lefteris Karapetsas
a93916b5f9 extra comments scanning test 2014-11-20 23:18:05 +01:00
Lefteris Karapetsas
b4b0e37e7a styling fixes 2014-11-20 22:08:16 +01:00
Lefteris Karapetsas
43961a552d documentation comments are now always skipped but saved as special tokens at the Scanner 2014-11-19 16:21:42 +01:00
Christian
3ba9649dde Special handling for constructor. 2014-11-19 13:19:43 +01:00
Lefteris Karapetsas
4e6d3a38cd fixing typo and alignment 2014-11-19 02:05:55 +01:00
Lefteris Karapetsas
3174f5eca3 solidity scanner takes triple slash doc comments into account
- Conditionally scanning for the documentation comments and gettings their
  contents.

- Adding tests for this functionality of the scanner
2014-11-19 01:58:32 +01:00
Gav Wood
3e57086efe Fix warnings, release errors. 2014-11-18 17:49:31 +01:00
Gav Wood
ff9331185c Merge branch 'filter_logs' into develop 2014-11-18 13:40:53 +01:00
Marek Kotewicz
48b89901c2 Merge branch 'develop' into js_abi 2014-11-14 14:08:44 +01:00
Christian
c560a62352 Struct types. 2014-11-14 14:08:14 +01:00
Christian
46dd629820 Mapping types. 2014-11-14 14:08:14 +01:00
Gav Wood
c4a65cf688 Merge pull request #509 from chriseth/sol_jsonInterface
Provide interface for calls in JSON and some other formatting changes.
2014-11-14 12:07:33 +01:00
Christian
8c6bf21c01 Provide interface for calls in JSON and some other formatting changes. 2014-11-11 17:41:48 +01:00
Christian
d1789250b6 Merge remote-tracking branch 'ethereum/develop' into sol_jumptable
Conflicts:
	libsolidity/Compiler.cpp
2014-11-11 10:39:59 +01:00
Marek Kotewicz
c3e80e69f9 Merge branch 'develop' into js_abi
Conflicts:
	libjsqrc/main.js
	libweb3jsonrpc/WebThreeStubServer.cpp
	libweb3jsonrpc/WebThreeStubServer.h
	libweb3jsonrpc/abstractwebthreestubserver.h
	libweb3jsonrpc/spec.json
	test/webthreestubclient.h
2014-11-10 23:04:35 +01:00
Marek Kotewicz
5a3a5b9abc merge 2014-11-10 22:51:10 +01:00
Christian
a0c72065fe Merge remote-tracking branch 'ethereum/develop' into sol_optimizer
Conflicts:
	libevmcore/Instruction.cpp
2014-11-10 13:30:59 +01:00
Christian
41b26e491b Replace function selector jump table by more resilient linear time check. 2014-11-10 13:13:53 +01:00
Gav Wood
d9822190c6 Merge pull request #498 from ethereum/solidity_cmake
add headers to solidity's add_library
2014-11-10 11:57:29 +00:00
Christian
5af66a6cb3 Merge remote-tracking branch 'ethereum/develop' into sol_stateVariables
Conflicts:
	libsolidity/ExpressionCompiler.cpp
2014-11-10 00:45:58 +01:00
Christian
91f9a7b7c4 Do not return after throw. 2014-11-10 00:42:12 +01:00
Marek Kotewicz
d6e7b82d3c add headers to solidity's add_library 2014-11-08 23:48:24 +01:00
Gav Wood
dded93e31d Merge pull request #487 from chriseth/sol_arbitraryEvaluationOrder
Evaluate expressions in convenient order.
2014-11-08 18:10:18 +00:00
Christian
64a4d77c8b State variables. 2014-11-07 20:02:57 +01:00
Christian
4c8e670530 Bugfix: Bit width of address types. 2014-11-07 17:34:50 +01:00
Christian
dc8fb45e1f Merge remote-tracking branch 'ethereum/develop' into sol_optimizer 2014-11-07 02:13:31 +01:00
Christian
af0aa0f898 Evaluate expressions in convenient order. 2014-11-07 02:07:59 +01:00
Gav Wood
afa4e9f575 Merge pull request #478 from chriseth/sol_typePromotion
Type promotion
2014-11-06 23:43:03 +00:00
Gav Wood
49e03ad4c9 Merge pull request #483 from chriseth/libevmcore
Moved instructions and assembly to new libevmcore.
2014-11-06 23:40:59 +00:00
Christian
b66e58d6c9 Prevent optimizer from changing certain parts of the code. 2014-11-06 22:55:42 +01:00
Christian
225fc8e1b3 Option to activate the optimizer for solidity. 2014-11-06 22:55:42 +01:00
chriseth
d9decb8f1d Removed superfluous braces. 2014-11-06 22:11:21 +01:00
Christian
6c2e3ffd76 Merge remote-tracking branch 'ethereum/develop' into sol_typePromotion 2014-11-06 22:07:02 +01:00
Christian
d3215fb4a6 Re-added some changes lost in merges. 2014-11-06 22:04:10 +01:00
chriseth
e0ba1c79db Stylistic changes. 2014-11-06 21:55:01 +01:00
Christian
04726a4ee4 Merge remote-tracking branch 'ethereum/develop' into sol_optimizer 2014-11-06 15:34:35 +01:00
Gav Wood
eb894869d4 Merge pull request #477 from chriseth/sol_someCleanup
Minor cleanup.
2014-11-06 14:20:13 +00:00
Christian
8a0fff83f1 Moved instructions and assembly to new libevmcore. 2014-11-06 14:50:18 +01:00
Christian
d1df8b810f Ignore break and continue outside of loops. 2014-11-06 02:46:48 +01:00
Christian
627c80f0a8 Support for negative literals. 2014-11-06 02:44:43 +01:00
Christian
b5e77678c9 Keywords for all integer types. 2014-11-06 02:40:39 +01:00
Christian
95d2edfbac Type promotion fixes and tests. 2014-11-06 02:36:39 +01:00