File clazy.changes of Package clazy
-------------------------------------------------------------------
Tue Sep 20 19:36:06 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- Add upstream changes:
* 0001-Limit-the-clang-AST-crash-workaround-to-clang-7.0.patch
* 0001-Fix-crash-when-Q_PROPERTY-contents-is-empty.patch
* 0001-Allow-passing-no-check-in-plugin-arg-clazy-commandli.patch
* 0001-Build-fixes-for-LLVM-Clang-15.0.0.patch
-------------------------------------------------------------------
Wed Jan 26 15:02:14 UTC 2022 - Wolfgang Bauer <wbauer@tmo.at>
- Update to 1.11
* New Checks:
- use-arrow-operator-instead-of-data
- use-static-qregularexpression
- unexpected-flag-enumerator-value
- Removed inefficient-qlist check (Fixed in Qt6)
-------------------------------------------------------------------
Fri Jul 23 06:27:59 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 1.10
* Requires C++17
* Fixed a -Wclazy-lambda-in-connect false-positive
* Fixed crash in copyable-polymorphic when PCH was enabled
- Drop 0001-Fix-build-with-Clang-12.patch. Fixed upstream.
-------------------------------------------------------------------
Wed Apr 21 07:17:51 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Make sure C++17 support is available for Leap builds.
-------------------------------------------------------------------
Mon Apr 19 15:16:23 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Add upstream change:
* 0001-Fix-build-with-Clang-12.patch
-------------------------------------------------------------------
Tue Jan 26 13:35:49 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Use a stricter llvm requirement. Only relying on the llvm
soversion is still not enough. (kde#432078)
-------------------------------------------------------------------
Mon Jan 11 07:16:27 UTC 2021 - Wolfgang Bauer <wbauer@tmo.at>
- Update to 1.9:
* Fixed clazy slowdown introduced in 1.8. It can be up to 4x
faster now.
-------------------------------------------------------------------
Wed Nov 25 07:32:45 UTC 2020 - Wolfgang Bauer <wbauer@tmo.at>
- Update to 1.8:
* New Checks:
- qt6-qhash-signature
- qt6-header-fixes
- qt6-deprecated-api-fixes
- use-chrono-in-qtimer
- fixit for missing-qobject-macro
- Drop patches merged upstream:
* 0001-updated-for-compatibility-with-LLVM-10.patch
* 0001-updated-for-compatibility-with-LLVM-10-clazy-standal.patch
-------------------------------------------------------------------
Thu Nov 19 17:55:04 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- Make sure the clang executables matching the libraries we link
to are installed (mitigates boo#1178637).
-------------------------------------------------------------------
Mon Oct 26 14:38:09 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- Add patches to address build issues with LLVM11:
* 0001-updated-for-compatibility-with-LLVM-10.patch
* 0001-updated-for-compatibility-with-LLVM-10-clazy-standal.patch
-------------------------------------------------------------------
Tue Jun 30 09:18:36 UTC 2020 - Wolfgang Bauer <wbauer@tmo.at>
- Update to 1.7:
* New Checks:
- overloaded signal
- invalid JNI signatures
- qstring-comparison-to-implicit-char
- qt6-qlatin1string-to-u
* connect-non-signal: Fix case where it didn't find the pmf
* qstring-arg warns when using QLatin1String::arg(int), as it casts to QChar
* Building clazy itself is 30% faster
* heap-allocated-small-trivial-type: less false-positives
- Drop patches merged upstream:
* cmake-clang-cpp.patch
* 0001-Fix-build-issues-using-llvm-10.0.0.patch
* 0001-qstring-allocations-Fix-unit-tests-with-llvm-10.patch
-------------------------------------------------------------------
Mon May 4 18:19:03 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- Add upstream patch:
* 0001-qstring-allocations-Fix-unit-tests-with-llvm-10.patch
-------------------------------------------------------------------
Mon Mar 30 21:10:22 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- Add upstream patch:
* 0001-Fix-build-issues-using-llvm-10.0.0.patch
-------------------------------------------------------------------
Wed Nov 20 23:15:31 UTC 2019 - Simon Lees <sflees@suse.de>
- %make_jobs is depricated replaced by %cmake_build
- Use %autosetup to simplify maintenance
-------------------------------------------------------------------
Tue Oct 15 07:41:03 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 1.6:
* New Checks:
- heap-allocated-small-trivial-type
- signal-with-return-value
- qproperty-type-mismatch, contributed by Jean-Michaƫl Celerier
* Removed level3. Moved all level3 checks to manual level.
* Fixed regressions with LLVM 9.0
* Minimum LLVM was bumped to 5.0
* Fixit infrastructure was overhauled
* Clazy no longer rewrites files directly, to avoid races
when parallel invocations change the same header.
* Clazy now exports a yaml file with the replacements, to be
applied with clang-apply-replacements.
* The way to enable code rewrite is now: -Xclang -plugin-arg-clazy
-Xclang export-fixes for clang or -export-fixes=somefile.yaml for clazy-standalone
* All other fixit arguments and fixit env variables were removed
- Update cmake-clang-cpp.patch to make clazy build with both clang 8 and 9.
-------------------------------------------------------------------
Sat Sep 28 18:38:25 UTC 2019 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Add cmake-clang-cpp.patch: fix build with LLVM 9.
- Replace outdated llvm-clang-devel dependency by clang-devel.
-------------------------------------------------------------------
Tue Jul 16 09:19:04 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
- Disable lto.
- Remove workarounds for older openSUSE versions.
-------------------------------------------------------------------
Fri Feb 1 10:20:52 UTC 2019 - Wolfgang Bauer <wbauer@tmo.at>
- Update to 1.5
* New Checks:
ifndef-define-typo
lowercase-qml-type-name
qrequiredresult-candidates
* New Fixits:
range-loop now supports adding missing refs or const-ref
range-loop now supports adding qAsConst()
function-args-by-ref now adding missing refs or const-ref (experimental)
Introduced CLAZY_FIXIT_SUFFIX env variable
* Removed support for the obscure -DCLAZY_BUILD_UTILS_LIB to
simplify the CMakeLists.txt
* Renamed the clazy plugin from ClangLazy.so to ClazyPlugin.so
* fully-qualified-moc-types now warns for slot/invokable return
values too. They need to be fully qualified for QML.
* Fixed a crash (clang assert) in raw-environment-function
- BuildRequire ncurses-devel instead of pkgconfig(ncurses) on Leap
42.3 to fix build
-------------------------------------------------------------------
Tue Sep 25 20:30:06 UTC 2018 - Wolfgang Bauer <wbauer@tmo.at>
- Update to 1.4
* New Checks:
connect-by-name
skipped-base-class
qstring-varargs
fully-qualified-moc-types
qt-keywords, with fixit included
qhash-with-char-pointer-key
wrong-qevent-cast
static-pmf
raw-environment-function
empty-qstringliteral
* auto-unexpected-qstringbuilder now also warns for lambdas
returning QStringBuilder
* performance optimizations
* Added -header-filter=<regex> option to clazy-standalone. Only
headers matching the regexp will have warnings, besides the
.cpp file from the translation unit, which is never filtered
out.
* Added -ignore-dirs=<regex> option to clazy-standalone, and its
CLAZY_IGNORE_DIRS env variable equivalent.
* Added CLAZY_HEADER_FILTER env variable which adds above
functionality to both clazy and clazy-standalone
* unused-non-trivial-variable got
unused-non-trivial-variable-no-whitelist option
* unused-non-trivial-variable got user-blacklist and
user-whitelist support
* container-inside-loop is now a manual check instead of level2
* HiddenLevel was renamed to ManualLevel
* connect-3arg-lambda now warns when passing a lambda to
QTimer::singleShot() or QMenu::addAction() without a context
object
* old-style-connect warns for QMenu::addAction() and
QMessageBox::open() too now
-------------------------------------------------------------------
Tue Sep 4 08:26:36 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
- Small packaging adjustements
-------------------------------------------------------------------
Wed Aug 29 15:05:32 UTC 2018 - Christophe Giboudeaux <christophe@krop.fr>
- Add Clazy 1.3, a code checker based on the Clang framework.