Dimitar Dobrev
010a30f5a5
Fixed a regression - the test for dependencies failed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
e33ae461b0
Fixed a bug when a default arg of type double has a value ending with .0.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
53e75ab19f
Fixed a bug when having a default arg value for a pointer to a C# struct.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
b972aeb8b3
Fixed a failing test about the native-to-managed map.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
1d0b80b280
Used the correct return type when generating a v-table call.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 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>
11 years ago
Dimitar Dobrev
3751e647a4
Simplified and moved the pass for translation units renamed to name-spaces.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
2f599daec0
C#-printed qualified names for template specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
07b23e6f84
Removed some redundant code when writing qualified names.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
315e3e50f3
Fixed the naming of multiple anonymous types in a union.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
597922c1db
Stopped at an ignored base when getting the root one.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
b252de41d9
Added a check whether a library to wrap has already been parsed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
7328538f19
Prevented Dispose from destroying unmanaged objects we didn't create.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
11603067f8
Removed the useless SuppressFinalize when not generating dtors.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 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>
11 years ago
Dimitar Dobrev
84d8af2396
Added a mapping between native object and their managed wrappers.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 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>
11 years ago
João Matos
a7443265a0
Fixed marshalling of `const char**` types in C#.
...
Fixes issue #454 .
11 years ago
João Matos
361f8d2787
Workaround embedded resources failure under OS X / xbuild.
11 years ago
Abhinav Tripathi
f81247911b
Fixed compilation issues when nesting more than one anonymous types.
11 years ago
Dimitar Dobrev
1a076ed8b0
Extended the commenting of enum members to handle multi-line comments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Abhinav Tripathi
c7c74e306b
Added CS_INTERNAL macro definition and test.
11 years ago
Dimitar Dobrev
1cb4b22788
Fixed the pass for ambiguity to correctly mark ambiguous functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Chris Spencer
e3a88f9136
Fix the anonymous delegates pass so it doesn't generate duplicate delegates when the same namespace is used in multiple translation units.
11 years ago
Chris Spencer
d5d17e3ca1
Fix issue with includes not being generated for delegates defined in a different file.
11 years ago
Chris Spencer
0c535d361b
Generate delegates for non-typedef'd function pointers to prevent runtime exceptions during marshalling.
11 years ago
João Matos
ae4fab7db5
Fixed some extra whitespace on RenameRootNamespaces.
11 years ago
triton
b36c768407
Fixed assembly property attributes.
...
Closes #419 .
11 years ago
Stephan Sundermann
952be0b491
Don't visit invalid units
11 years ago
Andrius Bentkus
2a8b45e549
Throw exception on not support VTable instead of silently using Itanium.
11 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
026f1d39b2
Cosmetic cleanup.
11 years ago
triton
f6979115e0
Disable the non-virtual methods from MI bases support until it goes through further testing.
11 years ago
triton
1e0db93c5e
Added support for handling non-virtual methods inherited from MI bases.
11 years ago
Pyry Kontio
2e6bf0dbf9
Fixes GetterSetterToPropertyAdvancedPass by visiting the bases and converting their properties first. This is neccessary for overrided properties of derived classes to work.
11 years ago
triton
ac7176f1b7
Added parsing and AST support for C++ friend declarations.
11 years ago
triton
250825fd59
Reworked declaration storage in the managed AST layer.
...
Instead of keeping separate lists for different types of declarations, which limits future extensibility, provide a generalized declaration list like Clang. This also introduces a new DeclIterator<T> type to help migrating the rest of the codebase.
This is the first step of a progressive cleanup to modernize the AST/parser layer.
11 years ago
Dimitar Dobrev
3d72c2fca4
Added renaming of variables.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
ec0f6a3d63
Fixed a potential crash in the property pass.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
6fb15efd50
When checking const-ness for ambiguity, ensure parameters are the same.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
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
58fb80f571
Fixed a few regressions introduced by the updated code for default args.
...
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
Dimitar Dobrev
19f3400cff
Extended the generation of implicit ctors.
...
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
Pyry Kontio
0598aa1329
Fixed the floating point bug.
11 years ago