1. 07 Oct, 2018 1 commit
    • Bernd Buschinski's avatar
      Fix discovery of clang builtin directory with clang svn versions · 6da2caac
      Bernd Buschinski authored
      The CLANG_VERSION for svn clang versions have a svn suffix "8.0.0svn" and all the libraries have a svn suffix.
      But not the in builtin include dir. It still points to
      without the suffix.
      Extend the PATH_SUFFIXES to also looks a version without svn suffix.
      BUG: 399439
      Test Plan:
      - install clang-svn
      - execute cmake .. (for kdevelop)
      -> it will fail
      Reviewers: #kdevelop, kfunk
      Reviewed By: #kdevelop, kfunk
      Subscribers: kdevelop-devel
      Tags: #kdevelop
      Differential Revision: https://phabricator.kde.org/D15998
  2. 04 Oct, 2018 1 commit
    • Bernd Buschinski's avatar
      Use CLANG_INCLUDE_DIRS for clang include dir · 716372ae
      Bernd Buschinski authored
      Use CLANG_INCLUDE_DIRS for clang include dir instead of manually building it.
      This fixes the error:
      kdevplatform.shell: Could not load plugin "kdevclangsupport" , it reported the error: "The clang builtin include path \"/usr/lib64/llvm/7/lib64/clang/7.0.0/include\" is invalid (missing cpuid.h header).\nTry setting the KDEV_CLANG_BUILTIN_DIR environment variable manually to fix this.\nSee also: https://bugs.kde.org/show_bug.cgi?id=393779" Disabling the plugin now.
      As CMake with CLANG_INCLUDE_DIRS already tests if this folder is present, it should work across all distros.
      CCBUG: 393779
      Reviewers: #kdevelop, kfunk
      Reviewed By: #kdevelop, kfunk
      Subscribers: mwolff, aaronpuchert, brauch, kossebau, kfunk, arrowd, kdevelop-devel
      Tags: #kdevelop
      Differential Revision: https://phabricator.kde.org/D15895
  3. 01 Oct, 2018 1 commit
    • Kevin Funk's avatar
      cmake: Detect Clang 7 and 8 · 4dba8251
      Kevin Funk authored
      Note: Looks like like recent versions of llvm-config no longer have a minor
      version suffix. Examples:
      - llvm-config-8
      - llvm-config-7
      - llvm-config-6.0
      - ...
  4. 22 Aug, 2018 1 commit
    • Anton Anikin's avatar
      Initial version of Clazy analyzer plugin · e25b145a
      Anton Anikin authored
      Clazy is a compiler plugin which allows clang to understand Qt semantics. You get more than 50 Qt related compiler warnings, ranging from unneeded memory allocations to misusage of API, including fix-its for automatic refactoring.
      The plugin allows you to check project's code with clazy checker. Runtime dependencies:
      - `clazy-standalone` (clazy part)
      - installed clazy docs (used to building checks DB with errors descriptions)
      - `make` (for parallel checking)
      - `compile_commands.json` present in project's build directory
      Plugin's GUI provides easy way to clazy configuration, enabling/disabling checks and so on.
      Test Plan:
      Works as expected on my neon-useredition system (Ubuntu Xenial) with
      Qt 5.11.1, kdevelop (git/master) and clazy (git/master).
      Reviewers: #kdevelop, kossebau
      Reviewed By: #kdevelop, kossebau
      Subscribers: arrowd, mwolff, apol, kfunk, brauch, pino, kossebau, kdevelop-devel
      Tags: #kdevelop
      Differential Revision: https://phabricator.kde.org/D14288
  5. 27 Jul, 2018 1 commit
  6. 08 May, 2018 4 commits
  7. 18 Apr, 2018 1 commit
  8. 13 Sep, 2017 1 commit
  9. 04 Aug, 2017 2 commits
  10. 13 Jul, 2017 2 commits
    • Kevin Funk's avatar
      Set real KDevPlatform version on the libraries · 3a979f6a
      Kevin Funk authored
      Problem *before* this patch: On macOS, KDevPlatform libs showed up like
      this in `otool -L`:
      .../libKDevPlatformUtil.10.dylib (compatibility version 10.0.0, current version 10.0.0)
      Compare to KF5 libs:
      .../libKF5ItemModels.5.dylib (compatibility version 5.0.0, current version 5.33.0)
      We'd like to have '5.2.0' as 'current version' instead.
      Note: This doesn't have an effect on the SONAME of the library, so
      should be harmless from a packaging point of view
      Reviewers: ltoscano, jriddell, asturmlechner, maximilianocuria, rdieter, lbeltrame
      Subscribers: kdevelop-devel
      Differential Revision: https://phabricator.kde.org/D6667
    • Friedrich W. H. Kossebau's avatar
  11. 08 Jul, 2017 2 commits
  12. 17 Jun, 2017 1 commit
  13. 28 Apr, 2017 2 commits
  14. 09 Dec, 2016 2 commits
  15. 01 Aug, 2016 3 commits
  16. 25 Jul, 2016 1 commit
  17. 13 Jul, 2016 1 commit
  18. 28 Jun, 2016 1 commit
  19. 21 Jun, 2016 1 commit
  20. 29 Apr, 2016 1 commit
  21. 09 Apr, 2016 1 commit
  22. 03 Mar, 2016 1 commit
  23. 14 Jan, 2016 1 commit
    • Artur Puzio's avatar
      Brought Okteta plugin back to life · 1caeea13
      Artur Puzio authored
      The changes consist of ending porting to KF5 and porting to the new Okteta API.
      - CmakeLists fixed (new library names)
      - Includes fixed (now referencing to a okteta and kasten subdirectories is required)
      - Renamed all Kasten2 to Kasten (Kasten2 was renamed to Kasten)
      - Small changes to end porting to KF5
      - Removed code for Kasten1, old "Kasten" and removed cheching of KASTEN_VERSION define (dropped support for very old Okteta version)
      - Removed KASTEN_NAMESPACE define and oktetaglobal.h as this made it empty
      - Changed from .desktop to .json (support for .dektop files of plugins in Kdevelop was dropped)
      Test Plan:
      Basic features seam to work.
      It's hard for me to check it fully as I don't know about all of the futures.
      Reviewers: kossebau, kfunk
      Reviewed By: kfunk
      Subscribers: kdevelop-devel
      Differential Revision: https://phabricator.kde.org/D817
  24. 05 Jan, 2016 1 commit
  25. 22 Dec, 2015 1 commit
    • Kevin Funk's avatar
      CMake: Modernize Clang/LLVM find scripts · 49391d8a
      Kevin Funk authored
      - Introduce LLVM_INSTALL_PREFIX
      - Fix compilation with self-built non-installed LLVM/Clang
  26. 17 Dec, 2015 2 commits
  27. 16 Dec, 2015 1 commit
    • Kevin Funk's avatar
      Modernize CMake code · 2f912b54
      Kevin Funk authored
      Auto-generate CMake config files, etc.
      First public target: KDev::IMakeBuilder (library interface)
  28. 07 Dec, 2015 1 commit
  29. 01 Dec, 2015 1 commit
    • Kevin Funk's avatar
      FindClang.cmake: Introduce CLANG_LIBCLANG_LIB · 3d08e545
      Kevin Funk authored
      - Handle it separately, it's a C lib after all
      - Don't add libclang to CLANG_LIBS
      - Search for libclang.dll on Windows -> fixes Windows support