Liana Husikyan
4fdfbaa367
adde the positions for the end of SourceLocation
2015-05-07 17:22:24 +02:00
Liana Husikyan
83c504ec89
added interface function for SourceLocation/ position convertation to compilerstack
2015-05-07 13:33:27 +02:00
chriseth
ff39a1d241
Merge pull request #1708 from chriseth/sol_fix_libraries
...
Fixed use of libraries.
2015-04-22 14:33:38 +02:00
chriseth
88239460bb
Fixed use of libraries.
2015-04-22 11:34:25 +02:00
Christian
83cc8dfe00
JSON compiler.
2015-04-22 11:33:25 +02:00
Liana Husikyan
e4808305a1
removed unused parameter from streamAsmJson
2015-04-17 17:45:25 +02:00
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
Lefteris Karapetsas
85bb056993
Abstract contract and inheritance
...
- Checking the linearized base contracts for abstract functions and
handle their existence appropriately
- If a contract is abstract it can't be created with new
- An abstract contract is not compiled (no backend code is generated)
- Of course tests
2015-03-27 15:15:34 +01:00
Lefteris Karapetsas
73ce24ae75
Most EndToEndTests are now compliant with the Bytes renaming
2015-03-12 12:53:00 +01: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
8d11b6e74a
basic source level debugging
2015-03-02 01:13:10 +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
Christian
06e846b45c
Fix standard sources test.
2015-01-30 13:57:23 +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
ae5a6a235c
Super keyword.
2015-01-29 00:29:43 +01:00
Christian
2903799074
Find some reasonable contract if nothing is supplied.
2015-01-28 14:25:42 +01:00
Christian
95d8d7b1f0
Cleaner solution to provide standard sources.
2015-01-28 13:39:04 +01:00
Gav Wood
5d3e21fd93
LogFilter supports new, better, filter mechanism.
...
Exposed to JS API.
2015-01-27 16:56:39 -08:00
Gav Wood
32853fbc70
Fixed spurious whisper watches firing.
...
Additional standard APIs.
Refinement of standard.js.
2015-01-26 10:28:15 -08:00
Gav Wood
570e49c03a
Add coins reg to standard services.
...
Upgrade AZ display for new API.
Upgrade requires in Sol.
2015-01-25 17:01:34 -08:00
Gav Wood
3343d408e1
Minor fix.
2015-01-24 17:52:42 -08: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
Christian
e6c0a9b922
Magic variables are only needed durinng name and type resolution, not during compilation.
2015-01-19 23:35:04 +01:00
Lefteris Karapetsas
1515f140b3
Merge pull request #798 from LefterisJP/natspec_OnContractCreation
...
Natspec Popup Authentication on transaction
2015-01-15 01:37:52 +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
arkpar
80eec8b308
fixed warnings for msvc build
2015-01-13 11:18:08 +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
f744c34ccc
Possibility to replace source and obtain ContractDefinition by name.
2014-12-18 14:39:16 +01:00
Christian
a98afc8eaa
Return the last contract by default.
2014-12-17 18:37:06 +01:00
Christian
147e77b61f
Fix: Resolve function types of all contracts before checking types inside functions.
2014-12-16 23:49:02 +01:00
Christian
2f64c56ef3
Create contracts.
2014-12-15 13:05:18 +01:00
Christian
66d95abfd9
Swap literals to the end if optimizing.
2014-12-11 17:48:44 +01:00
Christian
a15b03e991
Some more consts.
2014-12-08 13:29:14 +01:00
Christian
260a1529a7
Compile fix.
2014-12-08 12:19:37 +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