Abhinav Tripathi
e9152a79b5
Fixed missing namespace problem.
10 years ago
Dimitar Dobrev
acbfd21b7a
Freed C++ objects allocated by the parser.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
54cb17f313
Removed the exception when disposing of objects not originating from managed code.
...
This way we can destroy C++ objects the user is responsible for.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
cb0cc4f9a3
Reverted a disposal because it breaks the Unix build.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
bba8d389fb
Revert "Fixed more minor memory leaks."
...
It breaks the build, the memory management needs more changes before these fixes.
This reverts commit 41fbe1e9dd
.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
41fbe1e9dd
Fixed more minor memory leaks.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
4db8aa4af7
Remove extra MSVC warning C4141 from Clang build.
10 years ago
Dimitar Dobrev
ffa8d93948
Fixed another C++ memory leak in the parser.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
e82cc87356
Fixed a minor memory leak in the C++ part of the parser.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
36c55fc656
Applied SuppressUnmanagedCodeSecurity to P/Invokes with WinApi calling conventions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
640f957e69
Removed the hard-coded (always public) visibility of generated enums.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
c8397166ed
Optimised code generation when the option for auto-compilation is used.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
057e025ee3
Fixed a memory leak by removing from static members typedefs used for delegates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
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