Commit Graph

315 Commits

Author SHA1 Message Date
Marek Kotewicz
5cd7c1fc9a user-provided default constructor 2014-12-11 12:31:14 +01:00
Marek Kotewicz
bea34ab073 Merge branch 'macox_fixes' into build_enhancement
Conflicts:
	test/solidityNatspecJSON.cpp
2014-12-11 12:08:51 +01:00
Marek Kotewicz
222790ffab fixed solidity not building on macos 2014-12-11 11:56:47 +01:00
chriseth
c7c189cac0 Merge pull request #586 from LefterisJP/natspec_contract_tags
Natspec title and author tag.
2014-12-10 19:23:57 +01:00
Christian
8b54d1afb2 Merge remote-tracking branch 'ethereum/develop' into sol_strings
Conflicts:
	libsolidity/Types.cpp
2014-12-10 17:24:23 +01:00
chriseth
3c377f77bb Merge pull request #577 from chriseth/sol_constCleanup
Solidity const cleanup
2014-12-10 17:19:01 +01:00
Christian
373f0da267 Helper functions to access memory. 2014-12-10 17:15:17 +01:00
Lefteris Karapetsas
aebd1490bd Styling issues and add TODO in Interfacehandler 2014-12-10 16:44:54 +01:00
Christian
130ff85e85 String types. 2014-12-10 16:30:20 +01:00
Marek Kotewicz
f86187a6e8 Merge branch 'develop' into build_enhancement 2014-12-10 15:32:50 +01:00
chriseth
e8b7d26664 Const change. 2014-12-10 14:37:37 +01:00
Christian
da62403e79 Stylistic changes. 2014-12-10 14:33:30 +01:00
Lefteris Karapetsas
fbc35003ce Natspec title and author tag.
- Adding the title and author natspec documentation tags for contracts
- Also using the author tag for functions now
- Tests
2014-12-10 13:24:48 +01:00
Christian
5edffeba19 Take variable stack size correctly into account for return value packer. 2014-12-10 12:51:26 +01:00
Marek Kotewicz
ff445324a3 updated cmake policies 2014-12-10 12:49:12 +01:00
Marek Kotewicz
37f7535a00 jsonrpc option in cmakes, removed all warnings 2014-12-10 11:39:41 +01:00
Christian
35d5b28fae Variable-size stack elements for expression compiler. 2014-12-08 22:26:22 +01:00
Christian
b7d856ed5f Changes in compiler to support variably sized stack elements. 2014-12-08 19:02:40 +01:00
Christian
9b68033efc Cleanup before return. 2014-12-08 18:19:25 +01:00
Christian
9e120d4585 Consts in SourceReferenceFormatter. 2014-12-08 17:47:02 +01:00
Christian
e8b18e95ce Move implementations of ::accept out of AST.cpp. 2014-12-08 17:47:02 +01:00
Christian
cd5f495861 Register variably-sized variables on stack. 2014-12-08 16:56:41 +01:00
Marek Kotewicz
bc616ecea9 Merge branch 'develop' into build_enhancement 2014-12-08 14:49:24 +01:00
Marek Kotewicz
5104bd939f removed few unused lines from cmakes 2014-12-08 14:12:28 +01:00
Marek Kotewicz
6afb6757d7 Merge branch 'develop' into build_enhancement 2014-12-08 13:56:30 +01:00
Christian
a15b03e991 Some more consts. 2014-12-08 13:29:14 +01:00
Christian
e0ed942519 Removed unused members. 2014-12-08 13:15:43 +01:00
Christian
f636ac6fc4 More const cleanup. 2014-12-08 13:15:43 +01:00
Christian
13640d7db8 Clear separation between ASTVisitor and ASTConstVisitor and more const specifiers. 2014-12-08 12:53:56 +01:00
Christian
c78c330634 Const AST visitor for the compiler. 2014-12-08 12:49:03 +01:00
Christian
41b8d7b7f1 Const functions for ASTVisitor and const ASTPrinter. 2014-12-08 12:49:03 +01:00
Christian
57e6827cb5 Calling functions of other contracts. 2014-12-08 12:39:29 +01:00
debris
ddf473aa0b common improvements 2014-12-08 12:23:10 +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
debris
c7cf8c6db4 solidity compiling under msvc && boosts cmake file fixed 2014-12-07 11:29:38 +01:00
Christian
d25d98a260 Comments and braces. 2014-12-07 09:46:21 +01:00
Marek Kotewicz
2d8eaf8482 Merge branch 'develop' into build_enhancement 2014-12-06 17:34:50 +01:00
debris
53e0ff10f5 solidity compiling on windows, fixed Compiler Error C2797 2014-12-05 17:00:26 +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
27ef18865d Newline right after doctag is now a valid natspec entry
- Plus tests for that
2014-12-05 12:27:18 +01:00
Lefteris Karapetsas
11cac68cf4 Introducing Docstring parsing error exception and style fixes 2014-12-05 12:08:26 +01:00
Lefteris Karapetsas
8f6656f1b8 Using iterators in Natspec comment parsing
- Used iterators in the entirety of the InterfaceHandler natspec comment
  parsing pipeline

- Fixed issue where @param continuing in new line would not get a space
2014-12-05 02:10:54 +01:00
Lefteris Karapetsas
dedd1a312b Addressing styling and miscellaneous issue with Natspec 2014-12-04 23:55:47 +01:00
Lefteris Karapetsas
02a04eef5c Natspec @return tag parsing
- Also omitting tags from the output JSON file if they are missing
  instead of providing an empty string for their value
2014-12-04 18:12:52 +01:00
Lefteris Karapetsas
df4db1de07 Merge branch 'develop' into natspec_export_json 2014-12-04 17:28:46 +01:00
Lefteris Karapetsas
05964375f8 Natspec parsing @param doctags
- Plus additional work on generally parsing doctags.
  One important missing feature is to parse a tag midline

- Adding more tests
2014-12-04 17:19:47 +01:00