Dimitar Dobrev
|
edabc9d0af
|
Fixed the wrapping of free functions when using the single-file option.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
719c1193ad
|
Added an option controlling the stripping of the "lib" prefix, if any, of the wrapped lib.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
1387b636e2
|
Replaced the usage of memcpy with a simple dereference assignment.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
0e8a6e368c
|
Moved the code for creating a ref object by value from the marshalling printer to a valid ctor by value.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
95547dbec8
|
Fixed default arguments with enums directly declared in headers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
3b8873022b
|
Handled built-in binary operators in default arguments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
d481cf8078
|
Fixed the renaming of overloads generated because of default arguments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
88a88599e7
|
Fixed the wrapping of bit masks in default arguments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs
|
12 years ago |
Dimitar Dobrev
|
17fa53ac06
|
Fixed the advanced pass for properties to skip ignored methods.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
dddd165001
|
Fixed the generation of a null check before returning a value.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
011777a480
|
Compared types directly instead of their string representations.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
01bc87bde9
|
Added a check for ignored ctors.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
65cac93259
|
Included ignored fields in the wrappers for better marshalling.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
d6d0d681c9
|
Fixed a compilation error when wrapping abstract destructors.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
db30cde06d
|
Handled indirect return params in type maps.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
a5b59f67f8
|
Fixed bugs with abstract properties in abstract impls.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
a7d0ef13f9
|
Removed a needless renaming of parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 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
|
12 years ago |
Tom Spilman
|
7e8f743228
|
Fixed const char string CS_IN_OUT case.
|
12 years ago |
Tom Spilman
|
d4e4aaffad
|
Fixed CLI and CSharp support for out parameter const char strings.
Added test for out parameter const char strings.
|
12 years ago |
Tom Spilman
|
0f8977ec91
|
Fixed a couple of places where privates that need to be generated were being filtered.
|
12 years ago |
Tom Spilman
|
f33637e30c
|
Fixed CheckStaticClass to promote protected members to private (as protected is not allowed in static classes).
|
12 years ago |
Dimitar Dobrev
|
548f0feb55
|
Added an option for the language version.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
ce2f7f70b4
|
Fixed driver code to use source file options for parsing.
|
12 years ago |
triton
|
3cdc47770f
|
Changed Driver.BuildParseOptions to be public.
|
12 years ago |
triton
|
a62ea33d64
|
Split building source file parse options from parsing code.
|
12 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>
|
12 years ago |
Dimitar Dobrev
|
ef4be0b959
|
Fixed the generation of code in a single file.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
f244b0e3b4
|
Fixed a crash while copying comments to properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
0499556bfe
|
Added support for default values of parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
1802470013
|
Kill the old parser (good riddance :).
|
12 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
|
12 years ago |
Dimitar Dobrev
|
b1afea2251
|
Sealed private overrides.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 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>
|
12 years ago |
Dimitar Dobrev
|
ca2b3a312e
|
Moved IsSynthetized from Method to Function.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/AST/Method.cs
|
12 years ago |
Dimitar Dobrev
|
8438f112e5
|
Fixed some bugs caused by conflicts.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 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
|
12 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
|
12 years ago |
triton
|
5a27285f65
|
Fixed CLI marshaling of in/out parameters under some cases.
Closes pull #269.
|
12 years ago |
Dimitar Dobrev
|
f77d394eb1
|
Generated methods and variables of base classes of value types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
dc38efcd5b
|
Removed unused namespace.
|
12 years ago |
Dimitar Dobrev
|
e4b860c053
|
Fixed wrong code generated for indexers in value types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
f88c20aa94
|
Some refactoring in preparation for the default values of parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 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>
|
12 years ago |
triton
|
7f927db6c8
|
Renamed ASTContext parameters.
|
12 years ago |
Tom Spilman
|
ba4eedd131
|
Fixed CLI to support out/inout Enums.
|
12 years ago |
Tom Spilman
|
ab4440fb14
|
Fixed in/out for CLI.
|
12 years ago |
Tom Spilman
|
47e7e68c12
|
Fixed IsInOut primitives to correctly pass the input value to the native code.
|
12 years ago |
Tom Spilman
|
f60d267168
|
This fixes out or in/out enum parameters to generate correctly.
|
12 years ago |
Tom Spilman
|
209aeafe76
|
Fixed InOut parameter bug where there was no space between the ref and the type.
|
12 years ago |