Reijo Tomperi
|
2de4c516e9
|
Fixed ticket #338 (Simplify sizeof for pointer arrays) by patch submitted by php-coderrr
http://apps.sourceforge.net/trac/cppcheck/ticket/338
|
2009-05-31 22:33:44 +03:00 |
Daniel Marjamäki
|
2120edb89b
|
Variable Id: structs must not have variable id
|
2009-05-31 18:46:32 +02:00 |
Reijo Tomperi
|
3fe1b50e60
|
Fix ticket #344 (Tokenizer crash in Windows)
http://apps.sourceforge.net/trac/cppcheck/ticket/344
|
2009-05-31 15:55:06 +03:00 |
Daniel Marjamäki
|
aba7518aeb
|
Fixed ticket #345 ('!' and 'not' tokens interpreted differently even though they mean the same)
|
2009-05-31 10:42:27 +02:00 |
Daniel Marjamäki
|
8b76301ee2
|
Fix ticket #318 ('..' in include will cause conflicting slashes in messages)
|
2009-05-31 10:12:19 +02:00 |
Daniel Marjamäki
|
375dfeab06
|
Fix for #341 (Functions passed as pointer not detected as used)
|
2009-05-31 08:01:16 +02:00 |
Daniel Marjamäki
|
bf98ff85e5
|
Memory leaks: calling function that deallocates the memory and allocates new memory
https://apps.sourceforge.net/trac/cppcheck/ticket/336
|
2009-05-30 20:30:44 +02:00 |
Reijo Tomperi
|
58eda6e978
|
Fix ticket #325 (Replace developer names in source files with AUTHORS file)
http://apps.sourceforge.net/trac/cppcheck/ticket/325
|
2009-05-30 08:48:12 +03:00 |
Reijo Tomperi
|
8876f0ee57
|
Fix ticket #342 (Simplify "if( (true) == true )")
http://apps.sourceforge.net/trac/cppcheck/ticket/342
|
2009-05-30 00:04:01 +03:00 |
Reijo Tomperi
|
a015704591
|
Changed expected result for test case TestTokenizer::removeParantheses3 to simplify it more
|
2009-05-28 23:13:15 +03:00 |
Reijo Tomperi
|
a3be307c03
|
Fix bug related to ticket #330, cppcheck hanged with some files containing "(("
http://apps.sourceforge.net/trac/cppcheck/ticket/330
|
2009-05-28 23:03:36 +03:00 |
Daniel Marjamäki
|
a3990648a9
|
Tokenizer: Simplifying redundant parantheses
http://apps.sourceforge.net/trac/cppcheck/ticket/330
|
2009-05-28 19:37:39 +02:00 |
Reijo Tomperi
|
adb1ed4947
|
Fix ticket #319 (Function names are tagged as variables)
http://apps.sourceforge.net/trac/cppcheck/ticket/319
|
2009-05-27 23:34:08 +03:00 |
Reijo Tomperi
|
d6a34dafb2
|
Added test case TestMemleak::dealloc_and_alloc_in_func
|
2009-05-27 22:16:54 +03:00 |
Daniel Marjamäki
|
ca6d927dfa
|
Fix ticket 330 (found memory leak when __builtin_expect uses)
|
2009-05-27 20:49:29 +02:00 |
Daniel Marjamäki
|
e89c03da92
|
Fix ticket 308 (cppcheck msg:: invalid number of ((). Cant process file)
|
2009-05-27 20:07:18 +02:00 |
Daniel Marjamäki
|
650d58e3de
|
Fix for ticket 337 ('scope can be limited' false positive with variables referenced by pointers)
|
2009-05-27 19:38:26 +02:00 |
Reijo Tomperi
|
ea4232fb06
|
Fix ticket #334 (segmentation fault on boost 1.39.0)
http://apps.sourceforge.net/trac/cppcheck/ticket/334
|
2009-05-26 23:22:00 +03:00 |
Daniel Marjamäki
|
b9b542d05b
|
Fixed ticket #333 (tokenizer: incorrect removal of decrement/increment)
|
2009-05-25 14:21:58 +02:00 |
Daniel Marjamäki
|
2d2c0e42cc
|
Fix ticket #317 (pre-increment causes style false positive)
|
2009-05-25 08:31:20 +02:00 |
Daniel Marjamäki
|
7fdd497c44
|
Fix ticket #317 (pre-increment causes style false positive)
|
2009-05-25 08:26:11 +02:00 |
Reijo Tomperi
|
977e31786d
|
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 23:57:12 +03:00 |
Slava Semushin
|
2654a4aa54
|
Added support to search resource leaks after opendir()/fdopendir() usage.
|
2009-05-24 02:53:02 +07:00 |
Slava Semushin
|
f5300ae56c
|
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-24 00:32:53 +07:00 |
Slava Semushin
|
bc62472a18
|
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 00:30:27 +07:00 |
Slava Semushin
|
bfd49e21e7
|
Added 17 functions which work with FILE structure to white list.
Inspired by previous commit.
|
2009-05-23 18:01:18 +07:00 |
Slava Semushin
|
b5c7316666
|
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 17:20:26 +07:00 |
Reijo Tomperi
|
bbf63b7970
|
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-23 00:18:48 +03:00 |
Reijo Tomperi
|
93d9400f63
|
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 23:59:07 +03:00 |
Reijo Tomperi
|
0f9b2efa43
|
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 23:36:03 +03:00 |
Slava Semushin
|
a2a6eebb01
|
Fixed ticket #324 (Teach about fcloseall() function)
http://apps.sourceforge.net/trac/cppcheck/ticket/324
|
2009-05-22 21:47:40 +07:00 |
Slava Semushin
|
3a40c33d7b
|
Updated wrong comments (looks like after copy&paste).
No code change.
|
2009-05-22 21:13:01 +07:00 |
Reijo Tomperi
|
e6017ad54b
|
Fix #299 (Memory leak not detected when parameters contain ::)
http://apps.sourceforge.net/trac/cppcheck/ticket/299
|
2009-05-21 22:51:19 +03:00 |
Reijo Tomperi
|
bb2b2e000b
|
Fix ticket #316 (\n is tokenized into \\ in a string when macro is used)
http://apps.sourceforge.net/trac/cppcheck/ticket/316
|
2009-05-20 21:36:59 +03:00 |
Reijo Tomperi
|
9c60391375
|
Apply patch #320 from php-coderrr ([PATCH] Determine memory leaks after strndup() usage)
http://apps.sourceforge.net/trac/cppcheck/ticket/320
|
2009-05-19 23:29:10 +03:00 |
Reijo Tomperi
|
a3f469d339
|
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-19 22:19:15 +03:00 |
Reijo Tomperi
|
d6d55c2db4
|
Fix ticket #315 (Segmentation fault when checking Linux kernel)
http://apps.sourceforge.net/trac/cppcheck/ticket/315
|
2009-05-18 23:32:04 +03:00 |
Reijo Tomperi
|
927918f9b0
|
astyle fix
|
2009-05-18 23:30:43 +03:00 |
Daniel Marjamäki
|
bad464ae9b
|
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 19:27:16 +02:00 |
Daniel Marjamäki
|
2e61201c18
|
STL: It is ok to compare vector iterators with <
https://apps.sourceforge.net/trac/cppcheck/ticket/313
|
2009-05-17 18:58:32 +02:00 |
Daniel Marjamäki
|
2bd80a7335
|
Fix for ticket 291 - preprocessor: better handling of defines
http://apps.sourceforge.net/trac/cppcheck/ticket/291
|
2009-05-17 18:51:29 +02:00 |
Reijo Tomperi
|
36cdac1b96
|
Fix ticket #312 (division by pointer value causes wrong tokenizing)
http://apps.sourceforge.net/trac/cppcheck/ticket/312
|
2009-05-14 22:53:49 +03:00 |
Daniel Marjamäki
|
2508f3c721
|
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 21:38:57 +02:00 |
Reijo Tomperi
|
e5e82274dc
|
Fix ticket #306 (Invalid multi-line comment produces cryptic internal error)
http://apps.sourceforge.net/trac/cppcheck/ticket/306
|
2009-05-13 22:18:02 +03:00 |
Reijo Tomperi
|
997a784bb6
|
Added TODO test case TestPreprocessor::multiline_comment
Made tokenizer to printout token list in case of syntax error, if debug is used
|
2009-05-13 00:01:53 +03:00 |
Reijo Tomperi
|
31f315d2ec
|
Added TODO test case TestMemleak::stdstring
|
2009-05-12 22:04:49 +03:00 |
Reijo Tomperi
|
24d96b188e
|
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-12 21:28:02 +03:00 |
Reijo Tomperi
|
e83db8ac7b
|
Fix ticket #288 (Tokenizer::syntaxError should use error logger instead of std::cout)
http://apps.sourceforge.net/trac/cppcheck/ticket/288
|
2009-05-11 22:52:04 +03:00 |
Reijo Tomperi
|
fede702bf5
|
Fix ticket #302 (White space between "\" and newline not handled correctly)
http://apps.sourceforge.net/trac/cppcheck/ticket/302
|
2009-05-11 21:12:29 +03:00 |
Daniel Marjamäki
|
1ae24066fe
|
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 08:43:16 +02:00 |