Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

11470 lines (7214 sloc) 411.186 kB
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
(snprintf size is out of bounds when two variables in one scope with
similar names) FIXME: Because it's fix for simplifyTokenList() test should be moved
to test/testsimplifytokens.cpp file. http://apps.sourceforge.net/trac/cppcheck/ticket/329
2009-06-05 Slava Semushin <php-coder@altlinux.ru>
* test/testbufferoverrun.cpp, test/testcharvar.cpp,
test/testclass.cpp, test/testconstructors.cpp,
test/testdivision.cpp, test/testfunctionusage.cpp,
test/testincompletestatement.cpp, test/testmemleak.cpp,
test/testother.cpp, test/teststl.cpp, test/testtokenize.cpp,
test/testunusedprivfunc.cpp, test/testunusedvar.cpp: Strip redundant
std::string usage from tests. Second round: handle empty strings. Done by command: git grep -l ASSERT_EQUALS | xargs sed -i
's|ASSERT_EQUALS(std::string(\(".*"\)),|ASSERT_EQUALS(\1,|' Should be no functional change.
2009-06-05 Slava Semushin <php-coder@altlinux.ru>
* src/checkclass.cpp, test/testclass.cpp: Fixed ticket #358 (Local
typedef flagged as uninitialized member) http://apps.sourceforge.net/trac/cppcheck/ticket/358
2009-06-04 Kimmo Varis <kimmov@gmail.com>
* gui/resultstree.cpp: GUI: Enable sorting in results view.
2009-06-04 Kimmo Varis <kimmov@gmail.com>
* gui/settingsdialog.cpp: GUI: Improve Settings-dialog layout.
2009-06-04 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp, gui/mainwindow.h, gui/threadhandler.cpp,
gui/threadhandler.h: GUI: Prevent exiting the application while
checking.
2009-06-04 Kimmo Varis <kimmov@gmail.com>
* gui/aboutdialog.cpp: GUI: Add program icon to the About-dialog.
2009-06-04 Kimmo Varis <kimmov@gmail.com>
* gui/aboutdialog.cpp, gui/aboutdialog.h, gui/gui.pro,
gui/mainwindow.cpp: GUI: Add About-dialog. Replace messagebox
containing about-text with dialog. About-dialog must contain
copyright information.
2009-06-04 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp: Remove some empty lines.
2009-06-04 Kimmo Varis <kimmov@gmail.com>
* : commit a74faf334e2737c90f7f90e82b1be8d53a9ef7ee Author: Kimmo
Varis <kimmov@gmail.com> Date: Thu Jun 4 12:38:08 2009 +0300
2009-06-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fix ticket #352
(Memory leaks: Missed memory leak when "--all" is not given)
http://apps.sourceforge.net/trac/cppcheck/ticket/352 Detect memory
leaks without --all when there is "alloc ; assign callfunc ;
2009-06-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix ticket #351 (false
positive::resource leak)
http://apps.sourceforge.net/trac/cppcheck/ticket/351
2009-06-03 Vesa Pikki <spyree@gmail.com>
* gui/resultstree.h: Added a missing include.
2009-06-03 Vesa Pikki <spyree@gmail.com>
* gui/mainwindow.cpp, gui/mainwindow.h, gui/resultstree.cpp,
gui/resultstree.h, gui/resultsview.cpp, gui/resultsview.h,
gui/settingsdialog.cpp, gui/settingsdialog.h,
gui/threadhandler.cpp, gui/threadresult.cpp, gui/threadresult.h:
Added the initial version of saving results to a file.
2009-06-02 Reijo Tomperi <aggro80@users.sourceforge.net>
* gui/applicationdialog.h, gui/applicationlist.h, gui/common.h,
gui/settingsdialog.h, src/mathlib.cpp, src/mathlib.h: Changed EOL
character to LF in a few files.
2009-06-02 Reijo Tomperi <aggro80@users.sourceforge.net>
* gui/checkthread.cpp: astyle fix
2009-06-02 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fixed #350
(False positive: Array index out of bounds)
2009-06-02 Kimmo Varis <kimmov@gmail.com>
* doxyfile: Add GUI code to doxygen output.
2009-06-02 Kimmo Varis <kimmov@gmail.com>
* gui/checkthread.cpp, gui/checkthread.h, gui/mainwindow.cpp,
gui/threadhandler.cpp: GUI: Implement stopping the compare. Threads
must be exited from check cleanly even though it takes small amount
of time. Just terminating thread can have unpredictable side-effects
(even weird crashes).
2009-06-02 Kimmo Varis <kimmov@gmail.com>
* gui/threadresult.h: Fix mixed EOL style.
2009-06-02 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp, gui/mainwindow.h, gui/resultsview.cpp,
gui/resultsview.h: GUI: Add Collapse/Expand all -items to View-menu.
2009-06-02 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.h: Fix mixed EOL style.
2009-06-02 Kimmo Varis <kimmov@gmail.com>
* gui/resultstree.h: Fix mixed EOL style.
2009-06-02 Kimmo Varis <kimmov@gmail.com>
* gui/resultsview.h: Fix mixed EOL style.
2009-06-02 Kimmo Varis <kimmov@gmail.com>
* gui/resultstree.cpp: GUI: Include result tree icons to resource
(and executable).
2009-06-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fixed #339
(Buffer overrun not detected with pointer arrays)
http://apps.sourceforge.net/trac/cppcheck/ticket/339
2009-06-01 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed ticket #349
(Add detection for resource leaks after tmpfile() usage) https://apps.sourceforge.net/trac/cppcheck/ticket/349
2009-06-01 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed ticket #348
(Simplify sizeof for pointers) https://apps.sourceforge.net/trac/cppcheck/ticket/348
2009-06-01 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer::simplifyTokenList: use SizeOfType(). No functional change.
2009-06-01 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer::simplifyTokenList: reduce indent. No functional change.
2009-06-01 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: Tokenizer::simplifyTokenList: some improvements. Corrections for 2de4c516e9e5e3dd9590379b0e980c9fc484db89 commit: - declare variable near their usage - set right position of next token
2009-06-01 Slava Semushin <php-coder@altlinux.ru>
* test/testautovariables.cpp, test/testbufferoverrun.cpp,
test/testcharvar.cpp, test/testclass.cpp,
test/testconstructors.cpp, test/testdangerousfunctions.cpp,
test/testdivision.cpp, test/testfilelister.cpp,
test/testincompletestatement.cpp, test/testmathlib.cpp,
test/testmemleak.cpp, test/testother.cpp, test/testredundantif.cpp,
test/testsimplifytokens.cpp, test/teststl.cpp,
test/testtokenize.cpp, test/testunusedprivfunc.cpp: Strip redundant
std::string usage from tests. Done by command: git grep -l ASSERT_EQUALS | xargs sed -i
's|ASSERT_EQUALS(std::string(\(".\+"\)),|ASSERT_EQUALS(\1,|' Should be no functional change.
2009-05-31 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fixed ticket #338
(Simplify sizeof for pointer arrays) by patch submitted by
php-coderrr http://apps.sourceforge.net/trac/cppcheck/ticket/338
2009-06-01 Slava Semushin <php-coder@altlinux.ru>
* src/tokenize.cpp: src/tokenize.cpp(unwantedWords): propagate const
modifier. No functional change.
2009-05-31 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Variable Id: structs must
not have variable id
2009-05-31 Slava Semushin <php-coder@altlinux.ru>
* : commit fb0c217c3e4103219737a1e20e68e95b05ee82f3 Author: Slava
Semushin <php-coder@altlinux.ru> Date: Sun May 31 20:48:40 2009
+0700
2009-05-31 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix ticket #344
(Tokenizer crash in Windows)
http://apps.sourceforge.net/trac/cppcheck/ticket/344
2009-05-31 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h, test/testsimplifytokens.cpp:
Fixed ticket #345 ('!' and 'not' tokens interpreted differently even
though they mean the same)
2009-05-31 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/errorlogger.cpp, src/errorlogger.h, test/testcppcheck.cpp: Fix
ticket #318 ('..' in include will cause conflicting slashes in
messages)
2009-05-31 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkfunctionusage.cpp, test/testfunctionusage.cpp: Fix for
#341 (Functions passed as pointer not detected as used)
2009-05-31 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/cppcheck.cpp: cppcheck: removed the 'this may take several
minutes' when checking unused functions. The check is much faster
nowadays
2009-05-30 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Memory leaks:
calling function that deallocates the memory and allocates new
memory https://apps.sourceforge.net/trac/cppcheck/ticket/336
2009-05-30 Kimmo Varis <kimmov@gmail.com>
* gui/gui.pro: GUI: Add manifest for Windows build.
2009-05-30 Kimmo Varis <kimmov@gmail.com>
* gui/gui.pro, src/filelister.cpp: GUI: Fix building with MinGW.
Add shlwapi library to qmake project file. Use WCHAR instead of
wchar_t.
2009-05-30 Kimmo Varis <kimmov@gmail.com>
* src/filelister.cpp: Make GUI work in Windows compiled with VS.
Since GUI is QT project it is also Unicode project. And other
cppcheck code is ANSI code. So we must convert data between Unicode
and ANSI when calling WinAPI functions. WinAPI functions want
Unicode strings but e.g. std::string contains ANSI strings.
2009-05-30 Kimmo Varis <kimmo@kimmo-laptop.(none)>
* .gitignore: Add more generated GUI files to gitignore.
2009-05-30 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : commit d33139b2c781d1c4eda1b8ab56212aef5fb1cf42 Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Sat May 30
14:24:55 2009 +0200
2009-05-30 Kimmo Varis <kimmov@gmail.com>
* src/filelister.cpp: Windows: Fix FileLister to send full paths
instead of only filenames.
2009-05-30 Kimmo Varis <kimmov@gmail.com>
* : commit b2d50ca512ca136732e69bb4e7d9641fd0d168e1 Author: Kimmo
Varis <kimmov@gmail.com> Date: Sat May 30 10:32:33 2009 +0300
2009-05-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* AUTHORS, cppcheck.cbp, gui/applicationdialog.cpp,
gui/applicationdialog.h, gui/applicationlist.cpp,
gui/applicationlist.h, gui/checkthread.cpp, gui/checkthread.h,
gui/common.h, gui/main.cpp, gui/mainwindow.cpp, gui/mainwindow.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, 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/checkfunctionusage.cpp, src/checkfunctionusage.h,
src/checkheaders.cpp, src/checkheaders.h, src/checkmemoryleak.cpp,
src/checkmemoryleak.h, src/checkother.cpp, src/checkother.h,
src/checksecurity.cpp, src/checksecurity.h, src/checkstl.cpp,
src/checkstl.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/testfunctionusage.cpp,
test/testincompletestatement.cpp, test/testmathlib.cpp,
test/testmemleak.cpp, test/testmemleakmp.cpp, test/testother.cpp,
test/testpreprocessor.cpp, test/testredundantif.cpp,
test/testrunner.cpp, test/testsecurity.cpp,
test/testsimplifytokens.cpp, test/teststl.cpp, test/testsuite.cpp,
test/testsuite.h, test/testtoken.cpp, test/testtokenize.cpp,
test/testunusedprivfunc.cpp, test/testunusedvar.cpp,
tools/dmake.cpp, tools/errmsg.cpp: Fix ticket #325 (Replace
developer names in source files with AUTHORS file)
http://apps.sourceforge.net/trac/cppcheck/ticket/325
2009-05-30 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix ticket #342 (Simplify
"if( (true) == true )")
http://apps.sourceforge.net/trac/cppcheck/ticket/342
2009-05-28 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testtokenize.cpp: Changed expected result for test case
TestTokenizer::removeParantheses3 to simplify it more
2009-05-28 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix bug related to ticket
#330, cppcheck hanged with some files containing "(("
http://apps.sourceforge.net/trac/cppcheck/ticket/330
2009-05-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Tokenizer: Simplifying
redundant parantheses http://apps.sourceforge.net/trac/cppcheck/ticket/330
2009-05-28 Kimmo Varis <kimmov@gmail.com>
* gui/threadhandler.h: Fix EOL style (had Unix/DOS) mixed style.
2009-05-28 Kimmo Varis <kimmov@gmail.com>
* gui/applicationdialog.cpp: GUI: Fix typo in Add New Application
-dialog.
2009-05-28 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp: GUI: Add separator in View-menu before
check/uncheck all.
2009-05-28 Kimmo Varis <kimmov@gmail.com>
* .gitignore: Add GUI build folders to gitignore.
2009-05-28 Kimmo Varis <kimmov@gmail.com>
* gui/cppcheck-gui.rc, gui/gui.pro: GUI: Add application icon for
Windows.
2009-05-28 Kimmo Varis <kimmov@gmail.com>
* gui/mainwindow.cpp: GUI: Use PNG icon instead of SVG icon for
Check directory -action.
2009-05-28 Kimmo Varis <kimmov@gmail.com>
* gui/gui.pro, gui/gui.qrc, gui/main.cpp, gui/mainwindow.cpp,
gui/resultstree.cpp: Add icon files to resource file. Having
resource files compiled in the executable makes installing the
application easier (especially on Windows).
2009-05-28 Kimmo Varis <kimmov@gmail.com>
* src/filelister.cpp: Fix building GUI with Visual Studio.
2009-05-27 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix ticket #319 (Function
names are tagged as variables)
http://apps.sourceforge.net/trac/cppcheck/ticket/319
2009-05-27 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testmemleak.cpp, test/testtokenize.cpp: Added test case
TestMemleak::dealloc_and_alloc_in_func
2009-05-27 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix ticket 330 (found
memory leak when __builtin_expect uses)
2009-05-27 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix ticket 308 (cppcheck
msg:: invalid number of ((). Cant process file)
2009-05-27 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : commit 650d58e3de2a9487edc36e97fb55cf0ebefb9f77 Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Wed May 27
19:38:26 2009 +0200
2009-05-27 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss, win_installer/readme.txt: Installer:
Add docoments to Start-menu. Add AUTHORS.txt, COPYING.txt and
readme.txt to the Start-menu. Files are opened by default .txt file
viewer which is usually Notepad.
2009-05-27 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss: Installer: Add .txt extension to text
files. Windows does not know how to open files without extension in
name so add .txt extension when installing for AUTHORS and COPYING.
2009-05-27 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss: Installer: Install AUTHORS-file.
AUTHORS is good to install as it tells who are working with
cppcheck.
2009-05-27 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss: Installer: Add large installer bitmap.
Adding large installer image which is shown as "sidebar" of
installer's welcome window. The bitmap is combination of Inno Setup
standard image and cppcheck icon.
2009-05-27 Kimmo Varis <kimmov@gmail.com>
* win_installer/readme.txt: Installer: Fix output folder name in
installer readme.
2009-05-27 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss: Installer: Add small image shown in
top of the installer.
2009-05-26 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/token.cpp, test/testtokenize.cpp: Fix ticket #334
(segmentation fault on boost 1.39.0)
http://apps.sourceforge.net/trac/cppcheck/ticket/334
2009-05-26 Vesa Pikki <spyree@gmail.com>
* gui/mainwindow.cpp, gui/resultstree.cpp: Astyle formatting.
2009-05-26 Vesa Pikki <spyree@gmail.com>
* AUTHORS, gui/mainwindow.cpp, gui/mainwindow.h,
gui/resultstree.cpp, gui/resultstree.h: Added 22x22 icons from
http://tango.freedesktop.org. Also added icon source to AUTHORS
file. Also added toolbar with the default actions. Added icons to
result files and errors.
2009-05-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* gui/icon.svg, gui/main.cpp, logo.svg: renamed the logo files to
icon instead
2009-05-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* gui/main.cpp, logo.svg: logo: modified the logo so it looks better
when used as mainicon for the gui program
2009-05-25 Vesa Pikki <spyree@gmail.com>
* gui/main.cpp: GUI now uses Cppcheck's logo.
2009-05-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* logo.svg: Added a temporary logotype for cppcheck
2009-05-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp,
test/testtokenize.cpp: Fixed ticket #333 (tokenizer: incorrect
removal of decrement/increment)
2009-05-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix ticket #317
(pre-increment causes style false positive)
2009-05-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix ticket #317
(pre-increment causes style false positive)
2009-05-24 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix ticket #332
(White space between macro name and '(' causes macro simplification
to fail) http://apps.sourceforge.net/trac/cppcheck/ticket/332
2009-05-24 Vesa Pikki <spyree@gmail.com>
* : commit d9c36eada2cdc5f6c2e9b8f92bd319789fc588eb Author: Vesa
Pikki <spyree@gmail.com> Date: Sun May 24 12:09:37 2009 +0300
2009-05-24 Vesa Pikki <spyree@gmail.com>
* gui/applicationlist.cpp, gui/applicationlist.h,
gui/settingsdialog.cpp, gui/settingsdialog.h: User can now undo
changes to application list by clicking cancel.
2009-05-24 Vesa Pikki <spyree@gmail.com>
* gui/applicationdialog.cpp, gui/applicationlist.cpp,
gui/mainwindow.cpp, gui/settingsdialog.cpp: Astyle formatting.
2009-05-24 Vesa Pikki <spyree@gmail.com>
* gui/applicationdialog.cpp, gui/applicationdialog.h,
gui/applicationlist.cpp, gui/checkthread.cpp, gui/checkthread.h,
gui/mainwindow.cpp, gui/mainwindow.h, gui/resultstree.cpp,
gui/settingsdialog.cpp: Fixed issues pointed out by Reijo. The
number of threads is now atleast 1. Added a very simple about
dialog with version number and license. Replaced all CppCheck's
with Cppcheck. Renamed "show more errors" to "show possible false
positives" in the menu. User created application now has to have a
name and a path.
2009-05-24 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp:
src/checkmemoryleak.cpp(GetAllocationType): simplify condition a
bit. Replace two Token::simpleMatch() calls to one Token::Match(). Correction for my previous
(2654a4aa54457f71b5dbcdc43ee714a054e65069) commit. No functional change.
2009-05-22 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h,
test/testmemleak.cpp: Added support to search resource leaks after
opendir()/fdopendir() usage.
2009-05-20 Slava Semushin <php-coder@altlinux.ru>
* src/checkother.cpp, test/testother.cpp: Part of fix for ticket
#284 (style check: redundant condition improvement) Fixed case "if (p) delete [] p;" and also added test case for it. http://apps.sourceforge.net/trac/cppcheck/ticket/284
2009-05-20 Slava Semushin <php-coder@altlinux.ru>
* src/checkother.cpp, test/testother.cpp: Part of fix for ticket
#284 (style check: redundant condition improvement) Fixed case "if (p != NULL) delete p;" and also added test case for
it. http://apps.sourceforge.net/trac/cppcheck/ticket/284
2009-05-24 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp:
src/checkmemoryleak.cpp(GetDeallocationType): removed brackets. No functional change.
2009-05-23 Vesa Pikki <spyree@gmail.com>
* gui/applicationdialog.cpp, gui/applicationdialog.h,
gui/applicationlist.h, gui/common.h, gui/mainwindow.h,
gui/resultstree.cpp, gui/resultstree.h, gui/resultsview.h,
gui/settingsdialog.h, gui/threadhandler.h, gui/threadresult.h: Added
more comments to class members and methods.
2009-05-23 Vesa Pikki <spyree@gmail.com>
* gui/applicationlist.cpp, gui/applicationlist.h,
gui/mainwindow.cpp, gui/mainwindow.h, gui/resultstree.cpp,
gui/resultstree.h, gui/settingsdialog.cpp, gui/settingsdialog.h: Now
starts the default application by double clicking the error.
2009-05-23 Vesa Pikki <spyree@gmail.com>
* : commit 70c32c10e4e3b69562d00ffc2922f46f7c280ee8 Author: Vesa
Pikki <spyree@gmail.com> Date: Sat May 23 14:26:04 2009 +0300
2009-05-23 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Added 17 functions
which work with FILE structure to white list. Inspired by previous commit.
2009-05-23 Vesa Pikki <spyree@gmail.com>
* gui/applicationdialog.cpp, gui/applicationdialog.h,
gui/applicationlist.cpp, gui/applicationlist.h, gui/gui.pro,
gui/mainwindow.cpp, gui/mainwindow.h, gui/settingsdialog.cpp,
gui/settingsdialog.h: Added the ability to add/remove/modify
applications to open errors with. Only the list of applications
added, errors cant be opened yet.
2009-05-23 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed ticket #327
(File descriptor leak not detected when feof() used) Thanks to aggro80@ for help. http://apps.sourceforge.net/trac/cppcheck/ticket/327
2009-05-23 Vesa Pikki <spyree@gmail.com>
* gui/resultstree.cpp, gui/resultstree.h: When adding a new error,
only hides it and doesn't check all errors.
2009-05-23 Vesa Pikki <spyree@gmail.com>
* gui/common.h, gui/mainwindow.cpp, gui/mainwindow.h,
gui/resultstree.cpp, gui/resultstree.h, gui/resultsview.cpp,
gui/resultsview.h, gui/test.cpp, gui/threadhandler.cpp,
gui/threadresult.cpp, gui/threadresult.h: Results tree now uses only
QStandardItemModel for data storage. Items are now hidden from the
tree and the tree is not recreated everytime it is refreshed. Also
added test.cpp as a sample data for GUI testing. Added Check all
and uncheck all buttons to menu to show/hide all errors more easily.
2009-05-23 Vesa Pikki <spyree@gmail.com>
* gui/gui.pro: Updated new cppcheck files to project file.
2009-05-23 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, src/preprocessor.h,
test/testpreprocessor.cpp: Fix ticket #304 (#include <file.h> should
be searched from paths given with -I parameter.)
http://apps.sourceforge.net/trac/cppcheck/ticket/304 Note that the
ticket is same as with previous commit, but task description was
changed a little.
2009-05-22 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, src/preprocessor.h,
test/testpreprocessor.cpp: Fix ticket #304 (#include <file.h> should
be parsed like #include "file.h" is being parsed)
http://apps.sourceforge.net/trac/cppcheck/ticket/304
2009-05-22 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testmemleak.cpp: Fix ticket #326 (Reported
memory leak when pointer returned by assign to function's parameter)
http://apps.sourceforge.net/trac/cppcheck/ticket/326
2009-05-22 Slava Semushin <php-coder@altlinux.ru>
* src/checkfunctionusage.cpp, src/checkmemoryleak.cpp,
src/tokenize.cpp: Replaced two Token::simpleMatch() calls to one
Token::Match(). Suggested by hyd_danmar in ticket
http://apps.sourceforge.net/trac/cppcheck/ticket/323 No functional change.
2009-05-22 Slava Semushin <php-coder@altlinux.ru>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed ticket #324
(Teach about fcloseall() function) http://apps.sourceforge.net/trac/cppcheck/ticket/324
2009-05-22 Slava Semushin <php-coder@altlinux.ru>
* src/checkdangerousfunctions.h: Fixed ticket #300 (wrong level
given) Enable checks of dangerous functions only when --style option used. http://apps.sourceforge.net/trac/cppcheck/ticket/300
2009-05-22 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp, src/checkother.cpp, tools/errmsg.cpp:
Propagate static and const modifiers. No functional change.
2009-05-22 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp, src/checkdangerousfunctions.cpp:
Removed unused or superfluous headers. No functional change.
2009-05-22 Slava Semushin <php-coder@altlinux.ru>
* src/checkautovariables.cpp, src/checkautovariables.h,
src/checkdangerousfunctions.cpp, src/checkdangerousfunctions.h,
test/testautovariables.cpp, test/testdangerousfunctions.cpp: Updated
wrong comments (looks like after copy&paste). No code change.
2009-05-21 Reijo Tomperi <aggro80@users.sourceforge.net>
* man/cppcheck.1.xml: Updated man page to reflect AUTHORS file.
2009-05-21 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fix #299 (Memory
leak not detected when parameters contain ::)
http://apps.sourceforge.net/trac/cppcheck/ticket/299
2009-05-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* AUTHORS: AUTHORS: Added an authors file Ticket: http://apps.sourceforge.net/trac/cppcheck/ticket/325
2009-05-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkautovariables.cpp, src/checkclass.cpp,
src/checkfunctionusage.cpp, src/checkheaders.cpp,
src/checkmemoryleak.cpp, src/checkother.cpp, src/checkstl.cpp,
src/preprocessor.cpp, src/tokenize.cpp: Applied patch
0001-Use-Token-simpleMatch-instead-of-Token-Match-w Author: php-coder Ticket: http://apps.sourceforge.net/trac/cppcheck/ticket/323
2009-05-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp: Applied patch
0003-GetAllocationType-mark-some-members-as-static-and-a.patch Author: php-coder Ticket: http://apps.sourceforge.net/trac/cppcheck/ticket/321
2009-05-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h: Applied patch
0002-CheckMemoryLeak-renamed-enum-members.patch Author: php-coder
2009-05-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.h: Applied patch
0001-src-checkmemoryleak.h-replaced-assignment-in-contru.patch Author: php-coder
2009-05-20 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix ticket #316
(\n is tokenized into \\ in a string when macro is used)
http://apps.sourceforge.net/trac/cppcheck/ticket/316
2009-05-19 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Apply patch #320
from php-coderrr ([PATCH] Determine memory leaks after strndup()
usage) http://apps.sourceforge.net/trac/cppcheck/ticket/320
2009-05-19 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, src/preprocessor.h,
test/testpreprocessor.cpp: Fix ticket #315 (Segmentation fault when
checking Linux kernel) (previous fix was only partial fix)
http://apps.sourceforge.net/trac/cppcheck/ticket/315
2009-05-18 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix ticket #315
(Segmentation fault when checking Linux kernel)
http://apps.sourceforge.net/trac/cppcheck/ticket/315
2009-05-18 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkclass.cpp, test/testconstructors.cpp: astyle fix
2009-05-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, test/testconstructors.cpp: Classes: Static
variables don't need to be initialized or assigned in constructors
etc http://apps.sourceforge.net/trac/cppcheck/ticket/307
2009-05-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, test/teststl.cpp: STL: It is ok to compare
vector iterators with <
https://apps.sourceforge.net/trac/cppcheck/ticket/313
2009-05-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix for ticket
291 - preprocessor: better handling of defines
http://apps.sourceforge.net/trac/cppcheck/ticket/291
2009-05-14 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix ticket #312
(division by pointer value causes wrong tokenizing)
http://apps.sourceforge.net/trac/cppcheck/ticket/312
2009-05-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testpreprocessor.cpp: Preprocessor: Added test case for #291.
One of the assertions is a TODO and it should be fixed. http://apps.sourceforge.net/trac/cppcheck/ticket/291
2009-05-13 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, src/preprocessor.h,
test/testpreprocessor.cpp: Fix ticket #306 (Invalid multi-line
comment produces cryptic internal error)
http://apps.sourceforge.net/trac/cppcheck/ticket/306
2009-05-13 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testpreprocessor.cpp: Added TODO test case
TestPreprocessor::multiline_comment Made tokenizer to printout token
list in case of syntax error, if debug is used
2009-05-12 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testmemleak.cpp: Added TODO test case TestMemleak::stdstring
2009-05-12 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testtoken.cpp, test/testtokenize.cpp: Fix ticket #305
(Negative value passed to ASSERT_EQUALS)
http://apps.sourceforge.net/trac/cppcheck/ticket/305 Moved also test
case from testtokenizer to testtoken.
2009-05-11 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/cppcheck.cpp, src/tokenize.cpp, src/tokenize.h,
test/teststl.cpp, test/testtokenize.cpp: Fix ticket #288
(Tokenizer::syntaxError should use error logger instead of
std::cout) http://apps.sourceforge.net/trac/cppcheck/ticket/288
2009-05-11 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix ticket #302
(White space between "\" and newline not handled correctly)
http://apps.sourceforge.net/trac/cppcheck/ticket/302
2009-05-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* createrelease, src/cppcheck.cpp, win_installer/cppcheck.iss:
Updated version to 1.32
2009-05-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: null pointer
dereferencing: check that its a pointer that is dereferenced to
avoid false positives when using classes that behave almost like
pointers (#295)
2009-05-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memory leaks:
Handling exit (#297)
2009-05-09 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp,
test/testtokenize.cpp: Fix #289 (if() is not properly tokenized)
http://apps.sourceforge.net/trac/cppcheck/ticket/289
2009-05-09 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/threadexecutor.cpp: Apply #296 ([PATCH] cppcheck leak memory
when -j option uses)
http://apps.sourceforge.net/trac/cppcheck/ticket/296
2009-05-09 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, src/tokenize.cpp, src/tokenize.h,
test/testpreprocessor.cpp: Fix ticket #294 (### Error: Invalid
number of character ()
http://apps.sourceforge.net/trac/cppcheck/ticket/294
2009-05-09 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: templates: fixed
problem when for example calling static member function in a
template class (#293)
2009-05-08 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss, win_installer/readme.txt: Add VS
runtimes to the Windows installer. cppcheck requires VS 9
runtimefiles to run. Those runtimes are installed by many programs
and it is probable lots of people already have them. But still there
are users without those files. And for them it is non-trivial task
to get cppcheck to run. So better just include runtimes for
everybody.
2009-05-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: template: no usage
-> no expansion (#292)
2009-05-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* cppcheck.cbp: testautovariables added to the codeblocks project
file
2009-05-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/cppcheck.cpp, src/tokenize.cpp, src/tokenize.h,
test/testautovariables.cpp, test/testdivision.cpp,
test/testincompletestatement.cpp, test/teststl.cpp,
test/testtokenize.cpp: Initial fix for ticket #283 (segmentation
fault when checking xterm sources)
http://apps.sourceforge.net/trac/cppcheck/ticket/283 It should print
out error message now instead of crashing. Cleanup is needed.
2009-05-07 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: templates: don't expand forward declarations for
templates
2009-05-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkclass.cpp, test/testclass.cpp: Fix ticket #282 (protected
destructor - false positive)
http://apps.sourceforge.net/trac/cppcheck/ticket/282
2009-05-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, test/teststl.cpp: stl: removed false positives
for STL buffer overruns. Bailing out when it can't be checked if the
index is ok or not. (#285)
2009-05-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memleak: removed
false positives for pclose (#286)
2009-05-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: templates:
instantiations in a template class (#280)
2009-05-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testmemleak.cpp: Added TODO test case
TestMemleak::assign_pclose
2009-05-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testsimplifytokens.cpp: Added test case
TestSimplifyTokens::template7
2009-05-05 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: templates: speedup
by breaking out inner loops (#257)
2009-05-05 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Preprocessor:
Handling newlines when using # to stringify parameters (#281)
2009-05-03 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: speedup: made the token simplifications a little
faster
2009-05-03 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h: templates: extracted the
template simplification into a separate function
2009-05-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix #276 (simplification:
Variable value) http://apps.sourceforge.net/trac/cppcheck/ticket/276
2009-05-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, src/checkclass.cpp,
src/checkheaders.cpp, src/checkmemoryleak.cpp, src/token.cpp,
src/token.h, src/tokenize.cpp, test/testtokenize.cpp: Fix #279
(Refactoring: replace and remove Token::aaaa , Token::aaaa0 and
Token::aaaa1) http://apps.sourceforge.net/trac/cppcheck/ticket/279
2009-05-03 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: varid: speedup of the algorithm for setting
variable ids
2009-05-03 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: varid: updated handling
of variable id for class variables (#26)
2009-05-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp: Fix possible bug caused by previous commit.
2009-05-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp: Fix slowlyness, caused by one of the previous
commits.
2009-05-03 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, src/checkstl.h, test/teststl.cpp: stl: Fixed
ticket #277 - dereferencing an iterator that has been erased
2009-05-02 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: tokenizer: give class
member variables varId (#26)
2009-05-02 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/teststl.cpp: stl: added a ticket for the todo test case
TestStl::eraseDereference
2009-05-02 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/teststl.cpp: stl: added todo test case, invalid iterator
after insert
2009-05-02 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/teststl.cpp: stl: added todo test case, erasing invalid
iterator
2009-05-02 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/teststl.cpp: stl: added test case, dereferencing an iterator
that has been erased
2009-05-02 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmathlib.cpp: testing mathlib: Test that conversion to
numbers work
2009-05-02 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/checkother.cpp, src/mathlib.h,
src/tokenize.cpp: Refactoring: Using MathLib for converting string
to number commit beacd5793f9e9987432a20ac39a76ae6c2c8babd Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Sat May 2
10:44:18 2009 +0200 memleak: using mathlib commit 4d28172a5d88cc2cbe5ed94a4e4fdbd0dd4bb5e1 Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Sat May 2
10:35:06 2009 +0200 tokenizer: using the MathLib for converting string to number commit 4e4b95b3554c9c6d121efeb39741204b1621b1a3 Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Sat May 2
10:28:39 2009 +0200 CheckOther: Using mathlib
2009-05-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testtokenize.cpp: refactoring:
Replaced 'aaaa'
2009-05-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix ticket #204 (false
positive::memory leak with --all when free is guarded by simple if)
http://apps.sourceforge.net/trac/cppcheck/ticket/204
2009-05-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: tokenizer: simplify
assembler (#270), fix _asm also.
http://apps.sourceforge.net/trac/cppcheck/ticket/270
2009-05-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fix ticket #196
(False positive: Resource leak)
http://apps.sourceforge.net/trac/cppcheck/ticket/196
2009-05-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: tokenizer: simplify
assembler (#270)
2009-05-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp: Astyle fix
2009-05-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix ticket #275
Simplify if( a == 0 ), if( 0 == a ) into if( !a )
http://apps.sourceforge.net/trac/cppcheck/ticket/275
2009-05-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testconstructors.cpp: astyle formatting
2009-05-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testconstructors.cpp: class checking: enabled test case. The
--all setting must be provided
2009-05-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testmemleak.cpp: astyle fix
2009-05-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testconstructors.cpp,
test/testmemleak.cpp: Fix partially ticket #196 False positive:
Resource leak And add few test cases related to it. Move one failing
test behind TODO
http://apps.sourceforge.net/trac/cppcheck/ticket/196
2009-05-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp: class checking: only check class assignments
if the --all has been given
2009-05-01 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, src/checkclass.h, test/testconstructors.cpp:
class checking: Checking that vectors/lists/strings etc are modified
in the assignment function
2009-04-29 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix ticket #269
(Incorrect variable id, when delete is used.)
http://apps.sourceforge.net/trac/cppcheck/ticket/269
2009-04-29 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testtokenize.cpp: Added test case TestTokenizer::varid_delete
for ticket #269 http://apps.sourceforge.net/trac/cppcheck/ticket/269
2009-04-29 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testmemleak.cpp: Added test case
TestMemleak::free_member_in_sub_func for ticket #253
http://apps.sourceforge.net/trac/cppcheck/ticket/253
2009-04-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, test/teststl.cpp: stl: checking that iterator is
used against a single container
2009-04-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/teststl.cpp: stl: added todo test case about using same
iterator with different containers
2009-04-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/teststl.cpp: changed todo comment to TODO_ASSERT_EQUALS
2009-04-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, src/checkstl.h, test/teststl.cpp: checkstl:
Check for invalid pointer to vector element
2009-04-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testconstructors.cpp: added todo test case for detecting
unmodified containers in the operator= function
2009-04-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: memory leaks:
handling std::auto_ptr (#266)
2009-04-27 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : commit b49997e69d7d058ea722d2d7ef8d4a231a514181 Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Mon Apr 27
21:29:03 2009 +0200
2009-04-26 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Improve fix to
ticket #261: Allow macro definition to have uncoupled double quote.
http://apps.sourceforge.net/trac/cppcheck/ticket/261
2009-04-26 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Preprocessor:
Report correct file and line in message 'No pair for character..'
(#261)
2009-04-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, test/teststl.cpp: push_back: updated the
checking of push_back (#263)
2009-04-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: varid: Set variable id
for stl containers and iterators
2009-04-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/teststl.cpp: push_back: added a few todo test cases for the
checking of push_back
2009-04-23 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/errorlogger.cpp: astyle fix
2009-04-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/errorlogger.cpp, test/testcppcheck.cpp: xml generator: handle
'<' and '>' (#263)
2009-04-20 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix ticket #258
(segmentation fault)
http://apps.sourceforge.net/trac/cppcheck/ticket/258
2009-04-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: return pointer to local
array: fixed false positive when return value is converted to for
instance a std::string (#255)
2009-04-16 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/mathlib.cpp, src/mathlib.h, test/testmathlib.cpp: mathlib:
Fixed todo 3/2=1
2009-04-14 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp: Fix ticket #257 (Improve speed of template
tokenizing) http://apps.sourceforge.net/trac/cppcheck/ticket/257
2009-04-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, test/testunusedprivfunc.cpp: private
functions: don't report false positives when using initialization
lists (#254)
2009-04-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, src/checkstl.h, test/teststl.cpp: STL boundries:
added new check written by Bill Eggert (#247)
2009-04-13 Kimmo Varis <kimmov@gmail.com>
* .gitignore: Improve gitignore file for VS. Improve gitignore to
ignore Visual Studio build directories and other VS generated files
not wanted in version control.
2009-04-13 Reijo Tomperi <aggro80@users.sourceforge.net>
* cppcheck.cbp, gui/threadhandler.cpp, src/check.h: Fix ticket #252
(Fix --style warnings in cppcheck)
http://apps.sourceforge.net/trac/cppcheck/ticket/252
2009-04-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* createrelease, src/cppcheck.cpp, win_installer/cppcheck.iss:
updated version to 1.31
2009-04-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmathlib.cpp: math lib: 3/2 should result in 1
2009-04-10 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkstl.cpp, test/teststl.cpp: Fix ticket #248 (STL erase
check broken?) http://apps.sourceforge.net/trac/cppcheck/ticket/248
2009-04-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* cppcheck.sln, cppcheck.vcproj, testrunner.sln, testrunner.vcproj:
changed mode of visual studio files
2009-04-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* cppcheck.sln, cppcheck.vcproj, testrunner.sln, testrunner.vcproj:
updated Visual Studio files
2009-04-09 Reijo Tomperi <aggro80@users.sourceforge.net>
* cppcheck.cbp: Add mathlib to codeblocks projectfile
2009-04-09 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/mathlib.cpp, src/mathlib.h: mathlib: Added licence text
2009-04-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: simplify calculations: Don't simplify division
with 0
2009-04-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile, src/tokenize.cpp: tokenize: use mathlib when simplifying
calculations (ticket: 236)
2009-04-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile, cppcheck.geany, src/mathlib.cpp, src/mathlib.h,
test/testmathlib.cpp: added testing for mathlib
2009-04-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile, src/mathlib.cpp, src/mathlib.h: Added math library that
was created by hoangtuansu
2009-04-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix ticket #212
(Tokenizer: Handle L "text")
http://apps.sourceforge.net/trac/cppcheck/ticket/212
2009-04-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp: Fix ticket #244 (Headers from included file
are searched from wrong path)
http://apps.sourceforge.net/trac/cppcheck/ticket/244
2009-04-04 Leandro Lisboa Penz <lpenz@notebook.penz>
* .gitignore: .gitignore: do not show status of built files.
2009-04-04 Leandro Lisboa Penz <lpenz@notebook.penz>
* test/testmemleak.cpp: checkmemoryleak: fixed and reactivated
forwhile9 and forwhile10 tests.
2009-04-04 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fix ticket
#243 (boundary checking)
http://apps.sourceforge.net/trac/cppcheck/ticket/243
2009-04-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testpreprocessor.cpp: astyle fix
2009-04-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/cppcheck.cpp, src/preprocessor.cpp, src/preprocessor.h,
test/testpreprocessor.cpp: Fix ticket #242 (Preprocessor: Bail out
on failure instead of terminating the program)
http://apps.sourceforge.net/trac/cppcheck/ticket/242
2009-04-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checksecurity.cpp: Fix some potential null pointer crashes
2009-03-31 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, src/checkclass.h, test/testconstructors.cpp:
operator=: changed error message when variable is not assigned
2009-03-31 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix ticket #239
(missing function implementation in namespace causes crash)
http://apps.sourceforge.net/trac/cppcheck/ticket/239
2009-03-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: division with zero =>
division by zero
2009-03-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, src/checkother.h, test/testother.cpp: zero
division: it's an error
2009-03-29 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: tokenizer: don't
replace sizeof when size can't be determined (#233)
2009-03-28 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkautovariables.cpp: astyle fix
2009-03-28 Gianluca Scacco <gianluca@gianluca-laptop.(none)>
* test/testautovariables.cpp: Added new test to autovariable
2009-03-28 Gianluca Scacco <gianluca@gianluca-laptop.(none)>
* src/checkautovariables.cpp, test/testautovariables.cpp: Fixed
ticket #228: false positive with usage of an auto-variable
2009-03-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Tokenizer: Don't treat
typedefs as variable declarations (#234)
2009-03-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleak.cpp: Memory leaks: refactoring the TODO test
cases
2009-03-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/token.cpp, src/token.h, src/tokenize.cpp: performance
enhancement (patch submitted by davidmiller in ticket 231)
2009-03-28 Nicolas Le Cam <niko.lecam@gmail.com>
* test/testmemleak.cpp: Add TestMemleak::realloc4 that currently
fail. Change TestMemleak::if10, TestMemleak::forwhile8 and
TestMemleak::realloc2 as they are currently leaking memory, mark
them as TODO. Comment out TestMemleak::forwhile9 and
TestMemleak::forwhile10 as they are wrong (infinite loops).
2009-03-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testother.cpp: removed TestOther::zeroDiv3 - it is not valid
2009-03-28 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, src/checkother.h, test/testother.cpp: added
check for zero division. The code was written by Nguyen Duong Tuan
2009-03-27 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, src/checkother.h, test/testother.cpp: possible
null pointer dereference after a while-loop
2009-03-27 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.h: moved checks back to style (where they used to
be)
2009-03-27 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: tokenizer: fix segmentation fault if end of
token list is reached
2009-03-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testclass.cpp, test/testmemleak.cpp, test/testsuite.h:
testing: new handling of todo test cases. If they use
TODO_ASSERT_EQUALS instead we can detect when they are fixed
2009-03-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testtokenize.cpp: variable id: enabled test case for function
parameters
2009-03-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: variable id: give
std::string variables an id
2009-03-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkautovariables.cpp: astyle formatting
2009-03-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, src/checkbufferoverrun.h,
test/testbufferoverrun.cpp: Buffer overrun: Added check to detect
when size argument to memset is a char constant (#213)
2009-03-25 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testmemleak.cpp, test/testtokenize.cpp:
simplify tokens (known variable values in conditions)
2009-03-24 Gianluca Scacco <gscacco@users.sourceforge.net>
* src/checkautovariables.cpp: Fixed Ticket #202: Return of the
address of an auto-variable
2009-03-24 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testother.cpp: Fixed ticket 216 (False
positive: variable scope)
2009-03-24 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp: register CheckClass
2009-03-24 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp: fixed testcase
2009-03-24 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testother.cpp: added testcase
2009-03-24 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp: Fixed ticket 197 (false positive: condition is
always true/false)
2009-03-24 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: fixed
snprintf false positive (#210)
2009-03-24 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h, test/testsimplifytokens.cpp:
Simplify if conditions more.. simplifyIfAssign + simplifyIfNot
2009-03-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, test/testcharvar.cpp: Fixed ticket 205 (False
positive: char variable used in bit operation)
2009-03-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fixed the testcase
TestMemleak::realloc3
2009-03-23 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h, test/testsimplifytokens.cpp:
simplify tokens: move assignment out from condition (Ticket #201)
2009-03-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleak.cpp: added todo test case for ticket 200
2009-03-22 Vesa Pikki <spyree@gmail.com>
* gui/settingsdialog.cpp, gui/settingsdialog.h: Removed unnecessary
options from settings dialog.
2009-03-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : commit a87419f59b099adc374d74a103835b66b7ee2f22 Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Sun Mar 22
18:57:53 2009 +0100
2009-03-22 Vesa Pikki <spyree@gmail.com>
* gui/mainwindow.cpp: Added a window title.
2009-03-22 Vesa Pikki <spyree@gmail.com>
* gui/common.h: Added license text.
2009-03-22 Vesa Pikki <spyree@gmail.com>
* : commit 1e66d7f0e44949fc56e57b93cf1c106b736a363e Author: Vesa
Pikki <spyree@gmail.com> Date: Sun Mar 22 19:41:32 2009 +0200
2009-03-22 Vesa Pikki <spyree@gmail.com>
* gui/mainwindow.cpp, gui/resultstree.cpp: Conflicts: gui/mainwindow.cpp gui/resultstree.cpp
2009-03-22 Vesa Pikki <spyree@gmail.com>
* gui/common.h, gui/mainwindow.cpp, gui/mainwindow.h,
gui/resultstree.cpp, gui/resultstree.h, gui/resultsview.cpp,
gui/resultsview.h: Merged gui branch to master.
2009-03-22 Vesa Pikki <spyree@gmail.com>
* gui/mainwindow.cpp, gui/resultstree.cpp, gui/resultstree.h,
gui/resultsview.cpp: Astyle formatting.
2009-03-22 Vesa Pikki <spyree@gmail.com>
* gui/common.h, gui/mainwindow.cpp, gui/mainwindow.h,
gui/resultstree.cpp, gui/resultstree.h, gui/resultsview.cpp,
gui/resultsview.h: Can now hide and show results based on cpp flags.
2009-03-22 Vesa Pikki <spyree@gmail.com>
* gui/mainwindow.cpp, gui/mainwindow.h: Added view menu and buttons
for it.
2009-03-22 Vesa Pikki <spyree@gmail.com>
* gui/mainwindow.cpp, gui/mainwindow.h, gui/resultstree.cpp,
gui/threadhandler.cpp, gui/threadhandler.h: Added recheck and clear
results buttons.
2009-03-22 Vesa Pikki <spyree@gmail.com>
* gui/mainwindow.cpp, gui/threadhandler.cpp: astyle formatting.
2009-03-22 Vesa Pikki <spyree@gmail.com>
* gui/mainwindow.cpp, gui/mainwindow.h, gui/resultstree.cpp,
gui/threadhandler.cpp, gui/threadhandler.h: Added recheck and clear
results buttons.
2009-03-22 Vesa Pikki <spyree@gmail.com>
* gui/mainwindow.cpp, gui/resultstree.cpp, gui/settingsdialog.h,
gui/threadhandler.cpp, test/testautovariables.cpp: Astyle
formatting.
2009-03-22 Vesa Pikki <spyree@gmail.com>
* : commit 5e1994068ad4d81d38cc9cbf4ff7beff58cdac25 Author: Vesa
Pikki <spyree@gmail.com> Date: Sun Mar 22 14:32:07 2009 +0200
2009-03-22 Vesa Pikki <spyree@gmail.com>
* gui/checkdialog.cpp, gui/checkdialog.h: Removed check dialog.
Files to be checked are selected by default file open dialog with
all checking options enabled.
2009-03-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile: updated the Makefile
2009-03-22 Gianluca Scacco <gscacco@users.sourceforge.net>
* Makefile, test/testautovariables.cpp: Fixed error compiling
testautovariables
2009-03-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkautovariables.cpp: astyle code formatting
2009-03-22 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : commit e017d5a07928fba2836dbcfa96d7ca42b3a4634c Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Sun Mar 22
08:20:15 2009 +0100
2009-03-22 Gianluca Scacco <giangy@giangy-desktop.(none)>
* src/checkautovariables.cpp, src/checkautovariables.h: Refactoring
of CheckAutoVariables
2009-03-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: improved the Tokenizer::setVarId to handle
function parameters better
2009-03-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/check.h, src/checkautovariables.cpp,
src/checkbufferoverrun.cpp, src/checkbufferoverrun.h,
src/checkmemoryleak.cpp, src/checkmemoryleak.h, src/errorlogger.h:
refactoring error messages
2009-03-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile: updated the MakeFile
2009-03-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile, src/checkautovariables.cpp: Fixed 188 (Return of auto
variable address), applied patched submitted by gscacco
2009-03-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkdangerousfunctions.cpp, src/checkdangerousfunctions.h,
src/checksecurity.cpp, src/checksecurity.h, src/errorlogger.h,
test/testsecurity.cpp: refactoring error messages
2009-03-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, src/checkclass.h, src/checkmemoryleak.cpp,
src/checkmemoryleak.h, src/checkother.cpp, src/checkother.h,
src/checkstl.cpp, src/checkstl.h, src/errorlogger.h: refactoring
error messages
2009-03-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* cppcheck.geany: added geany project file
2009-03-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, src/checkstl.h, test/teststl.cpp: refactoring -
handling the stlOutOfBounds error message the new way
2009-03-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/check.h, src/checkstl.h: refactoring - added a function
getErrorMessages that will be used to get a list of error messages
2009-03-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkautovariables.h, test/teststl.cpp: refactoring - fixed
the unit tests
2009-03-21 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile, tools/dmake.cpp, tools/errmsg.cpp: refactoring: The
errmsg is no longer supposed to generate the errorLogger code
2009-03-21 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/checkstl.h,
src/cppcheck.cpp: refactoring: there are now 2 functions for running
checks. 'runChecks' and 'runSimplifiedChecks'
2009-03-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile, cppcheck.cbp, src/check.h, src/checkstl.cpp: refactoring
2009-03-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/check.h, src/checkstl.cpp, src/checkstl.h: refactoring:
generate error message in the class
2009-03-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/check.h: refactoring: Added a function to the Check base class
that allows easier error reporting
2009-03-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/token.cpp: improved Token::tokAt to handle negative argument
too
2009-03-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, src/checkdangerousfunctions.cpp,
src/checkdangerousfunctions.h, src/checkmemoryleak.cpp,
src/checkmemoryleak.h, src/checkother.cpp, src/checkother.h,
src/cppcheck.cpp, test/testcharvar.cpp,
test/testdangerousfunctions.cpp, test/testdivision.cpp,
test/testincompletestatement.cpp, test/testmemleak.cpp,
test/testmemleakmp.cpp, test/testother.cpp,
test/testredundantif.cpp, test/testunusedvar.cpp: refactoring the
rest of the classes
2009-03-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, src/checkbufferoverrun.h,
src/cppcheck.cpp, test/testbufferoverrun.cpp: refactoring
checkbufferoverrun
2009-03-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, src/checkclass.h, src/cppcheck.cpp,
test/testclass.cpp, test/testconstructors.cpp,
test/testunusedprivfunc.cpp: refactoring CheckClass
2009-03-20 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/check.h, src/checkstl.cpp, src/checkstl.h: refactoring
2009-03-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : commit 5565be0c74cbda4de3582dab1d057710de76d7ce Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Thu Mar 19
21:20:08 2009 +0100
2009-03-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile, src/checkautovariables.cpp, src/checkautovariables.h,
src/errorlogger.h, tools/errmsg.cpp: added and integrated
checkautovariables that gscacco created
2009-03-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkautovariables.cpp, src/checkautovariables.h,
test/teststl.cpp: astyle formatting
2009-03-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* Makefile, src/checkautovariables.cpp, src/checkautovariables.h,
src/errorlogger.h, tools/errmsg.cpp: added checkautovariables and
integrated it into cppcheck
2009-03-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/teststl.cpp: astyle formatting
2009-03-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/teststl.cpp: refactoring: fixed the teststl so it is runnable
again
2009-03-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* cppcheck.cbp, src/check.h, src/checkstl.cpp, src/checkstl.h,
src/cppcheck.cpp: refactoring: loop through all Check instances and
execute the runChecks function
2009-03-19 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkstl.cpp, src/checkstl.h: refactoring: removed the changes
to the error handling
2009-03-18 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : commit a573c62cd532d3bdae381f8cf4696ec2e2eccd0a Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Wed Mar 18
22:40:38 2009 +0100
2009-03-18 Nicolas Le Cam <niko.lecam@gmail.com>
* test/testtokenize.cpp: Fix compilation on 64bit systems
2009-03-18 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h, test/testtokenize.cpp: Fixed
ticket 184 (Tokenizer - Simplification: Split up variable
declarations)
2009-03-18 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fixed tokenizer: "return
- 2 ;" --> "return -2 ;"
2009-03-18 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix ticket #191
(semicolon after #endif stop tokenizing of function)
http://apps.sourceforge.net/trac/cppcheck/ticket/191
2009-03-17 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/token.cpp: Astyle fix
2009-03-17 Reijo Tomperi <aggro80@users.sourceforge.net>
* Makefile, test/testmemleakmp.cpp, test/testtoken.cpp: Fixed some
memory leaks in test cases
2009-03-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkother.cpp, src/token.cpp, src/tokenize.cpp,
test/testtokenize.cpp: tokenize negative numbers into a single token
2009-03-17 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp: Fix ticket #186 (runtime error when checking
code that has a namespace)
http://apps.sourceforge.net/trac/cppcheck/ticket/186
2009-03-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp: Refactoring the code for the templates handling
2009-03-17 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/teststl.cpp: Added test case for detecting false positive in
the STL size handling
2009-03-16 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/cppcheck.cpp, src/tokenize.cpp, src/tokenize.h: --debug flag
can be used to printout token list (for development purposes)
2009-03-16 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix ticket #179
(preprocessor issues)
http://apps.sourceforge.net/trac/cppcheck/ticket/179
2009-03-16 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testtokenize.cpp: Ticket #184 (Tokenizer - Simplification:
Split up variable declarations), added testcases
2009-03-16 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp, test/testbufferoverrun.cpp: Fixed
Ticket #82 (detect buffer overrun; dynamic memory)
2009-03-15 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testpreprocessor.cpp: test case stringify3 added
2009-03-15 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testmemleak.cpp,
test/testpreprocessor.cpp, test/testtokenize.cpp: Improved tokenizer
to handle '#' better. Previously everything after # was combined
into a single token, now # is considered more like an alphabet, with
few exceptions, e.g. "##" tokens.
2009-03-15 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix Ticket 180
(Templates: Expanding member functions that are not implemented
inline)
2009-03-15 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: templates: replace
constructor/destructor names when expanding template classes
2009-03-15 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testpreprocessor.cpp: Test case stringify2() added.
2009-03-15 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: Fix ticket #177
(Tokenizer doesn't add braces around if-scope)
http://apps.sourceforge.net/trac/cppcheck/ticket/177
2009-03-15 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix ticket #181
(#pragma causes wrong line numbers)
http://apps.sourceforge.net/trac/cppcheck/ticket/181
2009-03-15 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/tokenize.cpp, src/tokenize.h: Improve
creation of link() for Token class. Tokenizer::simplifyTokenList()
should now return code where Token::link() actually works.
2009-03-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: templates: better
handling of templates with multiple type arguments
2009-03-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Memory leak: handle
allocation in deallocation list
2009-03-14 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/checkmemoryleak.h,
test/testmemleak.cpp: Memory leaks: Refactoring to use
Tokenizer::FindClassFunction. Enabled test case, the memory leak is
now detected
2009-03-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* : commit 3b29125d659c1cb4d1547cba3597b06a4b9454c9 Author: Daniel
Marjamäki <hyd_danmar@users.sourceforge.net> Date: Fri Mar 13
22:38:42 2009 +0100
2009-03-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, src/checkclass.h, src/tokenize.cpp,
src/tokenize.h: refactoring: moved 'FindClassFunction' from
CheckClass to Tokenizer
2009-03-13 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/token.cpp, src/token.h, src/tokenize.cpp: Fixed ticket #169
(Add Token::link())
http://apps.sourceforge.net/trac/cppcheck/ticket/169
2009-03-13 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* test/testmemleak.cpp: TestMemleak: added two testcases for
checking for leaks in classes
2009-03-13 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/token.cpp, src/token.h, src/tokenize.cpp, src/tokenize.h,
test/testsimplifytokens.cpp: Fix ticket #151 (Handling of
namespaces) http://apps.sourceforge.net/trac/cppcheck/ticket/151
2009-03-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: expanding template
classes
2009-03-12 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, test/testconstructors.cpp: uninitialized const
pointer member variables
2009-03-11 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: astyle style fixes
2009-03-11 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: templates: simplify
template functions with 1 type argument
2009-03-11 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testpreprocessor.cpp: astyle fix
2009-03-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: made the
Tokenizer::simplifyCasts more generic
2009-03-10 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp: Fixed ticket 134 (memory leak not
detected) caused by wrong checking if code is inside class function
or not
2009-03-09 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fixed ticket 147
(Invalid line number for error message)
2009-03-09 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checksecurity.h: removed unused private function
CheckSecurity::eraseCheckLoop
2009-03-09 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: simplify casts
2009-03-09 Kimmo Varis <kimmov@gmail.com>
* : commit 9698c6d96b86f608ff0473776584edb416a59d57 Author: Kimmo
Varis <kimmov@gmail.com> Date: Mon Mar 9 20:03:22 2009 +0200
2009-03-09 Vesa Pikki <spyree@gmail.com>
* : commit b3923b72ad48cc09ff4ec8355b0d406af02a580a Author: Kimmo
Varis <kimmov@gmail.com> Date: Mon Mar 9 19:58:38 2009 +0200
2009-03-09 Vesa Pikki <spyree@gmail.com>
* : commit 3d6e3d38bbc67a4742a1a775142867e0c254b07d Author: Vesa
Pikki <spyree@gmail.com> Date: Mon Mar 9 19:35:43 2009 +0200
2009-03-09 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss: Build installer to Build directory in
project root. Currently installer is build to subdirectory of the
iss file which is not obvious place to find it. Also it is not good
practice to build executables to source directories.
2009-03-09 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss: Set description for the installer
file. This description is shown in the explorer.
2009-03-09 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss: Set user wiki URL as
application/support URL. The installer was setting Sf.net project
page as an URL which might be confusing for the users. Better use
the wiki page.
2009-03-09 Kimmo Varis <kimmov@gmail.com>
* win_installer/cppcheck.iss: Set version number for the installer
file. The installer file was missing a version number (was shown as
0.0.0.0) in the Windows Explorer. Set the installer file version
number identical to product version number.
2009-03-08 Reijo Tomperi <aggro80@users.sourceforge.net>
* test/testpreprocessor.cpp: Added test case for #147 (Invalid line
number for error message)
http://apps.sourceforge.net/trac/cppcheck/ticket/147
macro_linenumbers() in test/testpreprocessor.cpp
2009-03-08 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/errorlogger.cpp: Fix ticket #148 (unable to compile with
g++-3.3) http://apps.sourceforge.net/trac/cppcheck/ticket/148
2009-03-08 Reijo Tomperi <aggro80@users.sourceforge.net>
* man/cppcheck.1.xml: Man page copyright year changed to 2009
2009-03-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* win_installer/cppcheck.iss: updated version to 1.30 in
installation script
2009-03-08 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/cppcheck.cpp: updated version to 1.30
2009-03-08 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Astyle fix
2009-03-08 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/preprocessor.cpp, test/testpreprocessor.cpp: Fix ticket #145
(Line numbers are invalid if file is included inside #ifdef)
http://apps.sourceforge.net/trac/cppcheck/ticket/145
2009-03-07 unknown <NonUser@.(none)>
* gui/checkdialog.cpp, src/filelister.cpp: Windows Qt compilation
fixes. FileLister::RecursiveAddFiles failed to compile in Windows
when GUI was compiled. Since that method wasn't used in Qt build I
ifdeffed it out. Also removed vcl related code from checkdialog since that was
removed from release.
2009-03-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* man/cppcheck.1.xml: Improve man page
2009-03-07 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* createrelease: createrelease updated to use git instead of svn
2009-03-07 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* man/cppcheck.1.xml, src/cppcheck.cpp: Fix ticket #140 (New command
line option --auto-dealloc), added documentation
2009-03-07 Reijo Tomperi <aggro80@users.sourceforge.net>
* Makefile, tools/dmake.cpp: Fix ticket #141 (changed the makefile),
changing compiler is now easier in the makefile.
http://apps.sourceforge.net/trac/cppcheck/ticket/141
2009-03-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* man/cppcheck.1.xml, src/cppcheck.cpp: Fix ticket #137 (--version
would be nice) and also do some cleanup for help texts
http://apps.sourceforge.net/trac/cppcheck/ticket/137
2009-03-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/threadexecutor.cpp: Fix ticket #139 (Compilation error on
building cppcheck version 1.29 with gcc-4.3.2 on Ubuntu 8.10)
http://apps.sourceforge.net/trac/cppcheck/ticket/139
2009-03-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/cppcheck.cpp, src/settings.cpp, src/settings.h,
test/testmemleak.cpp: astyle formatting
2009-03-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/cppcheck.cpp: auto-deallocated classes: added command line
option for specifying .lst file
(http://apps.sourceforge.net/trac/cppcheck/ticket/120)
2009-03-06 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkmemoryleak.cpp, src/settings.cpp, src/settings.h,
test/testmemleak.cpp: added internal support for handling list of
classes that are automaticly deallocated
2009-03-06 Reijo Tomperi <aggro80@users.sourceforge.net>
* man/cppcheck.1.xml, src/checkstl.cpp, src/cppcheck.cpp,
src/cppcheckexecutor.cpp, src/cppcheckexecutor.h, src/main.cpp,
src/settings.cpp, src/settings.h: Fix ticket #135 (Add option to
control main() exit value)
2009-03-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkstl.cpp, test/teststl.cpp: Fix segmentation fault that
happens with invalid code.
2009-03-05 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/tokenize.cpp, test/testsimplifytokens.cpp: Fix ticket #133
(Segmentation fault when static_cast is in for loop)
2009-03-05 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkbufferoverrun.cpp: checkbufferoverrun: fixed bug - skip
some checks when variable id is unknown (Ticket: 138)
2009-03-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/cppcheck.cpp: reverted accidental changes committed in [1330]
2009-03-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/cppcheck.cpp, src/tokenize.cpp: fixed tokenizer problem when
reading char constants
2009-03-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, src/tokenize.h: simplify calculations better
2009-03-04 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/tokenize.cpp, test/testtokenize.cpp: known variables: better
handling of ++ and --
2009-03-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/checkmemoryleak.cpp, test/testmemleak.cpp: Fix #132 (False
positive returning memcpy())
2009-03-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/token.cpp, test/testsimplifytokens.cpp, test/testtokenize.cpp:
Fix ticket Add/Change #125 (the printout of the token list is wrong)
2009-03-03 Reijo Tomperi <aggro80@users.sourceforge.net>
* src/token.cpp, src/token.h: Refactoring: Combined printOut() and
stringifyList() in Token class
2009-03-03 Kimmo Varis <kimmov@users.sourceforge.net>
* createrelease: Use svn export to export sources without SVN
folders.
2009-03-03 Kimmo Varis <kimmov@users.sourceforge.net>
* createrelease: Use variable for relase folder and version in
release script.
2009-03-02 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, test/testunusedprivfunc.cpp: unused private
function: better handling of initialization lists in constructors
2009-03-02 Vesa Pikki <spyree@users.sourceforge.net>
* gui/resultsview.cpp, gui/threadhandler.cpp, gui/threadresult.cpp:
Removed some unnecessary debug prints.
2009-03-02 Vesa Pikki <spyree@users.sourceforge.net>
* gui/checkdialog.cpp, gui/checkdialog.h, gui/checkthread.cpp,
gui/checkthread.h, gui/resultstree.cpp, gui/resultsview.cpp,
gui/resultsview.h, gui/threadhandler.cpp, gui/threadhandler.h,
gui/threadresult.cpp, gui/threadresult.h, src/filelister.h: Now adds
directory contents to list of files to check. Only adds proper
(.cpp,.c,.cpp,...) files to the list of files to check. Modified
checkthread to clear results after each file.
2009-03-02 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* createrelease: createrelease: The script for creating the 1.29
source packages
2009-03-02 Daniel Marjamäki <hyd_danmar@users.sourceforge.net>
* src/checkclass.cpp, test/testunusedprivfunc.cpp: unused private
function: fixed false positive (ticket: 129)
2009-03-01 Vesa Pikki <spyree@users.sourceforge.net>
* gui/checkdialog.cpp, gui/checkdialog.h, gui/checkthread.cpp,
gui/checkthread.h, gui/gui.pro, gui/mainwindow.cpp,
gui/mainwindow.h, gui/resultstree.cpp, gui/resultstree.h,
gui/resultsview.cpp, gui/resultsview.h, gui/threadhandler.cpp,
gui/threadhandler.h, gui/threadresult.cpp, gui/threadresult.h: Began
implementing ThreadExecutor with Qt threads. Still a work in
progress. Added tr to all strings.
2009-03-01 Reijo Tomperi <aggro80@users.sourceforge.net>
* man/cppcheck.1.xml: Copyright fix for the man page