Dimitar Dobrev
48fece6aa1
Revert "Threw an exception when there are parsing errors, and handled it in the test clients."
...
This reverts commit 01e872b30d
.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
01e872b30d
Threw an exception when there are parsing errors, and handled it in the test clients.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
477dd914cb
Fixed setters of indexers when the key is type-mapped.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
324e241c25
Fixed the internal abstract impls with default params of a pointer type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
b9e3efbf0c
Removed the option for copy ctors and prevented usage of ignored ones.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
fa0e66687d
Fixed abstract implementations and bodies of overrides to properly handle abstract overrides.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
5ef899366c
Renamed the test suite projects.
10 years ago
Dimitar Dobrev
63bc07e965
Fixed the cleaning of invalid names to allow custom names for enums.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
062f8e26e0
Revert "Revert "Included ignored fields in the wrappers for better marshalling.""
...
This reverts commit 27d3f21a75
.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
27d3f21a75
Revert "Included ignored fields in the wrappers for better marshalling."
...
This reverts commit 65cac93259
.
Conflicts:
src/Generator/Generators/CSharp/CSharpTextTemplate.cs
tests/Basic/Basic.h
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
451278cb10
Removed the option for abstract impls thus enabling them by default.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
77369b50c5
Removed the option for abstract impls enabling them by default for the C# generator.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Chris Spencer
e3a88f9136
Fix the anonymous delegates pass so it doesn't generate duplicate delegates when the same namespace is used in multiple translation units.
10 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
Tom Spilman
5e7c70bb1e
Changed generator to use CheckMacroPass.
11 years ago
Tom Spilman
9159e531f4
Added EnumInOut tests.
11 years ago
Tom Spilman
5e63406de0
Added tests for out enums.
11 years ago
Tom Spilman
51fa468cfa
Added unit test for in/out for primitive parameters.
11 years ago
Tomi Valkeinen
4e185973e5
Normalize all the line endings
...
Normalized all the line endings with:
git rm --cached -r .
git reset --hard
git add .
git commit -m "Normalize all the line endings"
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Elias Holzer
474f82b513
Added support for explicit conversion operators and added new pass which will create implicit and explicit conversion operators out of single argument constructors.
...
Conflicts:
src/Generator/Passes/CheckAmbiguousFunctions.cs
src/Generator/Passes/CheckOperatorsOverloads.cs
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
a070912c1a
Enable copy constructors for some tests since they rely on their existence.
11 years ago
triton
9c07283ff0
Fixed CLI getter/setter property generation (with tests).
11 years ago
Dimitar Dobrev
72089a499e
Marshalled C++ char as Mono/.NET char instead of sbyte for a more friendly API.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
24a8db6a32
Fixed the generation of internal implementations of abstract classes to actually work.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
1b7947538a
Move all the testing infrastructure to CppSharp.Generator.Tests.
12 years ago
triton
4d70b60700
Renamed ASTContext parameter from "lib" to "ctx".
12 years ago
triton
3a891950df
Remove useless code.
12 years ago
Dimitar Dobrev
df99550a39
Fixed the parsing of function prototypes in cases where the Clang type locator is not available.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
2b77361d89
Reverted the hack about filling the empty names of parameters explicitly for function types. Added tests for this regression and another one caused by the changed around the introduction of FunctionType.Arguments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
4a29db6bcd
Revert "Fixed bug caused by a type in the new parser."
...
This reverts commit f1f6c2e5e9
.
12 years ago
triton
f1f6c2e5e9
Fixed bug caused by a type in the new parser.
12 years ago
triton
07c5f7339f
Simplify the tests Main method.
12 years ago
triton
d114ac0f0e
Renamed LanguageGeneratorKind to GeneratorKind.
12 years ago
triton
3e489c9a06
Updated the generators and tests for new class names.
12 years ago
triton
bed92373ec
Fixed out reference parameters in CLI backend (with test).
12 years ago
triton
66ef3c55ff
Reworked support for out parameters in both backends and added a test.
12 years ago
triton
c66c34d4a9
Renamed the CLI language generator kind to be more uniform.
12 years ago
triton
d9eb2f5b3e
Renamed Hello tests to Basic.
12 years ago
triton
68ddfbdd6f
Move the AST project to the CppSharp.AST namespace.
12 years ago
Tom Spilman
46a245fd50
Fix to test Hello.cs.
12 years ago
triton
d0fb96121d
Change the ILibrary methods to take a driver instance.
12 years ago
triton
cc8f7cd1db
Renamed Cxxi references to CppSharp.
12 years ago
triton
e8ce0db9be
Added integration tests that generate and run wrapping code for both the CLI and C# backend.
12 years ago
triton
b31762963c
Moved the Hello test to /tests.
12 years ago
triton
207354a688
Update the examples.
13 years ago
Tarmo Pikaro
68bfed9f3a
Update test app.
13 years ago
Tarmo Pikaro
eba93b24da
Update hello world project, tune interface to be autogenerated, add lua projects for c++ and c# code
...
add project files to gitignore.
13 years ago
Alex Corrado
891d799cbc
Sexy new name, cxxi
14 years ago
Zoltan Varga
ff38bacf2e
Add Hello, World example.
15 years ago