1. 03 Jul, 2020 2 commits
  2. 28 Jun, 2020 2 commits
  3. 21 Jun, 2020 1 commit
  4. 20 Jun, 2020 1 commit
  5. 04 May, 2020 1 commit
  6. 24 Apr, 2020 1 commit
    • Nicolas Fella's avatar
      Initial check for invalid JNI method signatures · 579779bd
      Nicolas Fella authored
      Summary:
      When using QAndroidJniObject to call Android API one needs to specify method signatures using strings. This is error-prone and errors are usually only detected at runtime.
      This check searches for a set of known methods that take such signatures and validates them using a regular expression. If a signature is invalid a warning is emitted.
      
      To be able to verify Android-specific code with a desktop clang we need some include path hackery. QAndroidJniObject required jni.h, which is shipped in the Android NDK. We therefore need to amend the include paths. In order to do that we rely on $ANDROID_NDK being set and print an error if not.
      
      Test Plan: Ran tests
      
      Reviewers: smartins
      
      Reviewed By: smartins
      
      Differential Revision: https://phabricator.kde.org/D28887
      579779bd
  7. 26 Nov, 2019 1 commit
  8. 06 Nov, 2019 1 commit
  9. 12 Oct, 2019 1 commit
  10. 07 Oct, 2019 1 commit
  11. 02 Oct, 2019 1 commit
  12. 27 Sep, 2019 3 commits
  13. 21 Sep, 2019 1 commit
  14. 13 Sep, 2019 1 commit
  15. 03 Sep, 2019 2 commits
  16. 03 Jun, 2019 1 commit
  17. 12 May, 2019 1 commit
  18. 09 May, 2019 1 commit
    • Sergio Martins's avatar
      qvariant-template-instantiation: Move out of level 0, since it has false-positives · 52c35819
      Sergio Martins authored
      This check has really been noise since its creation. The rate of false-positives
      don't justify the insignificant compilation performance gains. Moved to manual level now.
      
      Currently it has a bug, which doesn't seem possible to solve,
      as the instantiated template doesn't carry over the information about the qint32 typedef.
      And the CallExpr doesn't have any template related getters.
      
      Also removed this check from the "performance" category in checks.json, since
      this category is for runtime performance.
      
      CCBUG: 407321
      52c35819
  19. 05 May, 2019 3 commits
  20. 22 Apr, 2019 1 commit
  21. 19 Mar, 2019 1 commit
  22. 04 Mar, 2019 1 commit
  23. 08 Feb, 2019 1 commit
  24. 20 Jan, 2019 2 commits
  25. 13 Dec, 2018 1 commit
  26. 05 Dec, 2018 1 commit
  27. 04 Dec, 2018 2 commits
  28. 03 Dec, 2018 1 commit
  29. 18 Nov, 2018 1 commit
    • Sergio Martins's avatar
      New check: lowercase-qml-type-name · 90ef5de7
      Sergio Martins authored
      Warns when QML types registered with qmlRegisterType() or qmlRegisterUncreatableType()
      don't start with uppercase. It's required by the engine.
      
      BUG: 401015
      90ef5de7
  30. 16 Nov, 2018 1 commit
  31. 15 Nov, 2018 1 commit