Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Le 08/01/2011 08:39, Julien Nabet a écrit :
On Fri, 2011-01-07 at 11:07 +0000, Caolán McNamara wrote:
>/  On Thu, 2011-01-06 at 20:36 +0100, Guillaume Poussel wrote:
/>/  >  Hi everybody,
/>/  >
/>/  >
/>/  >  A new patch which correct cppcheck warnings in base/.
/>/
/>/  Looks good, pushed. Thanks for this.
/
Oops, I see now that cppcheck isn't run with sufficient -I flags to find
includes, so it wasn't able to see that pDesc is actually used by some
MACRO stuff which was hidden from it, so these were cppcheck false
positives, as are probably the "missing ctor" warnings.

I fixed up the pDesc ones again in a way to hide them from cppcheck
again.

We probably should figure out how to sufficient -I flags to cppcheck to
get it to find the includes. This is probably a bit tricky unless we add
a make cppcheck or something to libreoffice itself or something.

C.

Hello,

About cppcheck, perhaps it should be useful to use the latest version of cppcheck on the git repository. I attached the git log of what has been done since 14th of December (date of the release of 1.46.1).
We can see that a lot of false positives have been corrected.

I don't understand too the part about hiding something from cppcheck, wouldn't it be better to declare a new bug to cppcheck tracker ?
But perhaps I misunderstood something

Julien.
commit d27b6a159893d89cefc40d872a16e25290273d14
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Jan 7 20:48:02 2011 +0100

    astyle formatting

commit 14cbaebfe2bf898d43d20ecfebf90fbf0be08be4
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Jan 7 20:45:33 2011 +0100

    Fixed #2428 (false alarm with code containing a throw clause)

commit 989e0e7ccb7b77e5d5327d155128404649113e89
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Jan 7 19:48:51 2011 +0100

    Preprocessor: fix bug when determining location when there is a missing include. ticket: #2326

commit 5f078da7adcb32385448df351cb7c557b959b780
Author: Robert Reif <reif@earthlink.net>
Date:   Fri Jan 7 18:58:14 2011 +0100

    Fixed #2425 (segmentation fault of cppcheck)

commit 9b66f7a754e53c3118d949320ae29d2d0cd172f7
Author: Ettl Martin <ettl.martin@gmx.de>
Date:   Fri Jan 7 12:27:12 2011 +0100

    #ticket 2429: added a test to the mathlib to ensure the used floating point number is 
recognized correctly

commit bfc95e01c115723dee104343984380a73061d621
Author: Robert Reif <reif@earthlink.net>
Date:   Fri Jan 7 08:02:47 2011 +0100

    Fixed #2426 (### Internal error in Cppcheck. Please report it.)

commit 56ffde402f753f331f97f1b652127786acd3d04f
Author: Robert Reif <reif@earthlink.net>
Date:   Fri Jan 7 07:42:00 2011 +0100

    Fixed #2425 (segmentation fault of cppcheck)

