Commit Graph

  • 8e4af409e7 refactoring: Added a function to the Check base class that allows easier error reporting Daniel Marjamäki 2009-03-20 19:52:18 +0100
  • ccfdbfca58 improved Token::tokAt to handle negative argument too Daniel Marjamäki 2009-03-20 18:50:11 +0100
  • 9f1c3cc535 refactoring the rest of the classes Daniel Marjamäki 2009-03-20 18:16:21 +0100
  • 21dff96e7b refactoring checkbufferoverrun Daniel Marjamäki 2009-03-20 17:35:53 +0100
  • 5914af4481 refactoring CheckClass Daniel Marjamäki 2009-03-20 17:30:24 +0100
  • e6e778e45f refactoring Daniel Marjamäki 2009-03-20 17:15:51 +0100
  • a1759a3574 Merge branch 'refactoring' Daniel Marjamäki 2009-03-19 21:20:24 +0100
  • 5565be0c74 refactoring: minor cleanup Daniel Marjamäki 2009-03-19 21:20:08 +0100
  • 33df121567 added and integrated checkautovariables that gscacco created Daniel Marjamäki 2009-03-19 20:55:50 +0100
  • d4fdfc0f5a astyle formatting Daniel Marjamäki 2009-03-19 20:53:23 +0100
  • dfe867fded added checkautovariables and integrated it into cppcheck Daniel Marjamäki 2009-03-19 20:52:18 +0100
  • 3fab99a5cb astyle formatting Daniel Marjamäki 2009-03-19 19:35:47 +0100
  • 75171cae08 refactoring: fixed the teststl so it is runnable again Daniel Marjamäki 2009-03-19 19:35:08 +0100
  • 16b6a7a605 refactoring: loop through all Check instances and execute the runChecks function Daniel Marjamäki 2009-03-19 19:24:13 +0100
  • 47d7ff983f refactoring: removed the changes to the error handling Daniel Marjamäki 2009-03-19 18:39:20 +0100
  • 09ff4fa35f Merge branch 'master' of git@github.com:danmar/cppcheck Daniel Marjamäki 2009-03-18 22:41:01 +0100
  • a573c62cd5 refactoring: first step - started with checkstl Daniel Marjamäki 2009-03-18 22:40:38 +0100
  • 2b199ffb9b Fix compilation on 64bit systems Nicolas Le Cam 2009-03-18 22:13:27 +0100
  • f37dd4f143 Fixed ticket 184 (Tokenizer - Simplification: Split up variable declarations) Daniel Marjamäki 2009-03-18 20:32:05 +0100
  • 2fb4c52728 Fixed tokenizer: "return - 2 ;" --> "return -2 ;" Reijo Tomperi 2009-03-18 20:48:06 +0200
  • ca055dc830 Fix ticket #191 (semicolon after #endif stop tokenizing of function) http://apps.sourceforge.net/trac/cppcheck/ticket/191 Reijo Tomperi 2009-03-18 01:10:26 +0200
  • 819953006c Astyle fix Reijo Tomperi 2009-03-17 22:00:27 +0200
  • 896abcb569 Fixed some memory leaks in test cases Reijo Tomperi 2009-03-17 21:59:40 +0200
  • 9c057c707b tokenize negative numbers into a single token Daniel Marjamäki 2009-03-17 20:50:06 +0100
  • 2a3535c04f Fix ticket #186 (runtime error when checking code that has a namespace) http://apps.sourceforge.net/trac/cppcheck/ticket/186 Reijo Tomperi 2009-03-17 20:16:15 +0200
  • 9fe8ae452a Refactoring the code for the templates handling Daniel Marjamäki 2009-03-17 18:55:28 +0100
  • 128215d692 Added test case for detecting false positive in the STL size handling Daniel Marjamäki 2009-03-17 18:54:50 +0100
  • b3dd9e699b --debug flag can be used to printout token list (for development purposes) Reijo Tomperi 2009-03-16 23:31:52 +0200
  • c413c8d4b3 Fix ticket #179 (preprocessor issues) http://apps.sourceforge.net/trac/cppcheck/ticket/179 Reijo Tomperi 2009-03-16 23:20:55 +0200
  • f9b481ae3a Ticket #184 (Tokenizer - Simplification: Split up variable declarations), added testcases Daniel Marjamäki 2009-03-16 19:03:23 +0100
  • 0cc7672673 Fixed Ticket #82 (detect buffer overrun; dynamic memory) Daniel Marjamäki 2009-03-16 18:11:09 +0100
  • 1c74978a92 test case stringify3 added Reijo Tomperi 2009-03-15 23:39:58 +0200
  • 21b687b301 Improved tokenizer to handle '#' better. Previously everything after # was combined into a single token, now # is considered more like an alphabet, with few exceptions, e.g. "##" tokens. Reijo Tomperi 2009-03-15 23:09:27 +0200
  • a6ad972aad Fix Ticket 180 (Templates: Expanding member functions that are not implemented inline) Daniel Marjamäki 2009-03-15 20:03:29 +0100
  • 9b06b22053 templates: replace constructor/destructor names when expanding template classes Daniel Marjamäki 2009-03-15 17:07:05 +0100
  • b26955b9f8 Test case stringify2() added. Reijo Tomperi 2009-03-15 16:05:23 +0200
  • ca7870af33 Fix ticket #177 (Tokenizer doesn't add braces around if-scope) http://apps.sourceforge.net/trac/cppcheck/ticket/177 Reijo Tomperi 2009-03-15 14:44:57 +0200
  • bb3316a45b Fix ticket #181 (#pragma causes wrong line numbers) http://apps.sourceforge.net/trac/cppcheck/ticket/181 Reijo Tomperi 2009-03-15 14:23:12 +0200
  • c385b3e045 Improve creation of link() for Token class. Tokenizer::simplifyTokenList() should now return code where Token::link() actually works. Reijo Tomperi 2009-03-15 01:39:45 +0200
  • 6eadbaae04 templates: better handling of templates with multiple type arguments Daniel Marjamäki 2009-03-14 21:26:32 +0100
  • 75d0e8687b Memory leak: handle allocation in deallocation list Daniel Marjamäki 2009-03-14 20:19:36 +0100
  • 02df14ec37 Memory leaks: Refactoring to use Tokenizer::FindClassFunction. Enabled test case, the memory leak is now detected Daniel Marjamäki 2009-03-14 18:21:37 +0100
  • 01c39daa13 Merge branch 'ref' Daniel Marjamäki 2009-03-13 22:39:47 +0100
  • 3b29125d65 added testcase for 'Tokenizer::FindClassFunction' Daniel Marjamäki 2009-03-13 22:38:42 +0100
  • daa911daeb refactoring: moved 'FindClassFunction' from CheckClass to Tokenizer Daniel Marjamäki 2009-03-13 22:28:44 +0100
  • 116e940214 Fixed ticket #169 (Add Token::link()) http://apps.sourceforge.net/trac/cppcheck/ticket/169 Reijo Tomperi 2009-03-13 23:25:56 +0200
  • 0a6a0ae46e TestMemleak: added two testcases for checking for leaks in classes Daniel Marjamäki 2009-03-13 19:52:01 +0100
  • 3c4704a00c Fix ticket #151 (Handling of namespaces) http://apps.sourceforge.net/trac/cppcheck/ticket/151 Reijo Tomperi 2009-03-13 01:07:05 +0200
  • 4c28882a12 expanding template classes Daniel Marjamäki 2009-03-12 22:17:42 +0100
  • f96e2deb1a uninitialized const pointer member variables Daniel Marjamäki 2009-03-12 21:33:10 +0100
  • 1514e65464 astyle style fixes Daniel Marjamäki 2009-03-11 19:14:45 +0100
  • 77cf2213fe templates: simplify template functions with 1 type argument Daniel Marjamäki 2009-03-11 18:50:24 +0100
  • 657495b825 astyle fix Reijo Tomperi 2009-03-11 00:49:16 +0200
  • eac29d151c made the Tokenizer::simplifyCasts more generic Daniel Marjamäki 2009-03-10 21:26:08 +0100
  • c7c13ce3c1 Fixed ticket 134 (memory leak not detected) caused by wrong checking if code is inside class function or not Daniel Marjamäki 2009-03-10 20:44:24 +0100
  • cd54a0ed3b Fixed ticket 147 (Invalid line number for error message) Daniel Marjamäki 2009-03-09 20:29:25 +0100
  • f39e117921 removed unused private function CheckSecurity::eraseCheckLoop Daniel Marjamäki 2009-03-09 20:09:06 +0100
  • f8cd34198b simplify casts Daniel Marjamäki 2009-03-09 19:47:21 +0100
  • 62874b54ef Merge branch 'master' of git@github.com:danmar/cppcheck Kimmo Varis 2009-03-09 20:04:03 +0200
  • 9698c6d96b Installer: update new executable (VS) build directory. Kimmo Varis 2009-03-09 20:03:22 +0200
  • ccfa7ce6ee Merge branch 'WinQt' of git@github.com:danmar/cppcheck into WinQt Vesa Pikki 2009-03-09 20:00:06 +0200
  • b3923b72ad Visual Studio: separate build and intermediate files directories. It is a lot cleaner to direct intermediate files to separate folders and only executables to the build folder. Kimmo Varis 2009-03-09 19:58:38 +0200
  • db0ec0502c Merge branch 'master' of git@github.com:danmar/cppcheck Vesa Pikki 2009-03-09 19:38:28 +0200
  • 3d6e3d38bb Applied a patch by Mike Frysinger Vesa Pikki 2009-03-09 19:35:43 +0200
  • 91c8a5f1f0 Build installer to Build directory in project root. Currently installer is build to subdirectory of the iss file which is not obvious place to find it. Also it is not good practice to build executables to source directories. Kimmo Varis 2009-03-09 19:21:22 +0200
  • ecc8d19c13 Set description for the installer file. This description is shown in the explorer. Kimmo Varis 2009-03-09 19:09:05 +0200
  • 8db0d2fc37 Set user wiki URL as application/support URL. The installer was setting Sf.net project page as an URL which might be confusing for the users. Better use the wiki page. Kimmo Varis 2009-03-09 19:03:19 +0200
  • eb7cb81e53 Set version number for the installer file. The installer file was missing a version number (was shown as 0.0.0.0) in the Windows Explorer. Set the installer file version number identical to product version number. Kimmo Varis 2009-03-09 18:45:22 +0200
  • 1c626c53c2 Added test case for #147 (Invalid line number for error message) http://apps.sourceforge.net/trac/cppcheck/ticket/147 macro_linenumbers() in test/testpreprocessor.cpp Reijo Tomperi 2009-03-08 22:28:12 +0200
  • de1a786a07 Fix ticket #148 (unable to compile with g++-3.3) http://apps.sourceforge.net/trac/cppcheck/ticket/148 1.30 Reijo Tomperi 2009-03-08 20:50:19 +0200
  • 8e32753ec1 Man page copyright year changed to 2009 Reijo Tomperi 2009-03-08 19:12:00 +0200
  • f60cfb1184 updated version to 1.30 in installation script Daniel Marjamäki 2009-03-08 16:26:29 +0100
  • ed0c971b1f updated version to 1.30 Daniel Marjamäki 2009-03-08 16:15:25 +0100
  • 765da17132 Astyle fix Reijo Tomperi 2009-03-08 09:49:04 +0200
  • 5be85d71a0 Fix ticket #145 (Line numbers are invalid if file is included inside #ifdef) http://apps.sourceforge.net/trac/cppcheck/ticket/145 Reijo Tomperi 2009-03-08 09:45:53 +0200
  • bc6e1a74d0 Windows Qt compilation fixes. FileLister::RecursiveAddFiles failed to compile in Windows when GUI was compiled. Since that method wasn't used in Qt build I ifdeffed it out. unknown 2009-03-07 18:53:50 +0200
  • 15fc47660c Improve man page Reijo Tomperi 2009-03-07 15:53:13 +0200
  • 6eabaec692 createrelease updated to use git instead of svn Daniel Marjamäki 2009-03-07 13:21:02 +0100
  • fe2aee131d Fix ticket #140 (New command line option --auto-dealloc), added documentation Daniel Marjamäki 2009-03-07 08:56:12 +0100
  • 017e10e10b Fix ticket #141 (changed the makefile), changing compiler is now easier in the makefile. http://apps.sourceforge.net/trac/cppcheck/ticket/141 Reijo Tomperi 2009-03-07 01:45:27 +0200
  • 1ab57390cf Fix ticket #137 (--version would be nice) and also do some cleanup for help texts http://apps.sourceforge.net/trac/cppcheck/ticket/137 Reijo Tomperi 2009-03-06 23:17:42 +0200
  • d725f0df58 Fix ticket #139 (Compilation error on building cppcheck version 1.29 with gcc-4.3.2 on Ubuntu 8.10) http://apps.sourceforge.net/trac/cppcheck/ticket/139 Reijo Tomperi 2009-03-06 22:46:32 +0200
  • cc8a6168e7 astyle formatting Daniel Marjamäki 2009-03-06 18:13:41 +0100
  • 113b3c1d21 auto-deallocated classes: added command line option for specifying .lst file (http://apps.sourceforge.net/trac/cppcheck/ticket/120) Daniel Marjamäki 2009-03-06 17:38:47 +0100
  • d7cd09cb6e added internal support for handling list of classes that are automaticly deallocated Daniel Marjamäki 2009-03-06 07:22:07 +0100
  • 28475b2986 Fix ticket #135 (Add option to control main() exit value) Reijo Tomperi 2009-03-06 02:03:31 +0200
  • 6fcb89f136 Fix segmentation fault that happens with invalid code. Reijo Tomperi 2009-03-05 23:22:00 +0200
  • 42a9eb9e53 Fix ticket #133 (Segmentation fault when static_cast is in for loop) Reijo Tomperi 2009-03-05 21:32:02 +0200
  • 0011d059e6 checkbufferoverrun: fixed bug - skip some checks when variable id is unknown (Ticket: 138) Daniel Marjamäki 2009-03-05 18:28:59 +0100
  • 4522bcd680 reverted accidental changes committed in [1330] Daniel Marjamäki 2009-03-04 17:10:28 +0000
  • 8b7a5dd494 fixed tokenizer problem when reading char constants Daniel Marjamäki 2009-03-04 17:02:45 +0000
  • 5c1d4f2703 simplify calculations better Daniel Marjamäki 2009-03-04 06:24:03 +0000
  • 547f120ee9 known variables: better handling of ++ and -- Daniel Marjamäki 2009-03-04 06:03:51 +0000
  • 832275bc37 Fix #132 (False positive returning memcpy()) Reijo Tomperi 2009-03-03 20:39:17 +0000
  • 69c23301db Fix ticket Add/Change #125 (the printout of the token list is wrong) Reijo Tomperi 2009-03-03 20:17:23 +0000
  • 054518f002 Refactoring: Combined printOut() and stringifyList() in Token class Reijo Tomperi 2009-03-03 19:45:58 +0000
  • ad844aa92a Use svn export to export sources without SVN folders. Kimmo Varis 2009-03-03 15:32:04 +0000
  • f8ddf7f2b2 Use variable for relase folder and version in release script. Kimmo Varis 2009-03-03 15:27:18 +0000
  • 37c889ab30 unused private function: better handling of initialization lists in constructors Daniel Marjamäki 2009-03-02 20:40:24 +0000
  • 71a79a4ce6 Removed some unnecessary debug prints. Vesa Pikki 2009-03-02 19:59:51 +0000