Revisions of cppcheck

Martin Pluskal's avatar Martin Pluskal (pluskalm) accepted request 642826 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 53)
- Update to 1.85:
  Changes from 1.83:
  Command line:
  - fixes in parser
  - Improved loading of platform files.
  GUI:
  - few minor improvements in user interface
  - Code preview
  - Added MISRA addon integration
  - Platform can be selected in project settings
  - Fixed issue when loading xml results file
  Addons:
  - We are now officially releasing our MISRA addon. So far it supports MISRA C 2012.
  Changes from 1.85:
  General:
  - We are modernizing the Cppcheck code. Support for MSVC 2010 and GCC 4.4 is dropped.
    You now need a compiler that is at least as good as MSVC 2013 or GCC 4.6.
  Checking improvements:
  - New check: Suggest STL algorithms instead of hard-coded for loops
  - New check: Warn about ineffective algorithms (same iterator passed)
  - New check: Mismatching iterators used together in operators
  - Container (STL/Qt/WxWidgets/etc) access out of bounds
  - Improved the checkers that warns about same/opposite expressions, track variable values better.
  - Variable scope: warn about references also
  Graphical user interface:
  - You can specify undefines in the project file dialog
  - Fixed configuration of suppressions
  - Windows: Fixed issue of wrong/no theme being applied to UI elements
  Misra:
  - support per file excludes from cppcheck
buildservice-autocommit accepted request 577906 from mrdocs's avatar mrdocs (revision 52)
baserev update by copy to link target
mrdocs's avatar mrdocs accepted request 577725 from Luigi Baldoni's avatar Luigi Baldoni (alois) (revision 51)
- 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.
buildservice-autocommit accepted request 481721 from Martin Pluskal's avatar Martin Pluskal (pluskalm) (revision 50)
baserev update by copy to link target
Martin Pluskal's avatar Martin Pluskal (pluskalm) committed (revision 49)
- 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
Martin Pluskal's avatar Martin Pluskal (pluskalm) accepted request 481690 from Fabian Vogt's avatar Fabian Vogt (favogt) (revision 48)
- Update to 1.77
  * Changelog too long to add here, so please see:
    https://sourceforge.net/p/cppcheck/news/
- Always build Qt5 GUI
buildservice-autocommit accepted request 360676 from Martin Pluskal's avatar Martin Pluskal (pluskalm) (revision 47)
baserev update by copy to link target
Martin Pluskal's avatar Martin Pluskal (pluskalm) accepted request 360647 from Cristian Rodríguez's avatar Cristian Rodríguez (elvigia) (revision 46)
- Build the GUI against QT5 in newish products.
buildservice-autocommit accepted request 331102 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 45)
baserev update by copy to link target
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 331047 from Adam Mizerski's avatar Adam Mizerski (etamPL) (revision 44)
update to 1.70
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 320724 from Martin Pluskal's avatar Martin Pluskal (pluskalm) (revision 43)
initialized devel package after accepting 320724
Martin Pluskal's avatar Martin Pluskal (pluskalm) accepted request 307351 from Adam Mizerski's avatar Adam Mizerski (etamPL) (revision 42)
update to 1.69
Martin Pluskal's avatar Martin Pluskal (pluskalm) accepted request 280298 from Danny Al-Gaaf's avatar Danny Al-Gaaf (dalgaaf) (revision 41)
Update to new 1.68 release
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 257962 from Danny Al-Gaaf's avatar Danny Al-Gaaf (dalgaaf) (revision 40)
Update cppcheck to 1.67
Marcus Meissner's avatar Marcus Meissner (msmeissn) accepted request 233519 from Danny Al-Gaaf's avatar Danny Al-Gaaf (dalgaaf) (revision 38)
Update of cppcheck to 1.65
mrdocs's avatar mrdocs accepted request 232364 from Danny Al-Gaaf's avatar Danny Al-Gaaf (dalgaaf) (revision 37)
Updated cppcheck to latest released version 1.64
Marcus Meissner's avatar Marcus Meissner (msmeissn) accepted request 213673 from Adam Mizerski's avatar Adam Mizerski (etamPL) (revision 36)
Bundle config files
mrdocs's avatar mrdocs accepted request 213540 from Adam Mizerski's avatar Adam Mizerski (etamPL) (revision 35)
Update to 1.63
Marcus Meissner's avatar Marcus Meissner (msmeissn) accepted request 164061 from Danny Al-Gaaf's avatar Danny Al-Gaaf (dalgaaf) (revision 34)
- 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
Displaying revisions 81 - 100 of 133
openSUSE Build Service is sponsored by