Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13658 lines (8576 sloc) 491.173 kb
2009-10-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* createrelease, src/cppcheck.cpp, src/main.cpp,
win_installer/cppcheck.iss, win_installer/cppcheck.wxs: updated
version to 1.38
2009-10-24 Daniel Marjamäki <danielm77@spray.se>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #253
(MemoryLeakInClass: False positive when memory is released in
function, which is called from destructor)
2009-10-24 Daniel Marjamäki <danielm77@spray.se>
* src/checkunusedfunctions.cpp: don't report that the function
WinMain is unused
2009-10-23 Daniel Marjamäki <danielm77@spray.se>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Memory leaks: Added
and fixed testcase TestMemleakInClass::class13
2009-10-22 Daniel Marjamäki <danielm77@spray.se>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #851
(Tokenizer: sizeof(*a) returns incorrect result)
2009-10-22 Daniel Marjamäki <danielm77@spray.se>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #428 (Memory
leak not detected with class)
2009-10-21 Daniel <daniel@daniel-desktop.(none)>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #844
(Tokenizer: Simplify 'sizeof *ptr' correctly)
2009-10-21 Daniel <daniel@daniel-desktop.(none)>
* src/checkstl.cpp, src/checkstl.h: Fixed #830 (id 'pushback' used
twice)
2009-10-21 Daniel <daniel@daniel-desktop.(none)>
* cppcheck.pro: Removed toplevel qmake pro file that doesn't work
2009-10-21 Daniel <daniel@daniel-desktop.(none)>
* cppcheck.geany: removed geany project file
2009-10-20 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #767
(Tokenizer: Known variable variable not simplified)
http://sourceforge.net/apps/trac/cppcheck/ticket/767
2009-10-20 Daniel <daniel@daniel-desktop.(none)>
* src/checkother.cpp, test/testother.cpp: Fixed #839 (False
positive: possible null pointer dereference after new)
2009-10-20 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp: Minor refactoring.
2009-10-20 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Improved
countSprintfLength() to detect more errors with %d. Fixed some
errors from test cases. Added more test cases.
2009-10-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile, src/checkexceptionsafety.cpp,
src/checkexceptionsafety.h, test/testexceptionsafety.cpp: Fixed by
#828 (Exception Safety: No throwing in destructors)
2009-10-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp: David Binderman: Remove dead variable
2009-10-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, src/checkother.h, test/testother.cpp: Null
pointers: Detect code where the assignment is conditional
2009-10-18 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, src/checkstl.h, test/teststl.cpp: STL: checking
that containers are matching
2009-10-18 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #827
(Tokenizer: sizeof is incorrectly simplified)
2009-10-18 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #449 (false
postive:: resource leak when using errno)
2009-10-18 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fix #826
(False positive: sprintf with "f%s")
http://sourceforge.net/apps/trac/cppcheck/ticket/826
2009-10-18 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/check.h, src/cppcheck.cpp, src/tokenize.cpp, src/tokenize.h:
Fix #825 (Error with id syntaxError not in list printed with
--errorlist) http://sourceforge.net/apps/trac/cppcheck/ticket/825
2009-10-17 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp: Fix segmentation fault with
--errorlist
2009-10-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testunusedvar.cpp: unused struct member:
bail out when casting
2009-10-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Pointer Aliasing:
Handle pointer aliasing through the
Tokenizer::simplifyKnownVariables
2009-10-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, src/checkother.h, test/testunusedvar.cpp:
Unused struct members: bail out upon casting
2009-10-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* gui/mainwindow.cpp, src/cppcheck.cpp, src/cppcheck.h: fixed
compiler error when building gui
2009-10-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/cppcheck.cpp, src/cppcheck.h, src/cppcheckexecutor.cpp: Fixed
#824 (Exit code of cppcheck)
2009-10-15 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, src/checkstl.h, test/teststl.cpp: stl: after
vector::insert, iterators may become invalid
2009-10-15 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fixed #823
(Buffer overrun with memcpy)
2009-10-15 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h: fixed doxygen
warning messages
2009-10-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fixed #821
(Preprocessor: Wrong stringification in macros)
2009-10-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/cppcheck.cpp: Fixed #820 (Borland C++: Compiler errors because
of time_t)
2009-10-14 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Buffer
overrun errors behind function call should be possible errors.
2009-10-13 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Move
buffer overrun errors behind --all Fix one possible error issue with
arrayindexoutofbounds Make sure that possible errors are not shown
without --all
2009-10-13 Reijo Tomperi <aggro80@users.sourceforge.net>
* : commit 4036dd5effb90957b2b9b7ffb861344215757953 Author: Reijo
Tomperi <aggro80@users.sourceforge.net> Date: Tue Oct 13 22:39:51
2009 +0300
2009-10-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, test/teststl.cpp: stl: better checking for
invalid iterator after push_back
2009-10-13 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/settings.cpp, src/settings.h: Fix #815 (rev. 47e9d1:
compilation error)
http://sourceforge.net/apps/trac/cppcheck/ticket/815
2009-10-13 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/cppcheck.cpp: Undocumented --showtime option should now work
on other platforms also. Improved --showtime to give more
information.
2009-10-13 Reijo Tomperi <aggro80@users.sourceforge.net>
* gui/mainwindow.cpp, gui/threadhandler.cpp, gui/threadhandler.h:
Fix #455 (Recheck is enabled when no previous results available)
http://sourceforge.net/apps/trac/cppcheck/ticket/455
2009-10-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : commit ed3860a0a74ffcd325d0380130de83e703f82659 Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Mon Oct 12
21:36:28 2009 +0200
2009-10-12 Reijo Tomperi <aggro80@users.sourceforge.net>
* readme.txt: Fix #814 (Improvements for readme.txt)
http://sourceforge.net/apps/trac/cppcheck/ticket/814
2009-10-11 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fix #812
(False positive: sprintf with "%.4s" with --all)
http://sourceforge.net/apps/trac/cppcheck/ticket/812
2009-10-11 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fix #694
(False (possible error) Buffer overrun with %-1s) ashim2009 did most
of the work http://sourceforge.net/apps/trac/cppcheck/ticket/694
2009-10-11 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* webreport.sh: script for creating web content
2009-10-11 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.cpp, src/checkother.h: Refactoring: Split null
pointer check into 4 smaller functions.
2009-10-11 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.cpp, test/testdivision.cpp: Fix #810 (false
positive: Division with signed and unsigned operators)
http://sourceforge.net/apps/trac/cppcheck/ticket/810
2009-10-11 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp: Getting rid of warning C4267: 'return' :
conversion from 'size_t' to 'unsigned int'
2009-10-11 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp: Getting rid of compiler warning: C4310: cast
truncates constant value
2009-10-11 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* win_installer/build.proj, win_installer/build1.bat,
win_installer/build2.bat: win_installer: Added build scripts
2009-10-11 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* win_installer/gui.wxs, win_installer/productInfo.wxi:
win_installer: minor tweaks
2009-10-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* htdocs/build.bat: a simple build script for building devinfo.html
2009-10-10 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix #808
(Segfault in Preprocessor)
http://sourceforge.net/apps/trac/cppcheck/ticket/808
2009-10-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : commit d2e2b1d9feb1e826c7118e1c8c3f85ae89895e38 Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Sat Oct 10
22:10:33 2009 +0200
2009-10-10 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp: Fix compiler warning warning C4512:
'PreprocessorMacro' : assignment operator could not be generated
2009-10-10 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp: Get rid of compiler warning warning C4127:
conditional expression is constant
2009-10-10 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h: Get rid of a compiler warning.
conversion from 'size_t' to 'int', possible loss of data
2009-10-10 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #809
(Tokenizer: don't replace sizeof() of unknown type to zero) http://sourceforge.net/apps/trac/cppcheck/ticket/809
2009-10-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testtokenize.cpp: Added testcase for #807 (cppcheck crashes
scanning ruby 1.9.1)
2009-10-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp: minor refactoring
2009-10-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp: Borland C++: Fixed compiler errors
2009-10-09 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed #806 (cppcheck
crashes scanning openssl)
2009-10-09 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: jonas054: fixed #807 (cppcheck crashes scanning
ruby 1.9.1)
2009-10-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp: memory leaks: minor cleanups
2009-10-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp: optimisation: made the memory leaks
checking faster
2009-10-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/cppcheck.cpp: optimisation: removed duplicate call of
Tokenizer::setVarId
2009-10-08 Reijo Tomperi <aggro80@users.sourceforge.net>
* man/cppcheck.1.xml, src/cppcheck.cpp, src/settings.cpp,
src/settings.h: Fix #674 (Feature request: error filtering)
--suppressions argument added to CLI
http://sourceforge.net/apps/trac/cppcheck/ticket/674
2009-10-08 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testbufferoverrun.cpp: More test cases for sprintf counter
2009-10-08 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: sprintf
counter improvements
2009-10-08 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fix #802 (possible null
pointer dereference reported for reference)
http://sourceforge.net/apps/trac/cppcheck/ticket/802
2009-10-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkstl.cpp: Use var id instead of var name in check stl.
2009-10-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkstl.cpp: Use varid instead of varname in stl check.
2009-10-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.cpp, src/checkstl.cpp, test/testother.cpp,
test/teststl.cpp: Optimize speed and fix one false positive with stl
checks.
2009-10-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testbufferoverrun.cpp: Added more test cases for sprintf
counter
2009-10-07 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Ashim
Kapoor: updated the counter (#694)
2009-10-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, src/checkbufferoverrun.h,
test/testbufferoverrun.cpp: Refactoring: Moved some code into a new
function. Renamed count->countSprintfLength. Added code to collect
sprintf parameters. Added a few TODO test cases.
2009-10-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #801
(Tokenizer: Simplify sizeof for function parameters)
http://sourceforge.net/apps/trac/cppcheck/ticket/801
2009-10-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #487
(Tokenizer: Simplify sizeof for string array and string pointer)
http://sourceforge.net/apps/trac/cppcheck/ticket/487
2009-10-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, src/checkmemoryleak.cpp,
src/tokenize.cpp, src/tokenize.h, test/testsimplifytokens.cpp:
Refactored sizeof simplification and fixed one TODO assert.
2009-10-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Detect referenced by value
errors for std::map also.
2009-10-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fix #388 (resource
leak not detected, allocation through function call)
http://sourceforge.net/apps/trac/cppcheck/ticket/388
2009-10-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #796
(segmentation fault while scanning)
http://sourceforge.net/apps/trac/cppcheck/ticket/796
2009-10-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memory leaks: don't
write errors for static member variables
2009-10-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, src/checkother.h, test/testother.cpp: Fix #797
(false positive: variable scope when using function call)
2009-10-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fix #575
(Array index out of bounds check: get address of one-past-the-end
array is legal) http://sourceforge.net/apps/trac/cppcheck/ticket/575
2009-10-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #580 (double
free not found) http://sourceforge.net/apps/trac/cppcheck/ticket/580
2009-10-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testsimplifytokens.cpp, test/testtokenize.cpp: Moved some
test cases from testtokenize into testsimplifytokens and added one
TODO case.
2009-10-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix #795
(Preprocessor: Incorrect handling of #if (A) || (B))
http://sourceforge.net/apps/trac/cppcheck/ticket/795
2009-10-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix #765 (divsion by zero
not detected in std::cout stream)
http://sourceforge.net/apps/trac/cppcheck/ticket/765
2009-10-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp: Removed variable that wasn't used.
2009-10-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp: Replace substr() with compare() to speed up
preprocessing. See #762 (version 1.37 of cppcheck runs extremely
slowly on windows)
http://sourceforge.net/apps/trac/cppcheck/ticket/762
2009-10-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fix #794
(Floating point exception on CheckBufferOverrun)
http://sourceforge.net/apps/trac/cppcheck/ticket/794
2009-10-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #365 (Improve
simplifyQuestionMark() in tokenize.cpp)
http://sourceforge.net/apps/trac/cppcheck/ticket/365
2009-10-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h: Refactoring: Remove
findClosing(). It is replaced by Token::link().
2009-10-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fix #771 (False positive.
Null pointer dereference in a switch case)
http://sourceforge.net/apps/trac/cppcheck/ticket/771
2009-10-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix
simplifyRedundantParanthesis() to work after '}'
2009-10-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #776
(Tokenizer: remove useless brackets around variable assignment)
http://sourceforge.net/apps/trac/cppcheck/ticket/776
2009-10-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #778
(Tokenizer: impove simplification inside if())
http://sourceforge.net/apps/trac/cppcheck/ticket/778
2009-10-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fix #793 (Improve
passedByValue check)
http://sourceforge.net/apps/trac/cppcheck/ticket/793
2009-10-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* generate_coverage_report: Better cleanup for coverage script.
2009-10-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* generate_coverage_report: Add script generate_coverage_report for
generating test coverage report using gcov and lcov
2009-10-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #777
(Tokenizer: double casting simplified incorrectly)
http://sourceforge.net/apps/trac/cppcheck/ticket/777
2009-10-04 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #784
(Tokenizer: Simplify 2[a] -> a[2])
http://sourceforge.net/apps/trac/cppcheck/ticket/784
2009-10-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #789 (false
positive: resource leak reported when using for loop)
2009-10-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp: Fixed #786 (memleak: segmentation fault
for 'if TRACE_ON(x)')
2009-10-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Preprocessor:
Minor fixes (#772)
2009-10-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #785 (False
positive: resource leak of extern FILE*)
2009-10-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.h: doc: fixed linebreak in previous commit
6aea2faacd
2009-10-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.h: doc: refactoring of the docs for CheckOther
2009-10-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, src/checkother.h: Removed
CheckOther::warningIf
2009-10-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #727 (False
positive: Resource leak when release is done inside function call)
2009-10-04 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp, src/checkautovariables.h: Fixed #783
(Refactoring: autoVariables error message is hard coded in 3
locations) http://sourceforge.net/apps/trac/cppcheck/ticket/783
2009-10-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: astyle formatting
2009-10-04 Slava Semushin <php-coder@altlinux.ru>
* test/testother.cpp: Fixed #782 (Checks are missing test cases) http://sourceforge.net/apps/trac/cppcheck/ticket/782
2009-10-04 Slava Semushin <php-coder@altlinux.ru>
* src/preprocessor.h: src/preprocessor.h: fixed comment. removeParantheses() doesn't throws exception. Correction for 1a48f869c84018d73fd63bf59263224b019a5997 commit. No code change.
2009-10-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/tokenize.cpp,
test/testsimplifytokens.cpp, test/testtokenize.cpp: use '<'
comparisons instead of '>' (#610)
2009-10-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, src/preprocessor.h,
test/testpreprocessor.cpp: Fixed #772 (Preprocessor: #if(A) is not
seen equal to #if A)
2009-10-03 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #733 (New
check: locking & unlocking mutex and semaphore variables)
2009-10-03 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #780
(Tokenizer: replace typedef for pointers to struct) http://sourceforge.net/apps/trac/cppcheck/ticket/780
2009-10-03 Slava Semushin <php-coder@altlinux.ru>
* src/token.cpp: Token::Match(): made message about bug more
verbose.
2009-10-03 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp: Fixed #775 (###### If you see this,
there is a bug ###### Token::Match() - varid was 0) http://sourceforge.net/apps/trac/cppcheck/ticket/775
2009-10-03 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer::simplifyVarDecl(): join 2 conditions. No functional change.
2009-10-03 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed #770 (Tokenizer:
Var id not set for static variables in some cases) http://sourceforge.net/apps/trac/cppcheck/ticket/770
2009-10-03 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, src/tokenize.cpp: Borland C++: Fixed
compiler errors
2009-10-02 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp: Attempt to speed up preprocessing on
macro-in-macro situations. See #762 (version 1.37 of cppcheck runs
extremely slowly on windows)
http://sourceforge.net/apps/trac/cppcheck/ticket/762
2009-10-02 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testtokenize.cpp: TODO test cases
TestTokenizer::vardec_static added
2009-10-02 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp: Abort comma simplification when ", %num%" is
detected. This increases speed a lot in some rare situations.
2009-10-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleak.cpp: memory leaks: refactoring unit tests
2009-10-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h, test/testtokenize.cpp: Fixed
#679 (False positive: Unused private function produced by exception
specification)
2009-10-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* gui/application.ui: eliedebrauwer: fix typo (#755)
2009-10-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* gui/cppcheck_nl.ts: eliedebrauwer: dutch translation (#756)
2009-10-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* gui/gui.pro, gui/translationhandler.cpp: eliedebrauwer: dutch
translation (#756)
2009-10-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* man/cppcheck.1.xml: Minor fix to man page
2009-10-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fix #421 (Memory
leak not found when typeid() is used.)
http://sourceforge.net/apps/trac/cppcheck/ticket/421
2009-10-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp: Trivial refactoring
2009-10-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fix #741
(False positive: Buffer overrun with -a when index increased in
multiple locations)
http://sourceforge.net/apps/trac/cppcheck/ticket/741
2009-10-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, src/checkbufferoverrun.h,
test/testbufferoverrun.cpp: Fix #419 (missleading buffer overrun)
http://sourceforge.net/apps/trac/cppcheck/ticket/419
2009-10-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp: Removed dead code created by previous commit
2009-10-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #763
(Tokenizer: Goto incorrectly simplified)
http://sourceforge.net/apps/trac/cppcheck/ticket/763
2009-09-30 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleak.cpp: memory leaks: fixed TODO_ASSERT_EQUALS
2009-09-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testmemleak.cpp, test/testother.cpp,
test/testsimplifytokens.cpp, test/testtokenize.cpp: Fix #745 (false
positive: possible null pointer dereference , while)
http://sourceforge.net/apps/trac/cppcheck/ticket/745
2009-09-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fix #744
(False positive: (possible error) Array index out of bounds)
http://sourceforge.net/apps/trac/cppcheck/ticket/744
2009-09-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix #759 (Tokenizer:
Incorrect var id when two variables with same name)
http://sourceforge.net/apps/trac/cppcheck/ticket/759
2009-09-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h, test/testsimplifytokens.cpp: Fix
#761 (Tokenizer: typedef inside class is incorrectly simplified)
http://sourceforge.net/apps/trac/cppcheck/ticket/761
2009-09-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #760
(Tokenizer: Goto not simplified)
http://sourceforge.net/apps/trac/cppcheck/ticket/760
2009-09-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testsimplifytokens.cpp: Added TODO test cases:
simplifyTypedef, simplifyTypedef2, simplifyTypedef3
2009-09-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fix #750 (cppcheck wants
variable outside do-loop to be only inside loop)
http://sourceforge.net/apps/trac/cppcheck/ticket/750 Fix #758 (False
positive on variable scope with boost foreach)
http://sourceforge.net/apps/trac/cppcheck/ticket/758
2009-09-29 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp: Changed simplifyConditionOperator() to create
also {} around if and else Fixed validate() in tokenizer.
2009-09-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testbufferoverrun.cpp: added a TODO_ASSERT_EQUALS for the
counter
2009-09-29 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkclass.cpp, test/testclass.cpp, test/testconstructors.cpp:
Fix #757 (Change message: (style) The class 'KClass' has no
constructor) http://sourceforge.net/apps/trac/cppcheck/ticket/757
2009-09-29 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer::tokenize(): removed useless
const_cast. No functional change.
2009-09-29 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testbufferoverrun.cpp: TODO test case for count() added
2009-09-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Ashim
Kapoor: deal with backspace better (#694)
2009-09-29 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testtokenize.cpp: Fix comment in test case
2009-09-29 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.h, test/testother.cpp: Check nullpointer check is
now executed without --style flag Added TODO test case for
nullpointer check
2009-09-29 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fix #751 (if-condition
considered redundant even with else-branch)
http://sourceforge.net/apps/trac/cppcheck/ticket/751 Fix also other
issue with if(a.b) delete c.b; Fix also other issue with if(a.b.c)
delete a.b.c;
2009-09-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #746 (False
positive, Memory leak when goto is used)
2009-09-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memory leaks: fixed
a TODO_ASSERT_EQUALS for a false positive
2009-09-28 Reijo Tomperi <aggro80@users.sourceforge.net>
* man/cppcheck.1.xml, src/cppcheck.cpp: Fix #739 (Pre-defined output
format templates)
http://sourceforge.net/apps/trac/cppcheck/ticket/739 Patch from
lanurmi. Slightly modified by me.
2009-09-28 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h, test/testtokenize.cpp: Fix #754
(Tokenizer: transform modifier "signed" to "int")
http://sourceforge.net/apps/trac/cppcheck/ticket/754 Also fix int
unsigned -> unsigned int
2009-09-28 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed #753 (Tokenizer:
don't simplify variables inside do {} while loop) http://sourceforge.net/apps/trac/cppcheck/ticket/753
2009-09-27 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testbufferoverrun.cpp: Refactoring the unit testing of format
strings
2009-09-27 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #728 (False
positive, resource leak, when released in a loop)
2009-09-27 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp: src/checkbufferoverrun.cpp: fixed
regression. test suite was broken after my
e8c83613e4bcc95b7c3d91d5c71f4e2363a5cdf3 commit.
2009-09-27 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fixed #740
(False positive, buffer overrun with --all) Regression since 07f41f4563fc138b527af6ce153433a661250020 commit. http://sourceforge.net/apps/trac/cppcheck/ticket/740
2009-09-27 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp: src/checkbufferoverrun.cpp: removed
useless semicolon. No functional change.
2009-09-27 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fixed #738
(False Buffer overrun with -a when i is increased by more than 1
inside loop body) http://sourceforge.net/apps/trac/cppcheck/ticket/738
2009-09-27 Reijo Tomperi <aggro80@users.sourceforge.net>
* cppcheck.cbp, gui/aboutdialog.cpp, gui/aboutdialog.h,
gui/applicationdialog.cpp, gui/applicationdialog.h,
gui/applicationlist.cpp, gui/applicationlist.h,
gui/checkthread.cpp, gui/checkthread.h, gui/common.h,
gui/csvreport.cpp, gui/csvreport.h, gui/fileviewdialog.cpp,
gui/fileviewdialog.h, gui/main.cpp, gui/mainwindow.cpp,
gui/mainwindow.h, gui/projectfile.cpp, gui/projectfile.h,
gui/report.cpp, gui/report.h, gui/resultstree.cpp,
gui/resultstree.h, gui/resultsview.cpp, gui/resultsview.h,
gui/settingsdialog.cpp, gui/settingsdialog.h,
gui/threadhandler.cpp, gui/threadhandler.h, gui/threadresult.cpp,
gui/threadresult.h, gui/translationhandler.cpp,
gui/translationhandler.h, gui/txtreport.cpp, gui/txtreport.h,
gui/xmlreport.cpp, gui/xmlreport.h, src/check.h,
src/checkautovariables.cpp, src/checkautovariables.h,
src/checkbufferoverrun.cpp, src/checkbufferoverrun.h,
src/checkclass.cpp, src/checkclass.h,
src/checkdangerousfunctions.cpp, src/checkdangerousfunctions.h,
src/checkheaders.cpp, src/checkheaders.h, src/checkmemoryleak.cpp,
src/checkmemoryleak.h, src/checkother.cpp, src/checkother.h,
src/checkstl.cpp, src/checkstl.h, src/checkunusedfunctions.cpp,
src/checkunusedfunctions.h, src/classinfo.h, src/cppcheck.cpp,
src/cppcheck.h, src/cppcheckexecutor.cpp, src/cppcheckexecutor.h,
src/errorlogger.cpp, src/errorlogger.h, src/filelister.cpp,
src/filelister.h, src/main.cpp, src/mathlib.cpp, src/mathlib.h,
src/preprocessor.cpp, src/preprocessor.h, src/settings.cpp,
src/settings.h, src/threadexecutor.cpp, src/threadexecutor.h,
src/token.cpp, src/token.h, src/tokenize.cpp, src/tokenize.h,
test/testautovariables.cpp, test/testbufferoverrun.cpp,
test/testcharvar.cpp, test/testclass.cpp,
test/testconstructors.cpp, test/testcppcheck.cpp,
test/testdangerousfunctions.cpp, test/testdivision.cpp,
test/testfilelister.cpp, test/testincompletestatement.cpp,
test/testmathlib.cpp, test/testmemleak.cpp, test/testother.cpp,
test/testpreprocessor.cpp, test/testredundantif.cpp,
test/testrunner.cpp, test/testsimplifytokens.cpp, test/teststl.cpp,
test/testsuite.cpp, test/testsuite.h, test/testtoken.cpp,
test/testtokenize.cpp, test/testunusedfunctions.cpp,
test/testunusedprivfunc.cpp, test/testunusedvar.cpp,
tools/dmake.cpp: Fix GPL comments in all files. ">." was missing
from the end.
2009-09-27 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/cppcheck.cpp: Remove redundant comparison
2009-09-27 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fixed #714
(False Buffer overrun with -a when i is increased by more than 1 in
a loop) http://sourceforge.net/apps/trac/cppcheck/ticket/714
2009-09-27 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/mathlib.cpp, src/mathlib.h, src/tokenize.cpp, src/tokenize.h,
test/testsimplifytokens.cpp: Fix #720 (String length for strings
like this "\x61" is calculated wrong)
http://sourceforge.net/apps/trac/cppcheck/ticket/720
2009-09-27 Slava Semushin <php-coder@altlinux.ru>
* src/checkstl.cpp, test/teststl.cpp: Detects invalid iterator
inside for() when postfix form of increment used.
2009-09-27 Slava Semushin <php-coder@altlinux.ru>
* src/checkstl.cpp, test/teststl.cpp: Fixed #735 (Detects invalid
iterator after push_back() when iterator declared inside for()) http://sourceforge.net/apps/trac/cppcheck/ticket/735
2009-09-27 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Detect
buffer overruns when ?: use as sprintf() argument.
2009-09-27 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fixed #729
(False positive: Buffer overrun when ? is used to select parameter) http://sourceforge.net/apps/trac/cppcheck/ticket/729
2009-09-26 Slava Semushin <php-coder@altlinux.ru>
* src/token.cpp, test/testbufferoverrun.cpp, test/testtoken.cpp:
Fixed #731 (False positive, strcpy copying a buffer with a null
character) http://sourceforge.net/apps/trac/cppcheck/ticket/731
2009-09-26 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp: CheckBufferOverrun::count(): commented
out debug message. Added in 3da779725db1de541fd5e0c14468b3b09e6234a6 commit.
2009-09-26 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Ashim
Kapoor: handle %i,%f,%d,%x,%X better (#694)
2009-09-26 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed #732 (Tokenizer:
Incorrect simplification) Regression since 58a9e05697b4585883bbc00153d1584d9247190f commit. http://sourceforge.net/apps/trac/cppcheck/ticket/732
2009-09-26 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, test/teststl.cpp: Fixed #710 (False positive:
invalid vector iterator after push_back)
2009-09-26 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #718 (False
positive, resource leak when break in a loop before exit)
2009-09-25 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fix #730
(False positive, buffer overrun with strncpy)
http://sourceforge.net/apps/trac/cppcheck/ticket/730
2009-09-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleak.cpp: Memory leaks: Added a TODO assertion for a
false positive
2009-09-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, test/testunusedprivfunc.cpp: Fixed #678 (False
positive: Unused private function produced by inner class)
2009-09-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, src/checkbufferoverrun.h,
test/testbufferoverrun.cpp: Ashim Kapoor: Added function that
returns minimum size of format strings (#694)
2009-09-24 Reijo Tomperi <aggro80@users.sourceforge.net>
* : commit 16e55f4f8908acbc47b76ad7f89c73df2dabd8fe Author: Reijo
Tomperi <aggro80@users.sourceforge.net> Date: Thu Sep 24 23:46:08
2009 +0300
2009-09-24 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Memory leaks: fixed
a TODO_ASSERT_EQUALS
2009-09-24 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile: Revert "Makefile: made it ready for release" This reverts commit 67d695437430e93a788a378cb73611ff49fb7229.
2009-09-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #700 (False
positive: Memory leak)
2009-09-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.h, src/tokenize.h, testrunner.vcproj: Replaced
UNIT_TESTING ifdef with _MSC_VER
2009-09-23 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix #713 (Tokenizer:
Simplify 0L) http://sourceforge.net/apps/trac/cppcheck/ticket/713
Use MathLib to handle other variations of 0.
2009-09-23 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/cppcheckexecutor.h: Changed some CppcheckExecutor functions
and variables protected and virtual.
2009-09-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* win_installer/gui.wxs: added wix file for gui installation
2009-09-23 Reijo Tomperi <aggro80@users.sourceforge.net>
* readme.txt: cross compiling info added to readme.txt
2009-09-23 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testsimplifytokens.cpp:
Tokenizer::simplifySizeof(): use Token::getStrLength(). Fixed wrong result when string contains escaped quotes. Correction for 0e729fedc070962d1023d4cd9ad9bdaa8e0eee30 commit.
2009-09-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* win_installer/cppcheck.wxs: Windows Installer: A simple installer
without the gui
2009-09-23 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix #713 (Tokenizer:
Simplify 0L) http://sourceforge.net/apps/trac/cppcheck/ticket/713
2009-09-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Changelog: updated the Changelog
2009-09-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile: Makefile: made it ready for release
2009-09-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* createrelease, src/cppcheck.cpp, src/main.cpp,
win_installer/cppcheck.iss: updated version to 1.37
2009-09-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #716
(segmentation fault: sizeof string)
2009-09-22 Slava Semushin <php-coder@altlinux.ru>
* test/testdivision.cpp: test/testdivision.cpp: fixed syntax errors
in TestDivision::division8 Before testrunner complains: ### Unlogged error at Tokenizer::syntaxError: Invalid number of
character ({) ### Unlogged error at Tokenizer::syntaxError: Invalid
number of character ({) ### Unlogged error at
Tokenizer::syntaxError: Invalid number of character ({) Broken since 36c7108a2821c477cf4d5eb9289281de8cd285ce commit where
test case was added.
2009-09-22 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer::createLinks(): fixed typo in comment. Since commit 1c01dd64f353d6872ec4b04867393aa283423445.
2009-09-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #715 (False
positive: Resource leak when exit() after if loop)
2009-09-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed #702 (If you see
this, there is a bug - varid was 0)
2009-09-21 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix #706 (false
positive: invalid number of character ((), can't process file)
http://sourceforge.net/apps/trac/cppcheck/ticket/706
2009-09-20 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #701 (false
positive: Invalid deallocation)
http://sourceforge.net/apps/trac/cppcheck/ticket/701
2009-09-20 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix #703 (Tokenizer:
Create links for [])
http://sourceforge.net/apps/trac/cppcheck/ticket/703
2009-09-20 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp: astyle fix
2009-09-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Changelog: Changelog
2009-09-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* createrelease, src/cppcheck.cpp, src/main.cpp,
win_installer/cppcheck.iss, win_installer/cppcheck.wxs: Version:
1.36
2009-09-20 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Additional fix for better
simplifying array declaration. Pointed out by hyd_danmar@ in IRC. Addressed to #696
2009-09-20 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fixed #690
(False positive: (possible error) Buffer overrun) http://sourceforge.net/apps/trac/cppcheck/ticket/690
2009-09-20 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed #696 (Tokenizer:
Simplify array declaration) http://sourceforge.net/apps/trac/cppcheck/ticket/696
2009-09-20 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix #667
(Preprocessor does not handle macro inside macro correctly)
http://sourceforge.net/apps/trac/cppcheck/ticket/667
2009-09-19 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testmemleak.cpp, test/testtokenize.cpp: astyle fix
2009-09-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.h, src/tokenize.cpp, test/testother.cpp: Fixed #673
(False positive: null pointer dereference when dynamic cast is used)
2009-09-19 Slava Semushin <php-coder@altlinux.ru>
* src/token.cpp, src/token.h: Token::stringifyList(): removed const
modifier from parameter. const useless in this case because argument passed by value. No functional change.
2009-09-19 Slava Semushin <php-coder@altlinux.ru>
* test/testtokenize.cpp: test/testtokenize.cpp: refactoring code. - introduce and use simplifyKnownVariables() function - don't append leading space to result string with tokens No functional change.
2009-09-19 Slava Semushin <php-coder@altlinux.ru>
* src/preprocessor.h: Preprocessor: document that removeComments()
may throws exception. No code change.
2009-09-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h,
test/testmemleak.cpp: Fixed #688 (False positive in error category
when --all is used)
2009-09-18 Vesa Pikki <spyree@gmail.com>
* gui/checkthread.cpp: Fixed ticket#687. Thread state is now
initialized to "Ready".
2009-09-18 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp: Preprocessor: Skip BOM
2009-09-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fixed #676 (The scope of
variable can actually not be limited)
2009-09-16 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, test/testunusedprivfunc.cpp: Fixed #677 (False
positive: Unused private function produced by class member
initialization)
2009-09-16 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, test/testclass.cpp: Fixed by #675 (false
positive: when operator is overloaded)
2009-09-15 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #684
(Tokenizer: (65536*72/100) incorrectly simplified to zero)
http://sourceforge.net/apps/trac/cppcheck/ticket/684
2009-09-15 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #671 (False
positive. Leak when loop is before exit)
2009-09-15 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testdivision.cpp: Fixed #669 (possible
style without --all + false positives)
2009-09-14 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testpreprocessor.cpp: TODO test case for preprocessor macro
handling
2009-09-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #658
(Assertion 'begin != __null' failed)
2009-09-14 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix #670 (Tokenizer:
Simplify '\0' into 0)
http://sourceforge.net/apps/trac/cppcheck/ticket/670
2009-09-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h: Tokenizer: Added a simple
validation function that we can use during debugging
2009-09-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: simplifyTemplates: assert that braces and
parantheses are handled correctly
2009-09-13 Slava Semushin <php-coder@altlinux.ru>
* test/testsimplifytokens.cpp: TestSimplifyTokens::sizeof_(): don't
append leading space. No functional change.
2009-09-13 Slava Semushin <php-coder@altlinux.ru>
* src/token.cpp: Token::getStrLength(): fixed errors from valgrind. Correction for 13b2edd61e70d4d886e0cf5ba587aa8b2f9f2d3e commit.
2009-09-13 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #645
(Tokenizer::simplifyCasts() breaks link() if casts function) http://sourceforge.net/apps/trac/cppcheck/ticket/645
2009-09-13 Slava Semushin <php-coder@altlinux.ru>
* test/testtoken.cpp: TestTOKEN::getStrLength(): allocate tok
variable in stack (instead of in heap) No functional change.
2009-09-13 Slava Semushin <php-coder@altlinux.ru>
* src/token.cpp: Token::getStrLength(): use Token::strValue(). No functional change.
2009-09-13 Slava Semushin <php-coder@altlinux.ru>
* src/token.cpp, src/token.h: Token::strValue(): added const
modifier. Correction for 241f585d34cb6f645d112c5e0cc54fe852c21c3b commit. No functional change.
2009-09-13 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h:
Tokenizer::simplifyMathFunctions(): change return type to void. Correction for 241f585d34cb6f645d112c5e0cc54fe852c21c3b commit. No functional change.
2009-09-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/check.h, src/checkbufferoverrun.cpp, src/checkmemoryleak.h,
src/cppcheck.cpp, src/preprocessor.cpp, src/threadexecutor.h,
src/tokenize.cpp, src/tokenize.h: Fixed #478 (Warnings in Visual
Studio build with -W4)
2009-09-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleak.cpp: memory leaks: added test assertion. simplify
';alloc;exit;' to ';exit;'
2009-09-12 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/token.cpp, src/token.h, src/tokenize.cpp, src/tokenize.h,
test/testsimplifytokens.cpp, test/testtoken.cpp: Fix #594 (division
by zero not detected when using atol or atof)
http://sourceforge.net/apps/trac/cppcheck/ticket/594 Simplify
atol("0") into 0 (and other atol() calls also)
2009-09-12 Reijo Tomperi <aggro80@users.sourceforge.net>
* man/cppcheck.1.xml: Fix #662 (Command line option --append not
documented) http://sourceforge.net/apps/trac/cppcheck/ticket/662
2009-09-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memory leaks: minor
refactorings
2009-09-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, src/checkclass.h, test/testclass.cpp: Fixed
#375 (new check: Detect when using 'this-x')
2009-09-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #518 (False
positive for leaks when function from err()-family used)
2009-09-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #644
(Tokenizer::simplifyComma: Wrong simplification in cast)
2009-09-11 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: More Fixing of
#635 (Preprocessor: remove 'asm(...)')
2009-09-11 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/mathlib.cpp, test/testmathlib.cpp: Fix ticket #632 (Mathlib
isInt() identifies "330L" as not int)
http://sourceforge.net/apps/trac/cppcheck/ticket/632
2009-09-11 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, src/preprocessor.h,
test/testpreprocessor.cpp: Simple fix for #635 (preprocessor: remove
'asm(...)')
2009-09-10 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h: Fixed some "is
passed by value" errors from cppcheck source.
2009-09-10 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h: Fix #656 (Improve
const-correctness)
http://sourceforge.net/apps/trac/cppcheck/ticket/656 Applied
slightly modified patch from elfring
2009-09-09 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testsimplifytokens.cpp: New test case in
TestSimplifyTokens::template_default_parameter
2009-09-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.h: Fixed #650 ('possible style' pre-incrementing
error shown without --all)
2009-09-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/cppcheck.cpp, src/settings.cpp, src/settings.h: Settings:
Added an 'append' command line flag that allows the user to provide
extra information about functions. See ticket #260
2009-09-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testsimplifytokens.cpp: astyle fix
2009-09-06 Slava Semushin <php-coder@altlinux.ru>
* test/testsimplifytokens.cpp: Added test cases for #487.
2009-09-06 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h: Refactoring: move code for
sizeof() simplification to method. Introduce and use Tokenizer::simplifySizeof() method. No functional change.
2009-09-06 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer(simplifyNestedStrcat): correctly set
line numbers for new tokens. Pointed out by aggro80@ in IRC. Thanks!
2009-09-06 Kimmo Varis <kimmov@gmail.com>
* readme_gui.txt: Upate QT framework's URL to readme.
2009-09-06 Kimmo Varis <kimmov@gmail.com>
* gui/readme.txt, readme_gui.txt: Move gui's readme to root
directory to make it easier to find.
2009-09-06 Kimmo Varis <kimmov@gmail.com>
* readme.txt: Wrap long line in readme.txt.
2009-09-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Templates: Scaled
up the handling of default values for template parameters (#638)
2009-09-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix another issue
related to #647 (Crash during tokenizing (wrong) K&R function
declaration) http://sourceforge.net/apps/trac/cppcheck/ticket/647
2009-09-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix #647 (Crash
during tokenizing (wrong) K&R function declaration)
http://sourceforge.net/apps/trac/cppcheck/ticket/647 Thanks to
undingen for providing a patch
2009-09-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* man/cppcheck.1.xml, src/cppcheck.cpp, src/cppcheckexecutor.cpp,
src/errorlogger.cpp, src/errorlogger.h, src/settings.h,
test/testcppcheck.cpp: New command line argument added --template
Fix ticket #462 (Allow using template to customize output format)
http://sourceforge.net/apps/trac/cppcheck/ticket/462
2009-09-06 Slava Semushin <php-coder@altlinux.ru>
* src/preprocessor.cpp: Fixed #585 (Preprocessor: Don't check the
same configuration twice) http://sourceforge.net/apps/trac/cppcheck/ticket/585
2009-09-05 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h, test/testbufferoverrun.cpp,
test/testsimplifytokens.cpp: Fixed #629 (Tokenizer: expand nested
strcat() calls) http://sourceforge.net/apps/trac/cppcheck/ticket/629
2009-09-05 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : commit d9d2f53df6eb547432366937175af8f8b29c63a8 Author: Aleksey
Palazhchenko <alek.silverstone@gmail.com> Date: Fri Sep 4 22:59:25
2009 +0400
2009-09-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleak.cpp: memory leaks: Added a todo test case for the
getcode function
2009-09-04 Aleksey Palazhchenko <alek.silverstone@gmail.com>
* test/test.pro: Fixes in test.pro
2009-09-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* : commit 74086740172d1d9dfdaf5501a5f22aa1f48d32a6 Author: Reijo
Tomperi <aggro80@users.sourceforge.net> Date: Thu Sep 3 23:28:00
2009 +0300
2009-09-03 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: templates: remove
typename tokens
2009-09-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/filelister.cpp: Fix ticket #642 (txx (template implementation
files) not recognized/checked.)
http://sourceforge.net/apps/trac/cppcheck/ticket/642
2009-09-03 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: templates: Quick
fix for the problem with default value for a template argument
2009-09-02 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testsimplifytokens.cpp: Templates: Added todo testcase for
handling default values for template arguments. Related with ticket
#638
2009-09-02 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkclass.cpp, test/testclass.cpp: Fix ticket #637 (False
positive, Using 'memset' on struct that contains a 'std::string')
http://sourceforge.net/apps/trac/cppcheck/ticket/637
2009-09-02 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testclass.cpp: Added few memset test cases
2009-09-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.cpp, src/mathlib.cpp, test/testmathlib.cpp,
test/testother.cpp: Don't warn about division by zero if zero if
floating point number. Fix bug from mathlib isInt() and add test
case from which few are false positives
2009-09-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memory leaks: fixed
a todo testcase to find more leaks
2009-09-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memory leaks: fixed
todo testcases to find more memory leaks
2009-09-02 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp: CheckMemoryLeakInFunction: print
simplified tokens only with --debug and --verbose. Suggested by aggro80@ and approved by hyd_danmar@ in IRC.
2009-09-02 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer::syntaxError(): throw exception when
debug enabled. This allows to stop test suite when first syntax error found.
2009-09-02 Slava Semushin <php-coder@altlinux.ru>
* src/mathlib.cpp, src/token.cpp, src/tokenize.cpp: Print error
messages to stderr (instead of stdout).
2009-09-02 Slava Semushin <php-coder@altlinux.ru>
* test/testmemleak.cpp: test/testmemleak.cpp(dofindleak): provide
settings object with debug enabled. This allows to print tokens when syntax error found in one of tests.
2009-09-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Memory leaks: fixed
a todo testcase
2009-09-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleak.cpp: memory leaks: minor fix for testcase
2009-09-01 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer::syntaxError: show details about
unlogged syntax error.
2009-09-01 Slava Semushin <php-coder@altlinux.ru>
* src/checkstl.cpp, test/teststl.cpp: Fixed #631 (False positive
matching iterator which is dereferenced) http://sourceforge.net/apps/trac/cppcheck/ticket/631
2009-09-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fix #630 (Division by zero
check only looks at first character of divisor)
http://sourceforge.net/apps/trac/cppcheck/ticket/630 Thanks to
liam_routt for finding this and providing fix for it.
2009-08-31 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testpreprocessor.cpp: Preprocessor: Added a todo testcase
2009-08-31 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, src/tokenize.cpp, test/testclass.cpp: Borland
C++: Don't warn about uninitialized variables that are declared in
the __published section. These are auto-initialized
2009-08-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testmemleak.cpp: astyle fix
2009-08-30 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Refactoring:
Refactoring of the unit testing for the CheckMemoryLeakInFunction
2009-08-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fix ticket #612 (Division
by zero not detected when zero has type suffix)
http://sourceforge.net/apps/trac/cppcheck/ticket/612
2009-08-30 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : commit c50f7787f90ecd44395f2fb1fae4f69ca3a37899 Author: Slava
Semushin <php-coder@altlinux.ru> Date: Sun Aug 30 18:44:23 2009
+0700
2009-08-30 Aleksey Palazhchenko <alek.silverstone@gmail.com>
* src/src.pro: Fixes in src.pro 1) Binary shouldn't be in bundle (Mac OS X). 2) Binary doesn't use Qt at all.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp: CheckBufferOverrun::checkScope(): use
Token::getStrLength(). No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/token.cpp, src/token.h, test/testtoken.cpp:
Token::getStrLength(): introduce new static method. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/preprocessor.cpp: Preprocessor::getcfgs(): use
std::list::unique() for removing duplicates. No functional change.
2009-08-30 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: Refactoring: Use the Token::link
2009-08-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix ticket #611
(Preprocessor: the configurations "A;B" and "B;A" are the same)
http://sourceforge.net/apps/trac/cppcheck/ticket/611
2009-08-29 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/tokenize.cpp,
test/testsimplifytokens.cpp: astyle fix
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer::setVarId(): simplify code a bit. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer::setVarId(): use Token::link() instead
of loop. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer::setVarId(): simplify condition. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer: don't call simplifyCalculations()
twice. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h:
Tokenizer::simplifyFunctionParameters(): change return type to void. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h:
Tokenizer::simplifyConditionOperator(): change return type to void. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h: Tokenizer::elseif(): change
return type to void. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h:
Tokenizer::simplifyDoWhileAddBraces(): change return type to void. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h:
Tokenizer::simplifyIfAddBraces(): change return type to void. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h: Tokenizer::simplifyComma():
change return type to void. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h: Tokenizer::simplifyIfNotNull():
change return type to void. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h: Tokenizer::simplifyIfNot():
change return type to void. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h: Tokenizer::simplifyIfAssign():
change return type to void. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h: Tokenizer::simplifyVarDecl():
change return type to void. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h: Tokenizer::simplifyCasts():
change return type to void. No functional change.
2009-08-30 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h:
Tokenizer::simplifyLogicalOperators(): change return type to void. No functional change.
2009-08-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #615 (Memleak
was detected in 1.32 but not in 1.33 and later)
2009-08-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #414 (memory
leak in if-else construct not detected)
2009-08-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memory leaks:
improved the simplification of 'if* ;'
2009-08-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memory leaks: fixed
todo test case. reduce exit better
2009-08-29 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h, test/testsimplifytokens.cpp:
Tokenizer: enhance simplifyNot() and rename to
simplifyLogicalOperators(). Don't replace "and" everything becuse it may be used as variable
name. Better fix for #620 Corrections for commit
eb05cf904df3b9b1e90de5dcc912817e83d422c8
2009-08-29 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer(simplifyNot): replace "if" by "else
if" and added braces. No functional change.
2009-08-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp: memory leaks: fixed bug. return|else are
not part of a variable declaration
2009-08-29 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #620
(Tokenizer: replace "and" by "&&") http://sourceforge.net/apps/trac/cppcheck/ticket/620
2009-08-29 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer(simplifyIfAssign): fixed to link()
just inserted tokens. Fixed segfault on samba sources.
2009-08-29 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer(simplifyComma): join two if bodies to
one. No functional change.
2009-08-29 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #618
(Tokenizer: Wrong handling of enum) http://sourceforge.net/apps/trac/cppcheck/ticket/618
2009-08-29 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp: CheckMemoryLeakInFunction(getcode): don't
call Token::Match() if varid equals to zero.
2009-08-29 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer: call createLinks() only once. Fixed simplifyIfAssign() and simplifyIfNot() to link() just inseted
tokens. No functional change.
2009-08-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memory leaks:
better handling of open/close
2009-08-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: astyle
2009-08-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #627 (False
positive with --all, Resource leak with open())
2009-08-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Memory leaks:
handling asprintf better
2009-08-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Memory leaks: Fixed
two todo testcases (getcode handling of asprintf)
2009-08-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memory leaks: fixed
a todo testcase
2009-08-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Memory leaks:
Testing that asprintf is handled correctly
2009-08-28 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/token.cpp, src/tokenize.cpp: Fixed bug in Token::deleteThis
and optimized createLinks() calls.
2009-08-28 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/tokenize.cpp: astyle fix
2009-08-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testsimplifytokens.cpp: fixed failed assertions when running
the testrunner
2009-08-28 danmar <danmar@ab00979.kgk.ad>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #625
(cppcheck dumps core on valid code)
2009-08-28 danmar <danmar@ab00979.kgk.ad>
* src/tokenize.cpp, test/testsimplifytokens.cpp, test/testsuite.h:
Fixed #622 (Tokenizer: Calculations are wrong)
2009-08-28 danmar <danmar@ab00979.kgk.ad>
* src/filelister.cpp: Borland C++: Fixed problem in FileLister
2009-08-28 danmar <danmar@ab00979.kgk.ad>
* src/checkmemoryleak.cpp, src/mathlib.cpp: borland c++: fixed
compiler errors
2009-08-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fixed #623 (False
positive: possible null pointer dereference when using the ?:
operator)
2009-08-27 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Fixed #616 (Tokenizer: simplifyTemplates()
should link() all inserted brackets) This also fixed #619. http://sourceforge.net/apps/trac/cppcheck/ticket/616
http://sourceforge.net/apps/trac/cppcheck/ticket/619
2009-08-27 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Revert "Fixed #616 (cppcheck crashes with
Eigen/src/Cholesky/CholeskyInstantiations.cpp)" This reverts commit 89f96451742fcab458650581e01895acb7e1de07. This change not fully and properly fixes a problem but just work
arround it. The root of problem is because
Tokenizer::simplifyTemplates() inserts new tokens with brackets
which not link()-ed.
2009-08-26 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkclass.cpp, test/testclass.cpp: Fix the last test case
from ticket #613 (array members variables are not checked in
constructor) http://sourceforge.net/apps/trac/cppcheck/ticket/613
2009-08-26 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Preprocessor:
better handling of pragma asm and pragma endasm
2009-08-27 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fixed #617
(False positive "buffer overrun" when sprintf() doesn't have
optional parameters) http://sourceforge.net/apps/trac/cppcheck/ticket/617
2009-08-26 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testsimplifytokens.cpp: added testcase for the
Tokenizer::simplifyGoto
2009-08-26 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #498
(Tokenizer: simplify 'goto')
2009-08-26 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Fixed #616 (cppcheck crashes with
Eigen/src/Cholesky/CholeskyInstantiations.cpp) http://sourceforge.net/apps/trac/cppcheck/ticket/616
2009-08-26 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testclass.cpp: Fix sytax error in uninitVarArray(). This also
causes the test to fail, so changing it as TODO. See
http://sourceforge.net/apps/trac/cppcheck/ticket/613
2009-08-26 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testmemleak.cpp: astyle fix
2009-08-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleak.cpp: Refactoring the unit tests of
TestMemleakInFunction
2009-08-26 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp: Fixed #614 (If you see this, there is a
bug ###### Token::Match() - varid was 0) http://sourceforge.net/apps/trac/cppcheck/ticket/614
2009-08-26 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h:
src/checkmemoryleak.{h,cpp}: minor improvements. Corrections for commit 0d6b6e840dea7a09fa3d52b98f3148a12942e067 No functional change.
2009-08-26 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h: Replace "const
unsigned int" to "unsigned int" in methods parameters. No functional change.
2009-08-26 Slava Semushin <php-coder@altlinux.ru>
* src/checkclass.cpp: src/checkclass.cpp: propagate Token::strAt(). No functional change.
2009-08-26 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer(simplifyGoto): create links for
inserted braces.
2009-08-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: fixed segmentation fault
2009-08-24 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h, test/testmemleak.cpp,
test/testother.cpp, test/testsimplifytokens.cpp: Fixed #498
(Tokenizer: simplify 'goto')
2009-08-24 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testclass.cpp: TestClass: Added a testcase where a array
member variable is initialized through strcpy
2009-08-23 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkclass.cpp, test/testclass.cpp: Fix ticket #613 (array
members variables are not checked in constructor)
http://sourceforge.net/apps/trac/cppcheck/ticket/613 Patch from
micres
2009-08-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/token.h: astyle formatting
2009-08-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h,
test/testmemleak.cpp: Refactoring the unit testing. Wrote special
tests for CheckMemoryLeakInFunction::findleak
2009-08-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : Merge commit 'd0k/master'
2009-08-23 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed #603 (Tokenizer:
Incorrect simplification of < >) http://sourceforge.net/apps/trac/cppcheck/ticket/603
2009-08-23 Slava Semushin <php-coder@altlinux.ru>
* src/checkother.cpp, test/testother.cpp: Fixed #581 (Wrong usage of
div-function) http://sourceforge.net/apps/trac/cppcheck/ticket/581
2009-08-23 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenize: minimize createLinks() calls. No functional change.
2009-08-22 Benjamin Kramer <benny.kra@gmail.com>
* src/token.cpp, src/token.h: Token: inline some functions
2009-08-22 Benjamin Kramer <benny.kra@gmail.com>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h: Improve
performance by using bsearch(3) instead of a std::set The function name list is already in memory so we can avoid copying
it into a std::set if we sort the list alphabetically. This way no
binary search tree has to be allocated. Before (best of 5 runs): ./testrunner > /dev/null 0,21s user 0,00s
system 95% cpu 0,221 total After (best of 5 runs): ./testrunner >
/dev/null 0,20s user 0,00s system 95% cpu 0,210 total
2009-08-22 Slava Semushin <php-coder@altlinux.ru>
* test/testother.cpp: TestOther::varScope5: fixed syntax error in
test case. Testrunner complains about "Unlogged error at
Tokenizer::syntaxError" since
74bbe945f6a55c3eb9d125b1f16566b0f10c1479 commit.
2009-08-22 Slava Semushin <php-coder@altlinux.ru>
* src/token.cpp, src/token.h, src/tokenize.cpp:
Token::createMutualLinks(): introduce and use. No functional change.
2009-08-22 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer: propagate Token::eraseTokens(). No functional change.
2009-08-22 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer::simplifyTokenList(): call link() for
just inserted tokens.
2009-08-22 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Refactoring: Use the MathLib::toString() to
stringify a number. No functional change.
2009-08-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fixed #507
(Preprocessor: Incorrect expanding of inner macros)
2009-08-22 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h, test/testtokenize.cpp: Fixed
#592 (Tokenizer: improve the tokenization of do .. while) http://sourceforge.net/apps/trac/cppcheck/ticket/592
2009-08-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed #608 (Tokenizer:
simplifyKnownVariables doesn't handle 'while (--i)' correctly)
2009-08-22 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer::simplifyIfAddBraces: use
Token::link() instead of loop. No functional change.
2009-08-22 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed #609 (Tokenizer:
don't add {} after do-while();) http://sourceforge.net/apps/trac/cppcheck/ticket/609
2009-08-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp: Refactoring: Use the MathLib::toString to
stringify a number
2009-08-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, src/checkother.h, test/testother.cpp: Fixed
#599 (False positive: null pointer dereference)
2009-08-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/filelister.cpp: astyle formatting
2009-08-20 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix ticket #600
(Tokenizer: if(!(fclose(fd) == 0)) is simplified incorrectly)
http://sourceforge.net/apps/trac/cppcheck/ticket/600
2009-08-20 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix ticket #598
(Preprocessor: Multiline comments add line change to wrong location)
http://sourceforge.net/apps/trac/cppcheck/ticket/598
2009-08-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h,
test/testmemleak.cpp: Memory leaks: Use varid instead of varname
2009-08-18 Kimmo Varis <kimmov@gmail.com>
* : commit 85682ed4298352a69d0cd9658111b8c72d4e1b67 Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Tue Aug 18
20:49:08 2009 +0200
2009-08-18 Kimmo Varis <kimmov@gmail.com>
* createrelease: List Windows resource file as file to update.
2009-08-18 Kimmo Varis <kimmov@gmail.com>
* win_installer/readme.txt: Installer: update readme for latest
changes.
2009-08-18 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss: Installer: Add Polish GUI translation
file.
2009-08-18 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss: Installer: Pick cppcheck executable
from correct directory. VS IDE builds the executable to Build/Release folder but QMake
generated makefiles build to Src/Release.
2009-08-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, src/checkmemoryleak.cpp,
src/checkother.cpp: Refactoring: Use the Token::link instead of loop
2009-08-17 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/mathlib.cpp: Fix ticket #597 (Compile error with Visual C++)
http://sourceforge.net/apps/trac/cppcheck/ticket/597
2009-08-17 Kimmo Varis <kimmov@gmail.com>
* gui/gui.pro, readme.txt, src/src.pro: Don't force debug builds in
qmake project files. When creating makefiles with qmake one needs to give the target in
command line. E.g. $ qmake -config debug or $ qmake -config release For Visual studio projects both targets are generated by just
running the qmake command without switches.
2009-08-17 Kimmo Varis <kimmov@gmail.com>
* gui/gui.pro, src/src.pro: Add new header file to qmake project
files.
2009-08-16 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/token.cpp: Use _str.length() == 1, instead of _str[1] == 0
2009-08-16 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/token.cpp, src/token.h: Fix ticket #543 (Possible buffer
overrun in Token::Match())
http://sourceforge.net/apps/trac/cppcheck/ticket/543 Get rid of
string copying in Token::Match(), also improves speed a little.
8.0s -> 7.7s
2009-08-16 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile: generated the Makefile
2009-08-17 Slava Semushin <php-coder@altlinux.ru>
* src/checkother.cpp, test/testother.cpp: Fixed #272 ("The scope of
the variable XXX can be limited" not detected when variable is
initilialized during declaration) http://sourceforge.net/apps/trac/cppcheck/ticket/272
2009-08-17 Slava Semushin <php-coder@altlinux.ru>
* src/mathlib.cpp: MathLib(isInt): formatted and get rid of tabs. No functional change.
2009-08-17 Slava Semushin <php-coder@altlinux.ru>
* src/mathlib.cpp: MathLib(isInt): use std::tolower(). No functional change.
2009-08-17 Slava Semushin <php-coder@altlinux.ru>
* src/mathlib.cpp: MathLib(isInt): use isxdigit(). No functional change.
2009-08-16 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/mathlib.cpp, test/testmathlib.cpp:
ettlmartin: improved the MathLib::IsInt
2009-08-16 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h: CheckMemoryLeak:
try to speed up call_func(). Using std::set::find() instead of sequence of Match() calls.
2009-08-16 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile: updated the Makefile for the release
2009-08-16 Reijo Tomperi <aggro80@users.sourceforge.net>
* Changelog, createrelease, src/cppcheck.cpp, src/main.cpp,
win_installer/cppcheck.iss: Update version number to 1.35
2009-08-16 Slava Semushin <php-coder@altlinux.ru>
* .gitignore: .gitignore: added src/Makefile generated by qmake.
2009-08-16 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp: CheckAutoVariables(autoVariables):
make code more readable. - Reduce indentation - Don't check bindent in many conditions - Move inner if-s to outer condition Should be no functional change.
2009-08-16 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp: CheckAutoVariables: const modifier
propagation. No functional change.
2009-08-16 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp: CheckAutoVariables: don't save and
search for local variables with varId 0.
2009-08-16 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp: CheckAutoVariables: added braces. No functional change.
2009-08-16 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp:
CheckAutoVariables(returnPointerToLocalArray): replace std::list to
std::set Use std::set and std::set::find() instead of std::list and
std::find(). First should be faster (runs in the logarithmic time)
than second (runs in linear time). No functional change.
2009-08-16 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp, src/checkautovariables.h:
CheckAutoVariables: change type of vp_list member to std::set. Change type of vda_list from std::list to std::set. It allows to us
use find() method instead of self-written loop which may be slow. No functional change.
2009-08-16 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp, src/checkautovariables.h:
CheckAutoVariables: change type of vd_list member to std::set. Change type of vda_list from std::list to std::set. It allows to us
use find() method instead of self-written loop which may be slow. No functional change.
2009-08-16 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp, src/checkautovariables.h:
CheckAutoVariables: change type of vda_list member to std::set. Change type of vda_list from std::list to std::set. It allows to us
use find() method instead of self-written loop which may be slow. No functional change.
2009-08-16 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp, src/checkautovariables.h:
CheckAutoVariables: use varId instead of variable names. This change similar to be89be8c30326954369c6132c6ebfb47d5ea0ab0 but
for vd_list member.
2009-08-16 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp, src/checkautovariables.h,
test/testautovariables.cpp: Fixed #590 (False positive: Invalid
deallocation when variables have same name) http://sourceforge.net/apps/trac/cppcheck/ticket/590
2009-08-16 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* gui/cppcheck_se.ts: Swedish: Updated the translation file
2009-08-15 Reijo Tomperi <aggro80@users.sourceforge.net>
* gui/csvreport.cpp, src/filelister.cpp: line change and encoding
fixes
2009-08-15 Slava Semushin <php-coder@altlinux.ru>
* src/preprocessor.cpp, src/preprocessor.h: Fixed #588
(Preprocessor: Sort the configurations) http://sourceforge.net/apps/trac/cppcheck/ticket/588
2009-08-14 danmar <danmar@ab00979.kgk.ad>
* src/checkmemoryleak.h, src/tokenize.h: Visual C++: Fixed
testrunner compilation problems
2009-08-14 danmar <danmar@ab00979.kgk.ad>
* cppcheck.cbproj, src/filelister.cpp: Borland C++ Builder: Fixed
compilation problems when compiling cppcheck
2009-08-14 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: fix ticket #586
(Preprocessor: Lines like "#error don't" can cause "no pair for
character" errors)
http://sourceforge.net/apps/trac/cppcheck/ticket/586
2009-08-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/mathlib.cpp: mathlib: minor fix
2009-08-13 danmar <danmar@ab00979.kgk.ad>
* src/checkbufferoverrun.cpp, src/mathlib.cpp, src/token.cpp,
test/testmemleak.cpp, testrunner.cbproj: Borland C++ Builder: Fixed
compilation and testrunner problems
2009-08-12 Reijo Tomperi <aggro80@users.sourceforge.net>
* cppcheck.cbp, src/classinfo.h, src/tokenize.cpp, src/tokenize.h,
test/testtokenize.cpp: Initial work for class and member
function/variable list in tokenizer.
2009-08-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testpreprocessor.cpp: preprocessor: added todo testcase for
detecting redundant preprocessor conditions
2009-08-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fixed #583 (False
positive: the nullpointer check doesn't handle goto properly)
2009-08-12 Slava Semushin <php-coder@altlinux.ru>
* test/testautovariables.cpp, test/testother.cpp: Fixed ticket #541
(Wrong testcases produce unlogged error at Tokenizer::syntaxError) http://sourceforge.net/apps/trac/cppcheck/ticket/541
2009-08-12 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed ticket #584
(Tokenizer: don't set varId for class declaration) http://sourceforge.net/apps/trac/cppcheck/ticket/584
2009-08-11 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, src/checkother.h, test/testother.cpp:
Refactoring: updated the nullPointer message so it contains the name
of the pointer
2009-08-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h,
test/testmemleak.cpp: Fixed #566 (False positive when assigning the
return value of realloc(NULL,..) to a pointer variable holding a
freed memory address)
2009-08-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fixed #582
(Preprocessor: Remove assembler code inside pragmas)
2009-08-10 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkclass.cpp, test/testclass.cpp: Fixed ticket #578 (missing
virtual destructor not detected)
http://sourceforge.net/apps/trac/cppcheck/ticket/578
2009-08-09 Vesa Pikki <spyree@gmail.com>
* gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_pl.ts, gui/cppcheck_ru.ts, gui/cppcheck_se.ts,
gui/gui.pro, gui/translationhandler.cpp: Added a Polish translation
file. Also added some missing Finnish and English translations.
2009-08-09 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, test/testclass.cpp: Hoangtuansu: Fixed #537
(false positive::operator= should return something)
2009-08-09 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* win_installer/cppcheck.wxs: Created an experimental wix
installation file
2009-08-09 Gianluca Scacco <gscacco@users.sourceforge.net>
* src/checkautovariables.cpp: Style check
2009-08-09 Gianluca Scacco <gscacco@users.sourceforge.net>
* test/testautovariables.cpp: Added new test for invalid
deallocation
2009-08-09 Gianluca Scacco <gscacco@users.sourceforge.net>
* src/checkautovariables.cpp, src/checkautovariables.h: Invalid
deallocation check done
2009-08-09 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed ticket #574
(Tokenizer: not assign varId when variable first afer keyword and
has long type) http://sourceforge.net/apps/trac/cppcheck/ticket/574
2009-08-09 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed ticket #572
(Tokenizer: improve detection of arrays) http://sourceforge.net/apps/trac/cppcheck/ticket/572
2009-08-09 Slava Semushin <php-coder@altlinux.ru>
* src/checkstl.cpp, test/teststl.cpp: Fixed ticket #573 (False
positive of set range check when we dereferencing iterator) http://sourceforge.net/apps/trac/cppcheck/ticket/573
2009-08-09 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp: checkbufferoverrun.cpp: get rid of
Match() usage with varid 0.
2009-08-08 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fixed
ticket #570 (Buffer overrun not detected when sprintf() format
string greater then buffer size) http://sourceforge.net/apps/trac/cppcheck/ticket/570
2009-08-08 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fixed
ticket #571 (Buffer overrun for sprintf() not detected after first
')' symbol) http://sourceforge.net/apps/trac/cppcheck/ticket/571
2009-08-08 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed ticket #565
(Tokenizer: simplify variable declaraion like 'int z = x >> 16') http://sourceforge.net/apps/trac/cppcheck/ticket/565
2009-08-08 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp: Improve speed with files containing classes.
E.g. measured speed difference was 1m11.042s --> 0m45.005s with one
large test file.
2009-08-07 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, test/teststl.cpp: Fixed #525 (false positive:
vector range checking with <)
2009-08-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed ticket #564
(set variable id for "struct ABC **p")
http://sourceforge.net/apps/trac/cppcheck/ticket/564
2009-08-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, src/tokenize.cpp,
test/testsimplifytokens.cpp: Fix ticket #563 (set variable id for
**p) http://sourceforge.net/apps/trac/cppcheck/ticket/563
2009-08-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp: Bail out if variable id is 0. This
should be reverted when #563 has been fixed
2009-08-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp: Improve speed a lot for files that have long
number lists like = { 0,1,2,3,4, etc. }
2009-08-05 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #555 (False
positive: [CuTest.c:25]: (error) Memory leak: len)
2009-08-05 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed #558 (Tokenizer:
Bad simplification of 'for(unsigned i = 0; i < 100; ++i)')
2009-08-05 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #528
(Tokenizer: Simplify: 'if(!(a->x=b()))')
2009-08-04 Reijo Tomperi <aggro80@users.sourceforge.net>
* : commit c6a1f173182b128a8f03168cd48265f8b66e44b2 Author: Reijo
Tomperi <aggro80@users.sourceforge.net> Date: Tue Aug 4 22:41:32
2009 +0300
2009-08-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/check.h, src/checkautovariables.h,
src/checkbufferoverrun.cpp, src/checkbufferoverrun.h,
src/checkclass.h, src/checkdangerousfunctions.h,
src/checkmemoryleak.cpp, src/checkmemoryleak.h, src/checkother.h,
src/checkstl.h, src/cppcheck.cpp: Listing error messages in XML
format
2009-08-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #554
(resource leak false positive)
2009-08-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.h, src/tokenize.h, test/testmemleak.cpp,
test/testredundantif.cpp, test/testsimplifytokens.cpp,
test/testtokenize.cpp: Refactoring the unit testing
2009-08-04 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkclass.cpp, test/testclass.cpp: Fix ticket #531 (false
positive about missing virtual destructor)
http://sourceforge.net/apps/trac/cppcheck/ticket/531
2009-08-03 Kimmo Varis <kimmov@gmail.com>
* gui/test.cpp: Oops. Didn't mean to commit the change to
gui/test.cpp. But since I did, lets remove the linefeeds and make
the function look like it gets called.
2009-08-02 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fix ticket #552
(False positive with --all when realloc is used with two variables.)
http://sourceforge.net/apps/trac/cppcheck/ticket/552
2009-08-02 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: TODO test case
realloc5 added and "Checkmemoryleak: simplifycode result for" debug
info added.
2009-08-02 Reijo Tomperi <aggro80@users.sourceforge.net>
* gui/test.cpp, src/mathlib.cpp, src/tokenize.cpp: astyle fix
2009-08-02 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp: src/checkbufferoverrun.cpp: fixed
regression.
2009-08-02 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp: src/checkbufferoverrun.cpp: don't call
Token::Match() for variables with varId 0.
2009-08-02 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Improved
"index out of bounds" check. Corrected 342acaaaf2f56e1de18371a1a726425127939178 commit.
2009-08-02 Slava Semushin <php-coder@altlinux.ru>
* test/testbufferoverrun.cpp: test/testbufferoverrun.cpp: improve
test cases.
2009-08-02 Slava Semushin <php-coder@altlinux.ru>
* src/mathlib.cpp, src/mathlib.h, src/tokenize.cpp: MathLib:
introduce and use calculate() method. No functional change.
2009-08-02 Kimmo Varis <kimmov@gmail.com>
* gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_ru.ts, gui/cppcheck_se.ts: GUI: update translation
files.
2009-08-02 Kimmo Varis <kimmov@gmail.com>
* gui/common.h, gui/main.ui, gui/mainwindow.cpp, gui/mainwindow.h,
gui/resultstree.cpp, gui/test.cpp: Add 'possible style error'
severity for the GUI. Fixes ticket #436 (GUI: All style -severity). The possible style
errors can be now selected visible / hidden so all severities have
their own menu item.
2009-08-02 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp: GUI: Use native path separators in main window
caption.
2009-08-02 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: src/tokenize.cpp: don't call std::string.c_str()
for Token::str() argument. In 4286fdbabb64014fd6ef968e163257a977400d3e commit I introduce
Token::str() method with std::string argument and now we may get rid
of useless std::string.c_str() calls. No functional change.
2009-08-02 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed ticket #549
(Tokenizer: improve calculation simplification) http://sourceforge.net/apps/trac/cppcheck/ticket/549
2009-08-02 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fixed #547
(index out of bounds not detected when addition used as array index) http://sourceforge.net/apps/trac/cppcheck/ticket/547
2009-08-01 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed #542 (Tokenizer:
allow numbers in templates parameters) http://sourceforge.net/apps/trac/cppcheck/ticket/542
2009-08-01 Kimmo Varis <kimmov@gmail.com>
* : commit 5ce15eeb232e3f4a73b4285e0e5fb4c187ce443f Author: Kimmo
Varis <kimmov@gmail.com> Date: Sat Aug 1 18:28:21 2009 +0300
2009-08-01 Slava Semushin <php-coder@altlinux.ru>
* src/checkstl.cpp: src/checkstl.cpp(iterators): some corrections. Corrections for my changes in
12ca70fe5a61fa9a7b847411ca23329c52544402 and
347802f81983bf94494c50bd71522f5c5d8f1e15 commits.
2009-08-01 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed ticket #539
(Tokenizer: don't replace constants variables with varid 0) http://sourceforge.net/apps/trac/cppcheck/ticket/539
2009-08-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: preprocessor:
fixed problem in Preprocessor::expandMacros when macro argument is
for example 'unsigned long'
2009-08-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: null pointers: fixed a
false positive
2009-08-01 Kimmo Varis <kimmov@gmail.com>
* gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_ru.ts, gui/cppcheck_se.ts, gui/resultsview.cpp: GUI:
Make two report saving errors translatable.
2009-07-31 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #511 (false
positive, memory leak when using 'var = ({});')
2009-07-31 Kimmo Varis <kimmov@gmail.com>
* gui/resultsview.cpp: GUI: Fix bug that GUI didn't close the report
file.
2009-07-31 Kimmo Varis <kimmov@gmail.com>
* gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_ru.ts, gui/cppcheck_se.ts, gui/mainwindow.h,
gui/resultstree.cpp: GUI: Fix GUI to recognize and use "possible
error" type (was "all" earlier).
2009-08-01 Slava Semushin <php-coder@altlinux.ru>
* src/checkstl.cpp, src/tokenize.cpp, test/testtokenize.cpp: Fixed
#521 (Tokenizer: improve static variable detection) Also change cppcheck default behavior to don't show "If you see
this, there is a bug" message for each variable without varId. This
feature was very helpful for developers but may annoying users. http://sourceforge.net/apps/trac/cppcheck/ticket/521
2009-07-31 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Fixed ticket #534 (Segmentation fault when
checking VLC sourcecode) Fixed all valgrind errors. http://sourceforge.net/apps/trac/cppcheck/ticket/534
2009-07-31 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testtokenize.cpp: astyle formatting
2009-07-31 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: null pointers: detect when
there are possible null pointer dereferencing when looping through a
linked list both in inner and outer loops at the same time
2009-07-30 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testother.cpp: null pointers: Added a todo testcase
2009-07-31 Slava Semushin <php-coder@altlinux.ru>
* src/checkstl.cpp, test/teststl.cpp: Fixed ticket #503
(Dereferencing after erase() not work if we try to get access to
member) http://sourceforge.net/apps/trac/cppcheck/ticket/503
2009-07-31 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed ticket #523
(Tokenizer: set varId for types with long namespaces) FIXME: skip namespaces by the best way. http://sourceforge.net/apps/trac/cppcheck/ticket/533
2009-07-31 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed ticket #532
(Tokenizer: set varId for types which have comma in template
parameter) http://sourceforge.net/apps/trac/cppcheck/ticket/532
2009-07-30 Slava Semushin <php-coder@altlinux.ru>
* src/checkstl.cpp: src/checkstl.cpp(iterators): skip already
processed tokens. No functional change.
2009-07-30 Slava Semushin <php-coder@altlinux.ru>
* src/checkstl.cpp: src/checkstl.cpp(iterators): simplify condition.
2009-07-30 Slava Semushin <php-coder@altlinux.ru>
* src/checkstl.cpp: src/checkstl.cpp(iterators): fixed coding
mistake.
2009-07-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/cppcheck.cpp: include <ctime> for clock_t (fix compile
problem)
2009-07-30 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, src/preprocessor.h,
test/testpreprocessor.cpp: Preprocessor: Speedup of the
match_cfg_def function
2009-07-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testsimplifytokens.cpp: Added more tests to test case
TestSimplifyTokens::ifassign1
2009-07-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed ticket #529
(Tokenizer: simplify if((x==0)))
http://sourceforge.net/apps/trac/cppcheck/ticket/529
2009-07-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memory leak for
struct member: fixed false positive when the struct pointer is
stored away
2009-07-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: null pointers: Fixed false
positive when 'do' are used
2009-07-29 Slava Semushin <php-coder@altlinux.ru>
* src/checkstl.cpp, test/teststl.cpp: Fixed ticket #524 (Containers
range check shouldn't stop at first founded error) http://sourceforge.net/apps/trac/cppcheck/ticket/524
2009-07-29 Slava Semushin <php-coder@altlinux.ru>
* src/checkstl.cpp: src/checkstl.cpp(stlBoundries): simplify
condition. No functional change.
2009-07-29 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed ticket #522
(Tokenizer: recognize comma in container with STL type declaration) http://sourceforge.net/apps/trac/cppcheck/ticket/522
2009-07-29 Slava Semushin <php-coder@altlinux.ru>
* src/checkstl.cpp: src/checkstl.cpp(iterators): reduce indentation. No functional change.
2009-07-29 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed ticket #520
(Tokenizer: properly set varId for containers with STL types) http://sourceforge.net/apps/trac/cppcheck/ticket/520
2009-07-28 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed ticket #519
(Tokenizer converts commas in for-loops) http://sourceforge.net/apps/trac/cppcheck/ticket/519
2009-07-28 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed ticket #514
(false positive:: memory leak when using comma near delete[]) http://sourceforge.net/apps/trac/cppcheck/ticket/514
2009-07-28 Slava Semushin <php-coder@altlinux.ru>
* test/testautovariables.cpp: test/testautovariables.cpp: renamed
some testcases. Make it readable. No functional change.
2009-07-28 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp, test/testautovariables.cpp:
checkautovariables: added newlines to make code more readable. No code change.
2009-07-28 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp, test/testautovariables.cpp: Fixed
ticket #517 (False positive for extern variables: return of the
address of an auto-variable) http://sourceforge.net/apps/trac/cppcheck/ticket/517
2009-07-27 Slava Semushin <php-coder@altlinux.ru>
* src/checkclass.cpp, src/checkmemoryleak.cpp, src/checkother.cpp:
Replace Match() to operator==() from std::string. No functional change.
2009-07-27 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp, src/checkclass.cpp,
src/checkmemoryleak.cpp, src/checkother.cpp, src/checkstl.cpp,
src/checkunusedfunctions.cpp, src/preprocessor.cpp,
src/tokenize.cpp: Replace simpleMatch() to operator==() from
std::string. No functional change.
2009-07-27 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp:
src/checkautovariables.cpp(autoVariables): simplify condition. No functional change.
2009-07-27 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp: src/checkautovariables.cpp: assign
default value to std::string during object creation. No functional change.
2009-07-27 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/cppcheck.cpp, src/settings.cpp, src/settings.h: gcc: added an
option '--showtime' => show some simple timing information
2009-07-27 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testsimplifytokens.cpp: Improve test case
TestSimplifyTokens::comma_keyword
2009-07-26 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp: Update to ticket #265 (Log a warning when an
include file is not found) Only warn about "foo.h", don't warn about
<foo.h> http://sourceforge.net/apps/trac/cppcheck/ticket/265
2009-07-26 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: astyle formatting
2009-07-26 Slava Semushin <php-coder@altlinux.ru>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fixed
ticket #499 (buffer overflow not detected when using macros) sprintf() buffer overrun detection works wrong due to typo (since
time when it was added in commit
a604f56f1960d3abe7a7c4bbc221bf62ccb676a2). Also reports buffer overrun when sprintf() writes bytes equal to
buffer size -- in this case off-by-one error appears. http://sourceforge.net/apps/trac/cppcheck/ticket/499
2009-07-26 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h, test/testsimplifytokens.cpp:
Fixed ticket #496 (Tokenizer: simplify statements with "," better) https://sourceforge.net/apps/trac/cppcheck/ticket/496
2009-07-26 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp: Fixed #506 (###### If you see this, there is a
bug ###### Token::Match())
2009-07-26 Slava Semushin <php-coder@altlinux.ru>
* gui/cppcheck_ru.ts: gui/cppcheck_ru.ts: start Russian translation.
2009-07-26 Slava Semushin <php-coder@altlinux.ru>
* gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_ru.ts, gui/cppcheck_se.ts: gui: regenerate ts-files.
2009-07-26 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp: Removed some debug output which should not
be on and cleaned up a little.
2009-07-25 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/cppcheck.cpp, src/preprocessor.cpp, src/preprocessor.h,
test/testpreprocessor.cpp: Fix ticket #265 (Log a warning when an
include file is not found)
http://sourceforge.net/apps/trac/cppcheck/ticket/265
2009-07-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fixed #504 (false
positive: null pointer dereference)
2009-07-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp: speedup of CheckOther::postIncrement
2009-07-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testpreprocessor.cpp: Added more tests to the
TestPreprocessor::match_cfg_def (#505)
2009-07-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: astyle formatting
2009-07-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.h, test/testpreprocessor.cpp: Preprocessor: Added
todo test case for better evaluation of #if conditions
2009-07-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fixed #501
(Preprocessor should read open configurations that are defined
within the file)
2009-07-25 Slava Semushin <php-coder@altlinux.ru>
* src/checkother.cpp: src/checkother.cpp: simplify condition a bit. No functional change.
2009-07-25 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, src/checkother.cpp, src/tokenize.cpp,
src/tokenize.h, test/testtokenize.cpp: Fixed ticket #500 (Tokenizer:
simplify the "(p != NULL)" conditions) Also teach simplifyIfNot() to handle variables like Foo::var. https://sourceforge.net/apps/trac/cppcheck/ticket/500
2009-07-25 Slava Semushin <php-coder@altlinux.ru>
* test/testtokenize.cpp: test/testtokenize.cpp: use
tokenizeAndStringify() function. Instead of self-written code. No functional change.
2009-07-24 booga <booga@myhost.(none)>
* src/checkother.cpp, src/checkstl.cpp, test/testother.cpp,
test/teststl.cpp: astyle FTW (should have read about that sooner)
2009-07-24 booga <booga@myhost.(none)>
* src/checkother.cpp, src/checkother.h, src/checkstl.cpp,
src/checkstl.h, test/testother.cpp, test/teststl.cpp: Fix #476 STL
Container checks. Fix #473 Add post increment check for STL objects
and Classes.
2009-07-24 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/tokenize.cpp,
test/testsimplifytokens.cpp: Tokenizer: simplify return statements -
remove redundant parantheses
2009-07-24 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memory leaks: fixed
false positive for struct members - better handling of if/else
2009-07-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleak.cpp: memory leaks: added a todo test case for
struct members when using if-else
2009-07-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: null pointers: fixed false
positives when checking if pointer is null at many locations (#485)
2009-07-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: null pointers: fixed false
positives (#49)
2009-07-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #493 (Memory
leak: False positive when using the exit(0))
2009-07-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: null pointers:
dereferencing a pointer and then checking if it's null (#49)
2009-07-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: tokenizer: simplify
'?:' better when the condition is always true
2009-07-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Preprocessor:
Better evaluation of conditions such as '#if defined A || defined B'
(#469)
2009-07-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: tokenizer: added todo for simplifying
'(true?x:y)' => '(x)'
2009-07-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testother.cpp: astyle formatting
2009-07-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fixed #469
(Preprocessor should read open configurations that are defined
within the file)
2009-07-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed #497
(Templates are not expanded correctly)
2009-07-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #494 (False
positives of checking leaks struct members) Better handling of
function calls
2009-07-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, src/checkother.h, test/testother.cpp: null
pointers: better checking when dereferencing pointer and then
checking if it is null (#485)
2009-07-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testcppcheck.cpp,
test/testmemleak.cpp: dereferencing deallocated memory: it is ok to
take the address to deallocated memory but it is not ok to
dereference the address
2009-07-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, src/checkother.h, test/testother.cpp: invalid
pointer usage: broke out CheckOther::invalidPointer from the
CheckOther::nullPointer (#485)
2009-07-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : commit d2278b5ce0d23b864cd99a998866b45e1bdf257b Author: Reijo
Tomperi <aggro80@users.sourceforge.net> Date: Mon Jul 20 23:24:23
2009 +0300
2009-07-20 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fix ticket #486 (C-style
pointer casting misses const pointers)
http://sourceforge.net/apps/trac/cppcheck/ticket/486
2009-07-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: null pointer
dereferencing: fixed another false positive (#485)
2009-07-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: null pointer
dereferencing: removed a few false positives in the new check that I
added (#485)
2009-07-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp: fix bug in previous commit that fixed #485
2009-07-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fixed #485 (detect when
code is checking for null after dereferencing)
2009-07-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp: preprocessor: Fixed hanging in
Preprocessor::expandMacros when trying to replace all '__VA_ARGS__'
with '__VA_ARGS__'
2009-07-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memory leak for
struct member: made the checking more sensitive. Skip bail-out
execution paths were the member is properly deallocated
2009-07-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h,
test/testmemleak.cpp: memleak: implemented simple checking for
leaking struct members
2009-07-19 Slava Semushin <php-coder@altlinux.ru>
* test/testrunner.cpp: test/testrunner.cpp: fixed exit code when
count of fails tests equals to 256. When 256 tests fails return code was 0 and it was wrong. Now exit
code may be only 0 or 1 and not show how many tests fails. Thanks to aggro80@ for pointing to this!
2009-07-18 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testmemleak.cpp, test/testtokenize.cpp:
astyle formatting
2009-07-18 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, test/testmemleak.cpp:
src/checkmemoryleak.cpp: added fchmod() function to white list.
2009-07-18 Slava Semushin <php-coder@altlinux.ru>
* src/checkother.cpp, test/testother.cpp: Finally fixed ticket #284
(style check: redundant condition improvement) http://sourceforge.net/apps/trac/cppcheck/ticket/284
2009-07-18 Slava Semushin <php-coder@altlinux.ru>
* test/testrunner.cpp, test/testsuite.cpp, test/testsuite.h: Fixed
ticket #481 (testrunner should exit with non-zero status if one of
tests fails) http://sourceforge.net/apps/trac/cppcheck/ticket/481
2009-07-18 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed ticket #464
(resource leak not detected when getc is used on the file handle) http://sourceforge.net/apps/trac/cppcheck/ticket/464
2009-07-18 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed ticket #479 (varId
not assigned to reference to standart container) http://sourceforge.net/apps/trac/cppcheck/ticket/479
2009-07-18 Kimmo Varis <kimmov@gmail.com>
* : commit d1eb7e65584421d346c69371594301c227cf05c8 Author: Kimmo
Varis <kimmov@gmail.com> Date: Sat Jul 18 13:34:00 2009 +0300
2009-07-18 Kimmo Varis <kimmov@gmail.com>
* src/src.pro: Enable more warnings in QMake-generated makefiles. Use same warning levels for GCC than in original makefile. Use W4
level for Visual Studio.
2009-07-18 Slava Semushin <php-coder@altlinux.ru>
* test/teststl.cpp: Fixed ticket #477 (Bug in Token::Match() during
process TestStl::pushback3) http://sourceforge.net/apps/trac/cppcheck/ticket/477
2009-07-18 Kimmo Varis <kimmov@gmail.com>
* : commit 180a04316d511d743508adc595d2cab6ef564711 Author: Kimmo
Varis <kimmov@gmail.com> Date: Sat Jul 18 11:25:22 2009 +0300
2009-07-18 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: tokenizer: improved
the Tokenizer::simplifyIfNot
2009-07-18 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/main.cpp: astyle formatting
2009-07-17 Slava Semushin <php-coder@altlinux.ru>
* src/checkclass.cpp, test/testclass.cpp: Fixed ticket #459 (false
positive::Member variable not initialized in constructor) http://sourceforge.net/apps/trac/cppcheck/ticket/459
2009-07-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* gui/aboutdialog.h, gui/applicationdialog.h,
gui/applicationlist.h, gui/checkthread.h, gui/common.h,
gui/csvreport.h, gui/fileviewdialog.h, gui/mainwindow.h,
gui/projectfile.h, gui/report.h, gui/resultstree.h,
gui/resultsview.h, gui/settingsdialog.h, gui/threadhandler.h,
gui/threadresult.h, gui/translationhandler.h, gui/txtreport.h,
gui/xmlreport.h, src/check.h, src/checkautovariables.h,
src/checkbufferoverrun.h, src/checkclass.h,
src/checkdangerousfunctions.h, src/checkheaders.h,
src/checkmemoryleak.h, src/checkother.h, src/checkstl.h,
src/checkunusedfunctions.h, src/cppcheck.h, src/errorlogger.h,
src/filelister.h, src/mathlib.h, src/preprocessor.h,
src/settings.h, src/token.h, src/tokenize.h: doc: updated doxygen
comments. three groups where created - 'GUI', 'Core' and 'Checks'
2009-07-16 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* cppcheck.geany, src/main.cpp: doc: changed the doxygen comments
for the mainpage
2009-07-16 Vesa Pikki <spyree@gmail.com>
* gui/main.cpp, gui/mainwindow.cpp, gui/mainwindow.h,
src/preprocessor.cpp, src/tokenize.cpp: Added support for checking
files via commandline arguments.
2009-07-14 Kimmo Varis <kimmov@gmail.com>
* : commit c6b82cab21cffa6d7ec6ae5d8f15bb6dbd861707 Author: Kimmo
Varis <kimmov@gmail.com> Date: Tue Jul 14 18:47:38 2009 +0300
2009-07-14 Kimmo Varis <kimmov@gmail.com>
* .gitignore: Add generated GUI header files to gitignore.
2009-07-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: doxygen: added a todo to simplify 'for' loops
better in the tokenizer
2009-07-14 Kimmo Varis <kimmov@gmail.com>
* gui/gui.pro: GUI: Place intermediate resource files to temp
folder.
2009-07-14 Kimmo Varis <kimmov@gmail.com>
* src/src.pro, test/test.pro: Add QMake project files for core and
tests. Ticket #472 (QMake project file to build cppcheck core).
2009-07-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, test/teststl.cpp: fixed todo test case - detect
iterator usage after push_front|push_back
2009-07-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h, test/testsimplifytokens.cpp:
tokenizer: simplify the '?:' operator
2009-07-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testsimplifytokens.cpp: simplify tokens: simplify test cases
2009-07-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, src/checkmemoryleak.cpp,
src/checkmemoryleak.h, src/checkunusedfunctions.cpp,
src/preprocessor.cpp, src/token.cpp, src/tokenize.cpp: doxygen: made
the todos visible in the doxygen output
2009-07-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/check.h, src/checkheaders.cpp, src/checkunusedfunctions.cpp,
src/cppcheck.cpp, src/tokenize.cpp, src/tokenize.h,
test/testpreprocessor.cpp, test/testsimplifytokens.cpp,
test/teststl.cpp, test/testtokenize.cpp: minor refactoring: header
cleanup. use forward declarations instead of includes
2009-07-13 Kimmo Varis <kimmov@gmail.com>
* : commit 7f7e85390f72ee63ec9bdf4642a36b144dcb69f3 Author: Kimmo
Varis <kimmov@gmail.com> Date: Mon Jul 13 18:53:43 2009 +0300
2009-07-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, src/checkbufferoverrun.h,
src/checkdangerousfunctions.cpp, src/checkdangerousfunctions.h,
test/testbufferoverrun.cpp, test/testdangerousfunctions.cpp:
refactoring: Renamed checking classes
2009-07-13 Kimmo Varis <kimmov@gmail.com>
* : commit 6393498966e7e030445cca0387c85942826964d7 Author: Kimmo
Varis <kimmov@gmail.com> Date: Mon Jul 13 16:51:35 2009 +0300
2009-07-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.h, src/errorlogger.h: astyle formatting
2009-07-13 Kimmo Varis <kimmov@gmail.com>
* gui/common.h, gui/main.ui, gui/mainwindow.cpp, gui/mainwindow.h,
gui/resultstree.cpp: GUI: Remove security-category. The security-category was removed from core in commits
03f3ee62a0d9a7e38f1dfcbefae872cd08990dbc and
11bc5195b84c18cc59f336cc0588dc07294a1de7.
2009-07-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h: refactoring:
Refactoring of the leak-checking classes
2009-07-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/main.cpp, src/token.h: doxygen: updated a few comments
2009-07-13 Kimmo Varis <kimmov@gmail.com>
* : commit d88cf4d3e4caa2a7d9234d8be9aefa67df081dc0 Author: Kimmo
Varis <kimmov@gmail.com> Date: Mon Jul 13 11:39:46 2009 +0300
2009-07-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/check.h, src/checkautovariables.cpp,
src/checkautovariables.h, src/checkbufferoverrun.cpp,
src/checkclass.cpp, src/checkdangerousfunctions.cpp,
src/checkmemoryleak.cpp, src/checkmemoryleak.h, src/checkother.cpp,
src/checkstl.cpp, src/errorlogger.h, test/testbufferoverrun.cpp,
test/testconstructors.cpp, test/testdivision.cpp,
test/testmemleak.cpp: refactoring: renamed the severity "all" to
"possible error"
2009-07-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* gui/gui.pro, gui/mainwindow.cpp, src/errorlogger.h,
src/settings.cpp, src/settings.h: cleanup: continued with the
removing of the security. Some more work is needed but now
everything compiles and runs at least.
2009-07-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.h: doc: add link
2009-07-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile, src/checksecurity.cpp, src/checksecurity.h,
test/testsecurity.cpp, tools/dmake.cpp, tools/errmsg.cpp: cleanup:
removed deprecated files. security checking and errmsg
2009-07-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* createrelease, src/cppcheck.cpp, win_installer/cppcheck.iss:
updated version to 1.34
2009-07-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, test/testunusedprivfunc.cpp: unused private
functions: don't check classes declared in header files unless it is
known that their whole implementation is seen
2009-07-12 Kimmo Varis <kimmov@gmail.com>
* gui/about.ui, gui/cppcheck_de.ts, gui/cppcheck_en.ts,
gui/cppcheck_fi.ts, gui/cppcheck_ru.ts, gui/cppcheck_se.ts: GUI:
Improve About-dialog layout. Add vertical spacer above texts to that icon box becomes narrow and
text box wide.
2009-07-12 Kimmo Varis <kimmov@gmail.com>
* gui/about.ui: GUI: Wordwrap texts in the About-dialog. Fixes ticket #454 (About-dialog size/text problems).
2009-07-11 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/main.cpp: doxygen: wrote a simple text for the mainpage
2009-07-11 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: better
description for the message with id strncatUsage
2009-07-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/cppcheck.cpp, src/cppcheckexecutor.cpp, src/errorlogger.cpp,
src/errorlogger.h, src/settings.cpp, src/settings.h,
src/threadexecutor.cpp, test/testcppcheck.cpp, test/testsuite.cpp:
Revert "cppcheck: Now it's possible to change the output format, for
example to a visual studio compliant format" This reverts commit 91a8dbd7b987d6af5f0c00b850bcdd82fe848459.
2009-07-09 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* cppcheck.geany: geany: updated the project file
2009-07-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/check.h, src/checkclass.cpp, src/checkclass.h,
src/checksecurity.h, src/checkstl.h, src/preprocessor.cpp,
src/preprocessor.h: refactoring: minor refactorings and added some
doxygen comments
2009-07-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/cppcheck.cpp, src/cppcheckexecutor.cpp, src/errorlogger.cpp,
src/errorlogger.h, src/settings.cpp, src/settings.h,
src/threadexecutor.cpp, test/testcppcheck.cpp, test/testsuite.cpp:
cppcheck: Now it's possible to change the output format, for example
to a visual studio compliant format
2009-07-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/check.h, src/checkother.cpp, src/checkstl.cpp: doc: added more
information when '--verbose' is used for these error messages: * dangerous usage of erase * overlapping data buffer
2009-07-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testsimplifytokens.cpp: templates: simplified a todo test
case by removing a redundant function from the code
2009-07-07 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memleak: fixed todo
test case
2009-07-07 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, test/testunusedprivfunc.cpp: Fixed #431
(Unused private function, wrong line when two functions with same
name)
2009-07-07 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, test/testunusedprivfunc.cpp: Fixed #382 (False
positive: public function flagged as 'Unused private function')
2009-07-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* gui/cppcheck_se.ts: Translation: Updated the translation file for
swedish
2009-07-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleak.cpp: addon to previous commit - changed
ASSERT_EQUALS to TODO_ASSERT_EQUALS for the todo test case
2009-07-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleak.cpp: Memory leaks: Added a simple todo test case
2009-07-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #446 (memory
leak false positive when variable is static)
2009-07-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: tokenizer: Don't simplify
declarations of static variables
2009-07-06 Kimmo Varis <kimmov@gmail.com>
* gui/resultsview.cpp: GUI: Add icons for error messages of failed
report saving.
2009-07-06 Kimmo Varis <kimmov@gmail.com>
* gui/csvreport.h, gui/txtreport.h, gui/xmlreport.h: GUI: Make
report class destructors virtual.
2009-07-06 Kimmo Varis <kimmov@gmail.com>
* gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_ru.ts, gui/cppcheck_se.ts, gui/csvreport.cpp,
gui/csvreport.h, gui/gui.pro, gui/mainwindow.cpp, gui/report.h,
gui/resultsview.cpp, gui/resultsview.h: GUI: Add new CSV report
type. CSV files are handy (and commonly used) to export/import data
to other programs. CSV reports allow easy import of cppcheck error
data to other programs for further processing.
2009-07-06 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss: Installer: Add option to create
desktop icon for GUI.
2009-07-06 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss: Installer: Remove QT-based from GUI
description and use only GUI. Users don't care and don't need to
know that GUI is QT-based. It may even confuse some who don't know
what QT is. So use simply GUI.
2009-07-06 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss: Installer: Label GUI as Beta.
2009-07-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* cppcheck.cbp, gui/mainwindow.cpp, src/checkbufferoverrun.cpp,
src/checkbufferoverrun.h, src/checkclass.cpp, src/checkclass.h,
src/checkheaders.cpp, src/checkheaders.h, src/checkmemoryleak.cpp,
src/checkmemoryleak.h, src/checkother.cpp, src/checkother.h,
src/cppcheck.cpp, src/filelister.cpp, src/filelister.h,
src/tokenize.cpp, src/tokenize.h, test/testcharvar.cpp,
test/testcppcheck.cpp, test/testdivision.cpp,
test/testincompletestatement.cpp, test/testother.cpp,
test/testpreprocessor.cpp, test/testtokenize.cpp,
test/testunusedvar.cpp, tools/dmake.cpp: Refactoring: Rename member
functions to follow naming guidelines.
2009-07-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.h, test/testmemleak.cpp: Test case improvement,
unused function removed from tokenizer.
2009-07-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h, test/testsimplifytokens.cpp: Fix
ticket #457 (False positive: Member variable not assigned a value in
copy constructor)
http://sourceforge.net/apps/trac/cppcheck/ticket/457 Simplify "a =
0, b = 0;" into "a = 0; b = 0;"
2009-07-04 Kimmo Varis <kimmov@gmail.com>
* : commit b6e543fd4f0e98410527500f2b7f60986304189f Author: Kimmo
Varis <kimmov@gmail.com> Date: Sat Jul 4 22:33:18 2009 +0300
2009-07-04 Kimmo Varis <kimmov@gmail.com>
* gui/resultstree.cpp: Fix ticket #456 (GUI:: save only the results
selected in view settings)
http://sourceforge.net/apps/trac/cppcheck/ticket/456
2009-07-04 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testsimplifytokens.cpp: TODO Test case
TestSimplifyTokens::remove_comma added
2009-07-04 Reijo Tomperi <aggro80@users.sourceforge.net>
* gui/mainwindow.cpp, gui/translationhandler.cpp: astyle fix
2009-07-04 Vesa Pikki <spyree@gmail.com>
* gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_ru.ts, gui/cppcheck_se.ts, gui/translationhandler.cpp:
I reverted back the translation file checking. Allthough I put it
after QTranslator had failed to load the translation. This still
allows QTranslator to try and open the file with several variations
of the file. To user we'll tell that the default file is missing.
2009-07-04 Vesa Pikki <spyree@gmail.com>
* gui/translationhandler.cpp: Removed an unnecessary translation
file check. It was missing the file extension and QTranslator
returns false if it was unable to find the translation file which is
just as good. QTranslator can also check for several variations of
the given filename.
2009-07-04 Vesa Pikki <spyree@gmail.com>
* : commit e656c951e59bbde0eba9e23dfb3c7f10a4249af3 Author: Vesa
Pikki <spyree@gmail.com> Date: Sat Jul 4 11:06:29 2009 +0300
2009-07-04 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp, gui/projectfile.cpp, gui/projectfile.h: GUI:
Read include directories from project file.
2009-07-04 Kimmo Varis <kimmov@gmail.com>
* src/cppcheck.cpp, src/cppcheck.h, src/settings.h: Move include
paths list to Settings class so we can set include paths from GUI.
2009-07-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix ticket #448
(false positive:: resource leak)
http://sourceforge.net/apps/trac/cppcheck/ticket/448 Tokenizer
improved to simplify "if( (p)==-1 )"
2009-07-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkclass.cpp, test/testclass.cpp: Fix ticket #452 (Failure
to detect "member var not initialized in constructor" if class
inherits) http://sourceforge.net/apps/trac/cppcheck/ticket/452
2009-07-03 Kimmo Varis <kimmov@gmail.com>
* gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_ru.ts, gui/cppcheck_se.ts, gui/resultstree.cpp: GUI:
Show instructions instead of error when viewer application is not
configured.
2009-07-03 Kimmo Varis <kimmov@gmail.com>
* gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_ru.ts, gui/cppcheck_se.ts, gui/mainwindow.cpp,
gui/translationhandler.cpp: GUI: Further improve error message for
lang file not found. Not being able to switch language is critical
error, not just warning. Also show full file name (with extension)
of the file not found.
2009-07-03 Kimmo Varis <kimmov@gmail.com>
* gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_ru.ts, gui/cppcheck_se.ts, gui/translationhandler.cpp:
GUI: Check translation file exists before loading it. This allows
more accurate error message for the user.
2009-07-03 Kimmo Varis <kimmov@gmail.com>
* gui/resultsview.ui: Fix EOL style for gui/resultsview.ui that got
converted to Windows style. Apparently QT Creator blindly converts
file EOL style without any warning to user.
2009-07-03 Kimmo Varis <kimmov@gmail.com>
* gui/resultsview.ui: GUI: Remove doubled margin from main window.
The main window sets default margin for central widget. And layout
was setting another margin so margin was doubled.
2009-07-03 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss, win_installer/readme.txt: Installer:
Install translation files.
2009-07-03 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp: Remove unused variable.
2009-07-02 Vesa Pikki <spyree@gmail.com>
* : commit 7a4115236aa61e3c8d3ca9264d816515e572a3a5 Author: Vesa
Pikki <spyree@gmail.com> Date: Thu Jul 2 23:41:37 2009 +0300
2009-07-02 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/cppcheck.cpp: Fix ticket #434 (Unused function gets reported
dozens of times)
http://sourceforge.net/apps/trac/cppcheck/ticket/434 Using
--unused-functions with -j will now print out error message:
"cppcheck: error: --unused-functions can't be used with -j option."
2009-07-02 Vesa Pikki <spyree@gmail.com>
* gui/translationhandler.cpp, gui/translationhandler.h: Added
missing license texts.
2009-07-02 Vesa Pikki <spyree@gmail.com>
* gui/fileviewdialog.cpp, gui/fileviewdialog.h, gui/mainwindow.cpp,
gui/mainwindow.h, gui/resultsview.cpp, gui/resultsview.h,
gui/threadhandler.h: Disabling progressbar if stop button is
pressed. This actually had no visible effect on KDE.
2009-07-02 Vesa Pikki <spyree@gmail.com>
* gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_ru.ts, gui/cppcheck_se.ts, gui/main.ui,
gui/mainwindow.cpp, gui/mainwindow.h: Checks if toolbar is closed
when opening view menu. Basically just reverted back Kimmo's code
that was lost in merge.
2009-07-02 Vesa Pikki <spyree@gmail.com>
* gui/main.ui: Removed unused statusbar.
2009-07-02 Vesa Pikki <spyree@gmail.com>
* gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_ru.ts, gui/cppcheck_se.ts, gui/file.ui,
gui/fileviewdialog.cpp, gui/fileviewdialog.h, gui/gui.pro,
gui/mainwindow.cpp: Fileview dialogs now use Qt Designer ui files.
Translation also updated.
2009-07-02 Vesa Pikki <spyree@gmail.com>
* gui/about.ui, gui/aboutdialog.cpp, gui/aboutdialog.h,
gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_ru.ts, gui/cppcheck_se.ts, gui/gui.pro: About dialog
now uses Qt Designer ui file. Updated translations again.
2009-07-02 Vesa Pikki <spyree@gmail.com>
* : commit 32725c872ec24903c3625ebb32605bb2eacf0e67 Author: Vesa
Pikki <spyree@gmail.com> Date: Thu Jul 2 19:15:34 2009 +0300
2009-07-02 Vesa Pikki <spyree@gmail.com>
* gui/application.ui, gui/applicationdialog.cpp,
gui/applicationdialog.h, gui/mainwindow.cpp, gui/settings.ui,
gui/settingsdialog.cpp, gui/settingsdialog.h: Settings dialog and
application dialog now use Qt Designer ui files.
2009-07-02 Kimmo Varis <kimmov@gmail.com>
* gui/applicationlist.cpp, gui/mainwindow.cpp, gui/resultstree.cpp:
Astyle fixes.
2009-07-02 Kimmo Varis <kimmov@gmail.com>
* gui/aboutdialog.cpp, gui/cppcheck_de.ts, gui/cppcheck_en.ts,
gui/cppcheck_fi.ts, gui/cppcheck_ru.ts, gui/cppcheck_se.ts: GUI: Add
homepage URL to About-dialog.
2009-07-02 Vesa Pikki <spyree@gmail.com>
* gui/application.ui, gui/cppcheck_de.ts, gui/cppcheck_en.ts,
gui/cppcheck_fi.ts, gui/cppcheck_ru.ts, gui/cppcheck_se.ts,
gui/gui.pro, gui/settings.ui: Added ui files for Settings and
Application dialogs. The code doesn't use those at the moment
though. Updated the translation files aswell.
2009-07-02 Vesa Pikki <spyree@gmail.com>
* gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_ru.ts, gui/cppcheck_se.ts, gui/mainwindow.cpp,
gui/resultstree.cpp: Error types are now translated aswell.
2009-07-02 Vesa Pikki <spyree@gmail.com>
* gui/mainwindow.cpp, gui/resultstree.cpp, gui/resultstree.h,
gui/resultsview.cpp, gui/resultsview.h: Toolbar can now be hidden.
Treeview's headers will now be translated when language changes.
2009-07-02 Vesa Pikki <spyree@gmail.com>
* readme.txt: Added instructions to compile the GUI.
2009-07-02 Vesa Pikki <spyree@gmail.com>
* gui/applicationlist.cpp, gui/applicationlist.h, gui/common.h,
gui/cppcheck_de.ts, gui/cppcheck_en.ts, gui/cppcheck_fi.ts,
gui/cppcheck_ru.ts, gui/cppcheck_se.ts, gui/fileviewdialog.cpp,
gui/gui.pro, gui/main.cpp, gui/main.ui, gui/mainwindow.cpp,
gui/mainwindow.h, gui/resultstree.cpp, gui/resultstree.h,
gui/resultsview.cpp, gui/resultsview.h, gui/resultsview.ui,
gui/settingsdialog.cpp, gui/settingsdialog.h,
gui/threadhandler.cpp, gui/translationhandler.cpp,
gui/translationhandler.h: Began adding translations and using Qt
Designer .ui files. Also added QSetting value names to common.h Work is halfway on both translations and .ui files. I added a very quick and rough finnish translation. The program now requires the translation files to be created before
running that can be done with lrelease gui.pro. To compile the whole GUI one must do the following cd gui qmake
lrelease gui.pro make
2009-07-02 Kimmo Varis <kimmov@gmail.com>
* gui/applicationlist.cpp, gui/mainwindow.cpp, gui/resultstree.cpp,
gui/settingsdialog.cpp, gui/threadhandler.cpp: GUI: Do not make
settings names translatable. Having translated settings names is a
bad idea. If user changes GUI language one loses settings. Also
settings might be exported/imported and translated names might not
work between systems/users.
2009-07-02 Kimmo Varis <kimmov@gmail.com>
* : commit c79d50a7103ac08f31c392d9c7ebac6affff68b0 Author: Kimmo
Varis <kimmov@gmail.com> Date: Thu Jul 2 00:05:09 2009 +0300
2009-07-01 Kimmo Varis <kimmov@gmail.com>
* gui/applicationlist.cpp, gui/applicationlist.h,
gui/resultstree.cpp, gui/threadhandler.cpp: Astyle fixes.
2009-07-01 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp, gui/mainwindow.h: GUI: Add View-menu item to
show/hide standard toolbar.
2009-06-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fix ticket
#445 (simple to avoid false positive for buffer overflow)
http://sourceforge.net/apps/trac/cppcheck/ticket/445 Simple bailout
in case "if" is found inside the for-loop.
2009-06-27 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.h: Fix couple of typos in comments.
2009-06-27 Kimmo Varis <kimmov@gmail.com>
* gui/common.h, gui/mainwindow.cpp, gui/mainwindow.h,
gui/resultstree.cpp: GUI: Remove GUI for showing unused functions.
Implements ticket #443 (Remove checking of unused functions from
GUI) https://sourceforge.net/apps/trac/cppcheck/ticket/443 See also
ticket #434 https://sourceforge.net/apps/trac/cppcheck/ticket/434
2009-06-27 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp: GUI: Disable checking unused functions.
Implements ticket #443 (Remove checking of unused functions from
GUI) https://sourceforge.net/apps/trac/cppcheck/ticket/443 See also
ticket #434 https://sourceforge.net/apps/trac/cppcheck/ticket/434
2009-06-26 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* cppcheck.geany, src/cppcheck.cpp, src/preprocessor.cpp,
src/preprocessor.h, test/testpreprocessor.cpp: Fix ticket #267
(Glued define and define name in output text) The handling of ifdef configurations where rewritten. Either a
configuration is handled properly or it is not handled at all.
2009-06-24 Reijo Tomperi <aggro80@users.sourceforge.net>
* cppcheck.cbp, gui/aboutdialog.h, gui/fileviewdialog.h,
gui/projectfile.h, gui/report.h, gui/txtreport.h, gui/xmlreport.h:
Fixed compile error in Linux Include guard naming fix (names
starting with underscore+capital letter are reserved in C++, so we
should not use those) Codeblocks project file update
2009-06-24 Kimmo Varis <kimmov@gmail.com>
* gui/projectfile.h: GUI: Add include guard for projectfile.h.
2009-06-24 Kimmo Varis <kimmov@gmail.com>
* : commit 678714419c562d67e12111fc6b5472b53ba34c45 Author: Kimmo
Varis <kimmov@gmail.com> Date: Wed Jun 24 10:54:56 2009 +0300
2009-06-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp: minor fix of test case
2009-06-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp: calling unknown function -> use
2009-06-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleak.cpp: added test case
2009-06-23 Kimmo Varis <kimmov@gmail.com>
* gui/projectfile.cpp: Fix ticket #437 (Compile warnings in GUI (in
Linux)) https://sourceforge.net/apps/trac/cppcheck/ticket/437 Add
empty cases for XML element types we don't need to handle.
2009-06-23 Reijo Tomperi <aggro80@users.sourceforge.net>
* cppcheck.cbp: codeblocks project file updated
2009-06-22 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix ticket #435 (False
positive: Invalid number of character when ({}) is used in code)
http://sourceforge.net/apps/trac/cppcheck/ticket/435
2009-06-22 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp, gui/mainwindow.h: GUI: Add checked directory
path to main window caption.
2009-06-22 Kimmo Varis <kimmov@gmail.com>
* gui/gui.cppcheck, gui/projectfile.txt: Fix EOL style of project
file doc and example project file.
2009-06-22 Kimmo Varis <kimmov@gmail.com>
* gui/readme.txt, win_installer/cppcheck.iss,
win_installer/readme.txt: Add QT XML DLL to Windows installer and
update docs.
2009-06-22 Kimmo Varis <kimmov@gmail.com>
* : commit 1aafeebe7b2abd606043bcb212ad3fcca483e10b Author: Kimmo
Varis <kimmov@gmail.com> Date: Mon Jun 22 11:57:17 2009 +0300
2009-06-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp: astyle formatting
2009-06-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkautovariables.h: doc: simplified the documentation for
autovariables a bit
2009-06-21 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h,
test/testmemleak.cpp: Fixed ticket #399 (Add detection for resource
leaks after open() usage) http://sourceforge.net/apps/trac/cppcheck/ticket/399
2009-06-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp:
CheckMemoryLeakInFunction: More sensitive checking when the code
calls an unknown function
2009-06-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: detect memory leak
when all is given when calling an unknown function
2009-06-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Preprocessor:
Replace "#if !defined(A)" with "#ifndef A"
2009-06-21 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp: GUI: Don't allow to open Settings-dialog while
checking.
2009-06-20 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp: GUI: Rename Check all/Uncheck all View-menu
items to Show all/Hide all. It is not obvious for user what those
items do and after all it is about showing/hiding all items.
2009-06-20 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp, gui/resultstree.cpp, gui/resultstree.h,
gui/resultsview.cpp, gui/resultsview.h: GUI: Enable clearing/saving
results also if there are only hidden results. This commit fixes a
bug in my earlier commit that only checked visible results.
2009-06-20 Kimmo Varis <kimmov@gmail.com>
* : commit 71aa189efbbb221d755086958c63013be63d9362 Author: Kimmo
Varis <kimmov@gmail.com> Date: Sat Jun 20 23:23:54 2009 +0300
2009-06-20 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkclass.cpp, src/tokenize.h, test/testunusedprivfunc.cpp:
Fix ticket #426 (Problem with include)
http://sourceforge.net/apps/trac/cppcheck/ticket/426
2009-06-20 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp: GUI: Clear results from view before starting
new compare. Strictly speaking this is not necessary but it is the
easiest way to set the GUI state to "no results"-state.
2009-06-20 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp, gui/resultstree.cpp, gui/resultstree.h,
gui/resultsview.cpp, gui/resultsview.h: GUI: Disable result cleaning
and saving during the checking.
2009-06-20 Kimmo Varis <kimmov@gmail.com>
* .gitignore: Add Doxygen output directory to gitignore.
2009-06-20 Kimmo Varis <kimmov@gmail.com>
* : commit 210014b930928b323dd5e592c35c674c6e61871c Author: Kimmo
Varis <kimmov@gmail.com> Date: Sat Jun 20 20:55:28 2009 +0300
2009-06-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testcharvar.cpp: Fixed #425 (False
positive: usage of char variable.. c = c & 0x03) Using char variables in bit operations are ok if: * the result is stored in a char * the variable is and'ed with a number that is less than 0x100
2009-06-20 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp, gui/mainwindow.h, gui/threadhandler.cpp,
gui/threadhandler.h: GUI: Make ThreadHandler class part of object
tree.
2009-06-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp: CheckMemoryLeakInClass: Only show the
memory leak message when --all is used
2009-06-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/tokenize.cpp, test/testmemleak.cpp,
test/testsimplifytokens.cpp: Fixed ticket #411 (false positive:
resource leak in while loop)
2009-06-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testtokenize.cpp: refactoring testcases for
Tokenizer::simplifyAddBraces
2009-06-20 Kimmo Varis <kimmov@gmail.com>
* gui/resultstree.h, src/cppcheck.h, src/cppcheckexecutor.h,
src/errorlogger.h, src/token.h: Doxygen fixes. Wrong parameter names
etc.
2009-06-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Tokenizer: Fixed
problem when simplifying casts
2009-06-19 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix ticket #416 (False
positive: Redundant code)
http://sourceforge.net/apps/trac/cppcheck/ticket/416
2009-06-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Preprocessor:
Better handling of macros that has parantheses but not parameters
such as "#define AAA( ) aaa"
2009-06-19 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp: astyle fix
2009-06-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fixed ticket #417
(Crashes in windows because of invalid char value) negative char values are allowed in strings and comments. but not in
other code.
2009-06-19 Kimmo Varis <kimmov@gmail.com>
* : commit 923e01af3fd18c9156601afc811206ab0a2146bd Author: Kimmo
Varis <kimmov@gmail.com> Date: Fri Jun 19 15:19:32 2009 +0300
2009-06-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.h, test/testother.cpp: Fixed #420
(WarningOldStylePointerCast() needs a test case)
2009-06-19 Kimmo Varis <kimmov@gmail.com>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Revert "Fix
ticket #417 (Crashes in Windows because of invalid char value)" This reverts commit 70db2562f498cd29a310dc88d2b47a232cd89690. See the ticket - the fix was not correct fix.
2009-06-19 Kimmo Varis <kimmov@gmail.com>
* : commit d5d96d2535c6bcb0581e63818e0cbcf440e2d703 Merge:
12f3ac5... e8d1905... Author: Daniel Marjamäki
<hyd_danmar@users.sourceforge.net> Date: Thu Jun 18 23:10:16 2009
+0200
2009-06-19 Kimmo Varis <kimmov@gmail.com>
* : commit 12f3ac5a2fd77472ed4848bd39dfb47f9f9097b9 Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Thu Jun 18
23:09:11 2009 +0200
2009-06-19 Kimmo Varis <kimmov@gmail.com>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix ticket #417
(Crashes in Windows because of invalid char value) 8-bit characters
and UTF-8 characters are now converted to spaces. They can only
appear in the code files in comments or string/char constants. So we
cannot just ignore them as that would change length.
2009-06-19 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix ticket #418
(delete a,b; not tokenized correctly)
http://sourceforge.net/apps/trac/cppcheck/ticket/418
2009-06-18 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fix ticket #413 (false
positive: C-style pointer casting for pure virtual function)
http://sourceforge.net/apps/trac/cppcheck/ticket/413
2009-06-18 Reijo Tomperi <aggro80@users.sourceforge.net>
* gui/fileviewdialog.cpp, gui/fileviewdialog.h: Encoding changed
from ISO* to UTF-8
2009-06-18 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testtokenize.cpp: astyle fix
2009-06-18 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed ticket #278
(variable id: references are not handled correctly) http://sourceforge.net/apps/trac/cppcheck/ticket/278
2009-06-18 Kimmo Varis <kimmov@gmail.com>
* gui/applicationdialog.cpp: GUI: Use native file selection dialog
to select viewer application. In Windows use *.exe filter since
almost all executable applications have that extension so it makes
no sense to show all files.
2009-06-18 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp: GUI: Use native file selection dialog when
selecting report file.
2009-06-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed a false
positive (memory leak) This false positive was first discovered in the VLC sourcecode. The
TestMemoryLeakInFunction::simple11 test case is a simplified test
code of that code.
2009-06-17 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp, gui/mainwindow.h: GUI: Use native dialogs in
Windows for check file/directory selection.
2009-06-17 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkclass.cpp, test/testconstructors.cpp: Fix ticket #309
(false positive::is not assigned a value in 'A::operator=')
http://sourceforge.net/apps/trac/cppcheck/ticket/309
2009-06-16 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.h, test/testmemleak.cpp: Created a new class
for detecting leaks (forgetting to free struct members)
2009-06-16 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #131
(Regression: leak reported by 1.27 is not reported by 1.29) The leak will be reported as a definite bug again. Not just a
possible bug. cppcheck don't know if the execution path is
possible, but it knows that if the execution path is taken the
memory leak will be certain.
2009-06-15 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h,
test/testmemleak.cpp: Improved the
"CheckMemoryLeak::functionReturnType"
2009-06-15 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/cppcheckexecutor.cpp, src/errorlogger.cpp, src/errorlogger.h:
getXMLFooter() and getXMLHeader() functions added and taken into use
2009-06-15 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h,
test/testmemleak.cpp: Fixed #264 (Memory Leak: alloc by assigning to
a return value) The fix was inspired by the previous patch submitted by hoangtuansu
2009-06-15 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp, gui/mainwindow.h: GUI: Refactor menu and
toolbar creation to own methods.
2009-06-14 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fixed ticket #405
(#ifdef A and #if defined A should be handled as same configuration)
http://sourceforge.net/apps/trac/cppcheck/ticket/405
2009-06-14 Reijo Tomperi <aggro80@users.sourceforge.net>
* gui/mainwindow.cpp: astyle fix
2009-06-15 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, src/tokenize.cpp, test/testmemleak.cpp,
test/testtokenize.cpp: Fixed ticket #346 (adding a "const" token
prevents detection of memory leak) http://sourceforge.net/apps/trac/cppcheck/ticket/346
2009-06-14 Vesa Pikki <spyree@gmail.com>
* gui/mainwindow.cpp: Made License and Authors dialogs a bit bigger.
2009-06-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/token.cpp, src/tokenize.cpp, test/testsimplifytokens.cpp,
test/testtokenize.cpp: Fixed #387 (Templates: template functions
that return a pointer are not simplified correctly) * Fixed so that the tokenizer handle variable declarations better
when the variable is assigned the return value of a template
function * Fixed so that the simplifyTemplates detect that a template
function is used when its return value is taken
2009-06-14 Kimmo Varis <kimmov@gmail.com>
* gui/resultstree.cpp, gui/resultstree.h: GUI: Add new context menu
items to copy filename/full path to clipboard.
2009-06-14 Kimmo Varis <kimmov@gmail.com>
* : commit 801a241e0b6452ab773b9c9c769fa8b0c3fa775b Author: Kimmo
Varis <kimmov@gmail.com> Date: Sun Jun 14 12:57:43 2009 +0300
2009-06-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : commit be52e573f3573af2497138719bb00d101ccef663 Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Sun Jun 14
11:28:25 2009 +0200
2009-06-14 Slava Semushin <php-coder@altlinux.ru>
* src/token.cpp, src/token.h, src/tokenize.cpp: Token: introduce
str(const std::string &) method. Get rid of useless std::string.c_str() calls. No functional change.
2009-06-14 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testtoken.cpp: Replace
tok->previous()->previous() call to tok->tokAt(-2). Done by command: git grep -l 'previous()->previous()' | xargs sed -i
's|previous()->previous()|tokAt(-2)|' No functional change.
2009-06-14 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp: Replace
tok->previous()->previous()->previous() call to tok->tokAt(-3). Done by command: git grep -l 'previous()->previous()->previous()' |
xargs sed -i 's|previous()->previous()->previous()|tokAt(-3)|' No functional change.
2009-06-14 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, src/tokenize.cpp, test/testtoken.cpp:
Replace tok->next()->next() call to tok->tokAt(2). Done by command: git grep -l 'next()->next()' | xargs sed -i
's|next()->next()|tokAt(2)|' No functional change.
2009-06-14 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp: Replace tok->next()->next()->next() call
to tok->tokAt(3). Done by command: git grep -l 'next()->next()->next(),' | xargs sed
-i 's|next()->next()->next()|tokAt(3)|' No functional change.
2009-06-14 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp: Replace
tok->next()->next()->next()->next() call to tok->tokAt(4). Done by command: git grep -l 'next()->next()->next()->next(),' |
xargs sed -i 's|next()->next()->next()->next()|tokAt(4)|' No functional change.
2009-06-14 Slava Semushin <php-coder@altlinux.ru>
* test/testbufferoverrun.cpp, test/testconstructors.cpp,
test/testmemleak.cpp: Embed errout.str() into ASSERT_EQUALS() call. Get rid of useless variables. No functional change.
2009-06-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkunusedfunctions.cpp, test/testunusedfunctions.cpp: Fixed
ticket #373 (False unused functions) Skip template functions when checking for unused functions
2009-06-14 Slava Semushin <php-coder@altlinux.ru>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fixed ticket #403
(false positive::Array index out of range) http://sourceforge.net/apps/trac/cppcheck/ticket/403
2009-06-14 Kimmo Varis <kimmov@gmail.com>
* src/cppcheck.rc: Fix the copyright text in Windows executable.
2009-06-14 Kimmo Varis <kimmov@gmail.com>
* gui/gui.qrc: GUI: Remove the SVG icon from the resources file as
it is not used.
2009-06-13 Kimmo Varis <kimmov@gmail.com>
* gui/gui.pro: GUI: Move Windows-specific options and files to own
scope in project file.
2009-06-13 Kimmo Varis <kimmov@gmail.com>
* gui/cppcheck-gui.rc: GUI: Include Windows resources from resource
file having version info.
2009-06-13 Kimmo Varis <kimmov@gmail.com>
* gui/gui.pro: GUI: Add common.h to the project.
2009-06-13 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp: Fixed ticket #398 (valgrind shows error when
running testrunner)
http://172.29.29.21/apps/trac/cppcheck/ticket/398
2009-06-12 Reijo Tomperi <aggro80@users.sourceforge.net>
* gui/mainwindow.cpp, src/errorlogger.cpp: Fix ticket #397 (xml
output doesn't encode " and & -characters as it should)
http://sourceforge.net/apps/trac/cppcheck/ticket/397
2009-06-12 Vesa Pikki <spyree@gmail.com>
* gui/mainwindow.cpp: Force extension to the file and check save
type by filter and not by filename.
2009-06-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed ticket #367
(Deallocating a deallocated pointer false positive when va_list
used) The overall matching of functions when calls are made were improved.
2009-06-12 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/cppcheck.cpp: astyle fix
2009-06-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fixed ticket #374 (False
positive: The scope of variable can be limited) A few refactorings and fixes were made
2009-06-12 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h, test/testtokenize.cpp: Fixed
ticket #392 (false positive and wrong allocation and deallocation
not detected) http://sourceforge.net/apps/trac/cppcheck/ticket/392
2009-06-12 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer::createLinks(): correct comment. No code change.
2009-06-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkautovariables.h: doc: minor update. The [BR] is not
working as I thought
2009-06-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/check.h, src/checkautovariables.h, src/checkbufferoverrun.h,
src/checkclass.h, src/checkdangerousfunctions.h,
src/checkheaders.h, src/checkmemoryleak.h, src/checkother.h,
src/checksecurity.h, src/checkstl.h, src/cppcheck.cpp: doc:
generating wiki documentation
2009-06-12 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, src/tokenize.h, test/testtokenize.cpp: Fixed
ticket #390 (wrong allocation and deallocation not detected) http://sourceforge.net/apps/trac/cppcheck/ticket/390
2009-06-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/check.h, src/checkautovariables.h, src/checkbufferoverrun.h,
src/checkclass.h, src/checkdangerousfunctions.h,
src/checkmemoryleak.h, src/checkother.h, src/checksecurity.h,
src/checkstl.h: added a classInfo function for each check class
2009-06-11 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/token.cpp, src/token.h, src/tokenize.cpp, src/tokenize.h,
test/testsimplifytokens.cpp: Fix ticket #386 (False positive (memory
leak) with comma)
http://apps.sourceforge.net/trac/cppcheck/ticket/386
2009-06-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed ticket #377
(False positive with "char a[]") Updated the tokenizer so "char a[]" is tokenized into "char *a"
2009-06-09 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/errorlogger.cpp, src/errorlogger.h: Partial fix for ticket
#380 (Error reporting on unused functions) Returning hard coded line
number 1 and assumed that severity should be "style"
https://apps.sourceforge.net/trac/cppcheck/ticket/380
2009-06-09 Reijo Tomperi <aggro80@users.sourceforge.net>
* cppcheck.cbp: codeblocks project file updated
2009-06-10 Slava Semushin <php-coder@altlinux.ru>
* src/checkunusedfunctions.h: src/checkunusedfunctions.h: assign
default values in initializer list. No functional change.
2009-06-09 Reijo Tomperi <aggro80@users.sourceforge.net>
* gui/resultstree.cpp: Fix compile error in GUI
2009-06-10 Slava Semushin <php-coder@altlinux.ru>
* src/cppcheck.cpp: Don't print message about missing source files
when --errorlist used. Also exit with zero status in this case. Fix for 5193a36a6a2490f199de41c430482586557d9894 commit.
2009-06-10 Slava Semushin <php-coder@altlinux.ru>
* : commit d9f2dd385b3f2ab16b45a2ef084fe7447fa04659 Author: Slava
Semushin <php-coder@altlinux.ru> Date: Wed Jun 10 01:52:42 2009
+0700
2009-06-09 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkautovariables.cpp, src/checkautovariables.h,
src/checkother.cpp, src/checkother.h, test/testautovariables.cpp,
test/testother.cpp: Refactoring: Moved
CheckOther::returnPointerToLocalVariable to CheckAutoVariables
2009-06-09 Kimmo Varis <kimmov@gmail.com>
* gui/resultstree.cpp: GUI: One messagebox was missing "this"
parameter.
2009-06-09 Kimmo Varis <kimmov@gmail.com>
* testrunner.vcproj: Update VS testrunner project.
2009-06-09 Vesa Pikki <spyree@gmail.com>
* gui/resultsview.cpp: Astyle formatting.
2009-06-09 Vesa Pikki <spyree@gmail.com>
* gui/mainwindow.cpp, gui/resultsview.cpp, gui/resultsview.h: Force
progressbar to be visible when checking starts.
2009-06-09 Vesa Pikki <spyree@gmail.com>
* gui/applicationdialog.cpp, gui/mainwindow.cpp,
gui/resultstree.cpp, gui/resultstree.h, gui/resultsview.cpp,
gui/resultsview.h, gui/settingsdialog.cpp, gui/settingsdialog.h:
Added messagebox to inform user about not found/non visible errors.
2009-06-09 Vesa Pikki <spyree@gmail.com>
* : commit 814cd37c905e9016aaf45f3189d8401dfbf166af Author: Vesa
Pikki <spyree@gmail.com> Date: Tue Jun 9 09:30:28 2009 +0300
2009-06-09 Kimmo Varis <kimmov@gmail.com>
* gui/readme.txt: GUI: Add readme file with instructions for running
and compiling the GUI.
2009-06-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.h: Doxygen: Added a few simple doxygen
comments for the leaks checking
2009-06-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h,
test/testmemleak.cpp: Refactoring: Split up the CheckMemoryLeak into
CheckMemoryLeakInFunction and CheckMemoryLeakInClass
2009-06-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile, src/checkmemoryleak.cpp, src/checkmemoryleak.h,
test/testmemleak.cpp: Refactoring: Renaming the CheckMemoryLeakClass
to CheckMemoryLeak. Deleted testmemleakmp
2009-06-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleakmp.cpp: deleted the testmemleakmp file
2009-06-08 Kimmo Varis <kimmov@gmail.com>
* gui/settingsdialog.cpp: GUI: If application list contains
applications select the first by default.
2009-06-08 Kimmo Varis <kimmov@gmail.com>
* gui/resultstree.cpp: GUI: Show error message when the viewer
application cannot be started.
2009-06-08 Kimmo Varis <kimmov@gmail.com>
* gui/applicationdialog.cpp: Fix #378 (GUI doesn't start application
if path contains spaces) In Windows we must surround paths including
spaces with quotation marks. This patch fixes application path when
it is read from Browse-dialog.
2009-06-08 Kimmo Varis <kimmov@gmail.com>
* gui/applicationdialog.cpp: GUI: Show application path with native
separators.
2009-06-08 Kimmo Varis <kimmov@gmail.com>
* cppcheck.vcproj: Update VS project file after files were renamed.
2009-06-08 Kimmo varis <kimmov@gmail.com>
* gui/gui.pro: GUI: Update project file after file renaming.
2009-06-07 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile, src/checkfunctionusage.cpp, src/checkfunctionusage.h,
src/checkunusedfunctions.cpp, src/checkunusedfunctions.h,
src/cppcheck.cpp, src/cppcheck.h, test/testfunctionusage.cpp,
test/testunusedfunctions.cpp: Refactoring: Renamed
CheckFunctionUsage to CheckUnusedFunctions
2009-06-07 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkautovariables.h, src/checkbufferoverrun.h,
src/checkclass.h, src/checkdangerousfunctions.h,
src/checkmemoryleak.h, src/checkother.h, src/checksecurity.h,
src/checkstl.h: Added headers to the "--errorlist" output
2009-06-07 Kimmo Varis <kimmov@gmail.com>
* : commit 8375d1f1aeef4273a73bd030357f373b2d360cae Author: Kimmo
Varis <kimmov@gmail.com> Date: Sun Jun 7 14:46:34 2009 +0300
2009-06-07 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Changelog: Added a Changelog file that is generated automaticly by
git2cl
2009-06-07 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* createrelease, src/cppcheck.cpp, win_installer/cppcheck.iss:
Updated version to 1.33
2009-06-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fix ticket #371
(Resource leak when exit() and if() uses together)
http://apps.sourceforge.net/trac/cppcheck/ticket/371
2009-06-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkautovariables.cpp, test/testautovariables.cpp: Fix #370
(Assign auto variable to parameter false positive)
2009-06-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fix #368 (Leak
detected when allocated memory assigned to member of structure which
returned from function) The return value of strcpy wasn't handled very well
2009-06-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testfunctionusage.cpp: Refactoring: Simple code cleanup
2009-06-06 Kimmo Varis <kimmov@gmail.com>
* : commit 3142a73fd99462a3c88d99fe31fdb6757fa65e80 Author: Kimmo
Varis <kimmov@gmail.com> Date: Sat Jun 6 13:07:20 2009 +0300
2009-06-06 Kimmo Varis <kimmov@gmail.com>
* gui/applicationdialog.cpp, gui/applicationdialog.h,
gui/settingsdialog.cpp: GUI: Make Settings-dialog a parent of Add
Application-dialog.
2009-06-06 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp, gui/settingsdialog.cpp, gui/settingsdialog.h:
GUI: Make mainwindow parent of Settings-dialog.
2009-06-06 Kimmo Varis <kimmov@gmail.com>
* gui/applicationdialog.cpp: GUI: Astyle fix.
2009-06-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h, test/testtokenize.cpp: Fix #153
(Unsigned divide) The "unsigned i" variable declaration wasn't handled well. So I
added an "int" token.
2009-06-06 Kimmo Varis <kimmov@gmail.com>
* gui/applicationdialog.cpp: GUI: Convert native path to internal
presentation. If application path is edited by hand there can be
native Windows path separators. Unify path separators to internal
presentation before storing the path.
2009-06-06 Kimmo Varis <kimmov@gmail.com>
* gui/main.cpp: GUI: Fix handling UTF-8 strings in sources. Our
source files are UTF-8 and as such contain some chars outside 7-bit
ASCII. To handle UTF-8 correctly we must set text codec for QT to
UTF-8.
2009-06-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h, test/testother.cpp: Fix ticket
#364 (false positive:: division by zero)
http://apps.sourceforge.net/trac/cppcheck/ticket/364
2009-06-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* cppcheck.cbp, gui/aboutdialog.cpp, gui/aboutdialog.h: UTF-8 fixes
to GUI files aboutdialog.* added to codeblocks projectfile
2009-06-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix ticket #353
(No pair for character (').)
http://apps.sourceforge.net/trac/cppcheck/ticket/353
2009-06-05 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/check.h, src/cppcheck.cpp: Created an undocumented command
line flag "--errorlist" that prints all messages
2009-06-05 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkfunctionusage.cpp, test/testfunctionusage.cpp: Fix #359
(Incorrect unused function)
2009-06-05 Kimmo Varis <kimmov@gmail.com>
* gui/aboutdialog.cpp: GUI: Fix warning from About-dialog layout.
2009-06-05 Kimmo Varis <kimmov@gmail.com>
* : commit aaba5735ed6dd93b5fa74a79be65975106c96e45 Author: Kimmo
Varis <kimmov@gmail.com> Date: Fri Jun 5 10:37:50 2009 +0300
2009-06-05 Kimmo Varis <kimmov@gmail.com>
* win_installer/readme.txt: Update Windows installer readme for
including QT GUI and other installer improvements.
2009-06-05 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed #354 (false
positive: memory leak)
2009-06-05 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed ticket #360
(Teach about new(std::nothrow) form) http://apps.sourceforge.net/trac/cppcheck/ticket/360
2009-06-05 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testbufferoverrun.cpp: Fixed ticket #329