1. 21 Nov, 2017 1 commit
  2. 20 Nov, 2017 3 commits
    • Kevin Funk's avatar
      test_kdevformatsource: Fix crash on Windows · 0e43fa96
      Kevin Funk authored
      Unit test is still not fixed though.
      
      Problem:
      ```
      22:30:32 FAIL!  : KDevelop::TestKdevFormatSource::testNoCommands()
      Compared values are not the same
      22:30:32    Actual   (initTest(formatFileData)): 0
      22:30:32    Expected (true)                    : 1
      22:30:32 C:\CI\workspace\KDevelop kdevelop stable-kf5-qt5
      WindowsMSVCQt5.9\kdevplatform\util\tests\test_kdevformatsource.cpp(53) :
      failure location
      22:30:32 QFATAL : KDevelop::TestKdevFormatSource::testNoCommands()
      ASSERT failure in QTest::fetchData(): "Test data requested, but no
      testdata available.", file
      C:\CM-Build\MSVCQt5.9\build\libs\qt5\qtbase\work\qtbase-opensource-src-5.9.1\src\testlib\qtestcase.cpp,
      line 1105
      ```
      0e43fa96
    • Kevin Funk's avatar
      Fix crash deep inside VcsOverlayProxyModel::data() · 6d4591fb
      Kevin Funk authored
      Summary:
      VcsOverlayProxyModel::data() calls ProjectController::changesModel()
      which currently is a non-const method which might create an instance
      of ProjectChangesModel which in turn triggers some KJobs.
      
      Avoid that by instantiating ProjectChangesModel() immediately during
      startup. I don't think that has a real performance impact.
      
      BUG: 384162
      FIXED-IN: 5.2.1
      
      Reviewers: apol
      
      Reviewed By: apol
      
      Subscribers: mwolff, dfaure, brauch, apol, kdevelop-devel
      
      Differential Revision: https://phabricator.kde.org/D8852
      6d4591fb
    • Sven Brauch's avatar
      compute itemrepository version from version plus KDEVELOP_VERSION · 53ec893e
      Sven Brauch authored
      This ensures that for each release, we clear the item repository.
      In the past, we had various issues related to old caches -- this change
      should avold that, since we no longer need to remember to bump the
      ITEMREPOSITORY_VERSION variable on each release.
      
      Changing ITEMREPOSITORY_VERSION is still possible to force a clear even
      if KDEVELOP_VERSION is untouched.
      53ec893e
  3. 19 Nov, 2017 1 commit
    • Milian Wolff's avatar
      Don't add the same targets multiple times for nested CMake projects · c2f9b5f2
      Milian Wolff authored
      When we import a cmake project folder and that contains nested
      CMake projects, we ended up showing the same target multiple times,
      since the CMake server output will reference the same targets for
      the parent project and then again for the nested project(s).
      
      Ensure the targets are only added once to fix this issue.
      
      BUG: 387095
      c2f9b5f2
  4. 18 Nov, 2017 2 commits
    • Friedrich W. H. Kossebau's avatar
      448a640b
    • Milian Wolff's avatar
      kdev-clang: Offer all include paths for code completion · 015141e3
      Milian Wolff authored
      We used to only offer code completion of project paths for local
      code completion in `#include "..."` contexts. And for vice versa,
      we only offered system paths for global code completion in
      `#include <...>` contexts. This is wrong, as the include style
      only changes the order in which a compiler iterates through these
      paths to find an include file. For code completion purposes, this
      is not important.
      
      Now we offer code completion in both path lists always. To show the
      user the right file/dir being included, we don't sort and unify the
      search path list anymore as that potentially changes the final result.
      Rather, we use a hash set to ensure we don't encounter paths multiple
      times and iterate over the search path lists in their original order.
      
      BUG: 386421
      015141e3
  5. 17 Nov, 2017 9 commits
  6. 16 Nov, 2017 8 commits
  7. 15 Nov, 2017 5 commits
  8. 14 Nov, 2017 1 commit
  9. 13 Nov, 2017 2 commits
  10. 10 Nov, 2017 2 commits
  11. 08 Nov, 2017 3 commits
  12. 07 Nov, 2017 1 commit
  13. 05 Nov, 2017 1 commit
  14. 04 Nov, 2017 1 commit