Dimitar Dobrev
011777a480
Compared types directly instead of their string representations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
01bc87bde9
Added a check for ignored ctors.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 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
Dimitar Dobrev
d6d0d681c9
Fixed a compilation error when wrapping abstract destructors.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
db30cde06d
Handled indirect return params in type maps.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
a5b59f67f8
Fixed bugs with abstract properties in abstract impls.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
a7d0ef13f9
Removed a needless renaming of parameters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
f16a5ff6e0
Ensured default values, if any, of parameters of overrides, are generated.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/Generator/Driver.cs
tests/Basic/Basic.cpp
tests/Basic/Basic.h
11 years ago
Tom Spilman
7e8f743228
Fixed const char string CS_IN_OUT case.
11 years ago
Tom Spilman
d4e4aaffad
Fixed CLI and CSharp support for out parameter const char strings.
...
Added test for out parameter const char strings.
11 years ago
Dimitar Dobrev
798e086ef9
Added reading of dependencies of ELF libraries.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Tom Spilman
6b791ed752
Fixed comment.
11 years ago
Tom Spilman
0f8977ec91
Fixed a couple of places where privates that need to be generated were being filtered.
11 years ago
Tom Spilman
f33637e30c
Fixed CheckStaticClass to promote protected members to private (as protected is not allowed in static classes).
11 years ago
Tom Spilman
17506c57d1
Added Declaration.IsExplicitlyGenerated.
11 years ago
Tom Spilman
9d7385bfbb
Fixed ParamStartLoc to be the correct parameter start location.
...
Added ParamEndLoc to make things clearer.
11 years ago
Dimitar Dobrev
da3c496c33
Prefixed a C++ enum usage to fix a GCC compilation error.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
29e2c58811
Added reading of dependencies of DLL-s.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
768b443038
Added reading of symbols from DLL-s.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
548f0feb55
Added an option for the language version.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
76e254e766
Extended the collection of library symbols to handle ELF shared objects (.so).
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Tomi Valkeinen
a67595ea3f
build: use linux bindings
...
Use CppParser C# bindings for linux when compiling on Linux.
Note: this always uses 64 bit version for now.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Tomi Valkeinen
f7810b47d8
CppParser: add generated linux bindings
...
Add C# Bindings for CppParser for 64 bit Linux.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Tomi Valkeinen
6b0612d5a1
ParserGen: Linux binding generation
...
Add code to generate Linux bindings.
This is experimental for now.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Tomi Valkeinen
e2a455a5c7
Fix compilation with gcc
...
Fix error:
../../../src/CppParser/AST.cpp:566:21: error: ‘MacroLocation’ is not a
class, namespace, or enumeration
MacroLocation(MacroLocation::Unknown) {}
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Tomi Valkeinen
ccb4c9244f
Regenerate windows bindings
...
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Tomi Valkeinen
f32feb1d98
Fix windows bindings path
...
The path for generated windows bindings has changed to i686-pc-win32-msvc, but
the existing files and the build system has not been changed.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
triton
d7c5da48c6
Skip implicit records when parsing.
...
This works around the following parse issue which would trigger an subsequent assert when handling source locations:
RecordDecl 0x848e5c00 <<invalid sloc>> <invalid sloc> implicit struct __va_list definition
`-FieldDecl 0x848e5c60 <<invalid sloc>> <invalid sloc> __ap 'void *'
11 years ago
triton
ce2f7f70b4
Fixed driver code to use source file options for parsing.
11 years ago
triton
3cdc47770f
Changed Driver.BuildParseOptions to be public.
11 years ago
triton
a62ea33d64
Split building source file parse options from parsing code.
11 years ago
triton
75eb1457eb
Added vector clearing overloads to the parser options.
11 years ago
Dimitar Dobrev
b25e622ff7
Set the original function of each overload generated because of default values of arguments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
ef4be0b959
Fixed the generation of code in a single file.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
7fb53dc3b0
Fixed the parser generator to track Clang r204978.
...
Clang now models different Windows environments in the triple and we need to explicitly request the "MSVC" environment to get proper behavior when parsing MSVC headers.
11 years ago
triton
411dd8f8ca
Added missing include caught by the build bot.
11 years ago
triton
5df897bb8e
Updated to the latest LLVM and Clang revisions.
11 years ago
Dimitar Dobrev
f244b0e3b4
Fixed a crash while copying comments to properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
0499556bfe
Added support for default values of parameters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
21cf90411a
Fixed a few warning caused by classes forwarded as structs.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
1802470013
Kill the old parser (good riddance :).
11 years ago
Dimitar Dobrev
5523a83b29
Converted all "complex" (for example participating in class hierarchies) data type to classes.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
9e480dd364
Fixed the renaming pass to account for overloads of functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/AST/Class.cs
src/Generator.Tests/Passes/TestPasses.cs
src/Generator/Generators/CSharp/CSharpTypePrinter.cs
11 years ago
Dimitar Dobrev
b1afea2251
Sealed private overrides.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
cbf4afae1f
Prepended 'get' and 'on' to methods and events respectively when there's a conflict with a newly generated property.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
36bdfb6c07
Simplified the getting of a function type now that the more complex (native) type is no longer used for abstract impls.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/AST/Method.cs
11 years ago
Dimitar Dobrev
ca2b3a312e
Moved IsSynthetized from Method to Function.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/AST/Method.cs
11 years ago
Dimitar Dobrev
8438f112e5
Fixed some bugs caused by conflicts.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
4857c8fee3
Improved the pass for generating properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/Generator/Passes/GetterSetterToPropertyAdvancedPass.cs
11 years ago
Dimitar Dobrev
840ce34552
Added an option to generate a single source file per extension.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/Generator/Driver.cs
src/Generator/Options.cs
11 years ago