1. 16 Feb, 2020 1 commit
  2. 11 Feb, 2020 2 commits
  3. 08 Feb, 2020 2 commits
  4. 06 Feb, 2020 6 commits
  5. 04 Feb, 2020 4 commits
  6. 02 Feb, 2020 1 commit
  7. 12 Jan, 2020 3 commits
    • Oliver Kellogg's avatar
      Improvement to import of incomplete Java source code: · 8c1bfa64
      Oliver Kellogg authored
      umbrello/model_utils.cpp
      - In function findUMLObject, if object names match but types are
        different then add further test:
        If the source object is a Package or a Class and the found object has
        the class-or-package stereotype applied then return the found object.
      
      CCBUG:416178
      8c1bfa64
    • Oliver Kellogg's avatar
      Improve creation of generalization with parent provided as string: · f2390461
      Oliver Kellogg authored
      umbrello/codeimport/import_utils.cpp
      - In function createGeneralization(UMLClassifier*, const QString&),
        if parentName contains a scope separator then
        - split the qualified name into its parts using the scope separator
          as the divider;
        - save the last element of the split list as className and pop that
          element off the list;
        - declare local variables `parent' and `current' of type UMLPackage*;
        - iterate over the list and create each package path segment using
          the 7 argument form of Import_Utils::createUMLObject();
        - on iterating, use the variables `parent' and `current' to track
          the UML packages created, such that the path segments are assembled
          with the proper hierarchical nesting;
        - after the package creation loop, create the className object using
          the 7 argument form of Import_Utils::createUMLObject() and using
          `parent' as the parent package.
      
      BUG:416178
      f2390461
    • Oliver Kellogg's avatar
      Optmization in JavaImport: Skip object creation for method "void" return · 616c0ec3
      Oliver Kellogg authored
      umbrello/codeimport/javaimport.cpp
      - In function parseStmt(), on parsing a type name (of a member of class
        or interface, or return type an operation), call resolveClass only if
        typeName is not "void".
      
      CCBUG:416178
      616c0ec3
  8. 11 Jan, 2020 3 commits
    • Oliver Kellogg's avatar
      Fix crash on importing Java code attached to bug 368453: · 372b1e02
      Oliver Kellogg authored
      The example uses the global scope and JavaImport crashes on adding
      objects in the global scope without prior defined Java package.
      
      umbrello/codeimport/import_utils.{h,cpp}
      - Add function globalScope() returning the package of the global scope.
      
      umbrello/codeimport/nativeimportbase.cpp
      - In function parseFile() do not push a null pointer as the global
        scope; instead, push Import_Utils::globalScope().
      
      CCBUG:368453
      372b1e02
    • Oliver Kellogg's avatar
      Followup to commit 0459a736 addresses comment #2 : · 2a01d534
      Oliver Kellogg authored
      umbrello/basictypes.cpp
      - In function toExtensions() handle all enum values.
      
      umbrello/codeimpwizard/codeimpselectpage.cpp
      - In function changeLanguage() use function
        Uml::ProgrammingLanguage::toExtensions().
      
      CCBUG: 374124
      2a01d534
    • Oliver Kellogg's avatar
      Fix broken file selection for PHP and SQL in code import wizard: · 0459a736
      Oliver Kellogg authored
      umbrello/codeimpwizard/codeimpselectpage.cpp
      - In changeLanguage() handle all cases of Uml::ProgrammingLanguage enum.
      
      BUG:335566
      BUG:374124
      
      FIXED-IN:2.30.2 (KDE Applications 19.12.2)
      0459a736
  9. 10 Jan, 2020 2 commits
    • Oliver Kellogg's avatar
      Merge branch 'release/19.12' into 'release/19.12' · a1986485
      Oliver Kellogg authored
      [Bug 398082] Fix endless loop on importing mysql schema
      
      See merge request !3
      a1986485
    • Oliver Kellogg's avatar
      Fix endless loop on importing mysql schema: · cd594e1b
      Oliver Kellogg authored
      umbrello/codeimport/sqlimport.cpp
      - Replace variable `index' by constant `origIndex' located inside the
        while-loop.
      - In loop condition replace QLatin1String("COMMENT") by
        QLatin1String("comment").
      - After end of while-loop, if token contains COMMENT then advance until
        it contains "," or ")".
      
      BUG:398082
      FIXED-IN:2.30.2 (KDE Applications 19.12.2)
      cd594e1b
  10. 09 Jan, 2020 2 commits
  11. 08 Jan, 2020 4 commits
  12. 06 Jan, 2020 1 commit
  13. 05 Jan, 2020 9 commits