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
triton
5a27285f65
Fixed CLI marshaling of in/out parameters under some cases.
...
Closes pull #269 .
11 years ago
Dimitar Dobrev
f77d394eb1
Generated methods and variables of base classes of value types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
fede2d4c23
Reworked the parser generation driver.
...
Now the path to the headers is not hardcoded and the driver will check if its safe to generate the OSX bindings.
11 years ago
triton
dc38efcd5b
Removed unused namespace.
11 years ago
triton
8ace8354b5
Re-generated the OSX parser bindings.
11 years ago
triton
e4873e20cc
Fixed anonymous declaration parsing.
11 years ago
Dimitar Dobrev
e4b860c053
Fixed wrong code generated for indexers in value types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
f88c20aa94
Some refactoring in preparation for the default values of parameters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
ea0f6e8c56
Ignored all pointers to members because they are not currently (if ever) supported.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
70dfd42e07
Added support for C records to the parser.
11 years ago
triton
7f927db6c8
Renamed ASTContext parameters.
11 years ago
triton
ca6884c19c
Fixed the AST converter for the new macro location name.
11 years ago
triton
f95d013651
Re-generated the parser bindings.
11 years ago