marcos henrich
0300f45c1b
Replaced usage of «IsGenerated with IsDeclared when handling with base classes and value types properties.
12 years ago
marcos henrich
2b3d907ce8
Changed CS_IGNORE_GEN to set generation kind to internal.
12 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
12 years ago
Tom Spilman
f6aaa7400b
Checking for null like FindClass().
12 years ago
Tom Spilman
2027212e85
Fixed FindFunction() to search namespaces.
12 years ago
triton
b6cf05e140
Explicitly initialize Enumeration class members.
...
Trying to fix intermittent failing test `TestPasses.TestCheckFlagEnumsPass`.
12 years ago
triton
b14d527106
Fixed CppParser build guard so it works in VS/Windows.
12 years ago
João Matos
ab5e7a3a8b
Fixed vtable generation for the Itanium case.
12 years ago
João Matos
8781cc0854
Fixed the resource stream loading to work with Mono resources.
12 years ago
João Matos
3b097d8379
Improved the build scripts on OSX.
...
We now ignore CLI and native projects when running the VS action under non-Windows platforms (so that Xamarin Studio can load them).
Also fixed the build to actually add the correct parser bindings sources.
12 years ago
triton
96479e7bdd
Do a null check for the verbs resource since non-VS Premake does not know how to embed it yet.
12 years ago
triton
c7dba1b5bd
Fixed type map matching regression introduced in d68b7b3.
...
Thanks to Elias Holzer for reporting the issue.
Conflicts:
src/Generator/Generators/CLI/CLITypePrinter.cs
12 years ago
Elias Holzer
325bca6082
CLI generator didn't respect static properties.
12 years ago
Elias Holzer
15f1394aaf
The extension method Type.IsPointerTo<T> will take attributed types into account.
...
Fixed generation of attributed delegate types in my case.
12 years ago
Elias Holzer
92568fadbf
Added new extension method Type.GetPointee() which returns the pointee of either a Pointer- or MemberPointerType.
12 years ago
triton
257edf878f
Restrict path replacing in the parser to Windows platforms.
12 years ago
triton
df188d92f8
Fixed the tests by adding another option for the advanced property pass.
...
Long-term, I'd like to see both passes merged...
12 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 .
12 years ago
triton
9166a55202
Fixed generation of properties to behave as expected.
...
Fixed this by changing GenerateProperties to use GetterSetterToPropertyPass instead of GetterSetterToPropertyAdvancedPass.
Fixes issue #215 .
12 years ago
triton
d36bc5aad0
Changed GetterSetterToPropertyAdvancedPass visibility to public.
...
This way it can be added to the passes by external users.
12 years ago
triton
d68b7b3b56
Fixed code generation for enum pointers as parameters.
...
Fixes issue #217 .
12 years ago
triton
ea171cde97
Added copy constructors to Enumeration::Item and Declaration.
12 years ago
triton
aa3e8dd5bd
Explicitly define some copy constructors to work around missing symbols.
...
We should not need to do this, but Clang ignores the GCC flag "-fkeep-inline-functions" which we need to actually get these to be properly exported in a library...
12 years ago
Elias Holzer
f091c6662a
CLI generator will use the pointee type for indexed properties which have a setter.
12 years ago
Elias Holzer
570f13112b
Fixed issue with const pointer.
12 years ago
Elias Holzer
e6cb543c36
Fixed overloading of an indexed properties by removing the hard coded "int index" part.
12 years ago
Elias Holzer
d8b855bfe6
Fixed handling of primitive pointer types.
12 years ago
triton
69163d5c38
Re-generated the OSX Darwin parser bindings without copy constructors.
12 years ago
Elias Holzer
172f8fbf5d
Ignore function types to non-static member functions.
12 years ago
triton
69a6ae7b33
Re-generated the parser bindings without copy constructors.
12 years ago
triton
4a98f69df5
Added an explicit option to generate copy constructors.
12 years ago
triton
48216a5bd4
Added an explicit constructor to ParserDiagnostic to fix missing symbols.
12 years ago
triton
9a0e9a8ef0
Re-generated the parser bindings.
12 years ago
triton
a6bd803a71
Fixed code generation for Itanium ABI instance/indirect return types methods in C#.
12 years ago
Elias Holzer
1b541ade5f
Helper method DeclarationContext.FindClass supports nested classes now.
12 years ago
triton
8fbd68549e
Added previously added CS_IGNORE_FILE to CheckMacrosPass documentation.
12 years ago
triton
67a3ec1051
Fixed full comment parsing in AST converter.
12 years ago
triton
678639acdc
Explicitly define ASTContext else the declaration will not export symbols.
12 years ago
triton
8fc6a18399
Minor formatting improvements.
12 years ago
triton
2c333fb141
Added System.Core dependency to Parser.Gen for Linq support.
12 years ago
triton
5c881b86f9
Re-generated the CLI bindings.
12 years ago
triton
9c07283ff0
Fixed CLI getter/setter property generation (with tests).
12 years ago
triton
9b5ddb7e3e
Fixed option validating code to work with the new parser.
12 years ago
triton
3a90493666
Re-generated parser bindings for all backends.
12 years ago
triton
f53e8794dd
Fixed the parser generator to also ignore any functions with std parameters.
12 years ago
triton
0f2c3bbf70
Added TargetInfo support to the Darwin bindings.
12 years ago
triton
92619e90ed
Fixed preprocessor creation to the newest LLVM.
...
We are temporarily using and old version of LLVM on VS for now.
12 years ago
triton
2ebce723ae
Use SafeIdentifier when writing parameter names in the C# marshaller.
...
TODO: There are still lots of instances in the marshaller where we do not do this. We should instead clean the parameter/declaration names before entering generation.
12 years ago
triton
5e0cd3112a
Fixed marshaling of wide characters in the C# backend.
12 years ago
triton
fec8b00d8e
Added marshaling of function types to C# backend.
12 years ago