Joao Matos
b53aaae81b
Fixes parsing of K&R-style C functions with no prototypes.
...
Fixes issue #641 .
9 years ago
Joao Matos
93f5161710
Fixed handling of different language versions in the C++ parser.
...
Fixes issue #641 .
9 years ago
Dimitar Dobrev
c502c6ed2b
Fixed a crash when wrapping Qt on OS X.
9 years ago
Dimitar Dobrev
529b21775b
Added an explicit C++ destructor to avoid a crash on OS X.
9 years ago
Dimitar Dobrev
99902c5580
Disabled a type of false errors when auto-compiling on OS X.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
6821e983a6
Checked if a library exists before trying to parse it.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
2ef14d0fcf
Introduced consistent usage of '&' - it is now always stuck to the type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
ae8d3feb53
Added reading of exported mach-o (OS X) symbols.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
cf479f4409
Wrapped more information about comments for better generation.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
11fc1f5097
Checked whether block comments actually have paragraphs.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
0e344b4b8a
Tested generation of C# comments at run-time.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
6e23f910a9
Added support for "param" elements in code comments in the C# end.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
1f105e53a8
Added support for "return" elements in code comments in the C# end.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
e57ad1d3e9
Exposed in our AST the real comment behind a block comment.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
0dea8504ba
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
1d3e821093
Fixed #453 - incorrect comment generation.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
38f1707474
Fixed #638 - incompilable generated C# code when a function takes a protected enum.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
fc84e6bf1e
Added reading of dependencies of Mach-O (OS X) binaries.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
448a9217a7
Removed one more redundant component when building Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
ce62f5c4cc
Fixed Windows SDK selection when we cannot find VS reported version.
...
Fixes issue #636 , thanks to @dowitdo for the debugging and fix.
9 years ago
Dimitar Dobrev
620da528a4
Merge pull request #635 from genuinelucifer/unionIssues
...
Fix generation of functions with union params
10 years ago
Abhinav Tripathi
9a7927613e
Fix generation of functions with union params
10 years ago
João Matos
d02192ed66
Improved SDL sample with clone scripts and directory scanning.
10 years ago
João Matos
4d89bfa001
Fixed code generation for constant arrays of function pointers.
...
Fixes https://github.com/mono/CppSharp/issues/632 and SDL sample.
10 years ago
João Matos
021189b49c
Extract ""global::System.IntPtr"" into a constant for re-use in the marshaller.
10 years ago
João Matos
1d2a572836
Extracted array type ignore code from CheckIgnoredDecls to TypeIgnoreChecker.
10 years ago
João Matos
9c7b666dbc
Fixed parsing of incline command arguments and HTML start tag comment attributes under non-Windows platforms.
10 years ago
Joao Matos
81fe7f9992
Documentation updates.
10 years ago
Joao Matos
2ed0565d18
Optimized ArgumentNullException exception message.
...
Should lead to less code size bloat due to unnecessarily unique strings.
10 years ago
Joao Matos
3dc915961c
Optimized GetPropertyName for the common case.
10 years ago
Joao Matos
62d5f00c77
Fixed code generation of subscript operator for types with non-default parameter usage.
10 years ago
Joao Matos
3c70bce12e
Fixed generation of global functions with C# keyword name.
10 years ago
Joao Matos
f8bd69790e
Fixed marshaling of typedef'd const char strings.
10 years ago
Joao Matos
d4e34e44bd
Fixed parsing of block command comment arguments under non-Windows platforms.
10 years ago
Joao Matos
679de0aa41
Fixed tests generation in build using Xamarin Studio.
10 years ago
Joao Matos
fb1b522902
Disable Empty test project to fix the build.
10 years ago
Joao Matos
9133c389ca
Fixed a crasher in delegates pass when processing libraries with no declarations.
...
This is admittedly a pretty unusual case but still a valid one.
Also adds a new test to make sure we do not regress.
10 years ago
Dimitar Dobrev
192fede3f7
Connected the functions in the AST to the template functions they instantiate, if any.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
a052a494c9
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
a2fd71cc74
Enabled getting of template specialisations when type locations are invalid.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
6cb764700a
Replaced the Internal* in native ctors with void* because of templates with dependent fields.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
4d735b5601
Ensured symbols for templates instantiating pointers or references.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
9333650ad3
Fix AppVeyor builds by invoking VS 2013 command prompt environment.
10 years ago
Joao Matos
07ec0f2677
Modified the LLVM package naming scheme to take into account toolsets.
10 years ago
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