Commit Graph

46 Commits

Author SHA1 Message Date
Liana Husikyan
f829dad7e3 added asm-json flag to cl compiler
Conflicts:
	libsolidity/CompilerStack.cpp
2015-04-17 17:41:41 +02:00
Lefteris Karapetsas
d997dc55d1 Allowing abstract contracts constructor to have no args
- If a constructor is part of an abstract contract we can omit its
  arguments

- IF a contract is abstract make sure to not create and/or request
  Assembly code about it since it's not compiled
2015-04-17 15:27:31 +02:00
Liana Husikyan
e32bf97e87 to include source lines in output stream AssemblyItem's appropriate function is now receiving the map of fileNames to sourceCodes as argument. 2015-03-05 12:08:43 +01:00
arkpar
c3def50c93 style 2015-03-02 17:34:43 +01:00
arkpar
8d11b6e74a basic source level debugging 2015-03-02 01:13:10 +01:00
Christian
3abbb8d625 Activate standard sources by default. 2015-02-23 16:28:18 +01:00
Lefteris Karapetsas
c62828c8ff Adding default value to isLibrary 2015-02-21 18:55:55 +01:00
Lefteris Karapetsas
3367bf4b95 Removing temporary contracts
- They are now added as importable libraries
2015-02-21 16:31:25 +01:00
Lefteris Karapetsas
7b709c7c8a Adding Libraries as source units 2015-02-21 16:03:44 +01:00
Gav Wood
f27ecde256 Working, albeit slowly, non-NatSpec transaction confirmations. 2015-02-15 01:00:09 +01:00
Lefteris Karapetsas
7c0ae1a82f Styling in Natspec Enums 2015-02-09 14:12:36 +01:00
Gav Wood
a604202f33 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop 2015-01-29 15:26:39 -08:00
Gav Wood
0d0c47f588 Revert to using require for Solidity - it works. 2015-01-28 17:34:57 -08:00
Christian
1d437b5083 Exclude standard contracts by default. 2015-01-29 01:29:43 +01:00
Christian
95d8d7b1f0 Cleaner solution to provide standard sources. 2015-01-28 13:39:04 +01:00
Gav Wood
5b576e8691 Fixes to ethereum.js and standard.js. 2015-01-24 17:42:49 -08:00
Gav Wood
376c6182ad Claim ether makes wallet & trasfers.
"#require" in solidity.
2015-01-21 11:31:14 -08:00
Lefteris Karapetsas
895a2852f4 Minor style fixes 2015-01-14 17:14:46 +01:00
Lefteris Karapetsas
a78794e872 Fixes and additional checks for Natspec Popup authentication 2015-01-14 16:49:09 +01:00
Lefteris Karapetsas
12e000e0d3 A first version of Natspec warning popup
- Runtime Contract code hash can now be retrieved from the Compiler

- Using the hash the Natspec handler stores and later retrieves Natspec
  JSON for a given contract.
2015-01-13 15:59:42 +01:00
Lefteris Karapetsas
a253abf062 Alethzero: Showing a contract's function's hashes at creation 2015-01-12 17:13:27 +01:00
Lefteris Karapetsas
c5d14ce933 Work in prgress for creating natspec in alethzero at contract creation 2015-01-12 15:38:58 +01:00
Gav Wood
23eff4d24a CLI tweaks. 2015-01-09 08:09:30 +01:00
Gav Wood
29591d6ecf Documentation update. 2015-01-09 07:39:30 +01:00
Gav Wood
ffce12b7ee Basic logging in Solidity (though no tests yet). 2015-01-09 00:22:06 +01:00
Christian
9866caa625 Fix some warnings about uninitialized members. 2015-01-07 16:46:53 +01:00
Christian
f744c34ccc Possibility to replace source and obtain ContractDefinition by name. 2014-12-18 14:39:16 +01:00
Christian
2f64c56ef3 Create contracts. 2014-12-15 13:05:18 +01:00
Christian
a15b03e991 Some more consts. 2014-12-08 13:29:14 +01:00
Christian
26f554d0d8 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
Lefteris Karapetsas
407f11ba76 Replacing old cstyle enums with c++11 enums in natspec 2014-12-05 15:50:39 +01:00
Christian
25273778dc Renamed url to identifier and added some comments. 2014-12-05 15:35:05 +01:00
Christian
d4a958e1fe 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
Lefteris Karapetsas
c8f96589c5 Stack compiler now correctly returns a string and not a pointer 2014-12-05 12:41:32 +01:00
Lefteris Karapetsas
dedd1a312b Addressing styling and miscellaneous issue with Natspec 2014-12-04 23:55:47 +01:00
Lefteris Karapetsas
ba27dc7421 Styling in libsolidity's InterfaceHandler 2014-12-04 01:27:38 +01:00
Christian
d2cf345483 Improved external interface for multi-source and multi-contract compilation. 2014-12-03 18:52:28 +01:00
Christian
254df50fea Multi-source and multi-contract compiler. 2014-12-03 18:51:59 +01:00
Lefteris Karapetsas
d25581de7c 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
be81981ec4 Separate user and dev natspec documentation
- plus other small changes according to the spec
2014-12-03 13:50:04 +01:00
Christian
328387d6d0 Import directive. 2014-12-03 10:44:46 +01:00
Lefteris Karapetsas
43d6726dd7 Exporting Natspec documentation to a JSON interface
- Adding a getDocumentation() function to solidity compiler stack
  so that we can obtain the natspec interface for a contract

- Adding libjsoncpp as a dependency of libsolidity. This is done
  in a dirty way, using libjsonrpc-cpp s an intermediate dependency
  for the moment. Will fix soon.

- Start of a test file for Natspec exporting to JSON
2014-12-01 17:03:04 +01:00
Christian
c50cd646ce Contracts as types and framework for special global variables. 2014-11-23 21:28:44 +01:00
Christian
8c6bf21c01 Provide interface for calls in JSON and some other formatting changes. 2014-11-11 17:41:48 +01:00
Christian
225fc8e1b3 Option to activate the optimizer for solidity. 2014-11-06 22:55:42 +01:00
Christian
a36db1f241 Actual contract creator and add solidity to AlethZero interface. 2014-10-31 14:37:23 +01:00