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

128 Коммитов

Автор SHA1 Сообщение Дата
Alex Corrado 94cf0c5afd Manually merge d28bc89..faa6350 2011-04-04 03:29:16 -07:00
Alexander Corrado 2116e1f175 Fix Itanium bugs introduced by commit 65edb53 2011-03-19 19:11:19 -07:00
Alexander Corrado 37348611c7 Clarify 2011-03-19 19:04:12 -07:00
Alexander Corrado 65edb53892 Fix issues when base class virtual methods are prepended into primary vtable. 2011-03-19 18:56:10 -07:00
Alexander Corrado 8b2884afc1 Fix handling of base classes in generated code. 2011-03-11 20:48:08 -08:00
Alexander Corrado ff166f8828 Make references to attributes more maintainable. 2011-03-11 20:41:41 -08:00
Andreia Gaita 640ca8a181 Add license and license headers 2011-03-08 22:21:17 +00:00
Andreia Gaita ce2c5a6491 Version 0.99.1 - "It's alive!"
finish merging generator patches. add more defines to fix inlines on qt.
2011-03-08 17:54:53 +00:00
Zoltan Varga 05ed8461a3 Add generator support for properties. 2011-03-08 17:51:57 +00:00
Zoltan Varga f295c467fe Fix generator problems exposed by qt. 2011-03-08 16:33:58 +00:00
Zoltan Varga 344debf842 Generator rewrite. 2011-03-08 16:32:16 +00:00
Zoltan Varga 5d91a5879a Add hello example to the build process. 2011-03-03 22:03:03 +00:00
Zoltan Varga f24e572d28 Add the beginnings of a README. 2011-03-03 22:02:58 +00:00
Zoltan Varga 70d7895777 Add auto-generated qt bindings. 2011-03-03 22:02:54 +00:00
Zoltan Varga 97695b95e7 Add test2 and src/generator2 to the build. 2011-03-03 22:02:28 +00:00
Zoltan Varga 27ea615c3d Add regression tests for the c++ binding. 2011-03-03 22:02:21 +00:00
Zoltan Varga bbf5789cab Rewrite pinvoke marshalling to fix support for passing classes by ref/by value, and returning classes by value. Add support for inline methods. Fix some minor bugs. 2011-03-03 21:57:48 +00:00
Zoltan Varga a3d176071e Add more method attributes. 2011-03-03 21:55:00 +00:00
Zoltan Varga 2de301cfb5 Fix the parsing of c++ type names so classes named 'Class' are not confused with the c++ keyword 'class'. 2011-03-03 21:53:51 +00:00
Zoltan Varga cc3f705770 Disable a warning. 2011-03-03 21:52:57 +00:00
Zoltan Varga ff011a4561 Avoid initializing the vtable when creating an object, the c++ constructor already does it, an
d the value we were trying to set was incorrect for qt.
2011-03-03 21:52:33 +00:00
Zoltan Varga c6c8291b41 Convert spaces to tabs. 2011-03-03 21:52:05 +00:00
Zoltan Varga f69e1e9609 Use proper library/abi for qt on linux. 2011-03-03 21:51:59 +00:00
Zoltan Varga ff38bacf2e Add Hello, World example. 2011-03-03 21:51:54 +00:00
Zoltan Varga 61e6a28df5 Fix generator build. 2011-03-03 21:51:50 +00:00
Andreia Gaita 29a609c67d Filter out some more modifiers for method name duplication checks 2011-01-31 06:23:19 +00:00
Andreia Gaita b8b046011e clean up and cosmetic changes 2011-01-31 06:22:49 +00:00
Andreia Gaita 582e1a293d When generating the Base class, set its name to use the class generic name
(with template arguments changed to generic ones) if it exists
2011-01-31 06:21:39 +00:00
Andreia Gaita eedefbd925 Filter out some very problematic types for now (non-templated inheriting from templates, weird) 2011-01-31 06:19:54 +00:00
Andreia Gaita 958dd1e412 For some reason parts of the generated code don't like MangleAs, so
do MangleAsAttribute instead
2011-01-31 06:19:10 +00:00
Andreia Gaita 971737f0ea If it's a constructor, don't create a return call 2011-01-31 06:18:43 +00:00
Andreia Gaita a0ee2b75f7 check if a method has the same name as the type and rename 2011-01-31 06:17:56 +00:00
Andreia Gaita dee7bc63c2 Make empty types inherit from ICppObject and implement minimum code 2011-01-31 06:15:17 +00:00
Andreia Gaita ff8c9bc877 remove dead code 2011-01-31 03:38:18 +00:00
Andreia Gaita 2ef67cfd0b Fix tokenization of template modifiers like "const char [N]".
(template metaprogramming)
2011-01-31 03:30:55 +00:00
Andreia Gaita c9da14bd4e preprocess classes to set up template arguments and create all types
before processing fields, methods and arguments that might use them
2011-01-31 02:57:11 +00:00
Andreia Gaita eb3e32d163 indentation and cosmetic fixes, also .gitignore 2011-01-30 23:08:21 +00:00
Alexander Corrado 71ad832ce8 hacked on generator 2011-01-30 14:06:15 -08:00
Andreia Gaita c993194021 more generator fixes 2011-01-26 23:34:17 +00:00
Andreia Gaita 5fbc2e6f1c fix bad merge - missing files 2010-12-28 17:38:32 +00:00
Andreia Gaita de58e65c21 testing qt 2010-12-28 17:34:56 +00:00
Andreia Gaita a99e617a41 helper links 2010-12-28 17:18:55 +00:00
Andreia Gaita 5b006c766e reorganize 2010-12-28 17:18:43 +00:00
Andreia Gaita 9051248fef autotools 2010-12-28 17:18:36 +00:00
Andreia Gaita a478c3030f reorganize things 2010-12-28 17:18:28 +00:00
alexander.corrado 1a27eb3119 Generator bug fixes. Now fully compiles bindings from qapplication.xml and will start testing mangled names against GCC-XML output before crashing. Preliminary support for C++ namespaces.
git-svn-id: https://mono-soc-2010.googlecode.com/svn/trunk/cppinterop@132 a470b8cb-0e6f-1642-1b45-71e107334c4b
2010-08-16 20:17:30 +00:00
alexander.corrado 3b0a3f418b Added validation mode to generator that will confirm that bindings compile and that names are correctly mangled. Fixes to generator to fix compile errors with generated bindings, however they do not compile out of the box as yet.
git-svn-id: https://mono-soc-2010.googlecode.com/svn/trunk/cppinterop@123 a470b8cb-0e6f-1642-1b45-71e107334c4b
2010-08-14 07:32:38 +00:00
shana.ufie@gmail.com 087c65ade8 Fix the name property lookup to have a default, looks like some
structs don't have it on the defined

git-svn-id: https://mono-soc-2010.googlecode.com/svn/trunk/cppinterop@120 a470b8cb-0e6f-1642-1b45-71e107334c4b
2010-08-11 02:18:32 +00:00
shana.ufie@gmail.com 276d2cd2bb Fix null check
git-svn-id: https://mono-soc-2010.googlecode.com/svn/trunk/cppinterop@119 a470b8cb-0e6f-1642-1b45-71e107334c4b
2010-08-11 02:18:25 +00:00
shana.ufie@gmail.com 8e4d95df5f Fix stack overflow on equality operators
git-svn-id: https://mono-soc-2010.googlecode.com/svn/trunk/cppinterop@118 a470b8cb-0e6f-1642-1b45-71e107334c4b
2010-08-11 02:18:11 +00:00