marcos henrich
|
12daa4980c
|
Added CheckDuplicatedNamesPass that check all class members names for duplicated names. When a non function member has an already used name a number is append to its name. When a method is found with a know signature a number is append to its name. The appended number for each method overload is independently incremented, others members appended number start at the most overloaded method count which is then incremented with each non function member sharing the same name.
|
12 years ago |
marcos henrich
|
3bd0086ac6
|
Fixed methods generated by FunctionToInstanceMethodPass and FunctionToStaticMethodPass, to use parent class Namespace and keep function Namespace as OriginalNamespace.
|
12 years ago |
marcos henrich
|
dc8ecc9d2e
|
Removed unnecessary override keyword from interface method implementations.
|
12 years ago |
marcos henrich
|
9ba1707616
|
Added Equality operator to AST Types. This was needed because GetterSetterToPropertyPass has to match a getter return type with a setter parameter type.
|
12 years ago |
marcos henrich
|
c28723c0b6
|
Added support to emit messages without DiagnosticId.
|
12 years ago |
marcos henrich
|
61986172e7
|
CLIHeaderTemplate an CLISourcesTemplate now take care of properties with only a getter or s setter, and properties using fields that for now always have a getter and a setter.
|
12 years ago |
marcos henrich
|
06aba88fbb
|
Modified GetterSetterToPropertyPass more complex properties are supported. Now even if we only have a getter or a setter a property is created. Trying to convert multiple setter with same name and different types is an issue, so we check before creating a setter for a matching getter or the non existence of more setters.
|
12 years ago |
marcos henrich
|
78ab63086a
|
CLIHeadersTemplate.cs now always tries to generate properties even when it is a value class. This is done because now fields should be converted to properties with FieldToPropertyPass.
|
12 years ago |
marcos henrich
|
379cf32f1d
|
Added FieldToPropertyPass, all non ignored fields can now be transformed into properties before generation.
|
12 years ago |
marcos henrich
|
c02b7bf3a8
|
Added Field to Property Declaration so now we can generate the property from a field instead of get or set methods.
|
12 years ago |
marcos henrich
|
fcb93169a2
|
Added OriginalNamespace to Declaration and now QualifiedOriginalName uses it.
|
12 years ago |
triton
|
f1f5723157
|
Use a constant displacement for block ids so they do not conflict with CLI ones.
|
12 years ago |
triton
|
cca70acea5
|
Skip implementation generation for proxy methods.
|
12 years ago |
triton
|
5f4edce340
|
Extract field generation into its own method.
|
12 years ago |
triton
|
5b7bd8bd03
|
Minor cleanup.
|
12 years ago |
triton
|
463730baeb
|
Fixed handling of template methods processing.
|
12 years ago |
triton
|
2f293308ac
|
Fixed whitespace.
|
12 years ago |
triton
|
c3ac5ca130
|
Fixed whitespace.
|
12 years ago |
triton
|
d9a52a030d
|
Added missing source location type.
|
12 years ago |
triton
|
dbd9fbc9d5
|
Added v[f]table parsing support.
|
12 years ago |
triton
|
1887f80dfd
|
Added declarations of class properties to CLI.
|
12 years ago |
triton
|
ea96abb94f
|
Added IgnoreClassField helper.
|
12 years ago |
triton
|
80c987a1e6
|
Use an explicit cast instead of "as" since there should always be a namespace.
|
12 years ago |
triton
|
c13e843a3d
|
Fixed the FunctionToInstanceMethod pass.
|
12 years ago |
triton
|
341aa85a5c
|
Added qualified type constructor.
|
12 years ago |
João Matos
|
9a4b1d4034
|
Added virtual keyword to VisitDecayedType for consistency.
|
12 years ago |
João Matos
|
7764e31871
|
Merge pull request #15 from bobsummerwill/master
Added global:: prefix to all System.IntPtr references in the C# code gen...
|
12 years ago |
Bright Twin
|
7c19f5f7db
|
Added global:: prefix to all System.IntPtr references in the C# code generator.
Without this qualification it is possible for the generated code to have namespace clashes with nested System namespaces in the code being wrapped.
|
12 years ago |
João Matos
|
7f25173438
|
Merge pull request #14 from bobsummerwill/master
Fix typo in HTML Comment processing code where the wrong variable was be...
|
12 years ago |
Bright Twin
|
521e1622ca
|
Fix typo in HTML Comment processing code where the wrong variable was being incremented.
|
12 years ago |
triton
|
b2cabe2551
|
Remove unused field.
|
12 years ago |
triton
|
2433deb45e
|
Updated users manual.
|
12 years ago |
triton
|
e5c141db6c
|
Fixed the loop increment when parsing comment blocks.
|
12 years ago |
triton
|
cd08295499
|
Use a map to keep track of anonymous declarations else we cannot refer to them later when needed.
This could lead to self-referencing problems when parsing (and stack overflows!).
|
12 years ago |
triton
|
63468dfb0e
|
Use dynamic_cast instead of safe_cast for upcasting.
|
12 years ago |
triton
|
a6fa8af39d
|
Added full support for C++ documentation comments to the AST and parser.
|
12 years ago |
triton
|
c494cc9ef4
|
Added work-in-progress getting started documentation.
|
12 years ago |
João Matos
|
64c7a79fcf
|
Merge pull request #13 from esdrubal/typerefs
C++/CLI Type references fixes
|
12 years ago |
marcos henrich
|
06ab4864e2
|
Added TypeReferenceCollector used for include and forward reference printing. TypeMaps are now able to add includes and forward references. Record system allows more complex situations where you need a declaration's origin type/declaration.
|
12 years ago |
marcos henrich
|
fdd7075c53
|
Added ASTRecordCollector, it can be backtrack from where each declaration and type was visited.
|
12 years ago |
marcos henrich
|
253946c622
|
Parser now adds namespace function parameters.
|
12 years ago |
marcos henrich
|
7dd2771604
|
Removed CheckTypeReferencesPass and TypeRefsVisitor
|
12 years ago |
marcos henrich
|
e168e84d6a
|
Resolved ambiguity of System.Type and CppSharp.AST.Type
|
12 years ago |
marcos henrich
|
32428155e3
|
Fixed enum type print.
|
12 years ago |
marcos henrich
|
4875addfb4
|
Added synthetized check on block generation of ObjectOverridesPass.cs so already existing methods are not modified.
|
12 years ago |
marcos henrich
|
8e34a026b9
|
Changed property Declaration.Name to virtual. Now ClassTemplate shares Name with its TemplatedClass.
|
12 years ago |
marcos henrich
|
10b4cde907
|
Added support to specify with TypeMaps, required includes and forward references of generic types
|
12 years ago |
marcos henrich
|
f738d00738
|
Parser now initializes ClassTemplate's parameters
|
12 years ago |
triton
|
383bfdf670
|
Add work-in-progress ObjectOverrides pass that adds GetHashCode and Equals overrides.
|
12 years ago |
triton
|
252af32318
|
Added first pass at a pass for transforming compatible getters/setters into properties.
|
12 years ago |