From fe9bdee2989afd1b836302a5ce1223ab9369a4ee8cf8bbd4d1d529506eded62c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 15 Apr 2013 12:24:26 +0000 Subject: [PATCH] Accepting request 164061 from home:dalgaaf:branches:devel:tools - update to 1.59: * Commandline/Settings changes: - New option to enable warnings but not style messages: --enable=warning - Cppcheck used to skip includes where the header filename is enclosed in <>. You can now include these headers also by using -I. * New checks: - New POSIX checks: pipe() buffer size, redundant calls of set/get user id, too big value passed to usleep(), buffer overflow when using write() - Storing getc() return value in char variable and comparing to EOF. - Detect redundant bitand operations - Find suspicious equality comparisons like: if(a == 0) a == 1; - Warn about using malloc() for classes containing virtual methods, std::-objects or constructors - Portability check that warns when using NULL as argument to variadic function. It has undefined behaviour on some implementations. * Improvements: - Improved lookup for functions and types - Switched to TinyXml2 as XML library - Improved checking for uninitialized struct members, variable scopes that can be reduced and unused functions * GUI: - Remember last path in open file dialog - Added command line parameter to open a results file - Bug in statistic calculation fixed OBS-URL: https://build.opensuse.org/request/show/164061 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=34 --- cppcheck-1.58.tar.bz2 | 3 --- cppcheck-1.59.tar.bz2 | 3 +++ cppcheck.changes | 33 +++++++++++++++++++++++++++++++++ cppcheck.spec | 2 +- 4 files changed, 37 insertions(+), 4 deletions(-) delete mode 100644 cppcheck-1.58.tar.bz2 create mode 100644 cppcheck-1.59.tar.bz2 diff --git a/cppcheck-1.58.tar.bz2 b/cppcheck-1.58.tar.bz2 deleted file mode 100644 index 8d41f34..0000000 --- a/cppcheck-1.58.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d82e98f83ad9fa963d8f9f72d73b409abe13a35aaf302a86a0114a161715b19b -size 1230439 diff --git a/cppcheck-1.59.tar.bz2 b/cppcheck-1.59.tar.bz2 new file mode 100644 index 0000000..ead1b59 --- /dev/null +++ b/cppcheck-1.59.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6be40d8422c545959d1cc44ce3f80be9f6d3d18f70d65b8d2e1b65284aa38f6e +size 1243616 diff --git a/cppcheck.changes b/cppcheck.changes index ce435a4..64c3ce5 100644 --- a/cppcheck.changes +++ b/cppcheck.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Thu Apr 11 09:30:47 UTC 2013 - dalgaaf@suse.de + +- update to 1.59: + * Commandline/Settings changes: + - New option to enable warnings but not style messages: + --enable=warning + - Cppcheck used to skip includes where the header filename + is enclosed in <>. You can now include these headers also by + using -I. + * New checks: + - New POSIX checks: pipe() buffer size, redundant calls of + set/get user id, too big value passed to usleep(), buffer + overflow when using write() + - Storing getc() return value in char variable and comparing + to EOF. + - Detect redundant bitand operations + - Find suspicious equality comparisons like: if(a == 0) a == 1; + - Warn about using malloc() for classes containing virtual + methods, std::-objects or constructors + - Portability check that warns when using NULL as argument to + variadic function. It has undefined behaviour on some + implementations. + * Improvements: + - Improved lookup for functions and types + - Switched to TinyXml2 as XML library + - Improved checking for uninitialized struct members, + variable scopes that can be reduced and unused functions + * GUI: + - Remember last path in open file dialog + - Added command line parameter to open a results file + - Bug in statistic calculation fixed + ------------------------------------------------------------------- Fri Feb 8 07:46:59 UTC 2013 - highwaystar.ru@gmail.com diff --git a/cppcheck.spec b/cppcheck.spec index 70be802..91ae229 100644 --- a/cppcheck.spec +++ b/cppcheck.spec @@ -3,7 +3,7 @@ BuildRequires: gcc-c++ libqt4-devel pcre-devel python Name: cppcheck -Version: 1.58 +Version: 1.59 Release: 0 License: GNU GPL v3 or later Group: Development/Languages/C and C++