Changelog for
clazy-1.2-4.1.x86_64.rpm :
Sun Oct 22 14:00:00 2017 buschmann23AATTopensuse.org
- fix build on openSUSE Factory/Tumbleweed by requiring clang-devel-static
for the build
Mon Aug 21 14:00:00 2017 buschmann23AATTopensuse.org
- fix build on openSUSE Leap 42.x
- add header info to fix-manpage-install-dir.patch
Sat Jul 22 14:00:00 2017 alarrosaAATTsuse.com
- update to version 1.2
- clazy-standalone executable. Allows to run clazy against a JSON
compilation database instead of as a plugin. clang-tidy doesn\'t
support loading external modules.
so this is a good workaround.
- qt-compat mode. Allows to disable Qt5 specific checks by passing
- Xclang -plugin-arg-clang-lazy -Xclang qt4-compat
- New checks:
install-event-filter
qcolor-from-literal
strict-iterators
connect-not-normalized
- returning-data-from-temporary now checks for temporary QByteArrays
casting to char
* when returned
- returning-data-from-temporary now checks for assignment too, not only
return statements
- unused-non-trivial-variable now warns for unused QList, QVector
and many more types
- ASTMatchers based checks are now supported
- clang 3.7 was dropped due to ASTMatchers source incompatibilities.
Use clazy v1.1 for clang >= 3.6 support
- clazylib.so no longer gets built by default, only the plugin (ClangLazy.so)
gets built. Pass -DCLAZY_BUILD_UTILS_LIB=ON to enable the utils library if
you\'re developing tools using clazy\'s convenience functions, which you\'re
probably not.
- CLAZY_INSTALL_NO_HEADERS option was removed. Either install the utils
library and headers or nothing at all. By default nothing is installed,
except the plugin and man pages.
- rebase fix-manpage-install-dir.patch
Sat Jun 24 14:00:00 2017 buschmann23AATTopensuse.org
- update to version 1.2 beta1 (aka. 1.1.81)
- do not build utlity library anymore
+ remove libclazylib0
+ remove calzy-devel
Tue Apr 18 14:00:00 2017 buschmann23AATTopensuse.org
- update to current git
+ returning-void-expression false positive (bko#378677)
+ Add unit-test for bug 378677 (bko#378677)
Thu Apr 13 14:00:00 2017 buschmann23AATTopensuse.org
- update to current git
+ Make it possible to pass quoted strings to clazy
+ Introduce CLAZY_NO_WERROR env variable
+ missing-qobject-macro: properly fix false-positives
Sat Mar 18 13:00:00 2017 buschmann23AATTopensuse.org
- update to current git
+ qstring-ref: fix cases where QStringRef wouldn\'t compile
+ fix tests not reporting failure
Mon Mar 6 13:00:00 2017 buschmann23AATTopensuse.org
- update to current git
+ improve error messages
Fri Feb 17 13:00:00 2017 buschmann23AATTopensuse.org
- update to current git
+ performance improvements
+ connect-non-signal: don\'t fail to detect signals wrapped with a
static cast
+ connect-non-signal: add failign unit test
+ add a man page
- bump base version to 1.1.70
- add fix-manpage-install-dir.patch
Tue Jan 17 13:00:00 2017 buschmann23AATTopensuse.org
- update to current git
+ new check: returning-void-expression
+ many fixes
Tue Dec 20 13:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ new check: incorrect emit
+ new check: connect-non-signal
+ new check: base-class-event
+ fixed check: old-style-connect
+ performance optimizations
+ fix build against clang 3.6
Sat Dec 10 13:00:00 2016 buschmann23AATTopensuse.org
- update to current git:
+ qstring-ref: fix unit-test
+ new check: qt-macros
Mon Nov 14 13:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ bogus-dynamic-cast: Now optionally suggests to use qobject_cast
You need to set the env variable:
export CLAZY_EXTRA_OPTIONS=\"bogus-dynamic-cast-qobject\"
Mon Nov 7 13:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ foreach: don\'t warn about deep-copying QStringRef
Sun Nov 6 13:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ move copyable-polymorphic test to level 1
+ move rule-of-two-soft to level 1
Wed Oct 26 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ Introduce ctor-missing-parent-argument
Wed Oct 5 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ Fix clazy:excludeall= and clazy:exclude= when containing trailling
junk. You can now have your own comments after clazy:exclude=check
Mon Sep 19 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ New check: child-event-qobject-cast
+ qstring-left: Fix unit test
Mon Sep 5 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ function-args-by-ref: fix false positive
Wed Aug 31 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ do not warn about Q_ENUMS usage in Qt (system) headers
+ qenums: set minimum clang version to 3.7 for unit-tests
Wed Aug 24 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ fix compiler warning about forward declaration
+ range-loop: reduce false positives
+ reserve-candidates: Don\'t warn for QVarLengthArray
Mon Jul 25 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ new check: mutable-container-key
+ fix unit-test
+ fix build with clang 4.0
+ new check: post-event
Fri Jun 10 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ qstring-allocations: Also warn for QL1S with two arguments
+ Add Util function to get the UserDefinedLiteral (kde#364092)
+ qstring-allocations: Don\'t be blinded by user defined literals
(kde#364092)
Thu Jun 9 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ qstring-allocations: Add unit-test (kde#364092)
Tue May 31 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ writing-to-temporary: fix false positive
+ create clazylib
+ writing to temporary: whitelist QTextTableCell
+ add new --list and --explain options to clazy
- bump base version to 0.1.0
- add new devel sub package
- add new libclazylib0 package
Sun May 15 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ Introduce clazy_stl::child_at()
+ Make Utils::valueDeclForOperatorCall() more robust.
Sat May 7 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
* introduce qstring-left check
Wed May 4 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
* range-loop: Don\'t warn for non implicitly shared classes
- spec file
* remove installed documentation, we install them with the doc
files directive
Thu Apr 28 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ introduce krazy like suppressions
+ qstring-allocations: also use QL1S for QString::{contains, indexOf}
+ tests: allow to specify which checks to run, in config.json
+ fix function-args-by-ref unit-test
Sat Apr 9 14:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ qdeleteall: Fix warning whe using the values(key) overload
+ tests: Fix getting output of cammds taht fail
+ tests: Fix python exception when the result is None
+ container-atni-pattern: Fix unit-tests with Qt 5.6
Mon Mar 14 13:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ qstring-ref: also trigger on QString::toFloat()
Thu Mar 10 13:00:00 2016 buschmann23AATTopensuse.org
- update to current git
Wed Mar 2 13:00:00 2016 buschmann23AATTopensuse.org
- update to current git
Tue Feb 23 13:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ lambda-in-connect: Relax the warning if the sender is on the stack
(BKO#356372)
+ qstring-allocations: Fix fixit build error with QTest::newRow
+ qstring-allocations: Add unit-test for previous bug fix
+ qstring-allocations: Fix fixit using QL1S instead of QStringLiteral
Tue Feb 16 13:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ New Check: lambda-in-connect
Warns when capturing local variables by reference, which go out
of scope resulting in a crash when lambda is executed.
+ reverse-candidate: Fix false-positive
Sat Feb 13 13:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ temporary-iterator: Fix false-positive
+ range-loop: Don\'t warn when using non-const refs
+ container-anti-pattern: Warn when using values() and keys() in for
Thu Feb 11 13:00:00 2016 buschmann23AATTopensuse.org
- update to current git
+ New check: qstring-insensitive-allocation
Fri Dec 11 13:00:00 2015 buschmann23AATTopensuse.org
- add HOWTO file to docs
Fri Nov 20 13:00:00 2015 buschmann23AATTopensuse.org
- add the README files for the checks to the documentation
Fri Nov 20 13:00:00 2015 buschmann23AATTopensuse.org
- initial package