Dimitar Dobrev

Results 36 issues of Dimitar Dobrev
trafficstars

The problem is that most enum members of QMetaType::Type are defined using a macro, that is: ``` enum Type { // these are merged with QVariant QT_FOR_EACH_STATIC_TYPE(QT_DEFINE_METATYPE_ID) FirstCoreType = Bool,...

At present we must always first call `Process()` by hand.

Our test of: ```C++ int SBAttachInfo(const char* path, bool wait_for); ``` has its second parameter kept with the same name while it should've been `waitFor`.

Our test comment of: ```C++ /*! @brief Destroys the specified window and its context. * * This function destroys the specified window and its context. On calling * this function,...

Our own test of: ```C++ /** * */ class LinphoneAddress {}; ``` produces the incorrect comment of: ```C# :alice ```

To reproduce, delete the destructors from [`DerivedFromSecondaryBaseWithIgnoredVirtualMethod`](https://github.com/mono/CppSharp/blob/master/tests/Common/Common.h#L1334) and [`SecondaryBaseWithIgnoredVirtualMethod`](https://github.com/mono/CppSharp/blob/master/tests/Common/Common.h#L1325), and run all tests. `TestCodeGeneration` is going to crash because of [the line where `DerivedFromSecondaryBaseWithIgnoredVirtualMethod` is destroyed](https://github.com/mono/CppSharp/blob/master/tests/Common/Common.Tests.cs#L70). The crash occurs only...

When a method which can be converted to a getter (of a property) returns an object by value, syntax such as: ```C# obj.Property.Subproperty = value; ``` doesn't work because the...

In Unix we can have libraries named `libtest.so.1.0.1`. Since each dot forms an extension, [our current code](https://github.com/mono/CppSharp/blob/c7fb59769f40717b2e64d620f8bd90148d121102/src/CppParser/Parser.cpp#L4578) wouldn't cope and would fail to find the library. We need more flexibility...

Clang has a flag named `-femit-all-decls` which generates symbols for any inlined and any used implicit functions. Combined with `-O`, it removes private ones. This allows for much simpler generated...

When disposing of objects created in C++, we already call the destructor but this is literally calling the destructor – it doesn't free the allocated memory unlike deleting in C++....