Dimitar Dobrev
062f8e26e0
Revert "Revert "Included ignored fields in the wrappers for better marshalling.""
...
This reverts commit 27d3f21a75
.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
069b727a23
Fixed the generation of overloads for free functions with default args.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
8fd62e6294
Fixed a bug with removing the "override" modifier when overriding a member of a secondary base.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
994ed60dc0
Something went wrong and the actual fix for changed property access wasn't sent.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
27d3f21a75
Revert "Included ignored fields in the wrappers for better marshalling."
...
This reverts commit 65cac93259
.
Conflicts:
src/Generator/Generators/CSharp/CSharpTextTemplate.cs
tests/Basic/Basic.h
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
42828f35fd
Fixed the generation of abstract impl calls in property setters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
f09a49b353
Removed three hacks about method objects in v-tables.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
de0392ca1e
Fixed a bug when a function returns an abstract class contained in a dependency.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
451278cb10
Removed the option for abstract impls thus enabling them by default.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
2e57ce7808
Cleaned up the C# generator.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
77369b50c5
Removed the option for abstract impls enabling them by default for the C# generator.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
a9021ea63d
Fixed some typos.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
9b62ec46e6
Fixed destructors signature in MS ABI.
...
See MicrosoftCXXABI::EmitVirtualDestructorCall in https://github.com/llvm-mirror/clang/blob/master/lib/CodeGen/MicrosoftCXXABI.cpp for the nitty gritty details.
10 years ago
Dimitar Dobrev
1e195a166a
Generated comments for variables (static fields in C#).
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
95c34277a3
Code formatting fixes.
10 years ago
triton
74f9ab8a19
Check if we're generating copy constructors before trying to use them.
10 years ago
Abhinav Tripathi
384dac3442
Fixed code generation when using arrays in ValueType types.
10 years ago
Dimitar Dobrev
14f5358daa
Fixed a bug when having protected properties in a secondary base.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Abhinav Tripathi
fc54f71893
Fixed code gen when using non primitive pointer type CS_OUT args.
10 years ago
Dimitar Dobrev
d7e74c68e6
Ensured implementations of interface members are properly renamed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
9ce1fea794
Fixed the "override" modifier of overridden methods and properties from secondary bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
a7799edb14
Fixed a bug when having a field with a protected ignored type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
44cd09fbf2
Fixed a bug when having a default arg in a ctor of a derived type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
010a30f5a5
Fixed a regression - the test for dependencies failed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
b972aeb8b3
Fixed a failing test about the native-to-managed map.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
1d0b80b280
Used the correct return type when generating a v-table call.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
d9e54d679d
Fixed the CS writer to compile after forgetting to update some invocations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
07b23e6f84
Removed some redundant code when writing qualified names.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
597922c1db
Stopped at an ignored base when getting the root one.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
7328538f19
Prevented Dispose from destroying unmanaged objects we didn't create.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
11603067f8
Removed the useless SuppressFinalize when not generating dtors.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
73e9455821
Put own (created in managed code) objects in the object map upon creation.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
84d8af2396
Added a mapping between native object and their managed wrappers.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
befad1ba0f
Sped up the generator by using a constant instead of constructing strings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Abhinav Tripathi
f81247911b
Fixed compilation issues when nesting more than one anonymous types.
10 years ago
Dimitar Dobrev
1a076ed8b0
Extended the commenting of enum members to handle multi-line comments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Abhinav Tripathi
c7c74e306b
Added CS_INTERNAL macro definition and test.
10 years ago
Dimitar Dobrev
36203df887
Restored the full qualifying when printing types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Pyry Kontio
5f23220143
Fixed two bugs.
11 years ago
Pyry Kontio
575088aeb6
Extended namespaces tests to consider taking a parameter and returning a value of types declared in other libraries. Implemented QualifiedIdentifierIfNeeded().
11 years ago
Pyry Kontio
8a85058c48
Implemented name importing & exporting.
11 years ago
triton
1e0db93c5e
Added support for handling non-virtual methods inherited from MI bases.
11 years ago
Dimitar Dobrev
c7253b456b
Fixed the assigment of structs with private fields.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
46bb029848
Changed the check for an interface when generating conversions to work with the parameter.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Pyry Kontio
50dff6288b
Fixed the inheritance of a linked class.
11 years ago
triton
684a9ff52b
Fixed wrapping of virtual overloaded operators.
...
References #389 .
11 years ago
triton
e9b4b9bc4c
Extract ABI-common vtable entry allocation code and fix indexing of ignored entries.
11 years ago
Dimitar Dobrev
e6223a1c4c
Fixed 4 bugs related to custom comparison operators.
...
1. Missing Equals to complement operator ==;
2. Endless recursion when having a == and comparing to null;
3. Crash when having a == and comparing a null pointer to sth else;
4. Incompilable code with a type derived from a struct with operators.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
bc140e13be
Changed the native ctors by value to also be wrapped by static methods.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
b9042d72b5
Fixed a regression causing ignored types with bases without empty ctors to fail.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago