Commit Graph

27554 Commits

Author SHA1 Message Date
Slava Semushin 084b3c002f Fixed ticket #403 (false positive::Array index out of range)
http://sourceforge.net/apps/trac/cppcheck/ticket/403
2009-06-14 11:21:20 +07:00
Kimmo Varis 3e045dcf37 Fix the copyright text in Windows executable. 2009-06-14 00:24:35 +03:00
Kimmo Varis d7d7b529c9 GUI: Remove the SVG icon from the resources file as it is not used. 2009-06-14 00:20:41 +03:00
Kimmo Varis c55f28ca2b GUI: Move Windows-specific options and files to own scope in project file. 2009-06-13 23:14:09 +03:00
Kimmo Varis 3311113775 GUI: Include Windows resources from resource file having version info. 2009-06-13 23:13:03 +03:00
Kimmo Varis e240848bc1 GUI: Add common.h to the project. 2009-06-13 22:44:56 +03:00
Reijo Tomperi a6d2dceeb3 Fixed ticket #398 (valgrind shows error when running testrunner)
http://172.29.29.21/apps/trac/cppcheck/ticket/398
2009-06-13 00:17:06 +03:00
Reijo Tomperi 9ea80b4d74 Fix ticket #397 (xml output doesn't encode " and & -characters as it should)
http://sourceforge.net/apps/trac/cppcheck/ticket/397
2009-06-12 22:02:01 +03:00
Vesa Pikki 799252e8f2 Force extension to the file and check save type by filter and not by filename. 2009-06-12 21:22:45 +03:00
Daniel Marjamäki 777790ebc7 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 17:31:29 +02:00
Reijo Tomperi 6362574c1a astyle fix 2009-06-12 18:24:43 +03:00
Daniel Marjamäki 35b6b2588e Fixed ticket #374 (False positive: The scope of variable can be limited)
A few refactorings and fixes were made
2009-06-12 16:17:51 +02:00
Slava Semushin cba0d9e130 Fixed ticket #392 (false positive and wrong allocation and deallocation not detected)
http://sourceforge.net/apps/trac/cppcheck/ticket/392
2009-06-12 21:14:01 +07:00
Slava Semushin 56a0660972 Tokenizer::createLinks(): correct comment.
No code change.
2009-06-12 20:49:49 +07:00
Daniel Marjamäki 169cfc1324 doc: minor update. The [BR] is not working as I thought 2009-06-12 15:30:29 +02:00
Daniel Marjamäki 9b2b14a608 doc: generating wiki documentation 2009-06-12 15:20:08 +02:00
Slava Semushin 7bee0cd2df Fixed ticket #390 (wrong allocation and deallocation not detected)
http://sourceforge.net/apps/trac/cppcheck/ticket/390
2009-06-12 20:04:58 +07:00
Daniel Marjamäki 0c01132698 added a classInfo function for each check class 2009-06-12 12:19:37 +02:00
Reijo Tomperi 092bd79ec4 Fix ticket #386 (False positive (memory leak) with comma)
http://apps.sourceforge.net/trac/cppcheck/ticket/386
2009-06-11 00:12:26 +03:00
Daniel Marjamäki d8f95f68c3 Fixed ticket #377 (False positive with "char a[]")
Updated the tokenizer so "char a[]" is tokenized into "char *a"
2009-06-10 19:36:00 +02:00
Reijo Tomperi db7b8fb3fd 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 23:45:31 +03:00
Reijo Tomperi 39ce9ba39c codeblocks project file updated 2009-06-09 23:33:58 +03:00
Slava Semushin 879174b06c src/checkunusedfunctions.h: assign default values in initializer list.
No functional change.
2009-06-10 03:12:57 +07:00
Reijo Tomperi 170f4cf788 Fix compile error in GUI 2009-06-09 22:42:13 +03:00
Slava Semushin c000fd581a Don't print message about missing source files when --errorlist used.
Also exit with zero status in this case.

Fix for 5193a36a6a commit.
2009-06-10 02:05:21 +07:00
Slava Semushin fe5d0c56ba Merge branch 'master' of git@github.com:danmar/cppcheck 2009-06-10 01:56:26 +07:00
Slava Semushin d9f2dd385b test/testrunner.cpp: removed unused headers.
No functional change.
2009-06-10 01:52:42 +07:00
Daniel Marjamäki a71d260308 Refactoring: Moved CheckOther::returnPointerToLocalVariable to CheckAutoVariables 2009-06-09 19:45:58 +02:00
Kimmo Varis 7efd4e48b8 GUI: One messagebox was missing "this" parameter. 2009-06-09 17:03:38 +03:00
Kimmo Varis 4c7793237a Update VS testrunner project. 2009-06-09 11:50:16 +03:00
Vesa Pikki 013057b526 Astyle formatting. 2009-06-09 11:22:28 +03:00
Vesa Pikki 398c81f4a8 Force progressbar to be visible when checking starts. 2009-06-09 11:21:17 +03:00
Vesa Pikki b67424785f Added messagebox to inform user about not found/non visible errors. 2009-06-09 10:51:27 +03:00
Vesa Pikki de0bea3479 Merge branch 'master' of git@github.com:danmar/cppcheck 2009-06-09 09:31:54 +03:00
Vesa Pikki 814cd37c90 Added some warning messageboxes.
One for when user tries to double click and there are now applications specified.
Another for when user tries to check something and the file list is empty.
2009-06-09 09:30:28 +03:00
Kimmo Varis 54d861f99e GUI: Add readme file with instructions for running and compiling the GUI. 2009-06-09 00:15:29 +03:00
Daniel Marjamäki a3bf635249 Doxygen: Added a few simple doxygen comments for the leaks checking 2009-06-08 20:54:49 +02:00
Daniel Marjamäki 2c07c22d9e Refactoring: Split up the CheckMemoryLeak into CheckMemoryLeakInFunction and CheckMemoryLeakInClass 2009-06-08 20:20:43 +02:00
Daniel Marjamäki 15dbf9c085 Refactoring: Renaming the CheckMemoryLeakClass to CheckMemoryLeak. Deleted testmemleakmp 2009-06-08 18:51:17 +02:00
Daniel Marjamäki 51736bae8b deleted the testmemleakmp file 2009-06-08 18:36:54 +02:00
Kimmo Varis f146ce1aae GUI: If application list contains applications select the first by default. 2009-06-08 16:58:26 +03:00
Kimmo Varis 7ac73e0d25 GUI: Show error message when the viewer application cannot be started. 2009-06-08 16:47:53 +03:00
Kimmo Varis dfb18efed3 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 16:22:12 +03:00
Kimmo Varis 9cbf9e78de GUI: Show application path with native separators. 2009-06-08 14:58:51 +03:00
Kimmo Varis 791d221678 Update VS project file after files were renamed. 2009-06-08 14:12:48 +03:00
Kimmo varis fb04e84975 GUI: Update project file after file renaming. 2009-06-08 00:51:02 +03:00
Daniel Marjamäki d7fa3e6dda Refactoring: Renamed CheckFunctionUsage to CheckUnusedFunctions 2009-06-07 22:12:20 +02:00
Daniel Marjamäki 6356db82a9 Added headers to the "--errorlist" output 2009-06-07 18:53:47 +02:00
Kimmo Varis c3072856df Merge branch 'master' of git@github.com:danmar/cppcheck 2009-06-07 14:47:01 +03:00
Kimmo Varis 8375d1f1ae Fix #372 (Link error with Visual C++ 2008 Express)
Add shlwapi.lib to Visual Studio project.
2009-06-07 14:46:34 +03:00