Dimitar Dobrev
|
2600493dd6
|
Generated static methods for creating instance by an IntPtr in the C++/CLI branch.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
26df3e0c77
|
Improved the handling of numeric default values.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
88293d5c84
|
Fixed invalid names of static field (variables).
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 |
Dimitar Dobrev
|
f1c0d7a82a
|
Fixed the ambiguity in the C++/CLI branch when a native ctor takes anything mapped to IntPtr.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
112e4d564e
|
Fixed the ostream type map which failed with pointers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
261473cef8
|
Extended the support for fixed arrays to the C++/CLI back-end.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
5f54d0b555
|
Fixed incompilable code generated by the C++/CLI back-end when wrapping certain unions.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
011cdf2ae6
|
Fixed invalid code generated for typedef pointer params by the C++/CLI back-end.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
triton
|
6bd26ac443
|
Improved wide char handling in the C# and CLI.
References #320.
|
11 years ago |
triton
|
ec4ee6ba3c
|
Fixed handling of static fields in the parser.
References #320.
|
11 years ago |
triton
|
100d43c2b0
|
Fixes classes wrongly being assigned as static classes.
Closes #348.
|
11 years ago |
Dimitar Dobrev
|
c4b48cf185
|
Fixed some problems with arrays of void after mapping void* to IntPtr.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
30cb2cbe85
|
Fixed an ambiguity between an internal ctor and a potential wrapped one.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
880e109a2d
|
Fixed incompilable code caused by VS failing to run all pre-build events.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
4385ecac76
|
Fixed the finding of classes to also check name-spaces.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
2894999696
|
Fixed the generation of constructor overloads synthetised because of default arguments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
1dbc76f134
|
Fixed a bug when a char parameter is assigned a default value of 0.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
9e5be9e92c
|
Added the ability to only enable a given type map for a selected back-end.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
3c7c19ffc0
|
Fixed the generation of anonymous types to consider parenting anonymous types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
d35a81c1f6
|
Ensured the UnmanagedFunctionPointerAttribute is always set on generated delegates.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
d2e01b1eda
|
Fixed the generation of copy ctors when mutiple inheritance is involved.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
triton
|
03b7882bf3
|
Added missing TypeMaps.Tests.cs.
|
11 years ago |
Dimitar Dobrev
|
7a68a1c9c0
|
Fixed a crash when parsing va_list in a GCC 64-bit environment.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
1387b636e2
|
Replaced the usage of memcpy with a simple dereference assignment.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
de4c551fda
|
Worked around a specific default argument construct used in Qt.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
95547dbec8
|
Fixed default arguments with enums directly declared in headers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
d481cf8078
|
Fixed the renaming of overloads generated because of default arguments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
88a88599e7
|
Fixed the wrapping of bit masks in default arguments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs
|
11 years ago |
Dimitar Dobrev
|
2bc06983f3
|
Fixed the generation of default argument when a reference is assigned a value.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
17fa53ac06
|
Fixed the advanced pass for properties to skip ignored methods.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
dddd165001
|
Fixed the generation of a null check before returning a value.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
01bc87bde9
|
Added a check for ignored ctors.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
65cac93259
|
Included ignored fields in the wrappers for better marshalling.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
d6d0d681c9
|
Fixed a compilation error when wrapping abstract destructors.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
db30cde06d
|
Handled indirect return params in type maps.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
a5b59f67f8
|
Fixed bugs with abstract properties in abstract impls.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
a7d0ef13f9
|
Removed a needless renaming of parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
f16a5ff6e0
|
Ensured default values, if any, of parameters of overrides, are generated.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/Generator/Driver.cs
tests/Basic/Basic.cpp
tests/Basic/Basic.h
|
11 years ago |
Tom Spilman
|
27a2016f8a
|
Added reference test case.
|
11 years ago |
Tom Spilman
|
7e8f743228
|
Fixed const char string CS_IN_OUT case.
|
11 years ago |
Tom Spilman
|
4bddc0798b
|
Added StringOutRef test.
Moved const char string in/out into its own test function.
|
11 years ago |
Tom Spilman
|
d4e4aaffad
|
Fixed CLI and CSharp support for out parameter const char strings.
Added test for out parameter const char strings.
|
11 years ago |
Dimitar Dobrev
|
798e086ef9
|
Added reading of dependencies of ELF libraries.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Tom Spilman
|
997de0e836
|
Added test for static protected methods/properties.
|
11 years ago |
Tom Spilman
|
5e7c70bb1e
|
Changed generator to use CheckMacroPass.
|
11 years ago |
Dimitar Dobrev
|
ef4be0b959
|
Fixed the generation of code in a single file.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
0499556bfe
|
Added support for default values of parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
9e480dd364
|
Fixed the renaming pass to account for overloads of functions.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/AST/Class.cs
src/Generator.Tests/Passes/TestPasses.cs
src/Generator/Generators/CSharp/CSharpTypePrinter.cs
|
11 years ago |
Dimitar Dobrev
|
cbf4afae1f
|
Prepended 'get' and 'on' to methods and events respectively when there's a conflict with a newly generated property.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |