triton
4a29db6bcd
Revert "Fixed bug caused by a type in the new parser."
...
This reverts commit f1f6c2e5e9
.
12 years ago
triton
c5f43c8d06
Updated to the latest LLVM/Clang revisions.
12 years ago
triton
f1f6c2e5e9
Fixed bug caused by a type in the new parser.
12 years ago
triton
6b9012b634
Ignore C++ using directives in the parser.
12 years ago
João Matos
e9e18f1082
Merge pull request #119 from ddobrev/master
...
Fixes on type maps and duplicate names
12 years ago
Dimitar Dobrev
79883199f5
Prevented the renaming of constructors if there is duplication of names.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
84fba50cf6
Extended the searching for type maps to try both qualified and unqualified names and both full template declarations and just templated types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
7dcc4e1506
Checked for type maps of tag types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
f76a50b0c7
Merge pull request #118 from ddobrev/master
...
Fixed the C++-printing of templated types not to append an additional ":...
12 years ago
Dimitar Dobrev
511957882a
Fixed the C++-printing of templated types not to append an additional "::".
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
cf0a0a12d9
Merge pull request #117 from ddobrev/master
...
Improved the property generation by matching with an "is" prefix for read-write properties.
12 years ago
Dimitar Dobrev
9d1687dbc4
Improved the property generation by matching with an "is" prefix for read-write properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
f490b29bd6
Merge pull request #116 from ddobrev/master
...
Improvements to properties
12 years ago
Dimitar Dobrev
ae1351d2b5
Improved the property generation by matching with an "is" prefix for read-write properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
ee1c53b5b0
Simplified the comparisons used in the advanced pass for properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
fa81a96ec9
Merge pull request #115 from ddobrev/master
...
Added two passes, for clearing comments and for collecting type defs per type. Fixed a possible crash with the multiple inheritance.
12 years ago
Dimitar Dobrev
cc4275f7a9
Generated comments, if any, for properties. Fixed a possible crash with the multiple inheritance.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
4aa6ce7fe3
Merge pull request #114 from ddobrev/master
...
Added a property to the event to contain the declaration it wraps
12 years ago
Dimitar Dobrev
c586529398
Added a property to the event to contain the declaration it wraps.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
64aef8876d
Merge pull request #113 from ddobrev/master
...
Added an option to the C++ printer to print the local as opposed to the globally qualified name. Implemented the printing of template specialisations
12 years ago
Dimitar Dobrev
a24bc6c805
Removed comments from internal functions. Changed their access from public to internal.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
24558b3385
Added an option to the C++ printer to print the local as opposed to the globally qualified name. Implemented the printing of template specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
b2c593ba54
Removed unused config file.
12 years ago
João Matos
7a9b29aecc
Merge pull request #112 from ddobrev/master
...
Added support for multi-line summaries in the XML code comments
12 years ago
Dimitar Dobrev
997f278aaa
Added support for multi-line summaries in the XML code comments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
6e79e0b03f
Merge pull request #111 from ddobrev/master
...
Ignored the case when matching methods because of the bug about non-shared v-table entries
12 years ago
Dimitar Dobrev
dd317c6987
Ignored the case when matching methods because of the bug about non-shared v-table entries.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
f9f020774f
Merge pull request #110 from ddobrev/master
...
Added generation of detailed code comments ("<remarks/>")
12 years ago
Dimitar Dobrev
d0f0c7e9e2
Added generation of detailed code comments ("<remarks/>").
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
51ddae75fc
Merge pull request #109 from ddobrev/master
...
Added a check for 'null' before getting the native pointer of a wrapped object.
12 years ago
Dimitar Dobrev
8a502835f7
Added a check for 'null' before getting the native pointer of a wrapped object.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
ad0a1da488
Merge pull request #107 from ddobrev/master
...
Prevented renaming of methods when a base class has a property of the same name
12 years ago
Dimitar Dobrev
7ecafc9858
Prevented renaming of methods when a base class has a property of the same name. Made the delegates used in abstract implementations prefixed with an underscore and internal.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
2038c796ea
Merge pull request #105 from ddobrev/master
...
Changed the check whether to invoke a property in the v-tables to work around the non-shared methods in v-tables
12 years ago
Dimitar Dobrev
0e37a62726
Changed the check whether to invoke a property in the v-tables to work around the non-shared methods in v-tables. Set the function signature to an empty string rather that null by default.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
658a9db1f6
Merge pull request #103 from ddobrev/master
...
Added automatic building of the generated source files
12 years ago
João Matos
342ce1234c
Merge pull request #91 from sk-havok/req/unhandled_property_setter
...
We only handle functions and fields in property setters
12 years ago
Dimitar Dobrev
7e2b1fd417
Added automatic building of the generated source files.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
c7612248fd
Added method signatures debugging output to vtable delegates.
12 years ago
triton
000b45cf2b
Fixed duplicated vtable delegate generation by changing the way the unique name is generated.
...
Previously, we could get duplicated names due to different named methods (setFoo and setFoo1) having overloads (and names for them would be setFoo11 [id: 11] and setFoo11 [id: 1]).
12 years ago
triton
23fc25faca
Fixed generation of vtable components.
...
Only generate delegates for each unique vtable component entry and skip vtable hook registration for duplicated entries.
12 years ago
triton
e478fa3721
Released a new version.
12 years ago
triton
9bb39e92eb
Fixed a tricky bug that was breaking generation of vtables interop code.
...
The generation problem manifested as duplication of methods in the AST which was breaking the numbering logic and caused duplicated delegates.
The root problem was that in the parser we sometimes would walk through methods but forget to add them to their respective classes.
No test because it's tricky to trigger it.
12 years ago
triton
c242a3f320
Formatting changes.
12 years ago
triton
0801e98823
Fixed generation of C# vtable interop code. Update the vtable generation index in each iteration.
12 years ago
João Matos
20c06646f4
Merge pull request #81 from ddobrev/master
...
Consider indirect args and value type - pointer type pairs when generating properties
12 years ago
Dimitar Dobrev
47f03ae68c
Added tests about the dereference and prefix/postfix operators. Fixed multiple inheritance not to include operators in interfaces.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
795e50f0e1
Merge pull request #100 from sk-havok/req/typos_in_docs
...
Fix some typos in the docs
12 years ago
Stephen Kennedy
d6ecd455c6
Fix some typos in the docs
12 years ago
Dimitar Dobrev
9255ac4144
Added the method to its block to maintain the connection between them.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago