Summary: | Issues with imported C++ classes within a namespace | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | milasudril |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | milasudril, ralf.habacker |
Priority: | NOR | ||
Version: | 2.12.0 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/umbrello/8495de1afb7db8fa6e6ae2e8238161e202474f29 | Version Fixed In: | 2.14.1 (KDE 4.14.1) |
Sentry Crash Report: |
Description
milasudril
2014-01-16 09:54:58 UTC
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 |