Граф коммитов

3889 Коммитов

Автор SHA1 Сообщение Дата
João Matos a954c54a6c Merge pull request #790 from realvictorprm/master
Added complete support for VS 2017
2017-03-15 19:06:39 +00:00
realvictorprm 8f8031584c Added complete support for VS 2017 2017-03-15 20:03:18 +01:00
Dimitar Dobrev d2f76cb60d Added a note about CppSharp in the Google Summer of Code 2017 2017-03-14 22:49:49 +02:00
Dimitar Dobrev e2a2e8df4b Fixed the generated C# for an array of const char*.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-14 15:42:28 +02:00
Dimitar Dobrev 2e3da64586 Fixed a regression caused by VS failing to rebuild properly.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-14 15:13:43 +02:00
Dimitar Dobrev c3f7c50702 Changed events to be visited after properties when renaming.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-14 14:09:37 +02:00
Dimitar Dobrev 8233f52da3 Fixed a regression when renaming overridden properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-14 14:08:35 +02:00
Joao Matos 3ee3a5b9a2 Implemented mapping of MSVC to VS 2017 in build scripts. 2017-03-13 14:52:05 +00:00
Joao Matos 0c168a59de Fixed CMake generator name for VS 2017. 2017-03-13 00:10:54 +00:00
Joao Matos 304005bb0b Updated Premake executable on Windows for VS2017 support. 2017-03-12 22:28:34 +00:00
Joao Matos 1a634a2a86 Implemented CMake VS2017 generator mapping in LLVM build script. 2017-03-12 22:22:41 +00:00
Joao Matos 649bee2511 Extracted VS version lookup code in build script. 2017-03-12 22:07:10 +00:00
João Matos 9538be6d3e Merge pull request #789 from realvictorprm/master
Added support for VS 2017 project generation
2017-03-12 21:46:06 +00:00
realvictorprm 1662f5108f Added support for VS 2017 project generation
Fixed also the regex for finding ms build tools.
It's required to open the batch files with the developer command prompt
of vs 2017 !
2017-03-12 22:41:38 +01:00
Dimitar Dobrev 358c03e261 Fixed a regression when a method called "dispose" is wrapped.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-12 20:59:25 +02:00
Dimitar Dobrev dd82358a04 Always upper-cased the first character of a function.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-12 14:52:17 +02:00
Dimitar Dobrev ea9c12842a Changed the renaming not to lose separation in new names.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-12 01:24:52 +02:00
Dimitar Dobrev d293a7f49f Regenerated the parser bindings with the renaming of enum items.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-10 22:12:48 +02:00
Dimitar Dobrev fe85a33ba1 Restored the renaming of enums.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-10 21:00:08 +02:00
Dimitar Dobrev 028eac9d69 Visited parameters while renaming.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-10 20:03:58 +02:00
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.
2017-03-10 16:31:40 +00:00
Joao Matos 17f768f6c4 Add classes as rename targets for default renaming pass. 2017-03-10 14:22:47 +00:00
Joao Matos 586b14ab62 Fixed previously missing rename target checking for classes. 2017-03-10 13:20:32 +00:00
Joao Matos c7771cc677 Reworked GenerateEnumItemFromMacro so enum items have namespaces. 2017-03-10 04:43:33 +00:00
Joao Matos b0ec4e7f5e Fixed generated build files to directly link against "CppSharp" for test projects. 2017-03-10 04:42:29 +00:00
Joao Matos 46e697b0fb Improved generator test runner to find tests in embedded setup. 2017-03-10 04:41:55 +00:00
Joao Matos c4edb58881 Re-order declarations in CSharp test generator. 2017-03-10 04:41:19 +00:00
Joao Matos baa30f0aa2 Improve debug display for Block. 2017-03-10 04:40:55 +00:00
Joao Matos a531fafa4a Simplify some rename pass code. 2017-03-10 04:40:29 +00:00
Joao Matos e74c72cb31 Call VisitDeclaration when visiting enumeration items. 2017-03-10 04:39:56 +00:00
Joao Matos 3b7199f61c Refactor all renaming pass declaration checking into IsRenameableDecl. 2017-03-09 19:09:54 +00:00
Dimitar Dobrev 10ac0a4865 Fixed the getting of the template a specialised function is instantiated from.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-07 22:50:11 +02:00
Dimitar Dobrev 254e51145f Moved the generation of C# bodies to their own methods.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-07 18:48:42 +02:00
Dimitar Dobrev aae856971c Revert "Refactor all renaming pass declaration checking into IsRenameableDecl."
This reverts commit 655cdd1cb4.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-07 18:26:56 +02:00
Joao Matos a6c85ffee8 Fixed previously missing rename target checking for classes. 2017-03-07 15:36:47 +00:00
Joao Matos 655cdd1cb4 Refactor all renaming pass declaration checking into IsRenameableDecl. 2017-03-07 15:36:26 +00:00
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>
2017-03-06 23:52:14 +02:00
Dimitar Dobrev cb49d38c86 Ignored partial specialisations of class templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-06 21:11:46 +02:00
Dimitar Dobrev 50deefa339 Fixed a regression causing internals of some class templates to be missed.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-06 20:42:18 +02:00
Dimitar Dobrev ab62115edc Prevented class templates from being static.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-06 18:29:56 +02:00
Dimitar Dobrev bc078d8a15 Removed the limitation about class templates when checking v-table entries.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-06 18:12:17 +02:00
Dimitar Dobrev a1cd57667b Ignored the unused methods in system class templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-06 18:02:17 +02:00
Dimitar Dobrev f7e5d9cc0e Added std::char_traits as a supported type because std::string needs it.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-06 17:55:45 +02:00
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>
2017-03-06 17:33:42 +02:00
Dimitar Dobrev 48d373f10b Fixed a typing and a grammatical error in the guide to contributing.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-06 02:15:11 +02:00
Dimitar Dobrev a1fa5bd93f Changed the generation of patched v-tables to also work for class templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-06 02:06:43 +02:00
Dimitar Dobrev 5e5e1d0f11 Regenerated the parser bindings with the optimisation when allocating.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-06 02:06:42 +02:00
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>
2017-03-06 02:06:24 +02:00
Dimitar Dobrev 6bff560adc Removed the usages of named pointers when patching v-tables in C#.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-06 00:29:03 +02:00
Dimitar Dobrev e0c397d709 Collected internal functions of class template specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2017-03-05 23:19:13 +02:00