Dimitar Dobrev
e4a40d0eed
Revert "Fixed a crash when calling the dtor of an abstract type with MinGW."
...
This reverts commit 67e6e1204c
.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
176262c700
Clarified the handling of dtor calls when abstract classes are involved.
...
Thanks to tritao for his remarks.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
67e6e1204c
Fixed a crash when calling the dtor of an abstract type with MinGW.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
05a44565bd
Ensured a virtual dtor is called even if the base dtor is not virtual.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
fbb2f941c4
Based on Abhinav Tripathi's work: extracted delegates in order to reuse them.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
7aab75f44d
Regenerated the parser bindings to reflect all updates from the last two months.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
0f8474893c
Removed 3 redundant fields from the C# generator.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
3cb44dcef0
Split the creation of internal parameters from their string representation.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
0950b869a1
Fixed the offsets of fields when using multiple inheritance.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
51ca678fa8
Removed a useless reference when auto-compiling.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
6380e5d7ea
Called Marshal.FreeHGlobal only if the instance was created by Marshal.AllocHGlobal.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
6f8c942b0a
Adjusted pointers when calling functions from secondary or non-dynamic bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
7d66303ed1
Extracted a constant and deleted a no longer used method.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
João Matos
64dc78018f
Update GettingStarted.md
10 years ago
Dimitar Dobrev
81e6ba5ea8
Ensured managed v-tables remain with no empty entries.
...
This doesn't fix any bug that I know of.
However, the patching was obviously wrong for v-tables with repetitive function pointers.
Their managed counterparts ended up with "holes" where the repetions were.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
João Matos
7667ebbf1a
Update GettingStarted.md
10 years ago
Dimitar Dobrev
2e2dbef965
Fixed the OS X build.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.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
54e8a16fd1
Reverted the representation of Booleans as managed Booleans except in internal structs.
...
Managed booleans are more CPU-efficient than bytes, and some problems with code generation are fixed.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
4f574845fa
Made interface impls contain the interface as their original name-space.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
6a17e4fb4c
Disabled the auto-committing of parser bindings until it's properly fixed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
7c49454faa
Use the Github email when doing Git pushes from AppVeyor.
10 years ago
CppSharp CI
9c24b3f84e
CI: Re-generated the parser bindings
10 years ago
Dimitar Dobrev
4f241d4e62
Fixed the automatic commit after regenerating the parser bindings at AppVeyor.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
89874c1b20
Make Travis YAML parser happy.
10 years ago
Dimitar Dobrev
a20e3aca91
Properly set virtual tables up in the internal ctor by pointer.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
João Matos
a6feac65ed
Attempt to fix test success evaluation on Travis.
10 years ago
Dimitar Dobrev
c2202bbfc0
Removed the wrapping of comments because tools ignore empty lines.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
287ad2394d
Properly printed complex comments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
4cc60bed2a
Fixed the pass for multiple inheritance to keep original functions.
...
This would be useful in many situations where the original function is required, for example when looking for indices in v-tables.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
912248b5da
Skipped patching of v-tables for objects not put in the native-managed map.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
87845ad51d
Fixed a regression with abstract types with the same property as a base 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
bb59ca17fb
Fixed a crash when a C++ ctor indirectly calls a virtual function on the object being constructed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
55bc99bc3f
Fixed a bug when overriding a function located in a dependency.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
9d390865e0
Changed the premake to take multiple dependencies for test projects.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
62a0857613
Copied all entries to the patched Itanium v-table.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
784a939c66
Ensured generated overridden properties are as simple as possible.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
dcb70b6ad0
Removed the now useless internal declarations for virtual non-operators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
4e981a80e6
Fixed a bug when wrapping virtual properties overridden in indirect derived types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
dc95c8d8c8
Fixed the bodies of functions overriding indirect virtuals.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
ba9c2a19be
Only try to use .NET framework 4.6 when targeting VS 2015.
...
This should bring our non-Windows CI builds back to life.
Remove this hack once we update our Premake binary builds.
10 years ago
triton
94d8befb46
Setup Git AutoCrLf and user credentials for Git push in AppVeyor.
10 years ago
triton
f05b7af8d9
Use single quotes in the Git commit command in AppVeyor.
10 years ago
triton
e6a74dfec7
Do not shallow clone in AppVeyor so Git push works.
10 years ago
triton
56c4da9670
Fixed Git push in AppVeyor.
10 years ago
triton
ab0aace7b8
Fixed GetSourceDirectory in the parser generator to start from the current working directory.
10 years ago
triton
2ad39a9012
Fixed nesting environment variable expansion in AppVeyor.
10 years ago
triton
5dfe20a828
Added automatic parser bindings generation on AppVeyor.
10 years ago
triton
fbbe862268
Github deployment fixes for AppVeyor.
10 years ago