1254 Commits (0846bbe735bfcef0a9f8b4818511e06c6a7880f4)

Author SHA1 Message Date
triton c66c34d4a9 Renamed the CLI language generator kind to be more uniform. 13 years ago
triton c93e77166c Added a new option GenerateInternalImports that outputs "__Internal" as the library name for DllImports. Fixes #54. 13 years ago
triton 365862419e Fixed support for classes with trivial default constructors. 13 years ago
triton 871a05511c Added a new pass that checks for ambiguous overloads. 13 years ago
triton caeb1d2f67 Added new pass CheckVirtualOverrideReturnCovariance that checks if a pair of return types in overriden methods are covariant according to the C++ standard. 13 years ago
triton 279c9c83cf Fixed wrapping of null pointers to actually return null CLR references. 13 years ago
triton 60751ee662 Remove the type map finding prints to not clutter the output. 13 years ago
triton 458ef0ce34 Emit a debug info instead of an error for "invalid" operator overloads. 13 years ago
triton 30c5041f92 Cleaned up usings. 13 years ago
triton fb00f8e7b5 Improved the CLI include collector to keep track of originating translation units. 13 years ago
Dimitar Dobrev 0f5e27f939 Fixed a bug that caused the generation of the uncompilable expression "&*IntPtr". 13 years ago
Dimitar Dobrev e0a3cde7a4 Generated protected methods and fields. 13 years ago
Dimitar Dobrev bb07a294f4 Ignored private types. 13 years ago
Dimitar Dobrev 3f7790c67d Fixed the incorrect C++ in the tests for left shift operators. The test still fails, though, now C is always 0. 13 years ago
triton 36d520562e Use references instead of pointers when creating new operator overloads methods. 13 years ago
triton 0fcb5c0226 Optimized/fixed marshaling for fields as there is no need to create a copied instance of the native object. 13 years ago
triton 3771834bdd Fixed marshaling of function pointer typedefs in CLI generator. 13 years ago
triton 8bad119d7d Fixed marshaling of pointers to classes in CLI generator. 13 years ago
triton 2981c497dc Remove extra newline from the output. 13 years ago
triton 17fdab07cb Only add missing operator overloads in C# generator. 13 years ago
triton 02559ed193 Added better support for unary operators. 13 years ago
triton 13c5357e3f Use references instead of pointers when creating new operator overloads methods. 13 years ago
triton cf8eaa3a35 Optimized/fixed marshaling for fields as there is no need to create a copied instance of the native object. 13 years ago
triton aa0a78abf5 Fixed marshaling of function pointer typedefs in CLI generator. 13 years ago
triton 05c020f301 Fixed marshaling of pointers to classes in CLI generator. 13 years ago
triton 0c64c06271 Remove extra newline from the output. 13 years ago
triton f704ca3a05 Only add missing operator overloads in C# generator. 13 years ago
triton a4f1606956 Added better support for unary operators. 13 years ago
Dimitar Dobrev d9bc5bec86 Extended the check for duplicate names to ignore repeated operators since they cannot be renamed. Added an ignored test for an unrelated run-time issue. 13 years ago
Dimitar Dobrev 1fc9880be9 Generated the correct calling convention in the UnmanagedFunctionPointerAttribute of delegates. 13 years ago
Dimitar Dobrev b06f206878 Fixed the generation of static function to use the correct return type. 13 years ago
Dimitar Dobrev 0ae181b2cf Added suffixes to generated variables to avoid conflicts. 13 years ago
Dimitar Dobrev fbe5851237 Added UnmanagedFunctionPointerAttribute to generated delegates to avoid run-time crashes. 13 years ago
Dimitar Dobrev cc77397461 Converted const wchar_t* to string. 13 years ago
Dimitar Dobrev bc14348d5f Generated compilable wrappers for functions taking char*. 13 years ago
triton a5315aeec4 Reworked native C++ pointer type printing. 13 years ago
triton 639fddb0bc Reworked C++/CLI pointer type printing. 13 years ago
Dimitar Dobrev 734b1377f0 Fixed the wrapping of functions taking a function pointer. 13 years ago
Dimitar Dobrev d659f04d9d Generated compilable wrappers for functions taking char*. 13 years ago
triton e8f219c81c Use foreach instead of explicit for. 13 years ago
triton 2916703e4c Refactored enum item generation in CLI backend to use blocks. 13 years ago
triton dc14a5699a Reworked the CheckAbiParameters pass to be a lot more accurate by re-using the previously added support for indirect type information. 13 years ago
triton 8c0c76ca59 Reworked operator overloading support. 13 years ago
triton 7f8f9289a1 Run CheckOperatorsOverloadsPass under both backends. 13 years ago
triton c8abdeb192 Cleaned up operator overload helpers. 13 years ago
triton 14dbe76e9d Run CleanInvalidDeclNamesPass earlier because some later passes need the names to be cleaned up. 13 years ago
triton 5ada754d72 Reworked MoveOperatorToClassPass to be simpler and correct. 13 years ago
triton 6c1e8fdbbf When generating the internal name for a function, take into account its original function. 13 years ago
triton df01104ab7 Fixed GetFunctionNativeIdentifier to work with function operators. 13 years ago
triton a964df9069 Renamed HiddenStructureReturn to IndirectReturnType as it is a lot more clear. 13 years ago