1. 17 Jul, 2019 1 commit
  2. 16 Jun, 2019 1 commit
  3. 27 May, 2019 3 commits
    • Rolf Eike Beer's avatar
      FindLibAStyle: remove confusing default version · 5baef620
      Rolf Eike Beer authored
      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.
      5baef620
    • Pino Toscano's avatar
      astyle: support the system astyle library · b2d20222
      Pino Toscano authored
      Summary:
      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
      available).
      
      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
      b2d20222
    • Kevin Funk's avatar
      Renovate kdevelop bash completion file · 4987b64d
      Kevin Funk authored
      Allows to complete the session names in `kdevelop -s ...` on the
      command-line.
      
      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
        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
      ```
      4987b64d
  4. 11 Mar, 2019 1 commit
  5. 29 Dec, 2018 1 commit
  6. 23 Oct, 2018 1 commit
    • Friedrich W. H. Kossebau's avatar
      Generate all kdebugsettings .categories files automatically · 774429d0
      Friedrich W. H. Kossebau authored
      Summary:
      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
      before.
      
      Reviewers: #kdevelop, kfunk
      
      Reviewed By: #kdevelop, kfunk
      
      Subscribers: kfunk, apol, kdevelop-devel
      
      Tags: #kdevelop
      
      Differential Revision: https://phabricator.kde.org/D16032
      774429d0
  7. 09 Oct, 2018 1 commit
  8. 07 Oct, 2018 2 commits
    • Friedrich W. H. Kossebau's avatar
      Generate kdebugsettings .categories file automatically · b2b1d083
      Friedrich W. H. Kossebau authored
      Summary:
      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
      b2b1d083
    • Bernd Buschinski's avatar
      Fix discovery of clang builtin directory with clang svn versions · 6da2caac
      Bernd Buschinski authored
      Summary:
      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
      "/usr/lib/clang/8.0.0/include/cpuid.h"
      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
      6da2caac
  9. 04 Oct, 2018 1 commit
    • Bernd Buschinski's avatar
      Use CLANG_INCLUDE_DIRS for clang include dir · 716372ae
      Bernd Buschinski authored
      Summary:
      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
      716372ae
  10. 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
      - ...
      4dba8251
  11. 22 Aug, 2018 1 commit
    • Anton Anikin's avatar
      Initial version of Clazy analyzer plugin · e25b145a
      Anton Anikin authored
      Summary:
      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.
      
      https://commits.kde.org/clazy
      
      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.
      
      {F6131188}
      
      {F6131189}
      
      {F6131190}
      
      {F6131191}
      
      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
      e25b145a
  12. 27 Jul, 2018 1 commit
  13. 08 May, 2018 4 commits
  14. 18 Apr, 2018 1 commit
  15. 13 Sep, 2017 1 commit
  16. 04 Aug, 2017 2 commits
  17. 13 Jul, 2017 2 commits
    • Kevin Funk's avatar
      Set real KDevPlatform version on the libraries · 3a979f6a
      Kevin Funk authored
      Summary:
      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
      3a979f6a
    • Friedrich W. H. Kossebau's avatar
  18. 08 Jul, 2017 2 commits
  19. 17 Jun, 2017 1 commit
  20. 28 Apr, 2017 2 commits
  21. 09 Dec, 2016 2 commits
  22. 01 Aug, 2016 3 commits
  23. 25 Jul, 2016 1 commit
  24. 13 Jul, 2016 1 commit
  25. 28 Jun, 2016 1 commit
  26. 21 Jun, 2016 1 commit
  27. 29 Apr, 2016 1 commit