Commit Graph

  • e629db6818 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. Vesa Pikki 2009-03-02 19:56:51 +0000
  • 20390ce655 createrelease: The script for creating the 1.29 source packages Daniel Marjamäki 2009-03-02 19:55:25 +0000
  • 86050cccdb unused private function: fixed false positive (ticket: 129) Daniel Marjamäki 2009-03-02 17:16:02 +0000
  • cc6cec091a Began implementing ThreadExecutor with Qt threads. Still a work in progress. Added tr to all strings. Vesa Pikki 2009-03-01 20:44:42 +0000
  • c936e00191 Copyright fix for the man page Reijo Tomperi 2009-03-01 20:44:22 +0000
  • adced8abce Copyright for the man page Reijo Tomperi 2009-03-01 20:41:04 +0000
  • 87b0314e72 memory leak: fixed issue with reporting wrong location Daniel Marjamäki 2009-03-01 20:34:04 +0000
  • d4ecddd53c Fixed some compiling warnings by adding more error checking. Reijo Tomperi 2009-03-01 20:08:47 +0000
  • fdaa1af694 removed deprecated flag 'firstMatch' Daniel Marjamäki 2009-03-01 20:02:24 +0000
  • 015143b56c Copyright fixes Reijo Tomperi 2009-03-01 19:59:13 +0000
  • ea30d78405 Fixing compile problem with new gcc Reijo Tomperi 2009-03-01 19:56:27 +0000
  • fc8f47145a Copyrights updated Reijo Tomperi 2009-03-01 19:52:33 +0000
  • 071778fd50 Added GUI to codeblocks project file Reijo Tomperi 2009-03-01 19:40:33 +0000
  • f6848f14ad Fixed another --style problem with our code Reijo Tomperi 2009-03-01 19:38:17 +0000
  • 6495912d9a Fixed bug, -j option produced duplicate error messages. Reijo Tomperi 2009-03-01 19:34:32 +0000
  • d098b62975 Use reference instead of string copy (fixes some --style warnings from our code) Reijo Tomperi 2009-03-01 19:30:51 +0000
  • 60b3bbdea4 removed the '--vcl' flag from the console app Daniel Marjamäki 2009-03-01 19:10:48 +0000
  • 8e5f0b19fa Removed --vcl fromt he man page Reijo Tomperi 2009-03-01 19:05:42 +0000
  • 92b0fa45b3 Updated man page for --vcl Reijo Tomperi 2009-03-01 18:55:54 +0000
  • c7b068c174 variable id: fixed so that the variable ids are assigned correctly (ticket:126) Daniel Marjamäki 2009-03-01 16:37:02 +0000
  • b39c15410b Began implementing a simple Qt based GUI. Also modified astyle scripts to format gui code aswell. Vesa Pikki 2009-03-01 07:38:21 +0000
  • 4e465f7073 variable declarations: don't simplify when declaring and assigning array in the same statement Daniel Marjamäki 2009-02-28 20:40:37 +0000
  • c3bbd603c0 variable id: handling 'return' and 'else' better Daniel Marjamäki 2009-02-28 20:21:48 +0000
  • 045477e6ac moved sizeof tests to the TestSimplifyTokens class Daniel Marjamäki 2009-02-28 09:09:55 +0000
  • c7197aed8c refactoring unit tests Daniel Marjamäki 2009-02-28 08:59:48 +0000
  • 7d9bf491ec sizeof: fixed a problem with 'sizeof(varname)' but there are more to fix with it Daniel Marjamäki 2009-02-28 08:34:02 +0000
  • 42176f52ca Added Cppcheck::clearFiles() function. Reijo Tomperi 2009-02-27 19:39:50 +0000
  • 6b7b27a2e8 simplify known variable: don't simplify this ';i++;' Daniel Marjamäki 2009-02-27 18:25:47 +0000
  • c991aded12 unused functions: fixed false positives Daniel Marjamäki 2009-02-27 16:36:37 +0000
  • dddfc50dff Reverted changes made in [1289] Daniel Marjamäki 2009-02-27 07:50:39 +0000
  • f4a8bc85f2 simplify tokens: fixed bug when removing redundant parantheses around variable Daniel Marjamäki 2009-02-27 06:07:38 +0000
  • 91011b8450 array index out of bounds: Added todo test case TestBufferOverrun::array_index_13 for ticket #118 Daniel Marjamäki 2009-02-26 19:46:59 +0000
  • 4296548129 Use 'folder' instead of 'directory' in Windows installer. Kimmo Varis 2009-02-26 08:10:59 +0000
  • c1da4ae57d simplify tokens: remove redundant parantheses around variable.. 'p = (q);' Daniel Marjamäki 2009-02-25 19:55:24 +0000
  • 35583293ec memory leak: Fixed a false positive when all is given Daniel Marjamäki 2009-02-25 19:20:23 +0000
  • dac1e91013 unused private function: Handle 'embedded' function implementations better Daniel Marjamäki 2009-02-25 18:03:17 +0000
  • 4849aaa7ee checkclass: refactoring Daniel Marjamäki 2009-02-24 17:50:51 +0000
  • 66c13c7173 reverted [1282] because some changes were committed by mistake Daniel Marjamäki 2009-02-24 17:49:43 +0000
  • 8c3e3faa07 checkclass: refactoring Daniel Marjamäki 2009-02-24 17:48:11 +0000
  • 159332fde4 sizeof fix. classes and structs are always given the size 100. This removes false positives about mismatching size Daniel Marjamäki 2009-02-24 16:30:57 +0000
  • 1e3047b9c2 simplify tokens: simplify known variable value handles ++ and -- better Daniel Marjamäki 2009-02-24 16:11:37 +0000
  • d15aea1b0c memory leak: fixed false positive when using 'return strcpy' Daniel Marjamäki 2009-02-24 06:23:21 +0000
  • 44a5cecd99 memory leaks: improved handling of --vcl Daniel Marjamäki 2009-02-23 19:32:54 +0000
  • a7b0c30884 Change -w to -j to make it similar with make and scons. Reijo Tomperi 2009-02-22 18:38:10 +0000
  • c50493e940 Windows RC file is ANSI file, storing as UTF-8 messes it up. Kimmo Varis 2009-02-22 14:55:29 +0000
  • 033a82d3f2 Members of ErrorLogger::ErrorMessage made public for better access to them. Reijo Tomperi 2009-02-22 11:29:33 +0000
  • a64f1d6175 CppCheck::addFile() accepts paths also now. Reijo Tomperi 2009-02-22 11:17:17 +0000
  • 40e37f19e3 codeblocks: Updated the project file with the new security check Daniel Marjamäki 2009-02-21 13:48:21 +0000
  • d8927e720d constructors: don't warn about missing constructor if class only has static variable members Daniel Marjamäki 2009-02-21 13:35:55 +0000
  • 08f76279ed buffer overrun: catch cases when using cin to read to a char array Daniel Marjamäki 2009-02-21 12:22:04 +0000
  • 5269e38ae2 security: renamed classes Daniel Marjamäki 2009-02-21 12:12:31 +0000
  • b826d2e41b security: Renamed files Daniel Marjamäki 2009-02-21 12:07:19 +0000
  • a9009ebf7d TestClass: Added test for uninitialized "mutable int i" Daniel Marjamäki 2009-02-21 08:24:57 +0000
  • 9b8571466c Visual C++: Updated the project file to include the thread execution Daniel Marjamäki 2009-02-21 08:00:51 +0000
  • ed86d924df buffer overrun: dangerous usage of strncpy+strncat Daniel Marjamäki 2009-02-20 21:16:07 +0000
  • 15e86db3ed buffer overrun: Added checking of strncat Daniel Marjamäki 2009-02-20 21:00:59 +0000
  • 0e1ef1f45f added todo testcases for strncat checking Daniel Marjamäki 2009-02-20 20:00:49 +0000
  • 7f94091b9f g++: fixed compiler errors Daniel Marjamäki 2009-02-20 19:53:14 +0000
  • 61587c42ae Fix ticket #113 (Add support for multi core CPUs and -w parameter to specifify amount of worker threads) Reijo Tomperi 2009-02-20 19:40:42 +0000
  • 439b8c4051 simplify known variables: variable used as array index Daniel Marjamäki 2009-02-20 17:27:57 +0000
  • 385be6d0d9 memory leak: Added command line flag '--vcl' that is used to suppress error messages for VCL code Daniel Marjamäki 2009-02-20 06:28:18 +0000
  • 4fc774deda Multicore cpu support for Linux (currently disabled and compiling produces warnings) "no errors" output removed. Reijo Tomperi 2009-02-19 22:21:18 +0000
  • efeaac736d security: added simple gui checking Daniel Marjamäki 2009-02-19 17:57:27 +0000
  • 4e1f19a366 input validation: added checking Daniel Marjamäki 2009-02-19 08:03:14 +0000
  • a844fa017e fixed failed tests Daniel Marjamäki 2009-02-18 20:04:34 +0000
  • 19c8473294 reverted [1254] it was made by mistake Daniel Marjamäki 2009-02-18 20:01:44 +0000
  • dc2ecb8980 stl push_back: Added check (invalid iterator) Daniel Marjamäki 2009-02-18 19:58:50 +0000
  • 2b04c94b95 stl push_back: Added check (invalid iterator) Daniel Marjamäki 2009-02-18 19:57:43 +0000
  • f30d7db1e8 activated the Tokenizer::elseif functionality Daniel Marjamäki 2009-02-17 20:03:08 +0000
  • 1043b76d31 Added Tokenizer::elseif for breaking up 'else if' into 'else { if ..' Daniel Marjamäki 2009-02-17 19:18:26 +0000
  • 5b24319cf1 varid: Added a todo test case for giving function parameters varid Daniel Marjamäki 2009-02-16 20:46:24 +0000
  • 4aef89c311 tokenizer: fixed issues related to variable ids * use setVarId in simplifyTokenList * make sure function parameters and variables declared in for example for loops get variable ids Daniel Marjamäki 2009-02-16 17:41:33 +0000
  • ba28c07f9d astyle fix Reijo Tomperi 2009-02-15 18:47:24 +0000
  • b1982b2041 tokenizer: improved the simplification of '*(var+num)' => 'var[num]' Daniel Marjamäki 2009-02-15 14:02:57 +0000
  • 56d685c179 tokenizer: Remove redundant parantheses around number. Ticket: #105 Daniel Marjamäki 2009-02-15 13:28:54 +0000
  • 265ef0f4a5 Tokenizer: Fixed bug in tokenizer that removed '\' from preprocessor lines Daniel Marjamäki 2009-02-15 11:42:04 +0000
  • cc63506b03 FileLister: handle '\\' path separator the same way '/' is handled Daniel Marjamäki 2009-02-15 11:26:00 +0000
  • 6b52ee03cf filelister: use '\\' instead of '/' in windows paths Daniel Marjamäki 2009-02-15 07:58:34 +0000
  • 45c30f0c87 Code comments updated Reijo Tomperi 2009-02-14 22:03:55 +0000
  • 7ef9e870cd Code comments updated Reijo Tomperi 2009-02-14 22:00:19 +0000
  • 669913568c Added test case TestTokenizer::sizeof5 Reijo Tomperi 2009-02-14 21:49:36 +0000
  • 1e07847ecf Constant variable converting converted struct members (foo.a => foo.45) also, fixed that. Reijo Tomperi 2009-02-14 21:33:28 +0000
  • fba8c54758 Fix ticket #107 (Convert + + into + and + - into -) and add test case for it Reijo Tomperi 2009-02-14 20:56:08 +0000
  • 413bf32cf2 Fixed typos in test case and enabled it. Reijo Tomperi 2009-02-14 18:44:50 +0000
  • 997cb071b7 astyle fix Reijo Tomperi 2009-02-14 18:40:04 +0000
  • 4a1488b1a9 tokenizer: tokenize '++', '--' and '>>' correctly Daniel Marjamäki 2009-02-14 10:13:50 +0000
  • d1e9efc66a Fix ticket #104 (Change (error) Uninitialized member variable -> (style) Member variable not initialized in the constructor) Reijo Tomperi 2009-02-14 08:52:03 +0000
  • 6282b5dee8 debug output: commented out the code for writing token listing Daniel Marjamäki 2009-02-14 08:49:20 +0000
  • 5c1995ca81 memory leak: handle 'delete (p)' and 'delete [] (p)'. Fixes ticket 102 Daniel Marjamäki 2009-02-14 06:54:23 +0000
  • 17fbab018c simplify known value: insert known variable value into calculations Daniel Marjamäki 2009-02-14 06:11:37 +0000
  • 881460f71b simplify tokens: added todo test case, the varid is lost when simplifying variable declarations Daniel Marjamäki 2009-02-13 17:25:23 +0000
  • 3b194ff851 simplify token list: Added a TODO test case. variable id is lost Daniel Marjamäki 2009-02-13 16:23:02 +0000
  • de80baeea1 Preprocessor: support for ##-comma-eating in variadic macros; passing now fmt2 test. Leandro Penz 2009-02-13 13:34:24 +0000
  • 127a910516 Tokenizer: fixed ## tokenization. Leandro Penz 2009-02-13 13:33:12 +0000
  • d511863b57 Preprocessor: initial variadic macro support; passing now on fmt1 case. Leandro Penz 2009-02-13 13:31:40 +0000
  • 8485e95341 Token::stringifyList: Added function that stringifies a token list Daniel Marjamäki 2009-02-13 06:25:29 +0000
  • 916090b389 Improved test case "double_plus" Reijo Tomperi 2009-02-12 20:49:05 +0000
  • 030b35c975 Added test case double_plus and improved Token::printOut Reijo Tomperi 2009-02-12 20:32:59 +0000
  • 5d3574bb03 Fix ticket #100 (Simplify constants simplifies leaks out from variable scope and simplifies whole file) Reijo Tomperi 2009-02-12 19:26:42 +0000
  • 4f121daca4 buffer overruns: added simple support for initialized array Daniel Marjamäki 2009-02-12 19:11:52 +0000