Dimitar Dobrev
69bd424c75
Temporarily suspended the completion of types because it causes problems while not useful yet.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
João Matos
d4768e883a
Merge pull request #646 from ddobrev/master
...
Added support for directly wrapping entire sets of interdependent libraries
9 years ago
Dimitar Dobrev
b41dc261ed
Added support for directly wrapping entire sets of interdependent libraries.
...
It's realised by using modules. Users now have to define one module for each library they want wrapped while setting the driver up.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
373d867de3
Added new FixParameterUsageFromComments pass to fix parameter usage through semantic docs.
...
This pass is not yet enabled by default while it goes through further testing.
9 years ago
Joao Matos
f361804f61
Added a new SetMethodParameterUsage overload taking parameter counts.
9 years ago
Dimitar Dobrev
3040b90621
Documented the support for default parameters.
9 years ago
Dimitar Dobrev
a487d44050
Documented the potential for bindings in any language.
...
CppSharp can actually generate code in any language, it's just that we happen to have just two generators at present.
9 years ago
Joao Matos
f35ec1b693
Implemented CLITypePrinter.VisitTemplateParameterSubstitutionType.
...
Should fix https://github.com/mono/CppSharp/issues/651 .
9 years ago
Dimitar Dobrev
e41d4340e9
Simplified the parser by removing a redundancy.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
e289dd47bf
Extended the class for modules with include and library dirs, and defines.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
41cd6e6ab7
Fixed a regression when generating the parser bindings for OS X.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
60f5bc31e9
Added <auto-generated> XML documentation tag to the generated file preamble.
...
Closes https://github.com/mono/CppSharp/issues/648 .
9 years ago
Joao Matos
ff94c1752a
Fixed typo in Options.cs added in 6855901ca6
.
...
Closes https://github.com/mono/CppSharp/issues/649 .
9 years ago
Dimitar Dobrev
6855901ca6
Extracted the information for wrapped libraries to a separate class.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
bd3c921731
Simplified the printing of template internals.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
0d5c4539a2
Generated internals of types nested in templates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
5f679576e0
Fixed the generated code when a template has a base type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
a6604b5f8c
Fixed a regression when getting code gen info for certain functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
1604f8e494
Removed the completion of system types because it needlessly exhausts the stack.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
8badb497cf
Fixed an endless recursion when checking a function for code generation.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
f29e3a2240
Fixed an assert when parsing nested types which use template instantiations of void.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
50a5d328db
Fixed an assert when parsing template instantiations of void.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
c4332f2c8a
Removed some redundant completion of types now that we complete all of them anyway.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
f986963a3c
Fixed the display of progress while downloading Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
3d4c7c56f8
Changed the parser for easier transition to a newer Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
2403d7d3a3
Replaced the useless internals of templates with the internals of their specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
e4200f4690
Fixed the wrapping of template parameters in the parser.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
bc26e77ab2
Extract AST->getTargetInfo() expression into a local variable.
9 years ago
Dimitar Dobrev
2294fe56fb
Fixed the layouts of ignored dynamic types by generating their v-table pointers.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
336dbe8ff8
Marshalled fields with a pointer type as IntPtr.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
dfa8f16abf
Made the support e-mail clearly distinguishable.
9 years ago
João Matos
9280633a05
Merge pull request #645 from mono/README_table_of_contents
...
Added a table of contents to the README
9 years ago
Dimitar Dobrev
63aa440437
Added a table of contents to the README.
9 years ago
Dimitar Dobrev
68b2a31401
Created a template for new issues.
9 years ago
Dimitar Dobrev
6fd6649bb5
P/Invoked OS X frameworks instead of just libs when applicable.
9 years ago
Joao Matos
c5c4a538c4
Implemented CLI delegate marshaling of function pointer types.
9 years ago
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