marcos henrich
951ba999b4
Added to macro pass CS_CONSTRAINT which can be use to constraint generic arguments.
11 years ago
marcos henrich
9af08fd551
Changed property fields generation kind to internal.
11 years ago
marcos henrich
7794e52103
Fixed QualifiedIdentifier when QualifiedName is empty (case of namespaces)
11 years ago
marcos henrich
0300f45c1b
Replaced usage of «IsGenerated with IsDeclared when handling with base classes and value types properties.
11 years ago
marcos henrich
2b3d907ce8
Changed CS_IGNORE_GEN to set generation kind to internal.
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
Tom Spilman
f6aaa7400b
Checking for null like FindClass().
11 years ago
Tom Spilman
2027212e85
Fixed FindFunction() to search namespaces.
11 years ago
triton
5c8d7cceb6
Add "lib" folder to lib dirs even in VS to allow ninja builds.
11 years ago
triton
ec6147f648
Added a warning about VS 2013 compatibility.
11 years ago
João Matos
e89606836e
Update GettingStarted.md
...
Clarified LLVM and Clang revisions needed.
11 years ago
triton
cf9df7330e
Fixed more declarations to define their members at global scope.
11 years ago
triton
36230fc667
Fixed more declarations to define their members at global scope.
11 years ago
triton
69b8b6e6d0
Move the definitions to the header again, but provide them at global scope.
...
This should fix the previous problem too, and keeps related declarations/definitions together.
11 years ago
triton
a33277f233
Moved some tests definitions from the header to the source file.
11 years ago
triton
acbe8b44d2
Added GCC visibility macro to export declarations.
11 years ago
triton
341140b929
Factor DLL API macros into its own shared header for tests.
11 years ago
triton
b6cf05e140
Explicitly initialize Enumeration class members.
...
Trying to fix intermittent failing test `TestPasses.TestCheckFlagEnumsPass`.
11 years ago
triton
74ad732550
Link native projects with libc++ on OSX.
...
All tests compile on OSX now.
11 years ago
triton
d6c2004ca4
Comment this test since it's not reproducible between platforms.
...
Specifically, on OSX it's generating `2147483648`, while it generates `-2147483648` on VS. I've tried to get down to the cause and Clang itself returns different values on both platforms, even though the compiler seems to deduce the same signed 32-bit integer on both platforms.
11 years ago
triton
b14d527106
Fixed CppParser build guard so it works in VS/Windows.
11 years ago
João Matos
ab5e7a3a8b
Fixed vtable generation for the Itanium case.
11 years ago
João Matos
8781cc0854
Fixed the resource stream loading to work with Mono resources.
11 years ago
João Matos
0847815da3
Calll the binding generator with a debug Mono when building the tests.
11 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.
11 years ago
João Matos
21ecc669a8
Added a way to directly specify the output directory independent of the action.
...
We will use this to support generating Xamarin Studio compatible projects with the VS action, while still invoking the Make action for native builds.
11 years ago
triton
96479e7bdd
Do a null check for the verbs resource since non-VS Premake does not know how to embed it yet.
11 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
11 years ago
João Matos
90dd38e42c
Merge pull request #225 from azeno/master
...
Const pointer and indexer fixes
11 years ago
Elias Holzer
325bca6082
CLI generator didn't respect static properties.
11 years ago
Elias Holzer
7cde60a97b
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
src/Generator/Generators/CLI/CLITypePrinter.cs
11 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.
11 years ago
Elias Holzer
92568fadbf
Added new extension method Type.GetPointee() which returns the pointee of either a Pointer- or MemberPointerType.
11 years ago
triton
d37822638f
Split the parser-related build code into its own file.
11 years ago
triton
257edf878f
Restrict path replacing in the parser to Windows platforms.
11 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...
11 years ago
triton
c542f98770
Removed "-fvisibility-inlines-hidden" from the Mac build flags.
...
This might be part of the cause why some declarations were not being properly exported.
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
triton
9166a55202
Fixed generation of properties to behave as expected.
...
Fixed this by changing GenerateProperties to use GetterSetterToPropertyPass instead of GetterSetterToPropertyAdvancedPass.
Fixes issue #215 .
11 years ago
triton
d36bc5aad0
Changed GetterSetterToPropertyAdvancedPass visibility to public.
...
This way it can be added to the passes by external users.
11 years ago
triton
d68b7b3b56
Fixed code generation for enum pointers as parameters.
...
Fixes issue #217 .
11 years ago
triton
ea171cde97
Added copy constructors to Enumeration::Item and Declaration.
11 years ago
triton
7c0e229a50
Include the tests in non-VS builds again.
11 years ago
triton
0e4f35a83c
Remove old unused Premake4 executable.
11 years ago
triton
f5992a970c
Removed old unused unit tests.
11 years ago
triton
a070912c1a
Enable copy constructors for some tests since they rely on their existence.
11 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...
11 years ago
Elias Holzer
f091c6662a
CLI generator will use the pointee type for indexed properties which have a setter.
11 years ago
Elias Holzer
570f13112b
Fixed issue with const pointer.
11 years ago
Elias Holzer
e6cb543c36
Fixed overloading of an indexed properties by removing the hard coded "int index" part.
11 years ago