Commit Graph

2759 Commits

Author SHA1 Message Date
Daniel Marjamäki 599b04afbf Refactoring: Changed pointer to reference 2009-10-26 21:31:36 +01:00
Daniel Marjamäki 7c2c1445ed Restructuring: Doxyfile updated 2009-10-26 17:57:28 +01:00
Daniel Marjamäki cacfa694b0 Restructuring: Generate coverage report 2009-10-26 17:56:56 +01:00
Reijo Tomperi cf62e8ce64 codeblocks project file updated 2009-10-25 22:28:43 +02:00
Daniel Marjamäki fce0548725 Refactoring: Updated Makefile 2009-10-25 21:25:07 +01:00
Daniel Marjamäki 90e44bb3bb restructuring the folder structure 2009-10-25 21:20:42 +01:00
Reijo Tomperi 1ee28ba444 Refactoring: Make Cppcheck::version() static
Update codeblocks projectfile
2009-10-25 22:06:58 +02:00
Daniel Marjamäki d4f706e040 fixed qmake building with new folder structure 2009-10-25 19:29:10 +01:00
Reijo Tomperi 0581c4195f Fixed typo in man page 2009-10-25 15:54:13 +02:00
Daniel Marjamäki 09859c1019 refactoring the folder structure 2009-10-25 12:49:06 +01:00
Daniel Marjamäki 3ecb7ddf26 Makefile: Updated for the release 2009-10-25 08:48:06 +01:00
Daniel Marjamäki 7962c9461e Changelog: updated the Changelog 2009-10-25 08:45:24 +01:00
Daniel Marjamäki a6c363ff06 updated version to 1.38 2009-10-25 08:41:27 +01:00
Daniel Marjamäki 26a81e82cc Fixed #253 (MemoryLeakInClass: False positive when memory is released in function, which is called from destructor) 2009-10-24 15:07:14 +02:00
Daniel Marjamäki 39c9a2a4da don't report that the function WinMain is unused 2009-10-24 14:55:56 +02:00
Daniel Marjamäki 2c8a418c7e Memory leaks: Added and fixed testcase TestMemleakInClass::class13 2009-10-23 20:04:47 +02:00
Daniel Marjamäki 88070b044b Fixed #851 (Tokenizer: sizeof(*a) returns incorrect result) 2009-10-22 23:00:27 +02:00
Daniel Marjamäki 701d622ff0 Fixed #428 (Memory leak not detected with class) 2009-10-22 21:51:58 +02:00
Daniel b80a954f55 Fixed #844 (Tokenizer: Simplify 'sizeof *ptr' correctly) 2009-10-21 21:08:00 +02:00
Daniel eeb281daf6 Fixed #830 (id 'pushback' used twice) 2009-10-21 20:15:11 +02:00
Daniel bae5b565dd Removed toplevel qmake pro file that doesn't work 2009-10-21 20:04:12 +02:00
Daniel f49f22a0d3 removed geany project file 2009-10-21 19:06:03 +02:00
Reijo Tomperi 9d42194562 Fix #767 (Tokenizer: Known variable variable not simplified)
http://sourceforge.net/apps/trac/cppcheck/ticket/767
2009-10-20 23:58:46 +03:00
Daniel e5f13b4de2 Fixed #839 (False positive: possible null pointer dereference after new) 2009-10-20 20:57:38 +02:00
Reijo Tomperi 4f7df21851 Minor refactoring. 2009-10-20 00:55:20 +03:00
Reijo Tomperi 6fbf873d25 Improved countSprintfLength() to detect more errors with %d.
Fixed some errors from test cases.
Added more test cases.
2009-10-20 00:48:29 +03:00
Daniel Marjamäki a36c31628d Fixed by #828 (Exception Safety: No throwing in destructors) 2009-10-19 20:57:11 +02:00
Daniel Marjamäki 127c39e39b David Binderman: Remove dead variable 2009-10-19 17:40:16 +02:00
Daniel Marjamäki 857c95e7b5 Null pointers: Detect code where the assignment is conditional 2009-10-19 17:32:43 +02:00
Daniel Marjamäki 0e56e4cd37 STL: checking that containers are matching 2009-10-18 18:42:01 +02:00
Daniel Marjamäki 50e542c183 Fixed #827 (Tokenizer: sizeof is incorrectly simplified) 2009-10-18 18:06:32 +02:00
Daniel Marjamäki 58790eda82 Fixed #449 (false postive:: resource leak when using errno) 2009-10-18 13:17:05 +02:00
Reijo Tomperi aca743c9ed Fix #826 (False positive: sprintf with "f%s")
http://sourceforge.net/apps/trac/cppcheck/ticket/826
2009-10-18 13:58:48 +03:00
Reijo Tomperi 34fe032dbe Fix #825 (Error with id syntaxError not in list printed with --errorlist)
http://sourceforge.net/apps/trac/cppcheck/ticket/825
2009-10-18 00:11:48 +03:00
Reijo Tomperi 4e9f4d4abc Fix segmentation fault with --errorlist 2009-10-17 21:13:09 +03:00
Daniel Marjamäki cb76061118 unused struct member: bail out when casting 2009-10-17 19:31:14 +02:00
Daniel Marjamäki 2ec1b676ea Pointer Aliasing: Handle pointer aliasing through the Tokenizer::simplifyKnownVariables 2009-10-17 18:21:13 +02:00
Daniel Marjamäki 2e9f7755ee Unused struct members: bail out upon casting 2009-10-17 17:36:55 +02:00
Daniel Marjamäki fa14dcbf68 fixed compiler error when building gui 2009-10-17 11:34:17 +02:00
Daniel Marjamäki 48669e61a1 Fixed #824 (Exit code of cppcheck) 2009-10-17 08:19:37 +02:00
Daniel Marjamäki ffbf8e38ac stl: after vector::insert, iterators may become invalid 2009-10-15 21:29:56 +02:00
Daniel Marjamäki 01af70cc88 Fixed #823 (Buffer overrun with memcpy) 2009-10-15 19:36:48 +02:00
Daniel Marjamäki 2a034c10bf fixed doxygen warning messages 2009-10-15 18:52:29 +02:00
Daniel Marjamäki 91de8f399b Fixed #821 (Preprocessor: Wrong stringification in macros) 2009-10-14 20:40:17 +02:00
Daniel Marjamäki dd20f26c83 Fixed #820 (Borland C++: Compiler errors because of time_t) 2009-10-14 19:17:20 +02:00
Reijo Tomperi be90d34962 Buffer overrun errors behind function call should be possible errors. 2009-10-14 00:09:37 +03:00
Reijo Tomperi 3dc45903bc Move buffer overrun errors behind --all
Fix one possible error issue with arrayindexoutofbounds
Make sure that possible errors are not shown without --all
2009-10-13 23:33:41 +03:00
Reijo Tomperi a3a55547d8 Merge branch 'master' of git@github.com:danmar/cppcheck 2009-10-13 22:41:21 +03:00
Reijo Tomperi 4036dd5eff arrayIndexOutOfBounds check is now done without --all
Errors with buf[1] are still listed only with --all due to false positive risk in them.
2009-10-13 22:39:51 +03:00
Daniel Marjamäki a33b4744a3 stl: better checking for invalid iterator after push_back 2009-10-13 20:55:33 +02:00