653 Commits (b5fc658888b3fe46e751772e71b1dcf243b2778a)

Author SHA1 Message Date
Dimitar Dobrev 816c946790 Added a hard-coded for the time being option indicating whether the wrapped lib is 32-bit and used that option to generate the v-table offsets. 12 years ago
Dimitar Dobrev 19cb1f5470 Added an off by default option for generating abstract implementations because the MS ABI branch does not always work. 12 years ago
Dimitar Dobrev 463864e71c Moved the generation of a virtual table call to a separate function, for independence on back-ends. 12 years ago
Dimitar Dobrev 449777e245 Replaced a hard-coded variable name. 12 years ago
Dimitar Dobrev dfff92bb9f Moved the getting of the access of a class as a string to a separate function. 12 years ago
Dimitar Dobrev da6887ff07 Fixed the allocation of internal abstract implementations, and fixed their constructors to take a pointer to the abstract type. 12 years ago
Dimitar Dobrev 4cfcfa1b16 Corrected the implementation of abstract methods to properly handle classes, instance arguments and indirect return types. 12 years ago
Dimitar Dobrev 9752096a4c Fixed a bug in MS mode and added a test. 12 years ago
Dimitar Dobrev 06e69225b9 Implemented the MS branch of the abstract implementations. 12 years ago
Dimitar Dobrev a3869c95c5 Generated the proper return statements in the abstract implementations. 12 years ago
Dimitar Dobrev 6d2c0eaed8 Generated internal implementations of abstract classes in a new pass. 12 years ago
triton f5622306b6 Fixed CLITypeReferenceCollector to work correctly with nested namespaces. 12 years ago
triton 14718b915f Added a ToString() to CLITypeReference for better debug output. 12 years ago
triton 17a8a4cbdc Fixed generation of native object instantiation to use the original names. 12 years ago
triton c66c34d4a9 Renamed the CLI language generator kind to be more uniform. 12 years ago
triton c93e77166c Added a new option GenerateInternalImports that outputs "__Internal" as the library name for DllImports. Fixes #54. 12 years ago
triton 365862419e Fixed support for classes with trivial default constructors. 12 years ago
triton 279c9c83cf Fixed wrapping of null pointers to actually return null CLR references. 12 years ago
triton fb00f8e7b5 Improved the CLI include collector to keep track of originating translation units. 12 years ago
Dimitar Dobrev 0f5e27f939 Fixed a bug that caused the generation of the uncompilable expression "&*IntPtr". 12 years ago
triton 0fcb5c0226 Optimized/fixed marshaling for fields as there is no need to create a copied instance of the native object. 12 years ago
triton 3771834bdd Fixed marshaling of function pointer typedefs in CLI generator. 12 years ago
triton 8bad119d7d Fixed marshaling of pointers to classes in CLI generator. 12 years ago
triton 2981c497dc Remove extra newline from the output. 12 years ago
triton 02559ed193 Added better support for unary operators. 12 years ago
triton cf8eaa3a35 Optimized/fixed marshaling for fields as there is no need to create a copied instance of the native object. 12 years ago
triton aa0a78abf5 Fixed marshaling of function pointer typedefs in CLI generator. 12 years ago
triton 05c020f301 Fixed marshaling of pointers to classes in CLI generator. 12 years ago
triton 0c64c06271 Remove extra newline from the output. 12 years ago
triton a4f1606956 Added better support for unary operators. 12 years ago
Dimitar Dobrev 1fc9880be9 Generated the correct calling convention in the UnmanagedFunctionPointerAttribute of delegates. 12 years ago
Dimitar Dobrev b06f206878 Fixed the generation of static function to use the correct return type. 12 years ago
Dimitar Dobrev 0ae181b2cf Added suffixes to generated variables to avoid conflicts. 12 years ago
Dimitar Dobrev fbe5851237 Added UnmanagedFunctionPointerAttribute to generated delegates to avoid run-time crashes. 12 years ago
Dimitar Dobrev cc77397461 Converted const wchar_t* to string. 12 years ago
Dimitar Dobrev bc14348d5f Generated compilable wrappers for functions taking char*. 12 years ago
triton 639fddb0bc Reworked C++/CLI pointer type printing. 12 years ago
Dimitar Dobrev 734b1377f0 Fixed the wrapping of functions taking a function pointer. 12 years ago
Dimitar Dobrev d659f04d9d Generated compilable wrappers for functions taking char*. 12 years ago
triton e8f219c81c Use foreach instead of explicit for. 12 years ago
triton 2916703e4c Refactored enum item generation in CLI backend to use blocks. 12 years ago
triton 8c0c76ca59 Reworked operator overloading support. 12 years ago
triton 7f8f9289a1 Run CheckOperatorsOverloadsPass under both backends. 12 years ago
triton c8abdeb192 Cleaned up operator overload helpers. 12 years ago
triton 5ada754d72 Reworked MoveOperatorToClassPass to be simpler and correct. 12 years ago
triton 6c1e8fdbbf When generating the internal name for a function, take into account its original function. 12 years ago
triton df01104ab7 Fixed GetFunctionNativeIdentifier to work with function operators. 12 years ago
triton a964df9069 Renamed HiddenStructureReturn to IndirectReturnType as it is a lot more clear. 12 years ago
Dimitar Dobrev a9d8e8bf03 Removed the hard-coded "__" from the CLI back-end. 12 years ago
Dimitar Dobrev 5208fafef7 Moved GeneratedIdentifier to the base Generator so that the former is available to all back-ends. 12 years ago