Commit Graph

620 Commits

Author SHA1 Message Date
jhuntley
a4d772315d Consolidating macro resolution to one header file as per project owner request. Added inline comments covering reasons for undef of macros. Resolves issues with problem #832:
Adding UndefWindowsMacros.h to handle V8 CPP conflicts in Windows #832
2015-03-04 11:17:46 -05:00
jhuntley
055f45f11b Update to resolve "#error : The macro "DELETE" from windows.h conflicts with this file." on windows vs build. 2015-03-04 11:17:46 -05:00
jhuntley
d2a5153722 Adding comments for #undef per project owner request. 2015-03-04 11:17:46 -05:00
jhuntley
f046be3cc1 Updates for mingw support. #undef conflicting defines on windows. 2015-03-04 11:17:45 -05:00
jhuntley
d82b8c2738 Mingw cmake updates. Make sure Boost_INCLUDE_DIRS is included for each library using boost. When installing libraries, don't forget to copy DLLs, add target 'RUNTIME DESTINATION bin'. 2015-03-04 11:17:45 -05:00
Gav Wood
de671024b5 Merge pull request #1193 from chriseth/sol_fixABIArrays
Fixed arrays in ABI.
2015-03-03 16:12:10 +01:00
Christian
7112696993 Fixed arrays in ABI. 2015-03-03 12:58:48 +01:00
Gav Wood
f7f2861f5f Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop 2015-03-03 11:20:12 +01:00
Gav Wood
226c4a89b2 Solidity STOPs in case of failed call. 2015-03-03 11:19:24 +01:00
arkpar
5efd2fbab7 Merge branch 'develop' of https://github.com/ethereum/cpp-ethereum into mix_srcdbg 2015-03-02 17:34:53 +01:00
arkpar
c3def50c93 style 2015-03-02 17:34:43 +01:00
arkpar
da0df69dc3 Merge branch 'develop' of https://github.com/ethereum/cpp-ethereum into
mix_srcdbg

Conflicts:
	mix/ClientModel.cpp
	mix/qml/Debugger.qml
	mix/qml/MainContent.qml
2015-03-02 17:07:04 +01:00
Christian
7f37659a28 Removed unused variables. 2015-03-02 15:12:54 +01:00
Liana Husikyan
9b6b2759b4 removed unused member
added some comments for ModifierInvocation::checkTypeRequirements
cleanup
2015-03-02 14:28:13 +01:00
Liana Husikyan
e9238e15b4 Implemented passing arguments to the base constructor. 2015-03-02 14:28:08 +01:00
chriseth
32e210ecca Merge pull request #1146 from LefterisJP/sol_fixBaseClassAccessors
Sol fix accessing public variable of base class
2015-03-02 12:59:12 +01:00
chriseth
346d87cc63 Merge pull request #1174 from guanqun/add-tab-to-solc-output
let the error output take tab into consideration
2015-03-02 12:55:44 +01:00
Lefteris Karapetsas
4f13859f8c Using normal pointer in getInheritableMembers() 2015-03-02 12:08:32 +01:00
Lefteris Karapetsas
bbaa9fef6c getInheritableMembers() does not look at BaseContracts
- Also adding tests for improper accessing members of other contracts.
2015-03-02 11:51:13 +01:00
Lefteris Karapetsas
efe8f9f8a0 Use lambda to avoid code duplication in inheritableMembers 2015-03-02 11:51:13 +01:00
Lefteris Karapetsas
7db2b6fbdb VisibleInDerivedContracts() is now virtual()
- Plus an extra test for internal visibility in a base class variable
2015-03-02 11:51:13 +01:00
Lefteris Karapetsas
47177542f5 Add structs to inheritable members 2015-03-02 11:51:13 +01:00
Lefteris Karapetsas
5e4665b84d Adding inheritable members to a contract 2015-03-02 11:51:13 +01:00
Lu Guanqun
3da8b04037 let the error output take tab into consideration 2015-03-01 22:35:54 -06:00
arkpar
8d11b6e74a basic source level debugging 2015-03-02 01:13:10 +01:00
Christian
3074d08b44 Array copy storage to storage. 2015-02-27 22:52:19 +01:00
Christian
2ea8f3a75a Type checks for array assignment. 2015-02-27 22:52:19 +01:00
Christian
87365f7612 Shortening of dynamic arrays. 2015-02-27 22:52:19 +01:00
Gav Wood
a5b4f18dd7 Fix warnings. 2015-02-26 13:19:34 +01:00
Christian
66b6860eb8 Stylistic changes. 2015-02-25 16:22:30 +01:00
Christian
29c614ebaf Removed code duplication. 2015-02-25 15:55:42 +01:00
Christian
cc31a7ab32 LValue refactoring. 2015-02-25 15:41:19 +01:00
Lefteris Karapetsas
7f3a544d2a Move SourceLocation to evmcore 2015-02-25 12:19:02 +01:00
Lefteris Karapetsas
ece19cb913 Tighter coupling for Assembly items retrieval
- Exposing only assembly items, not the entire compiler context
2015-02-25 12:02:58 +01:00
Lefteris Karapetsas
71b0d8107a LocationSetter in some extra places during Compiling
- Also adjusted the test, and fixed its error reporting
2015-02-25 10:40:14 +01:00
Lefteris Karapetsas
54121a0d78 Styling changes for SourceLocation and friends 2015-02-25 09:53:28 +01:00
Lefteris Karapetsas
fb328b778c Changes after rebase on top of Array Parsing 2015-02-24 17:31:06 +01:00
Lefteris Karapetsas
12c32392ab Simple Assembly Locations test
- Also adding some helper functions to SourceLocation
2015-02-24 17:16:22 +01:00
Lefteris Karapetsas
3e5c9a74b2 Reset CompilerContext's visited nodes at compile start 2015-02-24 17:16:22 +01:00
Lefteris Karapetsas
1891020ffb Moving Source Location libdevcore
- Big plus is we now remove the useless header libsolibity/BaseTypes.h
2015-02-24 17:16:22 +01:00
Lefteris Karapetsas
38cb123a82 Adding location information to assembly items
- In order to facilitate this addition we also now have a ScopeGuard
  object used in the Compiler to set the currently visited node.
2015-02-24 17:16:22 +01:00
Christian
820ed2dfe1 Out-of-bounds checking. 2015-02-23 18:28:33 +01:00
Christian
5d2323c914 Index and length access for dynamic arrays. 2015-02-23 18:28:30 +01:00
Christian
754c804d19 Implementation of index access. 2015-02-23 18:25:49 +01:00
Christian
3abbb8d625 Activate standard sources by default. 2015-02-23 16:28:18 +01:00
Gav Wood
44db8c26db Merge pull request #1100 from chriseth/sol_arrays
Parsing support for arrays.
2015-02-23 15:19:07 +01:00
Christian
39c471f332 Comments and warnings. 2015-02-23 14:55:06 +01:00
Christian
c8b03c51a0 Renames and comments. 2015-02-23 14:38:44 +01:00
Gav Wood
45fdd9b007 Merge pull request #1107 from chriseth/sol_inheritableIsInternal
Replaced "inheritable" by "internal".
2015-02-23 10:42:59 +01:00
Christian
a17108e3bc Replaced "inheritable" by "internal". 2015-02-22 19:37:54 +01:00