Dimitar Dobrev
|
9cad9462e2
|
Fixed ambiguous code when a nested type and a property-like method with overloads have the same name
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
bbbf94b0f0
|
Made public the finding of enabled type maps by strings.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
aad3b7f186
|
Fixed the renaming of properties with the same name as their owners.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
63dc3b590d
|
Simplified the pass for properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Joao Matos
|
0b608b0435
|
Change access of `RenamePass.ConvertCaseString` to allow external usage.
|
7 years ago |
Joao Matos
|
0b825e1124
|
Changed more overloads in `CSharpSources` to be overridable.
|
7 years ago |
Joao Matos
|
2a7f36fb2f
|
Extract C# base type printing in `CSharpSources.GetBaseClassTypeName`.
|
7 years ago |
Joao Matos
|
863566ef43
|
Added `CSharpSources.IsReservedKeyword` static helper method.
|
7 years ago |
Joao Matos
|
c1ab16b6a7
|
Changed `CCodeGenerator` reserved keyword checking helpers to be static.
|
7 years ago |
Joao Matos
|
aa73692543
|
Obsolete managed expression class machinery.
|
7 years ago |
Joao Matos
|
f62b6f8d2d
|
Fixed naming edge case in `GenerateProperties.GetReadWritePropertyName`.
|
7 years ago |
Joao Matos
|
d773b4bc9f
|
Added `PrintModuleOutputNamespace` option to `CSharpTypePrinter`.
|
7 years ago |
Joao Matos
|
1eb3b77d42
|
Fixed extraneous new lines when generating multi-line comments.
|
7 years ago |
Joao Matos
|
86898121af
|
Added support for scope kinds in `CSharpTypePrinter`.
|
7 years ago |
Joao Matos
|
850dcfaf67
|
Changed `CSharpTypePrinter.IntPtrType` to be a getter property.
|
7 years ago |
Joao Matos
|
579df276e4
|
Add `ScopeKind` to base `TypePrinter`.
|
7 years ago |
Joao Matos
|
f642cefe5f
|
Move `ITypePrinter` from `AST` to `Generator`.
|
7 years ago |
Joao Matos
|
657f894bb2
|
Added `CCodeGenerator.GenerateClassBody` extension point.
|
7 years ago |
Joao Matos
|
26a5525aa4
|
Added `CCodeGenerator.GenerateExtraClassSpecifiers` extension point.
|
7 years ago |
Joao Matos
|
cc5539b69e
|
Added `CCodeGenerator.WriteInclude(string file, CInclude.IncludeKind kind)`.
|
7 years ago |
Joao Matos
|
f2e18c1ffb
|
Skip ignored enum items in `CCodeGenerator.VisitEnumDecl`.
|
7 years ago |
Joao Matos
|
1ef9bee970
|
Added reserved keywords checking helpers in `CCodeGenerator`.
|
7 years ago |
Joao Matos
|
405f3ba92b
|
Only generate `unsafe` and `IDisposable` for bindings generation.
|
7 years ago |
Joao Matos
|
d30909dfbd
|
Skip generation of ignored bases in `CSharpSources.GenerateClassSpecifier`.
|
7 years ago |
Joao Matos
|
9a71598d52
|
Add constructor overload `CSharpSources(BindingContext context)`.
|
7 years ago |
Joao Matos
|
e991a8d3d6
|
Skip generation of ignored enum items in `CodeGenerator`.
|
7 years ago |
Joao Matos
|
6dfd16ba9b
|
Move `CppTypePrinter` to generators and inherit from `TypePrinter`.
|
7 years ago |
Joao Matos
|
a0c5dc8349
|
Added a `CCodeGenerator` class and move `Include` class as `CInclude`.
|
7 years ago |
Joao Matos
|
1dad81dab6
|
Fixed `Options.DryRun` to not generate any binding code.
|
7 years ago |
Dimitar Dobrev
|
38844e5e23
|
Fixed a regression which made inlines uncompilable.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
bc7f20a10a
|
Fixed the generated C# when an instance method has a parameter named "instance".
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
b966bd6798
|
Fixed the generated C# for const/non-const overloads with > 1 param.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
980f36735c
|
Fixed the generated C# when a ref parameter is named after a keyword.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
5df67cd0c7
|
Fixed the generation for parameters of type void**.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
d97016fe3c
|
Fixed the generated C# for indexers in templates specialized with void*.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
cd32a449c8
|
Fixed the generated C# for template specializations of pointers.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
6602841a3c
|
Fixed the generated C# for const void*& in parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
c688330897
|
Fixed the generated C# for parameters initialized with {}.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
c51b3cba71
|
Fixed the generated C# when a template is specialized with T and const T.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
12642f9a42
|
Fixed the generated C# when an unsigned enum is assigned a negative value.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
1ea19d5a1e
|
Made an exception serializable and removed another.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Joao Matos
|
302565dc8e
|
Remove unused code.
|
7 years ago |
Dimitar Dobrev
|
5e0e19ea18
|
Fixed the generation of dependent virtual methods.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
a430d19870
|
Simplified the generation of virtual calls.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
b0db304523
|
Fixed overloading of operators with parameters mapped to the same type.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
f4673f5d7f
|
Extended the type maps for primitive strings to C++/CLI.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
b0aa6e1af0
|
Removed a useless remnant from an overridden fix.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
a65f91949c
|
Handled int and long in maps to help resolve ambiguity.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
efa11ab745
|
Simplified type maps by unlinking them from declarations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |
Dimitar Dobrev
|
4adc3d646a
|
Fixed right-value references creating ambiguous overloads.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
7 years ago |