Joao Matos
24e53f4f79
Fixed expression parsing of dependent type default unary expressions.
...
Fixes issue #618 .
10 years ago
Joao Matos
efcb812c6c
Fixed outputof to redirect all standard streams.
...
Workaround until https://github.com/premake/premake-core/pull/428 is closed.
10 years ago
Joao Matos
98bc0b8143
Return a process exit code from execute.
...
Should fix the build.
10 years ago
Joao Matos
7fcc12073e
Improved build script for building LLVM.
10 years ago
Joao Matos
62fe33efad
Improver error handling when executing shell commands in build scripts.
10 years ago
Joao Matos
e95012441c
Fixed Windows UCRT toolchain code to not combine absolute paths.
...
Previously the partial UCRT path obtained from `ucrtPaths` would always start with `\`.
Combined with the behavior of Path.Combine(p1,p2) to always return p2 when it is absolute, we'd always end up with an incomplete partial path.
10 years ago
Dimitar Dobrev
2f93c9c042
Switched to the latest at present stable Mono (4.2.1) for the OS X build.
...
We used to rely on the latest nightly build because it used to have the same name but this is no longer true.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
9ab71aeac7
Fixed the parsing of subclasses of dynamic template instantiations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
26864a6cc5
Regenerated the C++/CLI parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
1223e41e3a
Ensured the collected Windows SDK include dirs exist.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
João Matos
bbe7c1cb72
Added an hardcoded path to the GCC builtin headers for Travis Linux build.
10 years ago
Dimitar Dobrev
2eeaa67712
Merge pull request #608 from grbd/master
...
Thank you very much.
10 years ago
grbd
947aac986c
Added the ability to search the machine Path or a specified path for the library file as part of ResolveSymbol
10 years ago
Joao Matos
df3f26d0aa
Improved null handling when marshaling CLI strings.
10 years ago
Joao Matos
4bc7c78609
Restructuring of CLI string marshaling code.
10 years ago
Joao Matos
900956caee
Added a list of CppSharp-based bindings projects.
10 years ago
Joao Matos
da56988266
Fixed marshaling of null UTF-32 wide strings.
...
Closes issue #606 . Thanks to magnet31 for reporting the issue.
10 years ago
Joao Matos
10fb080e3c
Added helper batch file for download dependencies on Windows.
10 years ago
Joao Matos
82dc7639dd
Improved verbosity of download_llvm step.
10 years ago
Joao Matos
cc87e09cff
Added support for multiple configurations of the LLVM binary dependency packages.
10 years ago
Joao Matos
de8a4cfc98
Re-structured and updated the documentation.
10 years ago
Dimitar Dobrev
352bb1c502
Regenerated the parser bindings after the introduction of Declaration::IsImplicit.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
3c44798399
Merge pull request #604 from genuinelucifer/isImplicitAST
...
First try at moving isimplicit to declaration from method.
10 years ago
Abhinav Tripathi
d753c8d637
Moved property IsImplicit to Declaration from Method.
10 years ago
Dimitar Dobrev
7498e3835f
Added an explicit destructor to avoid a crash on Linux.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
João Matos
a8d1984cfd
Merge pull request #595 from ddobrev/master
...
Fixed a crash caused by deleting forward declarations other declarations might depend on
10 years ago
Dimitar Dobrev
b60de160f9
Fixed a crash caused by deleting forward declarations other declarations might depend on.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
998f8446fe
Fixed the debug build.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
9041a73fab
Try to include premake5.lua files when looking for examples.
10 years ago
Dimitar Dobrev
7c2a6f8280
Added generation of 64-bit MSVC C# bindings for the parser.
...
They are not used at the moment but might be employed in an AppVeyor 64-bit build.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
84ab1bf35c
Added a setting to the C++ type printer to resolve typedefs.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
ef66b38525
Removed a redundant parameter from CppTypePrinter.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
dd1576b461
Merge pull request #600 from genuinelucifer/defValCall
...
Fix for fn call when def argument is interface.
10 years ago
Abhinav Tripathi
347d0cdbaf
Fix for fn call when def argument is interface.
10 years ago
Dimitar Dobrev
1471e6f2fb
Simplified and tested the reading of line numbers.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
05d7088cd0
Improved the reading of line numbers by expanding locations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
b3a5b88433
Removed Method.AccessDecl because it doesn't map to Clang and was buggy.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
f6210f622e
Fixed a regression in the sharing of the method object from v-tables in certain corner cases.
...
QPaintDevice::initPainter appeared twice in the wrapper for QtGui but I could not isolate it in a test.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
c7357aa400
Removed the creation of forward declarations if their complete counterparts have been parsed.
...
These object leaked memory too.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
a95511600f
Fixed the destruction of comments another way because this one crashes the OS X build.
...
See https://github.com/mono/CppSharp/issues/599 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
c05dce7443
Fixed the destruction of expressions another way because this one crashes the OS X build.
...
See https://github.com/mono/CppSharp/issues/598 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
f7aee273a7
Ensured comments are properly destroyed thus fixing a memory leak.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
1340113332
Ensured expressions are properly destroyed thus fixing a memory leak.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
68e9bb3756
Fixed a regression when a default value uses a constructor with a temporary expression.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
6db0676b5a
Made entries in v-tables use the same method objects as regular methods.
...
Besides being obviously correct, this fixes a memory leak.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
9645fa24a5
Fixed a possible memory leak with default arguments assigned by a constructor.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
7b12f899bb
Removed memory leaks caused by specifiers for bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
c0767bcd47
Eliminated memory leaks with forward declarations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
3402952388
Called the most derived destructor when it's not virtual.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
f75b3e1a35
Updated the LLVM packaging scripts to use tar.xz for non-Windows builds.
10 years ago