1. 31 Oct, 2019 1 commit
  2. 05 Aug, 2019 2 commits
  3. 17 Jul, 2019 1 commit
  4. 16 Jun, 2019 1 commit
  5. 27 May, 2019 3 commits
    • Rolf Eike Beer's avatar
      FindLibAStyle: remove confusing default version · 5baef620
      Rolf Eike Beer authored and Rolf Eike Beer's avatar Rolf Eike Beer committed
      On a system without libastyle installed the output was:
        -- Could NOT find LibAStyle: Found unsuitable version "0", but required is at least "3.1" (found LibAStyle_LIBRARIES-NOTFOUND)
      Without this default it will be:
        -- Could NOT find LibAStyle (missing: LibAStyle_LIBRARIES LibAStyle_INCLUDE_DIR) (Required is at least version "3.1")
      While at it move the code for the version autodetection around a bit to simplify
      it a bit.
    • Pino Toscano's avatar
      astyle: support the system astyle library · b2d20222
      Pino Toscano authored and Kevin Funk's avatar Kevin Funk committed
      Find the astyle library installed in the system, and use it instead of
      the embedded copy (which is still used if the system library is not
      Test Plan:
      Builds fine with, and without a system libastyle (the embedded copy is used in the latter case).
      `test_astyle` passes in both cases.
      I did not try the plugin for real, though.
      Reviewers: mwolff, kossebau, apol
      Reviewed By: mwolff, apol
      Subscribers: lbeltrame, arrowd, cullmann, mwolff, kossebau, kdevelop-devel
      Tags: #kdevelop
      Differential Revision: https://phabricator.kde.org/D17760
    • Kevin Funk's avatar
      Renovate kdevelop bash completion file · 4987b64d
      Kevin Funk authored
      Allows to complete the session names in `kdevelop -s ...` on the
      File will be installed to the standard bash completions directory
      (figured out by querying pkg-config during CMake configure time).
      Manual usage:
      Under Bash:
        source kdevelop_completions.bash
      Under ZSH:
        autoload bashcompinit
        source kdevelop_completions.bash
        (cf. https://stackoverflow.com/questions/3249432/can-a-bash-tab-completion-script-be-used-in-zsh)
      Example output:
        % kdevelop -s kde
      kde4      kdevelop-production  kdevtest
  6. 11 Mar, 2019 1 commit
  7. 29 Dec, 2018 1 commit
  8. 23 Oct, 2018 1 commit
    • Friedrich W. H. Kossebau's avatar
      Generate all kdebugsettings .categories files automatically · 774429d0
      Friedrich W. H. Kossebau authored
      Adds two wrapping variants of the macros
      declare_qt_logging_category() & install_qt_logging_categories()
      which have an argument TYPE to control specific behaviour that
      otherwise is generalized in the wrapping macros to not have to repeat
      any things with every macro call and to ensure consistency, e.g. in
      the used description texts.
      The wrapper macros also handle linking things by the matching EXPORT ids,
      so the caller does not have to care for this.
      No perfect solution yet, but at least a first working approach to automatic
      generation of the kdebugsettings files.
      Test Plan:
      Generated categories files contain same ids with same descriptions as
      Reviewers: #kdevelop, kfunk
      Reviewed By: #kdevelop, kfunk
      Subscribers: kfunk, apol, kdevelop-devel
      Tags: #kdevelop
      Differential Revision: https://phabricator.kde.org/D16032
  9. 09 Oct, 2018 1 commit
  10. 07 Oct, 2018 2 commits
    • Friedrich W. H. Kossebau's avatar
      Generate kdebugsettings .categories file automatically · b2b1d083
      Friedrich W. H. Kossebau authored
      Done only for kdevplatform to showcase the idea. Would extend also for
      plugins & app once okayed.
      Things could be even more simplified by adding another wrapper macro which
      avoid repeating all the patterns.
      Test Plan:
      Generated file matches the old manually one (except comments) and is
      installed to same location.
      Build works as before.
      Reviewers: #kdevelop, kfunk
      Reviewed By: #kdevelop, kfunk
      Subscribers: kfunk, kdevelop-devel
      Tags: #kdevelop
      Differential Revision: https://phabricator.kde.org/D15977
    • 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
  11. 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
  12. 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
      - ...
  13. 28 Aug, 2018 1 commit
  14. 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
  15. 31 Jul, 2018 1 commit
  16. 27 Jul, 2018 1 commit
  17. 08 May, 2018 4 commits
  18. 18 Apr, 2018 1 commit
  19. 13 Sep, 2017 1 commit
  20. 04 Aug, 2017 2 commits
  21. 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
  22. 08 Jul, 2017 2 commits
  23. 17 Jun, 2017 1 commit
  24. 28 Apr, 2017 2 commits
  25. 02 Apr, 2017 1 commit
  26. 09 Dec, 2016 2 commits
  27. 06 Oct, 2016 2 commits