For project with several classes (testcase https://github.com/milasudril/gabi/tree/wand-reorg), classes within the Wand namespace cannot be added to the canvas. The classes also shows up in the global namespace (sometimes more than once) It is not confused by WAND directives: This example works: #ifdef __WAND__ target[name[test.h]type[include]] #endif namespace Foo { class Bar { public: void doStuff(); private: int* bar; }; } Reproducible: Always Steps to Reproduce: 1. git clone https://github.com/milasudril/gabi -b wand-reorg /some/folder 2. Select all source/*.h in the code import wizard 3. Try to draw the classes in the Wand namespace to the canvas. Actual Results: Stop sign beneth the cursur. No class shows up. Expected Results: A green + sign beneth the cursur. The class should be visible on the canvas.
could be reproduced with git master
after dragging the debug message similar to the shown below are displayed umbrello(19961) UMLScene::dragEnterEvent: object "X00dsQcbqENM" not found
Git commit 6d142956eb33e7f80e9ce3dff576da62cc007bcc by Ralf Habacker. Committed on 03/07/2014 at 20:33. Pushed by habacker into branch 'master'. Fix incomplete uml object generating on c++ import when a class contains a typedef to itself. Example: class Bar { public: typedef Bar* (*Foo)(); }; M +7 -3 umbrello/codeimport/kdevcppparser/cpptree2uml.cpp http://commits.kde.org/umbrello/6d142956eb33e7f80e9ce3dff576da62cc007bcc
Git commit 288fc91220aaa75110ba35e1655fa10ce3ab3eea by Ralf Habacker. Committed on 04/07/2014 at 17:32. Pushed by habacker into branch 'master'. Check against zero namespace pointer. M +2 -1 umbrello/codeimport/kdevcppparser/cpptree2uml.cpp http://commits.kde.org/umbrello/288fc91220aaa75110ba35e1655fa10ce3ab3eea
Git commit 8495de1afb7db8fa6e6ae2e8238161e202474f29 by Ralf Habacker. Committed on 04/07/2014 at 17:14. Pushed by habacker into branch 'master'. Avoid duplicate Invoker and other classes from importing bug 330018 testcase. It was required to refactor the newly added 'doNotSearch' Import_Utils::createUMLObject() parameter to a real 'searchInParentPackageOnly' strategy. This enables classes with the same name in different name spaces. Related: bug 368810 M +9 -9 umbrello/codeimport/import_utils.cpp M +1 -1 umbrello/codeimport/import_utils.h http://commits.kde.org/umbrello/8495de1afb7db8fa6e6ae2e8238161e202474f29