commit 5eeb18dcd7f0b8e0083e4e20aad900cc87780e81
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Jan 6 20:53:22 2011 +0100

    scripts: update 'comment.pl' so it understand /*

commit 1b3a5ed0be34c8a86484a17825f816240448a6be
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Jan 6 20:16:14 2011 +0100

    Tokenizer: simplify NULL to 0 in the normal token list

commit a7835c405454e7f18fccb56488f3c661097735c2
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Jan 6 20:01:09 2011 +0100

    Preprocessor: Reverted fix for #2131, it didn't work well so a better fix is needed

commit 6e0f6c5aec0302ba939c53ce441b9c0e485996b3
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Thu Jan 6 20:45:07 2011 +0200

    GUI: Add comment about storing paths.

commit 2a93aa9fce34e705c034027dd3e74085ad173175
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Thu Jan 6 18:32:04 2011 +0200

    GUI: Convert path to native separators before copying it.
    
    Ticket #2424 (Windows GUI: "Copy full path" doesn't copy the visible full path if it has been 
changed in preferences)
    
    We keep paths internally with / separator and only convert to native
    separators (for Windows) when showing them. Conversion was missing
    from path copying function.

commit 37b1f7c296cc8594667d334ab071340ddc5cdf5c
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Jan 6 16:27:22 2011 +0100

    memsetZeroBytes: improved error message. ticket: #2421

commit 77ed6ecb5d5c63efc931febc29f64878cc3c7a70
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Jan 6 13:18:49 2011 +0100

    Null pointers: Added comments

commit 04a117938d3905ab59e8da5fa134239d47e8b0b0
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Jan 6 13:02:21 2011 +0100

    Buffer overrun: Added comments

commit f838f89d01a9a6b2721b8aa47fb6440e12bade00
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Jan 6 12:42:02 2011 +0100

    scripts: reduced false positives given by 'comments.pl'. given when declaring operator=

commit ca294544ca655bec82401357904b0ed103b27631
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Jan 6 12:20:54 2011 +0100

    CheckStl: Added comments

commit 616914c1ff9170e38c22a032e41fac4bb373e8cf
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Jan 6 12:07:37 2011 +0100

    Tokenizer: simple refactorings. and added a few comments

commit ed71c57f1f8baf7fabe5551a0e27d7d0d0ece58c
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Jan 6 12:07:18 2011 +0100

    astyle formatting

commit 6ec4497919363ca3a81b61ce8121a9b48e46fe63
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Thu Jan 6 11:31:58 2011 +0100

    [PATCH] Check for calls to memset() where 0 bytes are to be filled
    Inspired by Silvio Cesare's work

commit 1152dc78f03a45e79b47d0c7537900078c455189
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Jan 6 11:30:16 2011 +0100

    scripts: improved the 'magic-numbers.pl' script

commit d1854e330b33438326c43331d265aacf5bd01d67
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Jan 6 08:12:34 2011 +0100

    Fixed #2413 (fflush() with NULL argument is valid.)

commit 03a484554c0283d011df892723ca22cd8c1bf524
Author: Robert Reif <reif@earthlink.net>
Date:   Thu Jan 6 07:56:34 2011 +0100

    Fixed #2415 (false positive: Member variable not initialized in constructor calling assignment 
operator)

commit d7e170b3cae7ea899a27680ee04489c09f5613bb
Author: Robert Reif <reif@earthlink.net>
Date:   Thu Jan 6 07:52:59 2011 +0100

    typedef: fixed problem. ticket: #2414

commit b7a3fc490852df32348efb71acda88b54a3a7a77
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Wed Jan 5 23:33:53 2011 +0200

    GUI: Enable information messages.
    
    Dan added new enable-flag for information messages in commit 033e759.
    Enable that flag for GUI so that the information messages are visible
    in the GUI.

commit c74b2e3cbf31cb3becbd8a6d335b1b9734224c1c
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Jan 5 21:48:26 2011 +0100

    Fixed #2411 (possible null pointer dereference (aborting via function pointer not detected))

commit 033e759c39985453a20abdab3570662947a507e8
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Jan 5 21:20:21 2011 +0100

    command line: added 'information' id to enable

commit 21af64049cb719ce336c8c22728faee7d33bafd0
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Jan 5 20:44:04 2011 +0100

    Fixed #2401 (false positive: Uninitialized variable: result)

commit 68de938d23135fcfb0592ddd80ad18fc309385ff
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Jan 5 19:54:56 2011 +0100

    Uninitialized variables. Fixed false positive when there are multiple related conditions. 
ticket: #2399

commit a0d62e041f426e2c4ce14c5e2880f96dcfb2d4f6
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Jan 5 19:38:22 2011 +0100

    Tokenizer: Fixed memory corruption

commit 157498e6945c31ce37ab0e52083053b7de229759
Author: Robert Reif <reif@earthlink.net>
Date:   Wed Jan 5 17:42:55 2011 +0100

    Fixed #2412 (typedef: struct with inheritance)

commit ed6f6835736f3b29637e4fe000918baf1b335a10
Author: Robert Reif <reif@earthlink.net>
Date:   Wed Jan 5 17:39:53 2011 +0100

    typedef: better handling. ticket: #2414

commit 188871c428f15c0ade1403bef7ec6ca30b2f28ae
Author: Zachary Blair <zack_blair@hotmail.com>
Date:   Wed Jan 5 00:06:53 2011 -0800

    Removed an unnecessary newline in the message. Ticket #2343

commit 3f97bd5477d6c13e4108234f60c5f6fab623d775
Author: Zachary Blair <zack_blair@hotmail.com>
Date:   Tue Jan 4 23:21:02 2011 -0800

    Fixed #2343 (The ftime obsolete function warning seems wrong)

commit bb719774b132e0797e340cf4412e64a97101cd89
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Tue Jan 4 23:04:01 2011 +0200

    Improve suspicious condition (string::find) message.
    
    See forum thread:
    https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192

commit 66e8b7bc1ee4c13415ae851fb1f9545f0171ff5e
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Tue Jan 4 22:06:41 2011 +0200

    Improve dangerous iterator usage (after erase()) message.
    
    See forum thread:
    https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192

commit b750a52f6d8f9df71b7e6e1a9ba2f6ebfa712a82
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Mon Jan 3 18:33:03 2011 +0200

    Improve strncat 3rd parameter usage warning message.
    
    See forum thread:
    https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192

commit d700f25518b950afa64b818b08e2ef0c03f00317
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Tue Jan 4 21:35:35 2011 +0100

    Fixed #2399 (Tokenizer::simplifyKnownVariables: variables in conditions)

commit 63c1ee375e2d0245c68f07e11721c15f3676e559
Author: Daniel Marjamäki <daniel@daniel-laptop.(none)>
Date:   Tue Jan 4 19:36:29 2011 +0100

    Fixed #2398 (false positive: Uninitialized variable)

commit 3cf4e740130ae7f093815fdd0bd970110ffc45d4
Author: Daniel Marjamäki <daniel@daniel-laptop.(none)>
Date:   Tue Jan 4 18:50:23 2011 +0100

    scripts: added a two simple perl scripts for checking code.

commit c2a194ead022de1675de2c85eb1a389f7b7ac837
Author: Daniel Marjamäki <daniel@daniel-laptop.(none)>
Date:   Tue Jan 4 18:34:51 2011 +0100

    Fixed #2393 (Token::Match called with varid 0)

commit 2c6421d162b68c4a901b74ccacd0723837cf00b9
Merge: 85897c3 3d9550b
Author: Daniel Marjamäki <daniel@daniel-laptop.(none)>
Date:   Tue Jan 4 18:21:18 2011 +0100

    Merge branch 'master' of https://github.com/rgeissert/cppcheck into rgeissert-realloc

commit 85897c3991cacbceab2d121b989d6de9664f9f76
Merge: 45b6d09 2b1ec9a
Author: Daniel Marjamäki <daniel@daniel-laptop.(none)>
Date:   Tue Jan 4 18:17:39 2011 +0100

    Merge branch 'debug-warnings' of https://github.com/rgeissert/cppcheck into 
rgeissert-debug-warnings

commit 45b6d09373bdcbac061c5777ab0c7cc993de9dab
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Tue Jan 4 07:50:54 2011 +0100

    Writing rules: Added part 3. Introduction to writing rules with C++.

commit 63208e87d3079d06a96c90bb5b2fa1d0fd5e410d
Author: Robert Reif <reif@earthlink.net>
Date:   Tue Jan 4 07:43:40 2011 +0100

    typedef: delete unhandled typedefs. ticket: #2348

commit a782d3ddf742aeb1b75ef8b77280bcd461b38e18
Author: Robert Reif <reif@earthlink.net>
Date:   Tue Jan 4 07:39:41 2011 +0100

    typedef: fix testcase 4. ticket: #2375

commit 63ad1fbe6952ddc63489d5a677476edf60db319c
Author: Robert Reif <reif@earthlink.net>
Date:   Tue Jan 4 07:34:32 2011 +0100

    Fixed #2400 (Tests crashing in Windows)

commit 2b1ec9a07f8f31a56e3bd4d22229fa8c4e5786aa
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Mon Jan 3 20:40:31 2011 -0600

    Mention the name of the variable in the inconclusive leak msg

commit e459ed1de3607a566309e29122058fc133b0c84f
Author: Markus Elfring <elfring@users.sourceforge.net>
Date:   Mon Jan 3 19:03:42 2011 +0100

    Fixed #2389 (mistakable warning from 'CheckClass::uninitVarError')

commit 3d9550b0bf02948f76b7c36a9dc06a6881c0223f
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Sun Jan 2 17:46:10 2011 -0600

    Simplify "x = realloc (0, n);" to "x = malloc(n);"

commit e75a81669e44b05f9e4a3ed4083b5b8cdfeffd84
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Sun Jan 2 16:41:34 2011 -0600

    Move simplification of realloc after simplification of math ops

commit d2714fefda0936bf6eee2d6b6d9bd2003297e41b
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Jan 2 17:28:47 2011 +0100

    typedef: Fixed testcase. ticket: #2375

commit 97f7a36e916ee860435ae8d61473d8e8d722afb6
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Jan 2 14:16:58 2011 +0100

    Buffer overruns: Added comments

commit 2e7e118cb893df24d877985406894e67fd3ddde9
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Jan 2 11:19:37 2011 +0100

    Fixed #2392 (Preprocessor: Wrong simplification of __VA_ARGS__)

commit 571704f1188920dd4cb20a2cd5f38d47655a1f29
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Jan 2 10:09:50 2011 +0100

    Added TODO testcase for ticket #2392 (Preprocessor: Wrong simplification of __VA_ARGS__)

commit b5876f00ff6c0642e7c1f6b5762f0786cff73716
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Jan 2 08:32:51 2011 +0100

    Fixed #2391 (cstdlib file and memory function check misbehavior)

commit 320604f073a0266e69dc8c903002dee39a33524b
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Jan 2 07:42:47 2011 +0100

    typedef: added more tests. ticket: #2375

commit 4ec9d418ffd574f1939f41d4b1533bda9fbd384d
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Jan 1 20:56:21 2011 +0100

    Fixed #2215 (Improve check: Writing outside malloc bounds not detected)

commit 789d9449123ea8528382c0ffdb127c33c193bed0
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Jan 1 20:20:03 2011 +0100

    typedef: don't simplify typedef after 'case'. it means that there is a typedef and constant 
with the same names. Ticket: #2386

commit 2a77dd3df150e3db7608e07621a03256974b0a7a
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Jan 1 20:14:01 2011 +0100

    Fixed #2246 (Improve check: Memory leak, function is not noreturn if return value is taken)

commit c8775344d6a6765ecb1f351f7b7b3ad24fd31b82
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Jan 1 18:24:27 2011 +0100

    uninitialized variables: Added some comments

commit 3c238882a2adadd5b038212815db2a89f286caa7
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Jan 1 17:54:37 2011 +0100

    Fixed TODO testcase. Use symbol database instead of token list. Ticket: #2375

commit 3eabb4ebe0bf33d616258121714e32dbd9c83e87
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Jan 1 13:28:34 2011 +0100

    Added comments in the memory leaks checking

commit 0cc49188c0cfa2c5e3da239e0897d2cfbeab4382
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Jan 1 12:27:57 2011 +0100

    Memory leaks: localized variables

commit 62145431a7926af59ed0c075f8ec6abea0590787
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Jan 1 11:40:32 2011 +0100

    Tokenizer: Added more comments

commit e385323b65eca54448a453b1f5041e57f1bc33a4
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Jan 1 11:26:48 2011 +0100

    Tokenizer: Added doxygen comments

commit 71acf78c64429c6f7876fa04ef1dd21f5d15be89
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Jan 1 09:26:24 2011 +0100

    Tokenizer: added doxygen comments

commit a9aa6375b743c78cb5e9a946660d7568e771cdeb
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Jan 1 09:16:31 2011 +0100

    gcc: disabled -Wconversion again - too many warnings

commit 68700b3561f9a5e0b79a71a801acd668ad798081
Author: Zachary Blair <zack_blair@hotmail.com>
Date:   Fri Dec 31 12:48:24 2010 -0800

    Fixed #2382 (Catching exceptions by value instead of reference)

commit 2da3fea1b8ad95f41e4785f0d66ae6eac4dbfd05
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 20:55:28 2010 +0100

    Fixed #2386 (segmentation fault occurs in the checking when typedef has same name as an enum 
constant)

commit 3e5614a5a3e1df2957f3723e68f6ad0d24009e1a
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 18:30:04 2010 +0100

    Null Pointer: Refactoring - broke out CheckNullPointer::isPointer

commit 04eb9cf3052e24341aea486cfcfdc556a0de959f
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 18:07:46 2010 +0100

    Fixed #2378 (Refactoring: create utility function that skips redundant if/for/while)

commit ed6c76ce04dcb4b851683821cb27cb72a5be1e67
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 17:43:38 2010 +0100

    Fixed #2385 (False positive: array index out of bounds)

commit b04885cd4f232eb56bdf182427994b9f734fb121
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 15:57:08 2010 +0100

    astyle formatting

commit 4d8fae186b9cdd58db7230e13c141e13bab91acd
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 15:56:41 2010 +0100

    added more comments

commit b634242a58d579a0aeb6acbd815943e3380feb53
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 14:37:34 2010 +0100

    Added comments for CheckNullPointer::nullPointerLinkedList

commit 377bcbe729560d72339bbaa53e881e51039af043
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 14:24:15 2010 +0100

    Remove redundant condition

commit 1a8c410c06edc92fea1a91fdcf7e5ee1ed85cc85
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 14:18:24 2010 +0100

    gcc: fixed compiler warning (suggest parantheses around assignment)

commit 3de9d9cb3184c19e7a6de5565a0864104dd83753
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 14:17:10 2010 +0100

    Refactoring and commenting CheckNullPointer::nullPointerAfterLoop

commit 59c86b5876ea2fd34641eb57804f2b545fbcb793
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 14:16:22 2010 +0100

    added doxygen comments

commit 1fa730d963985646347acbfb02e9992552ab003e
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 13:58:17 2010 +0100

    added some comments

commit 502cfe7243c46b4e581071299ff34ea7684ff955
Author: Pete Johns <paj-github@johnsy.com>
Date:   Fri Dec 31 08:57:43 2010 +1100

    Fixed #2384 ("The function 's::f' can be const" reported for pointer-to-pointer)
    
    Moved check for pointer variables into isVariableDeclaration()
    
    Can now handle multiple scopes and multiple levels of indirection. Simplified check for strucs 
and unions, too, reducing the size of getVarList().
    
    skipScopeIdentifiers() and skipPointers() should probably be methods on class Token.

commit 76cf097104c9ca0b59f35c40b2aec2e461bfc746
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 12:04:37 2010 +0100

    testrunner: fix runtime problems with TestThreadExecutor

commit d11b5163b757e0821fe2291e80b2ba8fc3a196fc
Author: Zachary Blair <zack_blair@hotmail.com>
Date:   Fri Dec 31 03:01:38 2010 -0800

    Fixed #2382 (Catching exceptions by value instead of reference)

commit f1f1a21c2372fddb463aa864141d5b427b4bd943
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 10:24:51 2010 +0100

    Borland C++: Fixed compiler errors

commit d8f241e033c2f11548fe17ceef15a668ddb50d1f
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 09:51:27 2010 +0100

    gcc: fixed -Wconversion errors

commit 68b9c6ec9428f00a753fc683d0380056dc074b8f
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 09:39:42 2010 +0100

    gcc: Fixed -Wconversion warnings in symbol database

commit cab338dffe43da061fec19e3272d4265dbf76bfd
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 09:38:03 2010 +0100

    gcc: fixed -Wconversion warnings in tokenizer

commit fa3853803b81b304b804d4b6140fb9e0c3669a08
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 31 09:30:56 2010 +0100

    gcc: fixed -Wconversion warnings

commit eb59bd5fd6b8b91c14587554786218d446dd5779
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 30 22:56:53 2010 +0100

    Added -Wconversion compiler flag. The ASSERT_EQUALS_DOUBLE was added that can be used when 
comparing double values.

commit f3ce02462eb15c18c92e2723fc4e4603f0d649c7
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 30 22:41:22 2010 +0100

    improved TODO comments

commit c7f2ddf63c0d5f2d48e516a391f037522f978c5b
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 30 22:36:25 2010 +0100

    CheckStl: Added comments

commit d00524518843de84bc4b3996a7625680431370cd
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 30 22:13:31 2010 +0100

    fixed doxygen warnings

commit 742f5897b91386745de83c1d144e3d94aaeb08a6
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 30 22:13:10 2010 +0100

    gcc: fixed compiler warning

commit 3d60d33280743a750646b8647b77b65df38405d7
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 30 22:07:27 2010 +0100

    Added comments

commit dfc7a13286177d68c156cc76be9e4f3050f8efb2
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 30 21:35:53 2010 +0100

    usleep: use nanosleep instead of usleep as the usleep is obsolete. Ticket: #2283

commit 8bdb05da6ed1f94bdab0c1bf46cf68475acdd3f5
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 30 21:30:46 2010 +0100

    Uninitialized variables: typeof doesn't dereference. Ticket: #2367

commit 307178d3c2fa8d65bc02b77ac32def83946a9514
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 30 20:55:23 2010 +0100

    Tokenizer: Better handling of duplicate enums. Ticket: #2381

commit bfb4d79d63bd462a12344f541a5da6620c4821bc
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 30 20:54:52 2010 +0100

    writing rules #2: tweaks. published

commit 7ec169f66ab64ee904c9bce8d3f665d7a95f648d
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 30 14:27:05 2010 +0100

    Fixed #2321 (false positive: (performance) Prefer prefix ++/-- operators for non-primitive 
types.)

commit 20887a40a35c69acded46ab6b1b4040120f55b8c
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 30 10:17:17 2010 +0100

    Cppcheck design: more tweaks

commit 19c7550ae009f6a1dcc59d06ccfd323755f90730
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 30 10:11:33 2010 +0100

    writing rules: more tweaks

commit 2e61736c73a8ff3995c1bfbdc49e104f369a4c81
Author: Pete Johns <paj-github@johnsy.com>
Date:   Thu Dec 30 19:46:44 2010 +1100

    Refactoring following #2377 (Technically the member function xxx can be const)
    
    symboldatabase now recognises variables with arbitrarily many scopes.
    
    Extracted method isVariableDeclaration()
    
    Added unit tests for isVariableDeclaration in new file testsymboldatabase.cpp
    
    Extracted givenACodeSampleToTokenize helper class into testutils.h to reduce duplication.

commit 5d0ace3a500f0fe40667d32730708e1338d31ade
Author: Pete Johns <paj-github@johnsy.com>
Date:   Thu Dec 30 17:47:05 2010 +1100

    Fixed #2377 (Technically the member function xxx can be const)
    
    TODO: Add unit test for getVarList() and refactor variable check.
    
    [Removed my testcase for #2377 and removed two TODOs.]

commit ac42c0ba3b06a641617ea3c641ba3762c0cf930b
Author: Ettl Martin <ettl.martin@gmx.de>
Date:   Thu Dec 30 02:05:44 2010 +0100

    const correctness: added further testcases for increment/decrement member functions

commit 7b92378c3ace382c531188052bb7b0793e9a18ae
Author: Ettl Martin <ettl.martin@gmx.de>
Date:   Thu Dec 30 01:44:46 2010 +0100

    ticket 2377: added further testcases

commit 0e69032bfd14a7e52057f29946dde399ac5cb441
Merge: c29824f 6438f0e
Author: Ettl Martin <ettl.martin@gmx.de>
Date:   Thu Dec 30 01:29:44 2010 +0100

    Merge branch 'master' of github.com:danmar/cppcheck

commit c29824fc4936e100057d37393fcccdfd6bec8f5f
Author: Ettl Martin <ettl.martin@gmx.de>
Date:   Thu Dec 30 01:29:09 2010 +0100

    added todo testcase for ticket 2377 Technically the member function xxx can be const

commit 6438f0e273100d85fa92aa73d7e90e236211adce
Author: Pete Johns <paj-github@johnsy.com>
Date:   Thu Dec 30 10:00:46 2010 +1100

    Added Mac OSX build instructins for PCRE.

commit 3d3593e6e73fd28142d3a2f1eb61254efea5ddb3
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Dec 29 22:18:23 2010 +0100

    Fixed #2374 (False 'memory leak' report (assigning to map in subfunction))

commit 3900ac731e98efd3183f3e53a89b9a51c0b18dce
Author: Robert Reif <reif@earthlink.net>
Date:   Wed Dec 29 20:25:47 2010 +0100

    simplifyTypedef: Better handling of 'typedef int RexxFunctionHandler();'. Ticket: #2348

commit 3f1f50e970e00ea1e166156d9fbcd537171feaaa
Author: Robert Reif <reif@earthlink.net>
Date:   Wed Dec 29 20:22:06 2010 +0100

    simplifyTypedef: operator typedef. Ticket: #2375

commit 8dae9bcbf7df849d110ce7201ca96f7759dece61
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Dec 29 18:03:57 2010 +0100

    Cppcheck Design: some more tweaks

commit 38e7209d26f863e4992f66929c7036dc47a9fa9b
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Dec 29 12:43:29 2010 +0100

    Fixed #2373 (Using XML2 in --errorlist output)

commit fd27be24400977f5f7dfc5b0ce7b3e798812a61b
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Dec 29 10:07:28 2010 +0100

    Fixed #2372 (internal error in logicaloperator check (varid=0))

commit 137d0e2ba7142c645837f352c5dadbf16517c0bc
Author: Robert Reif <reif@earthlink.net>
Date:   Wed Dec 29 09:18:41 2010 +0100

    typedef: fixed problem with 'typedef int pread_f(int);'. ticket: #2348

commit e82b1f89468275a4aa9b8e874e36f0f9a0986ba8
Author: Robert Reif <reif@earthlink.net>
Date:   Tue Dec 28 21:21:13 2010 +0100

    typedef: fix typedef simplification. ticket: #2348

commit bdf0cb7115d2129395b7903c673c9d1f9a089502
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Tue Dec 28 20:46:31 2010 +0100

    Fixed #2370 (false negative: Buffer access out-of-bounds (for with if, no break))

commit 2aad9de2e19abc896b3ad73a2e944ccee914a3f4
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Tue Dec 28 19:47:56 2010 +0100

    Cppcheck Design: updated article

commit 7c58604f937c2af120f4f4b1f33482570fdaf79a
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Tue Dec 28 17:41:56 2010 +0100

    Cppcheck Design Overview: Added article

commit 0667fcf53c6d8b309bad8df440d05db463ef39e1
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Tue Dec 28 14:04:44 2010 +0100

    Fixed #2355 (simplifyTypedef: wrong simplification of 'typedef FMAC1 void (*a)();')

commit 80afa7a04f4c72c0f4789497da938ab8952340f9
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Tue Dec 28 11:36:42 2010 +0100

    Writing Rules: Added a second article about writing rules that discuss the data representation

commit 1b92eeae1ebedeb64d38676051397fa65029041c
Author: Robert Reif <reif@earthlink.net>
Date:   Tue Dec 28 08:01:32 2010 +0100

    Fixed #2354 (simplifyTypedef: function pointers are not simplified into valid code)

commit 58ddb3b0abd04b1dc1ac12c316b327d980189b1f
Author: Pete Johns <paj-github@johnsy.com>
Date:   Tue Dec 28 07:19:48 2010 +1100

    Fixed #2360 (testrunner fails to build in Mac OS X Leopard (10.5) - assert macro vs assert 
method)
    
    Renamed assert to assert_.
    
    Tested with gcc v4.0.1 on Snow Leopard.

commit d4e3e7e20109cfc326b9b85c6c4dfad6470818be
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Mon Dec 27 21:18:36 2010 +0100

    Fixed #2367 (false positive: (error) Uninitialized variable: s)

commit 448c03c6e652e2e2e6af5f0f67bba82486911401
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Mon Dec 27 21:05:33 2010 +0100

    Fixed #2367 (false positive: (error) Uninitialized variable: s)

commit 92acca3d0c7d1292eb2fa7330840ebc75248a509
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Mon Dec 27 20:49:07 2010 +0100

    Fixed #2368 (assigned a value that is never used)

commit 46c03973eef48d9710bcfa2c24f20f726a25de8e
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Mon Dec 27 18:00:44 2010 +0200

    GUI: Show ideal thread count next to current thread count.
    
    Ideal thread count is determined by Qt as number of available cores.
    Ticket: #2194 (Automatically match thread count to available cores)

commit e8b81f909df9736b632c7d36b4543dfdf4425294
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Mon Dec 27 12:46:18 2010 +0200

    Change 'Scope of variable'-message to information message.

commit ccde32b210dd2071463333846913ca276e3d07e6
Author: Ettl Martin <ettl.martin@gmx.de>
Date:   Mon Dec 27 15:12:17 2010 +0100

    Created to testcase (#2368) for assigned a value that is never used false positive

commit 660de98c0c331759c282262d39da460c2a73e58d
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Mon Dec 27 14:06:32 2010 +0100

    Fixed #2365 (Internal error: Token::Match called with varid 0)

commit 6404374bbaf848ee55d5639d989f1d684f2de8c9
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Mon Dec 27 11:43:20 2010 +0200

    GUI: Update translation files.

commit 8a81022a30b2cef047193e08044918d7bd7ba32c
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Mon Dec 27 11:42:17 2010 +0200

    GUI: Use simple "Errors" instead of "Common errors".
    
    We have only one "error" category nowadays so we don't need to
    separate different error categories anymore.

commit ba38f73168aa1b2bcbb1d04a6ad0a9e467049ed0
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Mon Dec 27 11:38:43 2010 +0200

    GUI: Improve toolbar button tooltips.

commit f7c0377412d74c593142160966600e4762e7b6f6
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Mon Dec 27 11:27:39 2010 +0200

    GUI: Fix EOL style of stats.ui.

commit 2cd4fbfeb2f7fa7e8ad31ffb5c5399d451ed8ab1
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Mon Dec 27 11:17:17 2010 +0200

    GUI: Add 'portability' warnings to statistics-dialog.

commit f150f1ba057ae595bc22bab2f0b0828591437f0a
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Mon Dec 27 11:06:31 2010 +0200

    GUI: Add GUI for showing 'portability' warnings.
    
    Add menuitem, icon and toolbar button for portability warnings.
    Ticket #2359 (Gui: Show portability warnings).

commit 3853f93b34c4f858e39ad756957835cec9f2334a
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Mon Dec 27 08:22:21 2010 +0100

    TestClass: addon for 12f28507, fix a few more error messages.

commit 2367cfcf1e638f3a525f1850b7f5264df1caea96
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Mon Dec 27 08:09:05 2010 +0100

    Fixed #2361 (false positive on t[0X10])

commit 0758160fcd79e0c78a5f84228c1b55c660502717
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sun Dec 26 23:49:43 2010 +0200

    GUI: Fix building with Qt < 4.7.0.
    
    I accidentally added the 'placeholderText' attribute to settings.ui
    when editing it with Qt Creator. That attribute was added in Qt
    4.7.0 and we are not using it for anything. So removing it to fix
    building with older Qt versions.

commit 12f28507772d489a37c26e8737bbadab93d1cd2e
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sun Dec 26 23:34:00 2010 +0200

    Improve the message about const function.
    
    See discussion thread:
    https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192

commit f5f2a2ce2aba3d28354cbdd84f30d886f418e5a4
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sun Dec 26 22:02:20 2010 +0200

    Improve message for container type range check.
    
    See thread:
    https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192&start=0

commit ad89a84796294f0cb0ebece148ec396213a2cf1a
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sun Dec 26 21:40:58 2010 +0200

    Improve error message about overlapping buffers for s[n]printf().
    
    See forum thread:
    https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192&start=0

commit 6aa400fd803d2d4533aad9d40f06dfd60860ac6b
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Dec 26 21:23:28 2010 +0100

    Buffer overrun: UB when pointer arithmetic result points out of bounds. Ticket #1774

commit 6178459c15da04b6e4719c24267036d8c6601e8d
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Dec 26 20:34:07 2010 +0100

    Fixed #2304 (Tokenizer::simplifyKnownVariables: known strcpy parameter)

commit 5f3d2a7e356d7dcf2f2580c07bf2a3fe017f363f
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Dec 26 19:29:58 2010 +0100

    Fixed #2090 (False negative: null pointer dereference 's=0; strcpy(s,p);')

commit dd13a98fd9283a747699fcfa8d1260e679e2407b
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sun Dec 26 20:18:49 2010 +0200

    GUI: Improve Preferences-dialog layout.
    
    Make threads-textfield smaller as it can contain only three numbers.
    Also set the input mask so that three numbers at max are accepted.

commit 121cb043a7100217926858e915c4626f8149df77
Author: Peter Pentchev <roam@ringlet.net>
Date:   Sun Dec 26 18:12:14 2010 +0100

    Makefile: honor the C preprocessor flags in CPPFLAGS. Ticket: #2254

commit 991318d0dedbd3a036a92ba73e21ffd42ccf66b9
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sun Dec 26 18:37:11 2010 +0200

    GUI: zero is not valid value for bool type.

commit 436bd68eceb3f0ce8e34981e54a3bee372d8627f
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sun Dec 26 18:35:51 2010 +0200

    GUI: Reorder settings-constants in common.h
    
    It is easier to manage those constants when there is even some basic
    ordering and organization.

commit d3672430391585eec2ea19a83a92698be840fd1d
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sun Dec 26 18:29:43 2010 +0200

    GUI: Allow enabling inline suppressions from the GUI.
    
    Ticket #2342 (inline suppressions not available from the GUI)

commit f4581d833d599c9b9a0cbe7c5b87b6e18d612be9
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Dec 26 15:07:14 2010 +0100

    Tokenizer: Bailout if @ is encountered in the code

commit 3020e77570fbbbe5e0d78b7cb6d7372a7d2851c3
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sun Dec 26 15:21:37 2010 +0200

    GUI: Show information messages count in stats dialog.

commit a73970483d87ea933cfbd595b937ccb89f8659ab
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sun Dec 26 14:36:24 2010 +0200

    GUI: Add "Information" errors items to menu and toolbar.

commit 84180e4fcdb19715cc438b5be8269328c77ce808
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sun Dec 26 14:01:15 2010 +0200

    GUI: Change Style-warnings icon.
    
    I want to use the current Style-warning icon for Information
    messages. So change the Style-warning icon first to new
    icon.

commit 31c974c954fa96ebf6eb97ec0fd69f58d2259775
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sun Dec 26 12:35:31 2010 +0200

    GUI: Add Information-severity support.

commit 243a524909f54623ec0733881c4e0163298ddd01
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Dec 26 13:38:16 2010 +0100

    Fixed #2350 (false positive: possible null pointer dereference)

commit f7a83b4d904c287eb5a22139b55a3708a66b094a
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Dec 26 13:18:23 2010 +0100

    astyle formatting

commit 59acbb3da03ecf5452651c9539e58b70767f9b4f
Author: Pete Johns <paj-github@johnsy.com>
Date:   Sun Dec 26 23:08:51 2010 +1100

    Fixed Linux build.
    
    OSX built without limits.h

commit 64e2c8668cd0bad48bc6d449d63cb5c554471255
Author: Pete Johns <paj-github@johnsy.com>
Date:   Sun Dec 26 20:53:09 2010 +1100

    Fixed #2358 (Compilation fail on Mac)
    
    Added test case to prove it works. Not a true unit-test as it accesses the file-system.

commit 4fd8d2e0560f6bf6dcd6f610e57e084ef36e5fda
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Dec 26 11:14:57 2010 +0100

    Fixed #2326 (Preprocessor: inline-suppr does not work for id=missingInclude)

commit 7943d8ce53992318656a3d031d5fe05cf878a8df
Author: Pete Johns <paj-github@johnsy.com>
Date:   Sun Dec 26 14:11:05 2010 +1100

    canonicalize_file_name() is a GNU-extension.
    
    Replaced with call to realpath() to build on non-Linux systems, such as Mac OSX.

commit ecad249ae2212d0d1631533ad036363427163db3
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Dec 25 19:17:53 2010 +0100

    Fixed #2346 (False positive: pointer is assigned value that is never used. used here: 'pCol = 
pCol->GetNext()')

commit 10ee43790ded587928b71939bef8eb53a660d878
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Dec 25 12:40:44 2010 +0100

    Fixed #2339 (Tokenizer::setVarId : Wrong handling of 'int gr = id - 
(TLFPressProperties::OIL_FLUID * nb);')

commit 6f8f0e1aa1a2530502b9bc5f28d1bcb5c9a0b400
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Dec 25 10:07:57 2010 +0100

    Fixed #2353 (Tokenizer::simplifyKnownVariables: wrong simplification after return)

commit 81c5576eb458abad8d1c3500fef25f8f234127b9
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Dec 25 08:43:52 2010 +0100

    Misused scope objects: Don't use this check if the checked file is a pure C file. Ticket: #2352

commit 65041cf0ff6358320e9b5cf7d6dff46dcc7a1d8c
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 24 11:13:57 2010 +0100

    Fixed #2349 (Empty 'msg' in output when using '-j')

commit 335d164cdfdc91dfc5270da4891d66c0f93eeb5e
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 24 10:33:48 2010 +0100

    Fixed #2356 (False positive reported with iterator deletion)

commit 18fd12006a1366c892181bb582a68d7f9f3022fa
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 23 22:03:58 2010 +0100

    Tokenizer::simplifyGoto: Don't simplify 'goto' inside unhandled macro calls. Ticket: #2348

commit 472ecd8805f9e5ac237fe7bba4217ce667f8c688
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 23 18:59:18 2010 +0100

    Tokenizer: Fixed calculation simplification of '0*(*p)'. Ticket: #2348

commit aff3623fecf033b69c9e2a73c853949f9582466d
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 23 09:15:45 2010 +0100

    Fixed #2345 (False positive: uninitialized variable (in sub-condition in if inside a loop))

commit b89f486d0dac4a389d0d69f4766067b0b99521a8
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Dec 22 21:01:51 2010 +0100

    Fixed #2344 (FileLister Unix: Don't convert to absolute paths)

commit be46d453c43f16adea6df5e3089d6f78e68331e3
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Dec 22 19:53:17 2010 +0100

    Information: Added new severity

commit 22a1f3332f4c2c604c5c7ac27046e75d51c049d3
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Dec 22 18:45:09 2010 +0100

    xml2: changed the format of the cppcheck-version info

commit fc7e2d1ac1994fc1e88c57e169514da38d42cec1
Author: Robert Reif <reif@earthlink.net>
Date:   Wed Dec 22 18:37:23 2010 +0100

    Fixed #2341 (false positive for function pointer returning typedef)

commit 00e9822cb3ccce08f874cf2c01ffe20f84d46f4e
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Dec 22 18:32:00 2010 +0100

    Fixed #2337 (False Positive: memory leak)

commit 3a612d7cd867fa33203ff9a2a89326bf2d77c24c
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Dec 22 10:29:23 2010 +0100

    xml2: Added cppcheck-version

commit f392dbef95208bba21c6d406fae7bed3083991c3
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Dec 22 08:24:50 2010 +0100

    Fixed #2338 (False positive: Deallocating a deallocated pointer)

commit 6951c326835195c9a329d8355b9b62819c2b2cf3
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Tue Dec 21 21:12:45 2010 +0100

    Fixed #2336 (False positive: memory leak (passing pointer to subfunction))

commit 0f9415a5fb53119cae8b1e5eef41bce67eba012a
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Tue Dec 21 19:02:00 2010 +0100

    Fixed #2330 (unreadVariable error for a fstream object when only extraction operator (>>) is 
used)

commit 244974a61a4e955ec564b5ff9261158837821bba
Author: Robert Reif <reif@earthlink.net>
Date:   Tue Dec 21 08:13:40 2010 +0100

    unused variables: fixed false negatives with the help of the symbol database. ticket: #2317

commit f73cce9ecac55d67f448ff4dde5fd370ff12ce2e
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Mon Dec 20 18:31:16 2010 +0100

    Fixed #2317 ((style) Variable is allocated memory that is never used)

commit cdc8801be0bcb82b8a96176c2907b307dbe8d8a6
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Mon Dec 20 18:13:26 2010 +0100

    Fixed #2334 (Internal class index function (no need to 'strchr'))

commit c0bedb5036c4b18e49fd55caff0515d3e276c814
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Dec 19 21:27:28 2010 +0100

    Fixed #2331 (Token::Match is called with varid 0)

commit 02892499d294bb9f94d5060555091b3fd2a350c2
Author: Daniel Marjamäki <daniel@daniel-laptop.(none)>
Date:   Sun Dec 19 18:27:31 2010 +0100

    Fixed #2286 (Variable 'ownKilled' is assigned a value that is never used)

commit 1cd6f16ecf7364241f1c3103d9286815e8f7fdb1
Author: Daniel Marjamäki <daniel@daniel-laptop.(none)>
Date:   Sun Dec 19 11:22:27 2010 +0100

    Fixed #2322 (cppcheck follows recursive symlinks)

commit 8247270f357489a6639dfae589565b05082b1806
Author: Daniel Marjamäki <daniel@daniel-laptop.(none)>
Date:   Sun Dec 19 10:39:43 2010 +0100

    Fixed #2328 (false positive: buffer overrun (for loop with a break => the end value is not 
reached))

commit afbf5a8ef3a20848db1d590a78cf6978dc4f28a3
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sun Dec 19 07:51:34 2010 +0100

    Visual Studio: updated project files with qmake

commit 41ac2c252f2978a0960ed193f438a7a4a6883b46
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Dec 18 21:43:12 2010 +0100

    Fixed #2325 (Tokenizer: Remove for-loop if condition is false)

commit a2aa601899d3173f5d10f6eb9cbf9b12b8def08a
Author: Robert Reif <reif@earthlink.net>
Date:   Sat Dec 18 20:35:40 2010 +0100

    CheckOther: Use SymbolDatabase. Ticket: #2318

commit 1d349bf4cfdc73277897b97d3a5390fee3f09f6c
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sat Dec 18 17:12:27 2010 +0200

    Update Makefile.

commit 4ebdbec62173064517ac44fc19ec5a690db06c27
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sat Dec 18 17:11:19 2010 +0200

    Update dmake to use basepath in lib.pri.

commit 67713e47bddc5effcf3404d8271da370f74f13ff
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sat Dec 18 17:07:20 2010 +0200

    Update test.pro for using base path for included pri files.

commit 062eabf24620a235b44e6874f1fb22afc191ca1d
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sat Dec 18 17:03:46 2010 +0200

    Don't use relative paths in lib.pri.
    
    Using relative path in included file binds it to be usable only
    included from one directory. Instead use variable for giving the
    base path for files.

commit a60b933ac776e0a05cb87caf9744ccc7f98092c3
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sat Dec 18 16:29:58 2010 +0200

    Don't use relative paths in tinyxml.pri.
    
    Using relative path in included file binds it to be usable only
    included from one directory. Instead use variable for giving the
    base path for files.

commit b6391b2427bca3a5f18a47c65e573e17233ff189
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sat Dec 18 16:05:53 2010 +0200

    Reformat tinyxml qmake file.
    
    Have one filename at one line.

commit 79ea45391376b842310b27b094b3d4cf80f89440
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Dec 18 14:45:53 2010 +0100

    Preprocessor: Report 'missing system include' with debug severity. temporary solution until the 
handling of system includes is better.

commit da15277675b10ef25c0e44f697b340e829de5ea9
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Dec 18 12:12:55 2010 +0100

    QMake: added test/test.pro

commit 5d89b2ffc727135fbca52a6e74810b290c9e44d3
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Sat Dec 18 11:47:28 2010 +0200

    Add _CRT_SECURE_NO_WARNINGS for Windows CLI build.

commit 8ffc2b0ac6567fd35691a87b2fd5a86fcbd08bab
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Dec 18 11:14:31 2010 +0100

    Tokenizer: better handling for switch/break in the simplifyKnownVariables. Ticket: #2324

commit f6c00fc47889a3282adcfaa1cc22d2a9bad55d38
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Dec 18 10:54:36 2010 +0100

    Fixed #2323 (false positive: Buffer access out of bounds)

commit fc9c450eedd43fbbd1b804860a9262bccf702ed0
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Dec 18 10:06:21 2010 +0100

    Fixed #2320 (false positive: Uninitialized variable: kbuf)

commit 7eb98551042b3920691f72cc765b54ce6337ba88
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Sat Dec 18 09:44:58 2010 +0100

    Tokenizer: Remove redundant parantheses in rhs. Ticket: #2320

commit 18933ea0e662da8d9e0edac520c750fb95c64125
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 17 21:43:47 2010 +0100

    QMake: auto-generate the visual studio project files with qmake

commit 814efb2512ee2ca6b95bbba1b8f94115ca4c4e0c
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 17 21:34:22 2010 +0100

    Fixed #2313 (False Positive: memory leak)

commit 7050e9610b49cad35bf9f4f861b27c37aab6f05b
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 17 21:30:02 2010 +0100

    checkmemoryleaks: added assertion for todo assertion

commit c2335f845e121f3a848209afce913e5f22d70ed0
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 17 21:20:04 2010 +0100

    Fixed #2306 (False positive: array of std::string is reported as uninitialized)

commit 696550abd3890faa6a2695788532b76d32bfdc48
Author: Daniel Marjamäki <daniel@daniel-laptop.(none)>
Date:   Fri Dec 17 21:09:12 2010 +0100

    Fixed #2299 (false positive: possible nullpointer dereference)

commit 845d1491f9726f79db184dfc92c8ed1e4c48c7b4
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Fri Dec 17 20:56:46 2010 +0100

    Fixed #2307 (No constructor defined false positive when class is enclosed in namespace)

commit e0a0ed6facae9d640a6590ac67e83bf72bb83ef9
Author: Daniel Marjamäki <daniel@daniel-laptop.(none)>
Date:   Thu Dec 16 21:53:18 2010 +0100

    removed the NOLONGLONG handling. it seems unlikely it is needed

commit 0cebcc8fa9e803e8adb8ce4394bccea8bfa303f8
Author: Daniel Marjamäki <daniel@daniel-laptop.(none)>
Date:   Thu Dec 16 21:41:50 2010 +0100

    Fixed #2300 (false positive: possible nullpointer dereference)

commit 49ee1533d9219f0f8b886bdeb554d505593790d8
Author: Daniel Marjamäki <daniel@daniel-laptop.(none)>
Date:   Thu Dec 16 21:27:33 2010 +0100

    Fixed #2301 (false positive: The given size 3 is mismatching)

commit 2d971894862476d23ee4b98d7b5db6f181d00e2e
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 16 20:16:59 2010 +0100

    Fixed #2311 (False positive: Index out of bounds)

commit eb0231b48f2243d8a85857366158fbf66ca4678c
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Thu Dec 16 20:15:22 2010 +0100

    astyle formatting

commit e5d5b25b9d9d3b1c86fa21c88e22de0c1e8a6e43
Author: Daniel Marjamäki <daniel@daniel-laptop.(none)>
Date:   Thu Dec 16 19:41:35 2010 +0100

    build.txt: some updated instructions

commit f2d69acbfdc4068eefb7bf38f0c6415b95fb042e
Author: Robert Reif <reif@earthlink.net>
Date:   Thu Dec 16 19:04:47 2010 +0100

    Symbol database: reuse in CheckOther. Ticket: #2318

commit bf136f012360fdfbf8f8c4203d89a7381a855f88
Author: Robert Reif <reif@earthlink.net>
Date:   Thu Dec 16 07:48:46 2010 +0100

    Fixed #2314 (False positive: (style) Template instantiation 'Foo' hides typedef with same name)

commit 0473473e7ba2d4250f879783af2839e17131c633
Merge: ac8eb30 a55d7df
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Wed Dec 15 22:40:35 2010 +0200

    Merge branch 'master' of github.com:danmar/cppcheck

commit ac8eb30d681c38f3951af77f410f18077b76b80b
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Wed Dec 15 22:39:46 2010 +0200

    Fixed #2309 (cppcheck-suppress issue because of path slash/backslash)
    
    Internally we are using forward-slash and only convert to backslash
    for Windows output. For suppressing we must use internal
    forward-slash format of paths.

commit a55d7df8a371fc84b13d113e8d5003a29a2c993c
Author: Ettl Martin <ettl.martin@gmx.de>
Date:   Wed Dec 15 21:34:31 2010 +0100

    test:testpreprocessor.cpp; fixed broken unit test due to wrong charcter encoding

commit 5ac9a7eaa790c22349d26b097adeb7e208ee3c94
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Wed Dec 15 22:13:31 2010 +0200

    Update VS2010 project files for new TinyXml location.

commit cf46f2ffb94c99c9632d14792c0826552f3df1eb
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Wed Dec 15 22:05:05 2010 +0200

    Update VS2008 project files for new TinyXml location.

commit 166eabaef9905927a4df8d086b05e665bdd586af
Merge: 7bdcbff 46a1118
Author: Daniel Marjamäki <danielm77@spray.se>
Date:   Wed Dec 15 19:40:53 2010 +0100

    Merge commit 'vBm/master'

commit 46a11183a5471183d626cf9189b346ad4d2a15bc
Author: vBm <the.vbm@gmail.com>
Date:   Wed Dec 15 18:45:53 2010 +0100

    Fixed some spelling mistakes

commit 7bdcbff799693cecb52d844f39ea4701ecc364b3
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Wed Dec 15 18:02:55 2010 +0200

    Installer: Fix typo 'IntallationPath' to 'InstallationPath'.

commit b92e1dcc8c9a9251c1f3b18ad28a7bae24329f6e
Author: Kimmo Varis <kimmov@gmail.com>
Date:   Wed Dec 15 17:51:51 2010 +0200

    Installer: Add Japanese and Serbian translation files.
    
    I forgot to add Japanese and Serbian translation files to the
    Windows installer when adding them.

commit f15539d6bb723a436d61e9d5754fcc4e05a97c64
Merge: 0b8f2ef 500c0a1
Author: vBm <the.vbm@gmail.com>
Date:   Wed Dec 15 15:55:36 2010 +0100

    Merge branch 'master' of git://github.com/danmar/cppcheck

commit 500c0a19c39ec8fdd434a0d6f97363f4db9b5275
Author: Zachary Blair <zack_blair@hotmail.com>
Date:   Tue Dec 14 23:51:21 2010 -0800

    Fixed #2047 (GUI: save log to file)

commit 0b8f2ef254d232d1d3b43024a2af61e90a0ad1cd
Merge: 0b1006a 05ebf12
Author: vBm <the.vbm@gmail.com>
Date:   Tue Dec 14 15:36:19 2010 +0100

    Merge branch 'master' of git://github.com/danmar/cppcheck

commit 05ebf120c3fd254ea1c896e48017f3202d6ddcfb
Author: Zachary Blair <zack_blair@hotmail.com>
Date:   Tue Dec 14 00:16:26 2010 -0800

    Fixed #2266 (GUI: Better check duration display format)

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.