Commit Graph

1479 Commits

Author SHA1 Message Date
Daniel Marjamäki 063f59c86c moved checks back to style (where they used to be) 2009-03-27 15:55:14 +01:00
Daniel Marjamäki 4eeac1f364 tokenizer: fix segmentation fault if end of token list is reached 2009-03-27 15:12:49 +01:00
Daniel Marjamäki 7afccc395a testing: new handling of todo test cases. If they use TODO_ASSERT_EQUALS instead we can detect when they are fixed 2009-03-25 18:31:40 +01:00
Daniel Marjamäki 0cfa241abb variable id: enabled test case for function parameters 2009-03-25 18:15:49 +01:00
Daniel Marjamäki c74da7bab9 variable id: give std::string variables an id 2009-03-25 18:10:03 +01:00
Daniel Marjamäki 8db1ac8c5d astyle formatting 2009-03-25 07:25:33 +01:00
Daniel Marjamäki b9f4a773b8 Buffer overrun: Added check to detect when size argument to memset is a char constant (#213) 2009-03-25 07:25:10 +01:00
Daniel Marjamäki 9f3634412e simplify tokens (known variable values in conditions) 2009-03-25 07:10:17 +01:00
Gianluca Scacco a66cf8b20f Fixed Ticket #202: Return of the address of an auto-variable 2009-03-24 21:53:46 +01:00
Daniel Marjamäki afcaa30b51 Fixed ticket 216 (False positive: variable scope) 2009-03-24 20:59:56 +01:00
Daniel Marjamäki 6c1af7e5e6 register CheckClass 2009-03-24 20:47:43 +01:00
Daniel Marjamäki 586037ed11 fixed testcase 2009-03-24 20:28:44 +01:00
Daniel Marjamäki c0039a2551 added testcase 2009-03-24 20:24:03 +01:00
Daniel Marjamäki da0b571aee Fixed ticket 197 (false positive: condition is always true/false) 2009-03-24 19:49:01 +01:00
Daniel Marjamäki 6580e0eb21 fixed snprintf false positive (#210) 2009-03-24 18:43:39 +01:00
Daniel Marjamäki 65070cc067 Simplify if conditions more.. simplifyIfAssign + simplifyIfNot 2009-03-24 18:23:21 +01:00
Daniel Marjamäki 44c952873e Fixed ticket 205 (False positive: char variable used in bit operation) 2009-03-23 19:04:51 +01:00
Daniel Marjamäki 06776c6ac7 Fixed the testcase TestMemleak::realloc3 2009-03-23 18:34:59 +01:00
Daniel Marjamäki 7905cbc5e7 simplify tokens: move assignment out from condition (Ticket #201) 2009-03-23 18:20:56 +01:00
Daniel Marjamäki c9d02273b8 added todo test case for ticket 200 2009-03-22 21:42:01 +01:00
Vesa Pikki 8efae83184 Removed unnecessary options from settings dialog. 2009-03-22 20:00:06 +02:00
Daniel Marjamäki 24e22ac942 Merge branch 'master' of git@github.com:danmar/cppcheck 2009-03-22 18:58:19 +01:00
Daniel Marjamäki a87419f59b Fixed Ticket 199 (The error messages generated by 'unused functions' are wrong) 2009-03-22 18:57:53 +01:00
Vesa Pikki d1e43ee6ea Added a window title. 2009-03-22 19:51:49 +02:00
Vesa Pikki 31845a89bc Added license text. 2009-03-22 19:47:25 +02:00
Vesa Pikki f752cca1e2 Merge branch 'gui'
Conflicts:

	gui/resultstree.cpp
2009-03-22 19:42:45 +02:00
Vesa Pikki 1e66d7f0e4 Merge conflicts. 2009-03-22 19:41:32 +02:00
Vesa Pikki 855dda69b7 Conflicts:
gui/mainwindow.cpp
	gui/resultstree.cpp
2009-03-22 19:40:29 +02:00
Vesa Pikki 0953995ee3 Merged gui branch to master. 2009-03-22 19:39:44 +02:00
Vesa Pikki 55ad06a7b2 Astyle formatting. 2009-03-22 19:38:03 +02:00
Vesa Pikki 856b3cd949 Can now hide and show results based on cpp flags. 2009-03-22 19:37:26 +02:00
Vesa Pikki 592ff8ba3c Added view menu and buttons for it. 2009-03-22 18:46:51 +02:00
Vesa Pikki c6e8d61db3 Added recheck and clear results buttons. 2009-03-22 17:42:48 +02:00
Vesa Pikki 9eda0ce52c astyle formatting. 2009-03-22 17:41:14 +02:00
Vesa Pikki 84853aa7f9 Added recheck and clear results buttons. 2009-03-22 17:40:47 +02:00
Vesa Pikki f04bdccee4 Astyle formatting. 2009-03-22 15:15:16 +02:00
Vesa Pikki adbdb4acc3 Merge branch 'master' of git@github.com:danmar/cppcheck 2009-03-22 14:32:50 +02:00
Vesa Pikki 5e1994068a Added settings dialog to select what kind of errors are visible. 2009-03-22 14:32:07 +02:00
Vesa Pikki d008592a84 Removed check dialog.
Files to be checked are selected by default file open dialog with all checking options enabled.
2009-03-22 14:28:52 +02:00
Daniel Marjamäki a065ed9d05 updated the Makefile 2009-03-22 12:46:20 +01:00
Gianluca Scacco 416115e38f Fixed error compiling testautovariables 2009-03-22 12:00:21 +01:00
Daniel Marjamäki 09457194d9 astyle code formatting 2009-03-22 08:23:20 +01:00
Daniel Marjamäki 276c0a7b2f Merge branch 'master' of git@github.com:danmar/cppcheck 2009-03-22 08:20:41 +01:00
Daniel Marjamäki e017d5a079 refactoring - added 'getErrorMessages' to all check classes 2009-03-22 08:20:15 +01:00
Gianluca Scacco abda874944 Refactoring of CheckAutoVariables 2009-03-22 08:01:48 +01:00
Daniel Marjamäki 0a71771c6a improved the Tokenizer::setVarId to handle function parameters better 2009-03-21 21:58:39 +01:00
Daniel Marjamäki 6fc66d3e2c refactoring error messages 2009-03-21 21:33:27 +01:00
Daniel Marjamäki 262d182f26 updated the MakeFile 2009-03-21 18:38:24 +01:00
Daniel Marjamäki 729b2c1706 Fixed 188 (Return of auto variable address), applied patched submitted by gscacco 2009-03-21 18:36:41 +01:00
Daniel Marjamäki da06c12925 refactoring error messages 2009-03-21 18:31:28 +01:00