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
65cac93259
Included ignored fields in the wrappers for better marshalling.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
7f927db6c8
Renamed ASTContext parameters.
11 years ago
Elias Holzer
b83b5029b0
Added extension method SetPropertyAsReadOnly to ASTContext.
...
The Property.HasGetter and HasSetter method will take the GenerationKind flag of the field/method pair into account.
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
triton
440a1f9ac9
Added an helper method to set the parameter usage for functions.
11 years ago
Dimitar Dobrev
20c6e04cd0
Fixed the ignoring of methods.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
76cf4e68d8
Simplify declaration ignores by removing IsProcessed and fixing ExplicitlyIgnored to be recursive like the others ignore properties.
12 years ago
Joao Matos
03f5998256
Fixed CopyClassFields helper to prefer complete declarations.
12 years ago
Joao Matos
3c27e0fad6
Improved generation of enumerations from macros.
...
We now keep track if a certain macro has already been generated in an enum and skip it in future calls to GenerateEnumFromMacros.
12 years ago
triton
8c0adad5f1
Fixed parsing bug and subsequent failing test in GenerateEnumFromMacros.
...
It now uses preprocessed entities instead of the soon-to-be-removed macros.
12 years ago
triton
4d70b60700
Renamed ASTContext parameter from "lib" to "ctx".
12 years ago
triton
3e489c9a06
Updated the generators and tests for new class names.
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
ea96abb94f
Added IgnoreClassField helper.
12 years ago
triton
acac3fc00d
Re-work handling of enum constants fixing signedness and formatting issues.
12 years ago
triton
68ddfbdd6f
Move the AST project to the CppSharp.AST namespace.
12 years ago
triton
cdc618a2d0
Remove unused attribute.
12 years ago
triton
d0fb96121d
Change the ILibrary methods to take a driver instance.
12 years ago
triton
20b0b76421
Remove the GenerateStart and GenerateAfterNamespaces methods from the ILibrary interface and replace them with delegates on each generator.
12 years ago
triton
4393c32f9b
Set the new namespace of the fields when moving the fields between classes.
12 years ago
marcos henrich
2570f4d391
Added missing using.
12 years ago
triton
aed949e4dd
Fixed the IgnoreHeadersWithName helper to be more robust by checking for patterns against the file path and include paths.
12 years ago
triton
9a55746b81
Added helper to ignore a collection of headers.
12 years ago
triton
cc8f7cd1db
Renamed Cxxi references to CppSharp.
12 years ago
marcos henrich
a14a2ecbd4
Added to library method SetMethodParameterUsage
12 years ago
triton
5d75ae5c90
Added an helper method to copy fields between classes.
12 years ago
triton
e9129ed27f
Reworked the declaration ignore system so we can still process declarations as part of type maps even if they do not have mirror classes generated.
13 years ago
triton
7cd86515d1
Pass the driver to the setup method.
13 years ago
triton
597dd4c960
Renamed IgnoreModulessWithName to IgnoreHeadersWithName to better reflect what it does.
13 years ago
triton
9b7e5dc7c0
Renamed LibraryHelpers.cs to Library.cs.
13 years ago
triton
dda4132b9a
Added a method to setup the library that takes DriverOptions.
13 years ago
triton
84044619bd
Move the InlineMethods enum to the Bridge project.
13 years ago
triton
85223040bd
Use extension methods to cleanup the LibraryHelpers class.
13 years ago
triton
497625bd67
Fixed some comments.
13 years ago
triton
d3220fcdc3
Added a new helper transform to ignore a function that matches a pattern.
13 years ago
triton
e8804b7f63
Added an helper transform to set the name of a function.
13 years ago
triton
019a840347
Use the enumerable version of FindFunction in the IgnoreFunctionWithName helper.
13 years ago
triton
c957cdf9ca
Change FindFunction to return an enumeration of all functions and use Linq to do the query.
13 years ago
triton
7f7d774fdc
Added an helper method to set the name of a class method.
13 years ago
triton
06c4ec1697
Fixed the transformation helpers to pass through every type that matches. This fixes wrong behavior in the case of same class being referenced in multiple translation units.
13 years ago
triton
0631c091f5
Added a new method to declare the header sources.
13 years ago
triton
f5fcef50f1
Massive update to the codebase.
...
- Removed reliance on T4 text templates that were proving to be a portability problem.
- Refactored the generator design to make a little more sense.
- Moved the examples to their own projects.
- Improved the build system to only use one unified output folder.
- Added much improved template support.
- Added work-in-progress C++/CLI generator backend.
- Added the concept of type maps.
13 years ago