Dimitar Dobrev
59de162056
Skipped already visited functions in the pass for finding symbols.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
f298a792ee
Improved the cloning of types by internally using copy constructors.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
54caddeed1
Cloned types when changing them to interfaces for multiple inheritance.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
b09d5a897e
Optimised the pass for fixing invalid names by skipping already visited decarations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Pedro Miguel Casaleiro Dias
ed3e0bd54a
closes #514 .
...
test added to tests/CSharpTemp/CSharpTemp.Tests.cs
11 years ago
Dimitar Dobrev
32a49086ac
A cosmetic fix in the new type map for FILE.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
cf472f526c
Fixed C++/CLI to handle namespace conflicts between free functions and namespaces.
...
We generate free functions inside a global namespace-level class with the same name as the header. This means that there might be some conflict if we already have a class with the same name as the header. This fix changes the code to always fully quality classes so the code always compiles correctly.
11 years ago
Dimitar Dobrev
bbcf12550f
Prevented a crash in the tests on Mono because of a Mono bug.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
f123037a07
Added a very simple type map for C FILE handles.
11 years ago
triton
b4d8f35862
Fixed static class pass to work with opaque classes.
11 years ago
triton
9bd26ca0fe
Fixed support for C language parsing flags.
11 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>
11 years ago
triton
b1054770ba
Fixed the MSVC build when looking for Clang builtin headers in the wrong location.
11 years ago
Dimitar Dobrev
4a5633731d
Fixed the resolution of variables on Linux.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
9d78f5386d
Fixed a crash on Mono when marshalling types with no fields.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 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
11 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>
11 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>
11 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>
11 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>
11 years ago
Dimitar Dobrev
82b27a68c8
Skipped already visited methods in the pass for conversion operators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 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>
11 years ago
triton
f6b25203a0
Revert "Enable verbose mode in tests driver for Travis troubleshooting."
...
This reverts commit 05236a89af .
11 years ago
triton
2d4a2c9aa6
Revert "Use the absolute target directory when copying Clang headers."
...
This reverts commit 535536d1c1 .
11 years ago
triton
535536d1c1
Use the absolute target directory when copying Clang headers.
11 years ago
triton
05236a89af
Enable verbose mode in tests driver for Travis troubleshooting.
11 years ago
João Matos
2e433afb10
Added support for Clang's driver toolchain include management for Linux.
11 years ago
João Matos
0d7c7efd43
Better detection of Clang builtin headers location.
11 years ago
João Matos
d078e4aeae
Copy the Clang builtin headers as part of the build if they are available.
11 years ago
Dimitar Dobrev
594723a5aa
A minor improvement to the generated C++ code for inlines.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
ce597a399c
Fixed the build on VS 2015.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
069b727a23
Fixed the generation of overloads for free functions with default args.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
04547574ba
Fixed the generated wrappers for attributed function types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
5c5c9b8698
Fixed nested abstract classes to get internally implemented.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
86bd6bd118
Fixed the names when marshalling enum parameters in the C# end.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 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>
11 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>
11 years ago
Dimitar Dobrev
f9b795bcc5
Regenerated the parser bindings for Linux as well.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 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>
11 years ago
Dimitar Dobrev
82446e4983
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
83a556aa35
Made the method for constructing qualified names of declarations public.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 years ago
Dimitar Dobrev
672f88df5a
Fixed the multiple inheritance of nested types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
8ddc1e4736
Removed ignored methods from consideration when generating properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
42828f35fd
Fixed the generation of abstract impl calls in property setters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago