triton
|
f123037a07
|
Added a very simple type map for C FILE handles.
|
10 years ago |
triton
|
b4d8f35862
|
Fixed static class pass to work with opaque classes.
|
10 years ago |
Dimitar Dobrev
|
12fcb2b13e
|
Removed the setting of zero size for types that have fields in a base or virtuals.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
9d78f5386d
|
Fixed a crash on Mono when marshalling types with no fields.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
f754263ab5
|
Fixed the potential incorrect translation unit of templated classes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
tests/NamespacesDerived/NamespacesDerived.h
|
10 years ago |
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
|
52abb8fd97
|
Fixed the pass for conversion operators not to create such for ctors taking a base or derived type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
fc572cd57e
|
Fixed the pass for conversion operators not to create them in abstract types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
ff8a5a248e
|
Set IsExpicit in the pass for conversion operators for the sake of correctness.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
82b27a68c8
|
Skipped already visited methods in the pass for conversion operators.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
8e2490394d
|
Fixed a crash at generation time with a fake "setter" with no params and a getter.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
594723a5aa
|
A minor improvement to the generated C++ code for inlines.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
ce597a399c
|
Fixed the build on VS 2015.
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
|
5c5c9b8698
|
Fixed nested abstract classes to get internally implemented.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
86bd6bd118
|
Fixed the names when marshalling enum parameters in the C# end.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
45e4ba7782
|
Fixed a compilation error when having a setter match for an explicit interface getter.
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
|
240ac3e460
|
Fixed a bug - interfaces were not implemented if they'd been already created.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
1c823fbf40
|
Fixed incorrect renaming of methods when there's a property with the same name in a dependency.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
ad6555f957
|
Fixed the wrapping of default args assigned with a ctor expression with more than one param.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
c136e2d220
|
Fixed incompilable generated C# code when having a function pointer returning a pointer.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
c0fbdcbb0a
|
Fixed the auto-compilation in the C# end by adding a reference to System.Core.
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
|
672f88df5a
|
Fixed the multiple inheritance of nested types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
8ddc1e4736
|
Removed ignored methods from consideration when generating properties.
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
|
8349d52814
|
Removed the visitors when checking for ignored declarations.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
b7204777b7
|
Removed the visitors when checking for incomplete declarations and types.
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 |
Abhinav Tripathi
|
33cb87ad65
|
Added param to interface pass for Operator functions and a test.
|
10 years ago |
João Matos
|
6917008a4b
|
Use the qualified class name when handling returned class pointers.
|
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 |
triton
|
ea4ce03e92
|
Use the qualified class name when casting the object from the native/managed map.
|
10 years ago |
triton
|
14e53b523f
|
Cast when creating new object instances since CreateInstance returns the base type.
|
10 years ago |
Abhinav Tripathi
|
384dac3442
|
Fixed code generation when using arrays in ValueType types.
|
10 years ago |
triton
|
a9101ece64
|
Rename the diagnostic emit overloads so they're more uniform.
|
10 years ago |
triton
|
2620fda064
|
Get rid of diagnostic IDs as these never got used in practice.
|
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
|
fd20f4a2e4
|
Fixe a bug when renaming statics in base classes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |