aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move implementations of ::accept out of AST.cpp.Christian2014-12-092-458/+494
|
* Some more consts.Christian2014-12-083-26/+26
|
* Removed unused members.Christian2014-12-082-6/+0
|
* More const cleanup.Christian2014-12-088-53/+54
|
* Clear separation between ASTVisitor and ASTConstVisitor and more const ↵Christian2014-12-0810-153/+173
| | | | specifiers.
* Const AST visitor for the compiler.Christian2014-12-085-49/+49
|
* Const functions for ASTVisitor and const ASTPrinter.Christian2014-12-085-134/+436
|
* Compile fix.Christian2014-12-081-1/+1
|
* Merge remote-tracking branch 'ethereum/develop' into sol_importChristian2014-12-084-35/+35
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: libsolidity/CompilerStack.cpp libsolidity/CompilerStack.h libsolidity/InterfaceHandler.cpp libsolidity/InterfaceHandler.h solc/main.cpp test/solidityJSONInterfaceTest.cpp test/solidityNatspecJSON.cpp
| * Replacing old cstyle enums with c++11 enums in natspecLefteris Karapetsas2014-12-054-35/+35
| |
* | Comments and braces.Christian2014-12-071-1/+2
| |
* | Renamed url to identifier and added some comments.Christian2014-12-055-9/+12
| |
* | Merge remote-tracking branch 'ethereum/develop' into sol_importChristian2014-12-057-42/+445
|\| | | | | | | | | | | | | Conflicts: libsolidity/CompilerStack.cpp libsolidity/CompilerStack.h solc/main.cpp
| * Stack compiler now correctly returns a string and not a pointerLefteris Karapetsas2014-12-052-5/+5
| |
| * Newline right after doctag is now a valid natspec entryLefteris Karapetsas2014-12-051-3/+11
| | | | | | | | - Plus tests for that
| * Introducing Docstring parsing error exception and style fixesLefteris Karapetsas2014-12-052-12/+11
| |
| * Using iterators in Natspec comment parsingLefteris Karapetsas2014-12-052-79/+79
| | | | | | | | | | | | | | - 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
| * Addressing styling and miscellaneous issue with NatspecLefteris Karapetsas2014-12-054-48/+43
| |
| * Natspec @return tag parsingLefteris Karapetsas2014-12-052-8/+28
| | | | | | | | | | - Also omitting tags from the output JSON file if they are missing instead of providing an empty string for their value
| * Merge branch 'develop' into natspec_export_jsonLefteris Karapetsas2014-12-0510-237/+66
| |\
| * | Natspec parsing @param doctagsLefteris Karapetsas2014-12-052-43/+124
| | | | | | | | | | | | | | | | | | | | | - Plus additional work on generally parsing doctags. One important missing feature is to parse a tag midline - Adding more tests
| * | Parsing notice and dev doxytags.Lefteris Karapetsas2014-12-042-23/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Only initial work done. Still need to refine the logic and incorporate all the other types of tags. - Added/Modified some tests - Work in progress
| * | Styling in libsolidity's InterfaceHandlerLefteris Karapetsas2014-12-044-10/+10
| | |
| * | Work in progress for parsing natspec doxytagsLefteris Karapetsas2014-12-042-5/+75
| | |
| * | Moving all Interface and Documentation functionality to own classLefteris Karapetsas2014-12-034-79/+199
| | | | | | | | | | | | | | | | | | | | | | | | - 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
| * | Separate user and dev natspec documentationLefteris Karapetsas2014-12-032-8/+25
| | | | | | | | | | | | - plus other small changes according to the spec
| * | Simplifying lambda function in CompilerStack::getInterface()Lefteris Karapetsas2014-12-031-8/+6
| | |
| * | Removing unneeded local variable in CompilerStack::getDocumentation()Lefteris Karapetsas2014-12-021-2/+1
| | |
| * | Handle absence of Natspec doc and add option to solcLefteris Karapetsas2014-12-021-2/+6
| | |
| * | More Natspec JSON export tests and better error reportingLefteris Karapetsas2014-12-021-1/+1
| | |
| * | Using jsoncpp for exporting ABI interface from solidityLefteris Karapetsas2014-12-021-25/+23
| | | | | | | | | | | | | | | - Also changing the interface JSON test to have a shorter name plus to provide meaningful error message in case of failure
| * | Exporting Natspec documentation to a JSON interfaceLefteris Karapetsas2014-12-024-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | Improved external interface for multi-source and multi-contract compilation.Christian2014-12-0410-43/+50
| | |
* | | Multi-source and multi-contract compiler.Christian2014-12-0411-97/+248
| | |
* | | Import directive.Christian2014-12-0310-77/+182
| | |
* | | Remove std::.Christian2014-12-031-16/+18
| |/ |/|
* | Merge pull request #547 from chriseth/sol_scannercleanupGav Wood2014-12-032-199/+12
|\ \ | | | | | | Cleanup of scanner.
| * | Comments for the TOKEN_LIST usage.Christian2014-12-031-3/+3
| | |
| * | Cleanup of scanner.Christian2014-12-012-199/+12
| |/ | | | | | | | | Removed redundancy of keyword definitions and removed some unused token predicates.
* | Merge pull request #549 from chriseth/sol_saveScopeGav Wood2014-12-036-36/+52
|\ \ | | | | | | Disallow assignments to structs and mappings
| * | Disallow assignments to structs and mappings.Christian2014-12-022-9/+19
| | |
| * | Save the scope for every declaration.Christian2014-12-025-27/+33
| |/
* | Merge pull request #554 from chriseth/sol_constantOptimizerchriseth2014-12-031-1/+1
|\ \ | | | | | | Solidity optimizer for literal numbers
| * | Fix: Storage offset of first struct member should be zero.Christian2014-12-031-1/+1
| |/
* / Warnings fixes (well.. the UPnP was actually a crash fix.)Gav Wood2014-12-031-1/+1
|/
* Merge pull request #545 from LefterisJP/sol_com_in_astchriseth2014-12-014-52/+109
|\ | | | | Solidity function AST nodes get documentation attribute
| * simplifying Scanner::reset()Lefteris Karapetsas2014-12-011-3/+1
| |
| * Moving LiteralScope to Scanner.cppLefteris Karapetsas2014-12-012-41/+42
| |
| * Simplifying scanning for natspec documentationLefteris Karapetsas2014-12-013-36/+18
| | | | | | | | | | | | - Scanner no longer remembers the last natspect comment until a new one is encountered. It remembers it only until the next scan()
| * Solidity natspec docstring test improvementsLefteris Karapetsas2014-11-282-3/+2
| | | | | | | | | | | | | | | | | | - Adding a test for docstring being between function signature and function body - Properly checking for exceptions in parsing - Small parser fix
| * Solidity FunctionDefinition used ASTString shared ptr for docstringsLefteris Karapetsas2014-11-282-7/+16
| |
| * Fixing multiline comment parsing in solidityLefteris Karapetsas2014-11-282-3/+5
| |
| * Solidity work for documentation stringsLefteris Karapetsas2014-11-283-10/+69
| | | | | | | | | | | | | | | | | | | | - Still a work in progress - Parser now properly gets each function's doc comment - Small changes in the scanner - Multiline comments are considered
| * Solidity function AST nodes get documentation attributeLefteris Karapetsas2014-11-272-9/+16
| |
* | Warning fix.Gav Wood2014-11-281-1/+1
| | | | | | | | ECDSA recover fix.
* | Minor changes to magic variables.Christian2014-11-282-2/+2
|/ | | | gas moves to "msg", ripemd160 returns hash160.
* Global functions.Christian2014-11-264-28/+77
|
* Sending ether.Christian2014-11-265-27/+93
|
* More general function types and references.Christian2014-11-264-29/+72
|
* Access to blockchain data.Christian2014-11-244-11/+112
|
* Whitespace change.chriseth2014-11-241-2/+3
|
* Magic variables.Christian2014-11-2414-74/+150
|
* Contracts as types and framework for special global variables.Christian2014-11-2413-66/+259
|
* Convenience class for type members.Christian2014-11-244-41/+70
|
* We only care about member types.Christian2014-11-243-6/+6
|
* no c_ prefix for const parameter namesLefteris Karapetsas2014-11-221-5/+5
|
* modifying solidity scanner class to conform with the coding standardsLefteris Karapetsas2014-11-222-86/+88
|
* Merge pull request #524 from LefterisJP/sol_parse_commentschriseth2014-11-213-12/+66
|\ | | | | Solidity scanner taking documentation comments into account
| * simplifying scanDocumentationComment()Lefteris Karapetsas2014-11-211-2/+1
| |
| * cleaning up the external interface of Scanner::next(). No special casesLefteris Karapetsas2014-11-212-7/+9
| |
| * extra comments scanning testLefteris Karapetsas2014-11-211-1/+1
| |
| * styling fixesLefteris Karapetsas2014-11-212-13/+13
| |
| * documentation comments are now always skipped but saved as special tokens at ↵Lefteris Karapetsas2014-11-192-22/+43
| | | | | | | | the Scanner
| * fixing typo and alignmentLefteris Karapetsas2014-11-192-2/+2
| |
| * solidity scanner takes triple slash doc comments into accountLefteris Karapetsas2014-11-193-12/+44
| | | | | | | | | | | | | | - Conditionally scanning for the documentation comments and gettings their contents. - Adding tests for this functionality of the scanner
* | Special handling for constructor.Christian2014-11-192-38/+68
| |
* | Fix warnings, release errors.Gav Wood2014-11-192-1/+2
| |
* | Merge branch 'filter_logs' into developGav Wood2014-11-180-0/+0
|\ \ | |/ |/|
| * Merge branch 'develop' into js_abiMarek Kotewicz2014-11-147-36/+174
| |\
| * \ Merge branch 'develop' into js_abiMarek Kotewicz2014-11-110-0/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: libjsqrc/main.js libweb3jsonrpc/WebThreeStubServer.cpp libweb3jsonrpc/WebThreeStubServer.h libweb3jsonrpc/abstractwebthreestubserver.h libweb3jsonrpc/spec.json test/webthreestubclient.h
| * | | mergeMarek Kotewicz2014-11-115-10/+12
| | | |
* | | | Struct types.Christian2014-11-147-20/+126
| | | |
* | | | Mapping types.Christian2014-11-149-107/+245
| |_|/ |/| |
* | | Merge pull request #509 from chriseth/sol_jsonInterfaceGav Wood2014-11-146-15/+155
|\ \ \ | | | | | | | | Provide interface for calls in JSON and some other formatting changes.
| * | | Provide interface for calls in JSON and some other formatting changes.Christian2014-11-126-15/+155
| | |/ | |/|
* | | Merge remote-tracking branch 'ethereum/develop' into sol_jumptableChristian2014-11-115-8/+9
|\| | | | | | | | | | | | | | Conflicts: libsolidity/Compiler.cpp
| * | Merge remote-tracking branch 'ethereum/develop' into sol_optimizerChristian2014-11-109-127/+237
| |\| | | | | | | | | | | | | Conflicts: libevmcore/Instruction.cpp
| * | Merge remote-tracking branch 'ethereum/develop' into sol_optimizerChristian2014-11-0710-90/+297
| |\ \
| * | | Prevent optimizer from changing certain parts of the code.Christian2014-11-071-2/+3
| | | |
| * | | Option to activate the optimizer for solidity.Christian2014-11-075-8/+9
| | | |
| * | | Merge remote-tracking branch 'ethereum/develop' into sol_optimizerChristian2014-11-063-27/+7
| |\ \ \
* | | | | Replace function selector jump table by more resilient linear time check.Christian2014-11-101-20/+19
| |_|_|/ |/| | |
* | | | Merge pull request #498 from ethereum/solidity_cmakeGav Wood2014-11-101-4/+3
|\ \ \ \ | | | | | | | | | | add headers to solidity's add_library
| * | | | add headers to solidity's add_libraryMarek Kotewicz2014-11-091-4/+3
| | | | |
* | | | | Merge remote-tracking branch 'ethereum/develop' into sol_stateVariablesChristian2014-11-101-33/+19
|\| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: libsolidity/ExpressionCompiler.cpp
| * | | | Merge pull request #487 from chriseth/sol_arbitraryEvaluationOrderGav Wood2014-11-091-32/+19
| |\ \ \ \ | | | | | | | | | | | | Evaluate expressions in convenient order.
| | * | | | Evaluate expressions in convenient order.Christian2014-11-071-32/+19
| | | |_|/ | | |/| |
* | | | | Do not return after throw.Christian2014-11-102-5/+3
| | | | |
* | | | | State variables.Christian2014-11-088-87/+214
|/ / / /
* / / / Bugfix: Bit width of address types.Christian2014-11-081-2/+2
|/ / /
* | | Merge pull request #478 from chriseth/sol_typePromotionGav Wood2014-11-0710-90/+297
|\ \ \ | | | | | | | | Type promotion
| * | | Removed superfluous braces.chriseth2014-11-071-2/+0
| | | |
| * | | Merge remote-tracking branch 'ethereum/develop' into sol_typePromotionChristian2014-11-073-27/+7
| |\ \ \ | | | |/ | | |/|
| * | | Re-added some changes lost in merges.Christian2014-11-072-3/+2
| | | |
| * | | Stylistic changes.chriseth2014-11-071-2/+0
| | | |
| * | | Support for negative literals.Christian2014-11-063-15/+17
| | | |
| * | | Keywords for all integer types.Christian2014-11-063-10/+176
| | | |
| * | | Type promotion fixes and tests.Christian2014-11-062-12/+8
| | | |
| * | | Proper type promotion and conversion.Christian2014-11-063-31/+67
| | | |
| * | | More information for type expectation errors.Christian2014-11-061-5/+11
| | | |
| * | | Allow implicit type conversions for comparisons.Christian2014-11-062-14/+10
| | | |
| * | | Detect integer length from literals and remove "std::".Christian2014-11-063-19/+29
| | | |
* | | | Merge pull request #483 from chriseth/libevmcoreGav Wood2014-11-072-4/+3
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| Moved instructions and assembly to new libevmcore.
| * | Moved instructions and assembly to new libevmcore.Christian2014-11-062-4/+3
| |/
* | Merge pull request #477 from chriseth/sol_someCleanupGav Wood2014-11-062-21/+3
|\ \ | | | | | | Minor cleanup.
| * | Minor cleanup.Christian2014-11-062-21/+3
| |/
* / Ignore break and continue outside of loops.Christian2014-11-061-6/+4
|/
* Merge remote-tracking branch 'ethereum/develop' into HEADChristian2014-11-061-4/+4
|\ | | | | | | | | | | Conflicts: libsolidity/Compiler.cpp test/solidityCompiler.cpp
| * Bugfix: Special case of statements starting with type conversion.Christian2014-11-051-4/+4
| |
| * Bugfix: Swap before mod and div.Christian2014-11-031-0/+2
| |
* | Stylistic corrections.Christian2014-11-052-3/+3
| |
* | Converted all asserts to exceptions.Christian2014-11-0512-135/+130
| |
* | Added doxygen comment.chriseth2014-11-051-0/+1
| |
* | Stylistic changes.chriseth2014-11-042-5/+4
| |
* | Some tests and bugfixes for the compiler.Christian2014-11-033-20/+14
| |
* | Bugfix: Swap before mod and div.Christian2014-11-031-2/+2
| |
* | Merge remote-tracking branch 'ethereum/develop' into sol_contractCompilerChristian2014-11-0111-100/+179
|\| | | | | | | | | | | | | | | | | | | | | | | 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
| * Big fixes.Gav Wood2014-10-311-2/+2
| |
| * Corrected doxygen post comments.Christian2014-10-312-8/+8
| |
| * Further const placement changes.Christian2014-10-304-7/+7
| |
| * Fixed placements of const.Christian2014-10-302-9/+9
| |
| * Merge remote-tracking branch 'ethereum/develop' into sol_expressionCompilerChristian2014-10-301-0/+2
| |\
| * | Adjustments for the NEG->BNOT change.Christian2014-10-291-8/+5
| | |
| * | Merge remote-tracking branch 'ethereum/develop' into sol_expressionCompilerChristian2014-10-292-26/+2
| |\ \ | | | | | | | | | | | | | | | | Conflicts: libsolidity/Types.cpp
| * | | Forgot some asterisks.Christian2014-10-282-8/+12
| | | |
| * | | Asterisk-syntax for doxygen class documentation.Christian2014-10-286-74/+159
| | | |
| * | | Stylistic corrections.Christian2014-10-283-26/+22
| | | |
* | | | Actual contract creator and add solidity to AlethZero interface.Christian2014-10-317-6/+113
| | | |
* | | | Function selector and variable (un)packing.Christian2014-10-314-11/+117
| | | |
* | | | Renamed file.Christian2014-10-315-3/+4
| | | |
* | | | Merge remote-tracking branch 'ethereum/develop' into sol_contractCompilerChristian2014-10-300-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Parser fix: Consume break and continue.Christian2014-10-291-0/+2
| | |/ | |/|
* | | Contract compiler and also add ExpressionStatement to AST.Christian2014-10-3019-567/+937
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Bugfix: Allow empty return statements without type checking.Christian2014-10-301-0/+2
| | |
* | | Compiler for assignments.Christian2014-10-295-29/+123
| | |
* | | NEG->BNOT changeChristian2014-10-291-8/+4
| | |
* | | Merge remote-tracking branch 'ethereum/develop' into sol_contractCompilerChristian2014-10-292-26/+2
|\| | | |/ |/| | | | | Conflicts: libsolidity/Types.cpp
| * Merge pull request #418 from chriseth/dependencyCleanupGav Wood2014-10-261-26/+1
| |\ | | | | | | CMakeLists library dependency cleanup
| | * CMakeLists library dependency cleanup for libdevcore, libevmface, ↵Christian2014-10-261-26/+1
| | | | | | | | | | | | | | | | | | libsolidity and solc. Fixes #417.
| * | Warnings fixes.Gav Wood2014-10-261-0/+1
| |/
* | Removed some more boost asserts.Christian2014-10-251-20/+20
| |
* | Removed std:: where it made sense.Christian2014-10-255-57/+66
| |
* | Replace BOOST_ASSERT by assert.Christian2014-10-257-38/+34
| |
* | Documentation for AST, Parser, Scanner and other classes.Christian2014-10-255-36/+93
| |
* | Some documentation.Christian2014-10-256-12/+31
| |
* | Expression compiler.Christian2014-10-257-30/+671
|/
* Merge pull request #410 from chriseth/sol_exceptionsGav Wood2014-10-2512-69/+222
|\ | | | | Improved exceptions and reporting exceptions for command-line compiler.
| * Use the passed stream, not std::cerr.Christian2014-10-251-5/+5
| |
| * Use endl instead of "\n".Christian2014-10-242-7/+7
| |
| * Remove nullptr comparisons.Christian2014-10-246-24/+21
| |
| * Use createTypeError everywhere and stream out Location.Christian2014-10-245-11/+13
| |
| * Use boost errinfo.Christian2014-10-248-83/+164
| |
| * Improved exceptions and reporting exceptions for command-line compiler.Christian2014-10-236-38/+111
| |
* | Sorted include directives.Christian2014-10-241-1/+1
| |
* | Type information for AST printer.Christian2014-10-234-7/+53
|/
* Corrected spacing around colon.Christian2014-10-237-73/+68
|
* Cleanup of copyright headers.Christian2014-10-202-82/+102
|
* Access modifier cleanup.Christian2014-10-203-1/+28
|
* Pointer type cleanup: Use ASTPointer only for AST nodes and shared_ptr for typeChristian2014-10-2013-313/+302
| | | | pointer.
* Coding style cleanup: const and vecptr.Christian2014-10-2012-76/+74
|
* Keyword cleanupChristian2014-10-172-65/+14
|
* Coding style and cleanupChristian2014-10-1714-315/+199
|
* Corrected coding style.Christian2014-10-1620-1049/+1145
|
* Remove unused parameters.Christian2014-10-161-3/+3
|
* Some fixes for the type system, should be quite usable now.Christian2014-10-164-159/+195
|
* Added meaningful exception types.Christian2014-10-164-29/+77
|
* Type system, not yet complete.Christian2014-10-1613-123/+816
|
* Added copyright blocks.Christian2014-10-138-0/+176
|
* Name resolution.Christian2014-10-1310-64/+318
|
* AST printer and command line tool, some fixes.Christian2014-10-108-55/+955
|
* Initial implementation of Solidity parser finished, not yet tested much.Christian2014-10-104-28/+338
|
* Corrected indentation.Christian2014-10-099-1273/+1292
|
* Parse everything up to function bodies and report parser errors with location.Christian2014-10-098-68/+264
|
* Solidity parser, can not parse much yet.Christian2014-10-089-28/+675
|
* Solidity scanner and some unit tests.Christian2014-10-085-0/+1370
The scanner is a modified version of the v8 javascript scanner.