1. 25 Feb, 2019 1 commit
  2. 16 Nov, 2018 1 commit
    • Friedrich W. H. Kossebau's avatar
      Disable plugin project config if project without a IBuildSystemManager dep · a3c782ac
      Friedrich W. H. Kossebau authored
      The Clazy plugin relies on the project providing a buildsystem manager
      to query for the toplevel build directory. If a project has no such manager,
      showing the Clazy plugin config pages in the project settings has no
      As a session might contain different projects, some with a buildsystem
      manager, some without, simply disabling the Clazy plugin might not be
      wanted for the projects with a buildsystem manager.
      So we need to have some condition whether to show some plugins per-project
      config pages or not.
      For a start, motivated by the crash with the Clazy plugin which has a
      hard assumption of project->buildSystemManager() being != nullptr,
      this patch adds to the code to collect the config pages for the project
      settings dialog some special code which makes use of the plugin metadata
      to skip plugins which require a org.kdevelop.IBuildSystemManager, if
      there is no buildsystem manager available for the project.
      As well adds the (so far missing) entry
      X-KDevelop-IRequired: [org.kdevelop.IBuildSystemManager]
      to the metadata.
      BUG: 400769
      Test Plan:
      Clazy config is no longer shown in the project settings dialog if the
      project is used with the generic project manager.
      Reviewers: #kdevelop, apol
      Reviewed By: #kdevelop, apol
      Subscribers: kfunk, kdevelop-devel
      Tags: #kdevelop
      Differential Revision: https://phabricator.kde.org/D16915
  3. 28 Oct, 2018 2 commits
  4. 24 Oct, 2018 2 commits
  5. 22 Oct, 2018 2 commits
  6. 22 Sep, 2018 2 commits
  7. 11 Sep, 2018 1 commit
  8. 09 Sep, 2018 1 commit
  9. 06 Sep, 2018 2 commits
  10. 04 Sep, 2018 2 commits
  11. 03 Sep, 2018 2 commits
  12. 30 Aug, 2018 1 commit
  13. 29 Aug, 2018 2 commits
  14. 28 Aug, 2018 1 commit
  15. 27 Aug, 2018 2 commits
  16. 26 Aug, 2018 2 commits
  17. 25 Aug, 2018 1 commit
  18. 24 Aug, 2018 1 commit
  19. 23 Aug, 2018 1 commit
  20. 22 Aug, 2018 2 commits
    • Anton Anikin's avatar
      clazy: doesn't need IExecutePlugin iface · 47d8de5e
      Anton Anikin authored
    • 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