Commit Graph

60 Commits

Author SHA1 Message Date
Christian
80b8db4f17 Assertions that throw InternalCompilerErrors. 2014-12-17 16:24:56 +01:00
Lefteris Karapetsas
a6fd19c8f3 better alignment of global string constants 2014-12-17 00:17:38 +01:00
Lefteris Karapetsas
dfff581057 Using strings instead of #defined literals in solc 2014-12-16 23:55:38 +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
ethdev
34816de105 boost library -> libraries 2014-12-15 19:01:20 +01:00
ethdev
a909383fc4 start of implementing windows debug 2014-12-15 18:19:58 +01:00
Marek Kotewicz
ce5e6ce67b Merge branch 'macox_fixes' into build_enhancement
Conflicts:
	test/solidityNatspecJSON.cpp
2014-12-11 12:08:51 +01:00
Lefteris Karapetsas
207da9ef0f Fixing segfault for solc if stdin is given as input file
- Solc should now check its input files and skip them if they don't
  exist or if they are not a valid file
2014-12-11 00:22:35 +01:00
Marek Kotewicz
a68d58cb9e recent changes from solc working on macos 2014-12-10 16:56:30 +01:00
Marek Kotewicz
2c37a98bd4 Merge branch 'develop' into build_enhancement 2014-12-10 15:32:50 +01:00
Lefteris Karapetsas
d377ad3fb1 Cleaner interface for Solc CLI bytecode handling 2014-12-09 20:29:29 +01:00
Lefteris Karapetsas
e851d2173d Explicitly calling dev::operator<<() on two occassions due to mixup with boost 2014-12-09 18:17:54 +01:00
Lefteris Karapetsas
df82e26d5a Styling issues and new class name for the CLI 2014-12-09 17:39:34 +01:00
Lefteris Karapetsas
5ab37de94a Moving most of the solc functionality to own class and splitting implementation in modular functions 2014-12-09 14:05:22 +01:00
Lefteris Karapetsas
63e9b3940c Style improvements and succinctness in solc main.cpp 2014-12-09 12:05:32 +01:00
Lefteris Karapetsas
88cbcdf98a Solc gets arguments for interface and documentation related output 2014-12-08 16:42:56 +01:00
Lefteris Karapetsas
5ccf5b5c9e Solc option to output binary and opcode 2014-12-08 15:21:20 +01:00
Lefteris Karapetsas
501d6f4a2c Solc evm assembly to either file or stdout option 2014-12-08 15:05:23 +01:00
Lefteris Karapetsas
3cb4562e5d Solc cmdline option for ast outputting either to stdout or a file 2014-12-08 14:46:00 +01:00
Marek Kotewicz
5dc6d1112a Merge branch 'develop' into build_enhancement 2014-12-08 13:56:30 +01:00
Lefteris Karapetsas
7193ac2edc Unknown solc arguments are now ignored 2014-12-08 13:30:55 +01:00
Lefteris Karapetsas
d4d0b07c35 using boost::program_options for argument parsing 2014-12-08 13:21:16 +01:00
Christian
1f209f1b7d Merge remote-tracking branch 'ethereum/develop' into sol_import
Conflicts:
	libsolidity/CompilerStack.cpp
	libsolidity/CompilerStack.h
	libsolidity/InterfaceHandler.cpp
	libsolidity/InterfaceHandler.h
	solc/main.cpp
	test/solidityJSONInterfaceTest.cpp
	test/solidityNatspecJSON.cpp
2014-12-08 12:07:17 +01:00
debris
ed28d3013b serpent compiling under msvc 2014-12-07 19:55:40 +01:00
debris
9dd74d13d3 solc working 2014-12-07 19:07:51 +01:00
debris
9b3417903b solidity compiling under msvc && boosts cmake file fixed 2014-12-07 11:29:38 +01:00
Marek Kotewicz
4d729d62ad Merge branch 'develop' into build_enhancement 2014-12-06 17:34:50 +01:00
Lefteris Karapetsas
122b42579e Replacing old cstyle enums with c++11 enums in natspec 2014-12-05 15:50:39 +01:00
Christian
f59f0dfa8c Merge remote-tracking branch 'ethereum/develop' into sol_import
Conflicts:
	libsolidity/CompilerStack.cpp
	libsolidity/CompilerStack.h
	solc/main.cpp
2014-12-05 15:27:07 +01:00
Marek Kotewicz
d8a65552d8 removed automocs 2014-12-04 09:55:54 +01:00
Christian
aae508748e Improved external interface for multi-source and multi-contract compilation. 2014-12-03 18:52:28 +01:00
Lefteris Karapetsas
9ce5a4ebcf Moving all Interface and Documentation functionality to own class
- Creating the Interface Handler class which will take care of the
  parsing of Natspec comments and of interfacing with and outputing to
  JSON files.

- Will also handle the ABI interface creation
2014-12-03 16:40:37 +01:00
Lefteris Karapetsas
d0758ccf1e Separate user and dev natspec documentation
- plus other small changes according to the spec
2014-12-03 13:50:04 +01:00
Christian
e6902e070e Import directive. 2014-12-03 10:44:46 +01:00
Lefteris Karapetsas
0cc271fae9 Handle absence of Natspec doc and add option to solc 2014-12-02 11:03:34 +01:00
Marek Kotewicz
7dbfde91e3 Merge branch 'develop' into js_abi 2014-11-14 14:08:44 +01:00
Christian
ad4b027781 Provide interface for calls in JSON and some other formatting changes. 2014-11-11 17:41:48 +01:00
Marek Kotewicz
a5e5516a01 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
a44bd8c987 merge 2014-11-10 22:51:10 +01:00
Christian
7594813e1e Option to activate the optimizer for solidity. 2014-11-06 22:55:42 +01:00
Christian
8c384232eb Converted all asserts to exceptions. 2014-11-05 15:01:24 +01:00
Christian
245efb0280 Merge remote-tracking branch 'ethereum/develop' into sol_contractCompiler
Conflicts:
	libsolidity/AST.cpp
	libsolidity/AST.h
	libsolidity/Compiler.cpp
	libsolidity/Compiler.h
	libsolidity/NameAndTypeResolver.h
	libsolidity/Types.cpp
	solc/main.cpp
	test/solidityCompiler.cpp
2014-10-31 17:20:27 +01:00
Christian
9eb7fd274c Function selector and variable (un)packing. 2014-10-30 21:21:25 +01:00
Christian
877aa91c57 Contract compiler and also add ExpressionStatement to AST.
ExpressionStatement functions as glue between Statements and Expressions.

This way it is possible to detect when the border between statements and
expressions is crossed while walking the AST. Note that ExpressionStatement is
not the only border, almost every statement can contains expressions.
2014-10-30 01:25:42 +01:00
Christian
03a6cf0e81 Compiler for assignments. 2014-10-29 14:33:25 +01:00
Christian
f6fabb268b Merge remote-tracking branch 'ethereum/develop' into sol_contractCompiler
Conflicts:
	libsolidity/Types.cpp
2014-10-29 13:54:36 +01:00
Christian
bb2b4ed3a3 Merge remote-tracking branch 'ethereum/develop' into sol_expressionCompiler
Conflicts:
	libsolidity/Types.cpp
2014-10-28 17:01:04 +01:00
Christian
3306835c9d Asterisk-syntax for doxygen class documentation. 2014-10-28 16:51:26 +01:00
Gav Wood
c3b65c8eab Merge pull request #418 from chriseth/dependencyCleanup
CMakeLists library dependency cleanup
2014-10-26 00:25:01 +02:00