1. 24 Feb, 2017 2 commits
  2. 20 Feb, 2017 2 commits
  3. 18 Feb, 2017 1 commit
  4. 17 Feb, 2017 1 commit
    • Ralf Habacker's avatar
      Extracted object diagram support from frameworks branch. · 28b76060
      Ralf Habacker authored
      This patch already contains a few fixes:
      - added missing copyright header
      - Fix api changes (constructor)
      
      Open issues:
      - Instance related setup in ClassGeneralPage seems
        to be duplicated -> needs review
      - missing icons for instance in tool bar
      - missing icons for object diagram in diagram toolbar list
      
      To test:
      - test load/save
      
      
      CCBUG:123633
      28b76060
  5. 04 Jan, 2017 2 commits
  6. 03 Jan, 2017 1 commit
    • Ralf Habacker's avatar
      Make UMLObject::asUMLxxx() methods able to handle zero pointer as parameter on windows. · 5b81af75
      Ralf Habacker authored
      gcc implementation of dynamic_cast consists of an inline part and a
      function performing the real cast.
      
      On linux (and may be other platforms) the inline part checks against
      null pointer parameter. This check is missing in the related windows
      implementation (at least with gcc 6.2) and results into a segfault
      on accessing the virtual table in the casting function.
      
      The fix is done using a gcc asm statement to prevent removing by the
      optimizer because 'this' parameter is marked as 'notnull' by default.
      
      This patch includes also a few dynamic_cast checks added to the unit
      tests.
      
      BUG:373911
      FIXED-IN:2.21.1 (KDE Applications 16.12.1)
      5b81af75
  7. 04 Nov, 2016 1 commit
  8. 21 Oct, 2016 1 commit
  9. 12 Sep, 2016 1 commit
    • Ralf Habacker's avatar
      Fix crash on cleanup of TEST_umlobject. · 4dcf2cfc
      Ralf Habacker authored
      Removing of UMLObject instance from objects model should be done
      before partial deleting the instance.
      
      In TestBase::cleanupTestCase() delete UMLApp instance at last.
      4dcf2cfc
  10. 09 Sep, 2016 2 commits
  11. 07 Sep, 2016 2 commits
  12. 06 Sep, 2016 5 commits
  13. 02 Sep, 2016 1 commit
  14. 08 Feb, 2016 1 commit
  15. 19 Aug, 2015 1 commit
  16. 17 Jul, 2015 1 commit
  17. 13 Jun, 2015 1 commit
  18. 12 Jun, 2015 2 commits
  19. 29 May, 2015 1 commit
  20. 20 May, 2015 1 commit
  21. 23 Mar, 2015 1 commit
    • Ralf Habacker's avatar
      Fix 'Dangling pointer issue on document close'. · 49aaa21f
      Ralf Habacker authored
      Guard access to UMLObject::m_pSecondary with QPointer.
      Also use dynamic_cast instead of static_cast for access
      to m_pSecondary to make sure the cast returns zero on
      invalid types. Using static_casts may result into
      invalid casted objects.
      
      BUG:345388
      FIXED-IN:2.15.97 (KDE 15.03.97)
      49aaa21f
  22. 29 Dec, 2014 1 commit
    • Ralf Habacker's avatar
      Fix bug 'Incorrect property dialog display for class attributes, methods,... · f215461b
      Ralf Habacker authored
      Fix bug 'Incorrect property dialog display for class attributes, methods, enumeration values or key constrains in tree view'.
      
      Details:
      - Move up virtual method showPropertiesDialog() from ClassifierItemList to UMLObject
         to have properties dialog support for all uml objects.
      - Add default value to parent attribute of showPropertiesDialog().
      - Implement missing methods showPropertiesDialog() used by the tree and the code editor
      - Implement fall back method showPropertiesDialog() to UMLObject.
      - Remove obsolate method showPropertiesPagedDialog(), which did not work as documented since KDE 4.0.
      
      BUG:342303
      FIXED-IN:2.15.1 (KDE 14.12.1)
      f215461b
  23. 22 Dec, 2014 2 commits
  24. 11 Dec, 2014 1 commit
    • Ralf Habacker's avatar
      Add class UMLStereotypeWidget for editing stereotypes. · 334c1250
      Ralf Habacker authored
      Use this widget in
       - general page of classifer widget dialog
       - in parameter properties dialog
       - in template dialog
       - in uml attribute dialog
       - in entity attribute dialog
       - in uml operation dialog
      
      Having common widgets gives unique user experience and
      makes it possible to suppport different layouts.
      
      CCBUG:73847
      334c1250
  25. 09 Dec, 2014 1 commit
    • Ralf Habacker's avatar
      Add class UMLStereotypeWidget for editing stereotypes. · aede266a
      Ralf Habacker authored
      Use this widget in
       - general page of classifer widget dialog
       - in parameter properties dialog
       - in template dialog
       - in uml attribute dialog
       - in entity attribute dialog
       - in uml operation dialog
      
      Having common widgets gives unique user experience and
      makes it possible to suppport different layouts.
      
      CCBUG:73847
      aede266a
  26. 22 Nov, 2014 1 commit
  27. 08 Oct, 2014 1 commit
  28. 25 Jul, 2014 1 commit
    • Oliver Kellogg's avatar
      (In reply to Oliver Kellogg from comment #73) · 811994e7
      Oliver Kellogg authored
      > Created attachment 87920 [details]
      > Demo file for the format generated by Embarcadero's "Describe" UML tool
      > [...]
      > Umbrello does not complain on loading - but nothing is actually imported.
      
      The following changes add support for loading the demo file:
      
      umbrello/{association,classifier,enum,operation,package}.cpp function load()
      - Support special tags used by Embarcadero Describe.
      
      umbrello/object_factory.cpp function makeObjectFromXMI()
      - Support association special tag <UML:Aggregation> used by Embarcadero.
      
      umbrello/umldoc.cpp
      - In function loadFromXMI(), support <UML:Model> equivalent tag <UML:Project>
        used by Embarcadero Describe.
      - In function loadUMLObjectsFromXMI(), support <UML:Namespace.ownedElement>
        equivalent tag <UML:Element.ownedElement> used by Embarcadero Describe.
      
      umbrello/umlobject.cpp fuction loadFromXMI()
      - Generate new UniqueID for all cases of non existent xmi id.
      - Downgrade non existence of xmi.id from error to warning.
      
      CCBUG:56184
      811994e7
  29. 09 Jul, 2014 1 commit