Dimitar Dobrev
824d8b5f30
Rewrote the generating of properties to additionaly handle property overrides and read-only properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
3eb1019cb7
Merge pull request #76 from ddobrev/master
...
Fixed the renaming pass
12 years ago
Dimitar Dobrev
549c2046d1
Moved the checks for operators and Dispose to IsRenameableDecl. Moved the checking for conflicts to a separate function.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
8a61ee71d9
Added tests for the changes in the renaming pass.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
8c77618c69
Fixed the renaming pass to ignore operators, consider IDisposable.Dispose and take care to avoid naming conflicts.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
bfcc92dfb1
Included properties in the renaming pass.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
3ff2383a08
Merge pull request #75 from ddobrev/master
...
Fixed arrays
12 years ago
Dimitar Dobrev
acbdf7d82a
Added a test for fixed arrays which showed that setting actually worked incorrectly.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
159a65d6bb
Fixed a bug with multiple inheritance and an indirect return type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
275b4a1696
Filled in the setting of a fixed array.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
80dca38041
Filled in the returning of a fixed array.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
bc33de5ddd
Added parser support for deleted functions.
12 years ago
João Matos
054c028cdc
Merge pull request #74 from ddobrev/master
...
Fixed the generation of fields of a type def type by correctly desugaring
12 years ago
Dimitar Dobrev
444a6e639f
Fixed the generation of fields of a type def type by correctly desugaring.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
d83db94c5c
Merge pull request #72 from ddobrev/master
...
Fixes on the conversion operators
12 years ago
Dimitar Dobrev
d2e7e99bc3
Fixed the issue about member pointers not pointing to a function. Turns out this is some "pointer to a data member" (?!) that is of little use so just ignore it.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
5b6beaaf33
Added a test about operators in nested classes.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
2091d71242
Added a test about the type def - to a function pointer - incorrectly resolved to void*.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
1af78bd544
Updated the news about the conversion operators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
95687a22b6
Added two hacks: one for operators in general, one for a parser issue.
...
1. Visit the class as a declaration context when checking operator overloads - otherwise operators in nested types are not checked; this is, however, not the proper solution because all visiting of classes should be refactored so that this and any other methods are always called as necessary;
2. A single conversion operator in Qt misleads the parser into resolving a function pointer while it is (most probably) not; this caused a subsequent crash.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
813084948f
Fixed the resolution of overloads for conversion operators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
1c137fa2ae
STL containers wrappers now implement ICppMarshal (stubs).
12 years ago
triton
056d0cb6c7
Added new ICppMarshal interface used to marshal objects.
12 years ago
triton
068627e2f2
Added C# and C++/CLI bindings to the new parser APIs.
12 years ago
triton
ca5d1ed280
Revert "Move all the code in the old parser to the CppSharp::Parser namespace."
...
This reverts commit 6297ec532e
.
12 years ago
triton
a524d237e7
Updated the build for the new parser.
12 years ago
triton
cc5d10d912
Updated the Clix string wrapping code to the latest version with some bug fixes for empty/null strings.
12 years ago
triton
7c7ae1595d
Added a bindings generator for the new parser.
12 years ago
triton
6297ec532e
Move all the code in the old parser to the CppSharp::Parser namespace.
12 years ago
triton
62839a3f0a
Added the new C++/CLI free parser.
...
I benchmarked it and it's about the same speed in Release mode (maybe a bit faster) but 3x slower in VS Debug mode due to all the STL usage.
12 years ago
João Matos
850cb9b241
Merge pull request #71 from ddobrev/master
...
Wrapped conversion (cast) operators
12 years ago
Dimitar Dobrev
88d5192684
Wrapped conversion (cast) operators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
c0c212928d
Reworked CLI type references to only filter namespaces only filter (effective) namespaces when generating forward references and not includes.
12 years ago
triton
1d0a512b80
Use the shared library name as a last resort if the symbol is not found.
12 years ago
triton
91508c9b0b
Reworked the SharedLibraryName option to return the LibraryName as default value if not set.
12 years ago
João Matos
48757e247e
Fix typo
12 years ago
João Matos
983f7d6d45
Merge pull request #69 from ddobrev/master
...
Updated the news to include the support for multiple inheritance
12 years ago
Dimitar Dobrev
2691425aaa
Updated the news to include the support for multiple inheritance.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
679c1760f4
Merge pull request #68 from ddobrev/multiple_inheritance
...
Multiple inheritance
12 years ago
Dimitar Dobrev
07beb47048
Converted return types to their complementary interfaces, if any.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
593aac162e
Added a new class type "Interface".
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
1962751cb8
Stored the original class in its interface replacement used with multiple inheritance.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
c45c015a75
Reused the method for generating a string representation of an access qualifier.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
ef53ca17d3
Added a block kind for an interface.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
de9f1056bc
Changed the copy constructor of properties to make a shallow copy.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
c5382ee666
Changed a bit the method for a class definition to be able to reuse it for interfaces.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
3a9eef1e80
Added a new pass converting all parameter types to their respective interfaces, if any.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
d7a91d1719
Added a fake option for multiple inheritance so that the build stays healthy.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
6ef578cd6a
Removed the generation of protected members of interfaces.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
ffbc5fbf15
Fixed the check for duplicates to account for explicit impls. Fixed the getting of a root base method and property to consider the parameter for all bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago