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
Tomi Valkeinen
cd94ce3d50
build: fix llvm & clang linking order
...
At least on linux with gcc the linking order of the libraries is
important. Fix linking llvm and clang libraries by changing the link
order: clang libs first, llvm libraries second.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Tomi Valkeinen
75141123f4
build: fix llvm linking
...
At least on linux with gcc the linking order of the libraries is
important. Fix linking llvm libraries by changing the link order.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Tomi Valkeinen
1a3bfe360f
build: fix clang linking
...
At least on linux with gcc the linking order of the libraries is
important. Fix linking clang libraries by changing the link order.
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
João Matos
81524fbe51
Merge pull request #289 from ddobrev/master
...
Set the original function of each overload generated because of default values of arguments
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
João Matos
45a5a32a13
Merge pull request #288 from ddobrev/master
...
Fixed the generation of code in a single file
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
e15250026b
Updated Windows building documentation.
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
João Matos
995f3e392e
Merge pull request #287 from ddobrev/master
...
Fixed a crash while copying comments to properties
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
João Matos
a6e5efedd9
Merge pull request #285 from ddobrev/master
...
Added support for default values of parameters
11 years ago
Dimitar Dobrev
0499556bfe
Added support for default values of parameters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
João Matos
560031c2d8
Merge pull request #284 from ddobrev/master
...
Fixed a few warning caused by classes forwarded as structs
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
João Matos
5345206a57
Merge pull request #283 from ddobrev/master
...
Converted all "complex" (for example participating in class hierarchies) data type to classes
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
João Matos
1e4553c6b6
Merge pull request #282 from ddobrev/master
...
Fixed the renaming pass to account for overloads of functions
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
João Matos
b932112103
Merge pull request #281 from ddobrev/master
...
Sealed private overrides
11 years ago
Dimitar Dobrev
b1afea2251
Sealed private overrides.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
João Matos
4172b32251
Merge pull request #280 from ddobrev/master
...
Prepended 'get' and 'on' to methods and events respectively when there's a conflict with a newly generated property
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
João Matos
5151bcbe70
Merge pull request #278 from ddobrev/master
...
Simplified the getting of a function type now that the more complex (native) type is no longer used for abstract impls
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
João Matos
33cb8427b8
Merge pull request #277 from ddobrev/master
...
Moved IsSynthetized from Method to Function
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
João Matos
caf645a4fd
Merge pull request #276 from ddobrev/master
...
Fixed some bugs caused by conflicts
11 years ago
Dimitar Dobrev
8438f112e5
Fixed some bugs caused by conflicts.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
João Matos
4146736222
Merge pull request #275 from ddobrev/master
...
Improved the pass for generating properties
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
João Matos
9888895694
Merge pull request #274 from ddobrev/master
...
Added an option to generate a single source file per extension
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
Tom Spilman
9159e531f4
Added EnumInOut tests.
11 years ago
João Matos
ec4b91add4
Merge pull request #273 from ddobrev/master
...
Generated methods and variables of base classes of value types
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
c91899ddf3
Whitespace change.
11 years ago
triton
dc38efcd5b
Removed unused namespace.
11 years ago