Abhinav Tripathi
c6ae35ff7d
Added marshalling of fixed size ref type arrays.
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
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
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
65cac93259
Included ignored fields in the wrappers for better marshalling.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Tom Spilman
0f8977ec91
Fixed a couple of places where privates that need to be generated were being filtered.
11 years ago
marcos henrich
de764599fa
Separated IsTagDecl into TryGetClass and TryGetEnum, added IsClass() and IsEnum().
11 years ago
marcos henrich
7125109e3f
Deprecated ExplicityIgnored use ExplicitlyIgnore(). Getting ExplicityIgnored and setting ExplicityIgnored to false don't make much sense anymore.
...
Conflicts:
src/Generator/Passes/CheckOperatorsOverloads.cs
11 years ago
marcos henrich
3f96bdbfe3
Replaced declaration IgnoreFlags by GenerationKind. Added methods IsInternal and IsDeclared to declaration. Replaced IsGenerated = true by GeneratioKind = GeneratioKind.Internal. Deprecated Ignore, replace Ignore set by ExplicityIgnored, replace Ignore get by IsGenerated, IsInternal or IsDeclared.
...
Conflicts:
src/Generator/Passes/CheckOperatorsOverloads.cs
11 years ago
Elias Holzer
3144976349
Removed unnecessary Desugar() calls when testing whether or not a type is primitive.
...
The extension method IsPrimitiveType does the desugaring - see 55bbba46dd
.
11 years ago
Øystein Krog
d3e963ff19
Move helper methods in Type out from class and into extension class TypeExtensions
11 years ago
Dimitar Dobrev
556e91554f
Ignored protected members of value types. Used a constant for the instance identifier to improve performance.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
4c5d933cd2
Added support for marshalling arrays of pointers to primitives.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
df4fdeace8
Fixed access check logic for declarations to allow non-public declarations in C#.
...
Checking for the GenerateAbstractImpls option is flawed since they are not entirely related.
12 years ago
triton
d7f776cbba
Removed property accessors ignored checking code.
...
The logic here is just wrong... first even if one of the accessors is ignored that does not mean we should ignore the whole property. Additionally, the code logic to check if an accessor is ignored is faulty, we can not rely on the return value of the Visit functions, but check if the declaration itself was ignored.
12 years ago
triton
a7f9e0bd9f
Check for and ignore decayed types since we cannot handle some cases.
12 years ago
triton
f743db743d
Reworked and improved checking of ignored declarations.
...
It improves the logic to work when certain options are enabled. We would previously accept some declarations that should be ignored.
12 years ago
triton
5817f58cd4
Fixed all passes for the new ASTVisitor behavior.
...
Added ignore and method checking code to the MoveFunctionToClass pass.
12 years ago
triton
eaa5f8e708
Improved the diagnostic for ignored fields.
12 years ago
triton
b808117566
Cleaned up the default diagnostics output to be more concise.
12 years ago
triton
a0aece8eb4
Formatting change.
12 years ago
triton
4a29db6bcd
Revert "Fixed bug caused by a type in the new parser."
...
This reverts commit f1f6c2e5e9
.
12 years ago
triton
f1f6c2e5e9
Fixed bug caused by a type in the new parser.
12 years ago
Stephen Kennedy
0957843c4d
Unify debugging output
...
Route all debugging output through Driver.Diagnostics
12 years ago
triton
36226268a6
Fixed checking of virtual overrides to also check if the base override is ignored.
12 years ago
triton
86b6588951
Check for invalid virtual method overrides due to ignored base classes.
12 years ago
Dimitar Dobrev
74ec730811
Some reordering of code and improved logging.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
a15c5b8f99
Fixed the check for ignoring to verify the access at the declaration level.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
de8b3fc00e
Corrected the checks for private methods because overrides must be allowed through regardless of access.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
42a1af6503
Added a pass for generating wrapper code and definitions for inlines and an option for the name of the lib with inlines. Ignored non-tag indirect return types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
bb07a294f4
Ignored private types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
26c8f9fcd8
Properly fixed the generation of members using fixed arrays.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
e89d6696d8
Added access specifier checking for methods to CheckIgnoredDecls pass.
12 years ago
marcos henrich
0cf8c03aa3
PassBuilder is now generic. Driver Passes is now called TranslationUnitPasses. Added to driver GeneratorOutputPasses. Removed most of the PassBuilder Extensions.
12 years ago
triton
8ed1584126
When checking for ignored declarations, return early if the declaration is already ignored.
12 years ago
triton
68ddfbdd6f
Move the AST project to the CppSharp.AST namespace.
12 years ago
triton
2a08b6e05b
Ignore properties if their getter or setter methods are also ignored.
12 years ago
triton
ee86be7562
Added support for events to CheckIgnoredDecls pass.
12 years ago
triton
6f37c3cdbe
Added support for variables to CheckIgnoredDecls pass.
12 years ago
triton
c83a87dbd4
Moved ignored declaration and type checking code from ResolveIncompleteDeclsPass to its own pass.
12 years ago
triton
d37cca5ca1
Changed the return type of functions to be a qualified type.
12 years ago
triton
cc8f7cd1db
Renamed Cxxi references to CppSharp.
12 years ago
triton
beb3a37781
Changed how the type ignore check visitor return results so it does not conflict with the AST visiting patterns.
13 years ago
triton
ffdd10ef42
Added checking of function parameters for ignored types.
13 years ago
triton
bf38d80af8
Update the existing passes to use the new pass interface.
13 years ago
triton
0140608ac8
Added checking for ignored types in typedefs.
13 years ago
triton
977debbf35
Clean up using directives.
13 years ago
triton
6faf2af11a
Added a pass to resolve incomplete declaration references.
13 years ago