Commit Graph

37 Commits

Author SHA256 Message Date
OBS User mrdocs
74717428cf Accepting request 577725 from home:alois:branches:devel:tools
- Update to version 1.82
  Bug fixes:
  * Better handling of namespaces
  * Fixed false positives
  * Fixed parsing of compile databases
  * Fixed parsing of visual studio projects
  Enhancements
  * New check; Detect mistakes when there are multiple strcmp() in
    condition
    Example:
     if (strcmp(password,"A")==0 || strcmp(password,"B")==0 || strcmp(password,"C"))
     There is a missing '==0', and therefore this condition is
     always true except when password is "C".
  * New check; pointer calculation result can't be NULL unless
    there is overflow
   Example:
     someType **list_p = ...;
     if ((list_p + 1) == NULL)
   The result for '(list_p + 1)' can't be NULL unless there is
   overflow (UB).
  * New check; public interface of classes should be safe - detect
    possible division by zero
    Example:
      class Fred {
      public:
      void setValue(int mul, int div) {
        value = mul / div; // <- unsafe
      }
      ...
    This check does not consider how Fred::setValue() is really
    called.
    If you agree that the public interface of classes should
    always be safe; it should be allowed to call all public
    methods with arbitrary arguments, then this checker will be
    useful.
  * Fixed a few false negatives
  * More information in the cfg files
  version 1.81
  CPPCHECK:
  * New warning: Check if condition after an early return is
    overlapping and therefore always false.
  * Improved knowledge about C/C++ standard, windows, posix,
    wxwidgets, gnu
  * Better handling of Visual Studio projects
  GUI:
  * Compile: Qt5 is now needed to build the GUI
  * Compile: New qmake flag HAVE_QCHART
  * Project: You can now run cppcheck-addons
  * Project: We have integrated clang-tidy
  * Results view: Reload last results (if cppcheck build dir is
    used) when GUI is started
  * Results view: Tag the warnings with custom keywords
    (bug/todo/not important/etc..)
  * Results view: Shows when warning first appeared (since date)
  * Results view: Suppress warnings through right-click menu
  * Statistics: Added charts (shown if Qt charts module is enabled
    during build)
  version 1.80
  Checking improvements:
  * Added platform for Atmel AVR 8 bit microcontrollers (avr8)
  * Better 'callstacks' in cppcheck messages
  * Improved gnu.cfg, posix.cfg, wxwidgets.cfg and std.cfg, added
    motif.cfg
  * Various improvements to AST, ValueFlow analysis and template
    parsing
  Command line changes:
  * Deprecated command line argument  *-append has been removed
  * New command line argument  *-plist-output to create .plist
    files
  * New command line argument  *-output-file to print output to
    file directly
  * Check OpenCL files (.cl)
  GUI:
  * Support export of statistics to PDF
  * Several small usability improvements
  * Additionally, lots of false positives and bugs have been fixed
    and several existing checks have been improved.
  version 1.79
  General changes:
  * C++ code in C files is rejected now (use  *-language=c++ to
    enforce checking the code as C++)
  * Write function access type to XML dump
  Checking improvements:
  * Improved configuration extraction in preprocessor
  * Improved accuracy of AST
  * Improved template parsing
  * Improved support for (STL) containers in SymbolDatabase
  * Improved support for C++11's 'auto' type
  * Experimental support for uninitialized variables in ValueFlow
    analysis
  * Added qt.cfg and sfml.cfg, improved several existing .cfg files
  GUI:
  * Use CFGDIR macro
  * Additionally, lots of false positives and bugs have been fixed
    and several existing checks have been improved.
  version 1.78
  General changes:
  * Reduced memory usage by up to 10% by reducing size of token
    list
  New checks:
  * Mismatching argument names between function declaration and
    definition
  * Detect classes which have a copy constructor but no copy
    operator and vice versa
  Checking improvements:
  * Improved matching of overloaded functions
  * Improved ValueType analysis, especially related to allocations
    with "new" and C++11's "auto"
  * Improved support for C++11 brace initialization
  * Improved ValueFlow analysis
  * Improved template parsing
  * Improved detection of memory leaks
  * Improved nullpointer checking when nullptr and NULL are used
  * Detect array out of bounds across compilation units
  * Extended windows.cfg, posix.cfg and std.cfg
  * Additionally, lots of false positives and bugs have been fixed
    and several existing checks have been improved.

OBS-URL: https://build.opensuse.org/request/show/577725
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=51
2018-02-19 03:33:22 +00:00
Martin Pluskal
6a5a5d2aa5 - Use qmake macros
- Run spec-cleaner
- Update to version 1.77:
  * Added flag --cppcheck-build-dir to allow incremental analysis and inter-file checking
  * Improved --project support for Visual Studio solutions
  * Detect pointer overflow
  * Detect usage of variable after std::move or std::forward
  * Warn about number and char literals in boolean expressions
  * Improved checking for variables modified but not used again
  * Libraries: Added support to specify <returnValue>
  * Improved ValueFlow, especially related to function return values and casts
  * Improved simplification of Null values to allow more accurate checking
  * Several improvements to windows.cfg, posix.cfg, gnu.cfg and std.cfg
  * Reimplemented check for using iterators of mismatching containers... read more

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=49
2017-03-21 10:29:05 +00:00
Martin Pluskal
3e3c05b5f0 Accepting request 481690 from home:favogt:branches:devel:tools
- Update to 1.77
  * Changelog too long to add here, so please see:
    https://sourceforge.net/p/cppcheck/news/
- Always build Qt5 GUI

OBS-URL: https://build.opensuse.org/request/show/481690
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=48
2017-03-21 10:18:08 +00:00
Martin Pluskal
92c5b39b10 Accepting request 360647 from home:elvigia:branches:devel:tools
- Build the GUI against QT5 in newish products.

OBS-URL: https://build.opensuse.org/request/show/360647
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=46
2016-02-21 07:20:36 +00:00
Stephan Kulow
e57f872d4f Accepting request 331047 from home:etamPL:branches:devel:tools
update to 1.70

OBS-URL: https://build.opensuse.org/request/show/331047
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=44
2015-09-15 18:52:26 +00:00
Martin Pluskal
be0c27cab4 Accepting request 307351 from home:etamPL:branches:devel:tools
update to 1.69

OBS-URL: https://build.opensuse.org/request/show/307351
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=42
2015-05-15 16:40:26 +00:00
Martin Pluskal
eb9c945381 Accepting request 280298 from home:dalgaaf:branches:devel:tools
Update to new 1.68 release

OBS-URL: https://build.opensuse.org/request/show/280298
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=41
2015-01-08 13:50:23 +00:00
Stephan Kulow
a51577503b Accepting request 257962 from home:dalgaaf:branches:devel:tools
Update cppcheck to 1.67

OBS-URL: https://build.opensuse.org/request/show/257962
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=40
2014-10-22 14:41:14 +00:00
0a4c14d371 Accepting request 247200 from home:dalgaaf:branches:devel:tools
OBS-URL: https://build.opensuse.org/request/show/247200
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=39
2014-09-02 11:38:52 +00:00
39df2bc06a Accepting request 233519 from home:dalgaaf:branches:devel:tools
Update of cppcheck to 1.65

OBS-URL: https://build.opensuse.org/request/show/233519
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=38
2014-05-12 08:39:54 +00:00
OBS User mrdocs
b5458e6360 Accepting request 232364 from home:dalgaaf:branches:devel:tools
Updated cppcheck to latest released version 1.64

OBS-URL: https://build.opensuse.org/request/show/232364
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=37
2014-05-02 00:49:40 +00:00
96118b48aa Accepting request 213673 from home:etamPL:branches:devel:tools
Bundle config files

OBS-URL: https://build.opensuse.org/request/show/213673
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=36
2014-01-13 13:01:10 +00:00
OBS User mrdocs
2e21d8a8ab Accepting request 213540 from home:etamPL:branches:devel:tools
Update to 1.63

OBS-URL: https://build.opensuse.org/request/show/213540
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=35
2014-01-12 01:24:21 +00:00
fe9bdee298 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
2013-04-15 12:24:26 +00:00
OBS User mrdocs
19cabe01cb Accepting request 154873 from home:HighwayStar:branches:devel:tools
update to 1.58

OBS-URL: https://build.opensuse.org/request/show/154873
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=33
2013-02-08 19:12:36 +00:00
OBS User mrdocs
a52d7acbcb fix BuildRequires
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=32
2012-12-26 04:18:24 +00:00
OBS User mrdocs
c0ca073ce4 bump version to 1.57
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=31
2012-12-26 04:16:02 +00:00
29e006b4ad Accepting request 108747 from home:jirislaby:branches:devel:tools
update to 1.53

OBS-URL: https://build.opensuse.org/request/show/108747
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=30
2012-03-12 11:05:01 +00:00
OBS User mrdocs
d7f6af8332 Accepting request 79965 from home:gladiac:branches:devel:tools
update to version 1.50

OBS-URL: https://build.opensuse.org/request/show/79965
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=29
2011-08-29 09:16:57 +00:00
OBS User mrdocs
5d96c86b69 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=28 2011-08-08 04:56:45 +00:00
OBS User mrdocs
c823b8d83a OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=27 2011-08-08 04:53:59 +00:00
OBS User mrdocs
b02259cf32 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=26 2011-08-08 04:45:14 +00:00
OBS User mrdocs
f4d5b94ebd OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=25 2011-08-08 04:02:20 +00:00
OBS User mrdocs
319bd47566 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=21 2011-08-08 03:48:12 +00:00
OBS User mrdocs
42be6c1699 Accepting request 66710 from home:gladiac:branches:devel:tools
reviewed ok Thanks

OBS-URL: https://build.opensuse.org/request/show/66710
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=20
2011-04-11 19:41:15 +00:00
OBS User mrdocs
ac7f38faf9 Accepting request 57255 from home:gladiac:branches:devel:tools
reviewed ok Thanks

OBS-URL: https://build.opensuse.org/request/show/57255
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=19
2011-01-06 16:48:30 +00:00
OBS User mrdocs
efbce96478 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=17 2010-12-29 09:33:04 +00:00
OBS User mrdocs
782e0779da Accepting request 49701 from home:etamPL:branches:devel:tools
looks good thanks for the update

OBS-URL: https://build.opensuse.org/request/show/49701
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=15
2010-10-04 05:52:21 +00:00
OBS User mrdocs
a0b8b92f97 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=14 2010-08-22 21:42:57 +00:00
OBS User mrdocs
0e718e4e2a OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=11 2010-08-22 17:03:01 +00:00
Stephan Kleine
b9bd843e77 - Updated to 1.43
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=9
2010-06-01 21:32:29 +00:00
Stephan Kleine
59741efbf8 Updated to 1.38
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=8
2009-10-26 19:09:57 +00:00
Stephan Kleine
9d4e41030b Updated to 1.37
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=7
2009-09-30 19:33:39 +00:00
Stephan Kleine
bccf093322 Updated to 1.32
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=6
2009-05-16 01:40:01 +00:00
Stephan Kleine
6aae9c8b24 Updated to 1.31
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=5
2009-04-15 09:02:34 +00:00
Stephan Kleine
9c767da857 Updated to 1.30
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=4
2009-03-13 15:00:36 +00:00
Petr Uzel
f80a3a5e1a Copy from home:bitshuffler/cppcheck via accept of submit request 6553
Request was accepted with message:

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=1
2009-02-20 16:30:26 +00:00