70 Commits (364ea2660f1a17fc190cfd17898cc13454eb1470)

Author SHA1 Message Date
Abhinav Tripathi 364ea2660f Fixed code gen for out Parameters. 10 years ago
Dimitar Dobrev 922c329d78 Fixed uncompilable code when a virtual function has a param called "target". 10 years ago
triton dc213e3b99 Fixed Basic tests linking in C++/CLI backend. 10 years ago
Dimitar Dobrev cafc14ffed Moved the initialisation of a variable to the cpp so that it works properly on Linux. 10 years ago
Dimitar Dobrev fa58aea3f0 Removed all remaining inlined bodies in order to fix the tests on Linux. 10 years ago
Dimitar Dobrev 9d78f5386d Fixed a crash on Mono when marshalling types with no fields. 10 years ago
Dimitar Dobrev 86bd6bd118 Fixed the names when marshalling enum parameters in the C# end. 10 years ago
Dimitar Dobrev 25f2b4a1f9 Prevented any change of access for inherited virtual properties. 10 years ago
Chris Spencer e3a88f9136 Fix the anonymous delegates pass so it doesn't generate duplicate delegates when the same namespace is used in multiple translation units. 10 years ago
Chris Spencer d5d17e3ca1 Fix issue with includes not being generated for delegates defined in a different file. 10 years ago
Chris Spencer 0c535d361b Generate delegates for non-typedef'd function pointers to prevent runtime exceptions during marshalling. 10 years ago
Dimitar Dobrev d2189fa5a7 Moved the improved test for friends to Basic because it's not C#-specific. 11 years ago
Dimitar Dobrev 6fb15efd50 When checking const-ness for ambiguity, ensure parameters are the same. 11 years ago
Dimitar Dobrev b6e5fe3c0e Parsed friendly non-type declarations. 11 years ago
Dimitar Dobrev e6223a1c4c Fixed 4 bugs related to custom comparison operators. 11 years ago
Dimitar Dobrev f1c0d7a82a Fixed the ambiguity in the C++/CLI branch when a native ctor takes anything mapped to IntPtr. 11 years ago
Dimitar Dobrev 011cdf2ae6 Fixed invalid code generated for typedef pointer params by the C++/CLI back-end. 11 years ago
Dimitar Dobrev 9e5be9e92c Added the ability to only enable a given type map for a selected back-end. 11 years ago
Dimitar Dobrev d35a81c1f6 Ensured the UnmanagedFunctionPointerAttribute is always set on generated delegates. 11 years ago
Dimitar Dobrev 7a68a1c9c0 Fixed a crash when parsing va_list in a GCC 64-bit environment. 11 years ago
Dimitar Dobrev 1387b636e2 Replaced the usage of memcpy with a simple dereference assignment. 11 years ago
Dimitar Dobrev 01bc87bde9 Added a check for ignored ctors. 11 years ago
Dimitar Dobrev a7d0ef13f9 Removed a needless renaming of parameters. 11 years ago
Tom Spilman 27a2016f8a Added reference test case. 11 years ago
Tom Spilman 7e8f743228 Fixed const char string CS_IN_OUT case. 11 years ago
Tom Spilman 4bddc0798b Added StringOutRef test. 11 years ago
Tom Spilman d4e4aaffad Fixed CLI and CSharp support for out parameter const char strings. 11 years ago
Tom Spilman 9159e531f4 Added EnumInOut tests. 11 years ago
Dimitar Dobrev e4b860c053 Fixed wrong code generated for indexers in value types. 11 years ago
Tom Spilman 5e63406de0 Added tests for out enums. 11 years ago
Tom Spilman 51fa468cfa Added unit test for in/out for primitive parameters. 11 years ago
Tomi Valkeinen 13dc201053 Basic: fix compile warning 11 years ago
triton 69b8b6e6d0 Move the definitions to the header again, but provide them at global scope. 11 years ago
triton a33277f233 Moved some tests definitions from the header to the source file. 11 years ago
Elias Holzer d8b855bfe6 Fixed handling of primitive pointer types. 11 years ago
Dimitar Dobrev 72089a499e Marshalled C++ char as Mono/.NET char instead of sbyte for a more friendly API. 12 years ago
Dimitar Dobrev 7477b90023 Moved the tests for copy ctors to separate classes. 12 years ago
Dimitar Dobrev fee1809ca5 Wrapped copy constructors. 12 years ago
triton 819df6a2a2 Fixed CLI generation with references to pointers types (added a test). 12 years ago
Dimitar Dobrev c853db5d34 Ignored operators which cannot be moved to a class because C# requires operators to be in their containing type. 12 years ago
triton a8c6e1f140 Fixed a problem with class operators not being correctly promoted to class operators. 12 years ago
Dimitar Dobrev d583b489a3 Fixed the returning of empty values when the returned type is a structure. 12 years ago
Dimitar Dobrev 06b83ee3fc Changed the generation of method bodies to avoid duplication of local variables when a fixed instance is required. 12 years ago
triton 6bf0ae980c Changed attributed types test to be CLI-only for now since Clang currently fails with some mangling bugs. 12 years ago
triton 6402c3ca55 Added support for C++ attributed types to the parser, AST ,generators and tests. 12 years ago
Dimitar Dobrev 3cf6c7b3f1 Added a test for the pass that moves functions to a class. 12 years ago
Dimitar Dobrev 2b77361d89 Reverted the hack about filling the empty names of parameters explicitly for function types. Added tests for this regression and another one caused by the changed around the introduction of FunctionType.Arguments. 12 years ago
triton fed9031775 Fixed support for C++ conversion operators. 12 years ago
triton 6bbe864a2c Removed enum class in the new nested type test since it's not supported by VS2010. 12 years ago
triton c7b7e2c703 Fixed generation of nested declarations in classes. 12 years ago