Dimitar Dobrev
|
358c03e261
|
Fixed a regression when a method called "dispose" is wrapped.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
dd82358a04
|
Always upper-cased the first character of a function.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
ea9c12842a
|
Changed the renaming not to lose separation in new names.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
d293a7f49f
|
Regenerated the parser bindings with the renaming of enum items.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
fe85a33ba1
|
Restored the renaming of enums.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
028eac9d69
|
Visited parameters while renaming.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
df9666d6c4
|
Added final AST support for methods and classes.
Conversion of Clang C++ AST state and update of C# generator to come at a later date.
|
8 years ago |
Joao Matos
|
17f768f6c4
|
Add classes as rename targets for default renaming pass.
|
8 years ago |
Joao Matos
|
586b14ab62
|
Fixed previously missing rename target checking for classes.
|
8 years ago |
Joao Matos
|
c7771cc677
|
Reworked GenerateEnumItemFromMacro so enum items have namespaces.
|
8 years ago |
Joao Matos
|
b0ec4e7f5e
|
Fixed generated build files to directly link against "CppSharp" for test projects.
|
8 years ago |
Joao Matos
|
46e697b0fb
|
Improved generator test runner to find tests in embedded setup.
|
8 years ago |
Joao Matos
|
c4edb58881
|
Re-order declarations in CSharp test generator.
|
8 years ago |
Joao Matos
|
baa30f0aa2
|
Improve debug display for Block.
|
8 years ago |
Joao Matos
|
a531fafa4a
|
Simplify some rename pass code.
|
8 years ago |
Joao Matos
|
e74c72cb31
|
Call VisitDeclaration when visiting enumeration items.
|
8 years ago |
Joao Matos
|
3b7199f61c
|
Refactor all renaming pass declaration checking into IsRenameableDecl.
|
8 years ago |
Dimitar Dobrev
|
10ac0a4865
|
Fixed the getting of the template a specialised function is instantiated from.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
254e51145f
|
Moved the generation of C# bodies to their own methods.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
aae856971c
|
Revert "Refactor all renaming pass declaration checking into IsRenameableDecl."
This reverts commit 655cdd1cb4 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
a6c85ffee8
|
Fixed previously missing rename target checking for classes.
|
8 years ago |
Joao Matos
|
655cdd1cb4
|
Refactor all renaming pass declaration checking into IsRenameableDecl.
|
8 years ago |
Dimitar Dobrev
|
8b230bdf07
|
Fixed a corner case of a default parameter with a type mapped to an enum.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
cb49d38c86
|
Ignored partial specialisations of class templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
50deefa339
|
Fixed a regression causing internals of some class templates to be missed.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
ab62115edc
|
Prevented class templates from being static.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
bc078d8a15
|
Removed the limitation about class templates when checking v-table entries.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
a1cd57667b
|
Ignored the unused methods in system class templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
f7e5d9cc0e
|
Added std::char_traits as a supported type because std::string needs it.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
8fe6e346c5
|
Ignored templates specialised with types external to the template itself.
Supporting such external types is quite difficult so it will be done later on.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
48d373f10b
|
Fixed a typing and a grammatical error in the guide to contributing.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
a1fa5bd93f
|
Changed the generation of patched v-tables to also work for class templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
5e5e1d0f11
|
Regenerated the parser bindings with the optimisation when allocating.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
9b7a372a3c
|
Sped up the generated C# by using sizeof instead of Marshal.SizeOf.
They are equivalent in our case because we only use blittable types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
6bff560adc
|
Removed the usages of named pointers when patching v-tables in C#.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
e0c397d709
|
Collected internal functions of class template specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
e799641a87
|
Added a guide to contributing.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
fed72f5910
|
Ensured the C# gen correctly imports a native library with no target triple.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
66fdc64828
|
Removed a missed piece of obsolete code.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
d49453bd67
|
Properly configured the dependencies in our test for them.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
3ccb5361df
|
Shortened the generated C# by not suffixing attributes.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
f9fdacb512
|
Removed a null check for the module of a unit.
Each unit has a module, if it doesn't, it's a bug.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
935c580465
|
Deleted a useless weak reference thus simplifying TranslationUnit.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
c7040fc242
|
Fixed a crash when generating C# for empty enums.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
96aa703b60
|
Fixed the printing of errors during compilation of native symbols.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
f809dbf2d4
|
Removed redundant paragraphs and spaces when printing C# XML comments.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
ec6ddb62cf
|
Restored the new line after the last generated item of an enum.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
dbfd93d941
|
Fixed the comment kind of the parser generator.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
8646d3e077
|
Obsoleted the direct settings for wrapped libraries in the options.
Modules should be used instead.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
0454316b96
|
Try and fix apt-get Mono install in Travis.
|
8 years ago |