Dimitar Dobrev
575649b5da
Fixed a memory leak in the code generators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
133cb16383
Removed unused LLVM/Clang tools in order to speed the build up.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
985171596a
Minor changes to the auto-compilation of C# code.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
5ca49e3c3e
Moved the prepending of the comment prefix to the comments themselves.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
67e14e7171
Improved the feedback when auto-compiling.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
47b1781603
Removed the writing of code to disk when auto-compiling.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
6c027ff292
Fixed the build with Visual Studio 2015.
...
Fixes https://github.com/mono/CppSharp/issues/556 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
a959f17907
Upped the required Mono/.NET to 4.5 to be able to use Roslyn.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
91e7625b30
Remove debugging print for LLVM build scripts.
10 years ago
Joao Matos
21e9264e6e
Fixed LLVM archive packaging scripts.
10 years ago
Joao Matos
a2da944401
Fixed OSX CMake configuration in LLVM build scripts.
10 years ago
Dimitar Dobrev
d328b7ce34
Properly handled nulls passed to C++ refs by throwing an exception.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
f7b4d6ce83
Fixed the wrapping of operators for non-equality to handle null.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
1ba4493bf6
Updated to LLVM/Clang 253162/253161 respectively.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
4cb68cd949
Updated the YML-s to use the new premake build scripts.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
8416506555
Fixed the LLVM build directory path when searching for the correct LLVM.
10 years ago
Joao Matos
ed28d42b4d
Build and packaging fixes for LLVM on Windows using Ninja.
10 years ago
Joao Matos
5f4c554ea7
Fixed Ninja build invocations to use the right build directory.
10 years ago
Joao Matos
eed9929986
Updated Premake OSX binary.
10 years ago
Joao Matos
cdacaf4bbe
Updated Git ignore patterns.
10 years ago
Joao Matos
424e9df424
Remove deprecated Premake flags from build scripts.
10 years ago
Joao Matos
d835a34fbf
Reduce verbosity of build scripts.
10 years ago
Joao Matos
779ed9db71
Fourth round at build and packaging scripts.
10 years ago
Joao Matos
04f6baf0c8
Updated build objects directory to use same pattern as libraries.
10 years ago
Joao Matos
56fe4ba2c5
Third round at build and packaging scripts.
10 years ago
triton
55c3faeafc
Remove libgdiplus Mono repository workaround from Travis.
10 years ago
triton
85f2c5f785
Try to enable Ubuntu Trusty 14.04 on Travis.
10 years ago
triton
de5e364a8a
Second round at build and packaging scripts.
10 years ago
triton
e7c1393296
Updated Premake 5 Windows and Linux binaries.
...
Remove Premake 5 Linux 32-bits binary.
10 years ago
triton
a68537f288
Added some work-in-progress build and packaging scripts.
10 years ago
Joao Matos
5661d248ac
Remove Nuget package install from apt-get in Travis.
...
We're getting an error installing the package E: Unable to locate package nuget
10 years ago
Dimitar Dobrev
a5a17a493e
Changed the comparer for parameter types to a singleton.
...
The class has no fields so the same value was allocated many times, it was wasteful.
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
1c52e67bb8
Fixed the wrapping of indexers returning value types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
d3644dcf5d
Fixed a crash with abstract overrides originating from secondary bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
e36d6f0aae
Improved the handling of char arrays by using desugaring.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
01a087117e
Improved the support for default args by ignoring a temporary expression.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
144b9546de
Fixed another case of a default arg assigned through an implicit ctor.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
a18479e1db
Generated valid code for wrapping char arrays.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
5dde771d77
Removed a redundant field in the generated code.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
bd5df799c9
Complemented comparison operators with the first parameter not of the containing type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
9fccfc6f1d
Excluded an inexplicably failing test from the run on the Linux CI.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
c2a569e24d
Only patched the v-table entries for non-dtors in user-derived classes.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
2885200732
Changed the native ctor to only patch the v-table entry of the virtual dtor, if any.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
132509203b
Improved the handling of function calls in default args.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
8ebefa1f37
Added support for call expressions in default args.
...
The conversion of an expression to a string has been moved to the generator because a function may have been renamed or converted to a property.
However, since that string is language-specific, it should be created in the generator anyway. Therefore we should (over time):
1. Move any string manipulation from the pass for default args to the printer for expressions which is in turn used only by the generator;
2. Remove the Statement.String property (when 1. is entirely complete).
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
d0ad681a61
Extended the AST and the parser to support call expressions in default args.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
8a68d2d16c
Fixed the generation of overrides of virtuals from secondary bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
39a368894d
Reformatted the extension methods for classes.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
53074cca58
Simplified the fix for calling the dtor of an abstract type with MinGW.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago