Commit Graph

3377 Commits

Author SHA1 Message Date
Kimmo Varis 27d06855b4 Remove Win32 implementation from common file. 2010-03-11 21:58:59 +02:00
Kimmo Varis d1bbcf1734 Implement Win32 FileLister as separate class.
Improve the system used to have separate versions of code of FileLister for
Win32 and Linux. New idea is to have Base FileLister class implementing
common code and then derived classes for Win32 and Linux specific code.

FileLister is not anymore a static class. Instead we use singleton of
derived class.
2010-03-11 21:58:59 +02:00
Daniel Marjamäki 4981cc5843 Fixed #1489 (Makefile creates debug version) 2010-03-10 17:20:34 +01:00
Daniel Marjamäki 587081cab5 Fixed #1488 (Invalid warning about shadowed variable) 2010-03-10 16:47:39 +01:00
Robert Reif 09ab841789 Fixed #1486 (--errorlist shows two identical id values) 2010-03-10 07:47:01 +01:00
Daniel Marjamäki 525a027b77 Merge branch 'master' of git@github.com:danmar/cppcheck 2010-03-09 19:48:33 +01:00
Kimmo Varis 93f387cfff Installer: remove bitmap from wrong directory. 2010-03-09 20:26:16 +02:00
Daniel Marjamäki 6fa3531e0f Merge branch 'master' of git@github.com:danmar/cppcheck 2010-03-09 19:25:39 +01:00
Kimmo Varis ba7655ef07 Installer: add custom dialog background. 2010-03-09 20:25:29 +02:00
Kimmo Varis cbb6033416 Merge branch 'master' of github.com:danmar/cppcheck 2010-03-09 20:23:21 +02:00
Kimmo Varis 4dd117db49 Installer: Add custom banner with Cppcheck icon. 2010-03-09 20:22:28 +02:00
Daniel Marjamäki f530207180 Changelog: Updated 2010-03-09 19:07:10 +01:00
Daniel Marjamäki 0f43ce4743 updated version to 1.42 2010-03-09 19:05:28 +01:00
Kimmo Varis 318d831f88 Installer: Add custom banner with Cppcheck icon. 2010-03-09 17:37:39 +02:00
Kimmo Varis 05bd91b9fc Merge branch 'master' of github.com:danmar/cppcheck into wix 2010-03-09 16:58:25 +02:00
Daniel Marjamäki 04ff061bbb astyle formatting 2010-03-09 12:41:40 +01:00
Daniel Marjamäki 5d68952bd2 checkbufferoverrun: Refactorings 2010-03-09 12:04:22 +01:00
Daniel Marjamäki 2c210b8ff9 dmake,qmake: temporarily removed -Wsign-conversion 2010-03-09 11:10:34 +01:00
Daniel Marjamäki 0597026f13 Revert "checkbufferoverrun: Fixed signedness compiler warnings"
This reverts commit 3123de346c.

This commit caused failed tests
2010-03-09 11:03:45 +01:00
Daniel Marjamäki 3123de346c checkbufferoverrun: Fixed signedness compiler warnings 2010-03-09 10:56:31 +01:00
Daniel Marjamäki ae8059dea9 createrelease: set release mode for Makefile 2010-03-09 10:41:36 +01:00
Daniel Marjamäki 0158c7aa55 Makefile: updated by latest dmake 2010-03-09 08:30:18 +01:00
Daniel Marjamäki 2ba3f59fc8 dmake, qmake: more sensitive compiler and runtime 2010-03-09 08:24:52 +01:00
Daniel Marjamäki cffe20a440 dmake: debug/release mode, more gcc warnings 2010-03-09 08:10:05 +01:00
Daniel Marjamäki dbc235bd39 Function constness: I don't think it's necessary to show both definition and implementation location. I changed so only the location of the definition is shown. This fixes #1486. 2010-03-09 07:29:03 +01:00
Reijo Tomperi a0d6da506b Fix #1485 (cppcheck.exe 1.41 crashes when calling with option --errorlist)
http://sourceforge.net/apps/trac/cppcheck/ticket/1485
2010-03-08 22:40:50 +02:00
Kimmo Varis ae2c9e806f Installer: Put installer to Build folder and temp files to BuildTmp. 2010-03-08 20:44:34 +02:00
Kimmo Varis bf2b77295f Installer: remove unused file. 2010-03-08 20:19:12 +02:00
Reijo Tomperi 525ed61831 Robert Reif added to AUTHORS file 2010-03-07 22:32:09 +02:00
Kimmo Varis a95246431d Fix filepaths in release script. 2010-03-07 21:41:04 +02:00
Daniel Marjamäki cf4e8d7bf9 1.41: Updated version in 'createrelease' script 2010-03-07 16:32:40 +01:00
Daniel Marjamäki 071aefbb58 1.41: Set version in files 2010-03-07 16:25:37 +01:00
Daniel Marjamäki 770d2ff835 Simplify enum: Fixed segmentation fault if code ends with enum type id 2010-03-07 13:01:56 +01:00
Daniel Marjamäki fa493b7fd1 Fixed #1474 (segmentation fault of cppcheck) 2010-03-07 12:50:45 +01:00
Daniel Marjamäki 7f42ed3ad0 Fixed #1472 (false positive: Data is allocated but not initialized: service) 2010-03-07 09:08:52 +01:00
Reijo Tomperi b88126a669 Fix #1469 (False positive: Resource leak when fclose() is inside while)
http://sourceforge.net/apps/trac/cppcheck/ticket/1469
2010-03-06 16:28:52 +02:00
Daniel Marjamäki fe30c1ca9d Fixed #1432 (false positive: uninitialized variable) 2010-03-06 13:48:43 +01:00
Reijo Tomperi 237fdbc653 Fix #1454 (False positive: arrayindexoutofbounds, static member sharing local name)
http://sourceforge.net/apps/trac/cppcheck/ticket/1454
2010-03-06 14:35:04 +02:00
Robert Reif 7c283d1321 Fixed #1321 (Improve check const-function: function that is not implemented inline can be made const) 2010-03-05 17:06:25 +01:00
Kimmo Varis 5b2c6129df Add VS project file for building dmake. 2010-03-04 21:09:37 +02:00
Daniel Marjamäki 4bb5272760 Fixed #1466 (false positive: Invalid number of character ({) when these macros are defined: '') 2010-03-04 18:51:25 +01:00
Daniel Marjamäki d643bbe864 simplify templates: show debug message when bailout out 2010-03-04 18:20:08 +01:00
Daniel Marjamäki b55a7f2815 SimplifyTemplates: some simple refactoring so template name is properly seen. If it's not properly handled then bailout. Related with #1464 2010-03-04 17:34:14 +01:00
Reijo Tomperi d881fd7a31 Partial fix #1464 (takes too long (days) to process some files)
Fix template functions that return "&T".
http://sourceforge.net/apps/trac/cppcheck/ticket/1464
2010-03-03 23:02:32 +02:00
Daniel Marjamäki e207da18a2 STL: don't warn about the suspicious string::find condition because it's not always a bug 2010-03-03 17:11:31 +01:00
Reijo Tomperi 75c0ed7e6e Add simple debug print to make it possible to detect cases where template simplification goes wrong.
http://sourceforge.net/apps/trac/cppcheck/ticket/1464
2010-03-02 23:55:05 +02:00
Daniel Marjamäki e064208f54 Preprocessor: Removed unused function renameMacroVariables 2010-02-28 16:10:21 +01:00
Kimmo Varis e68c1aec21 Apply patch #1408 (gui build fails with Qt-4.4.3: QLocale)
Add missing QLocale include. Patch by barsnick.
2010-02-28 13:03:34 +02:00
Daniel Marjamäki 9b1e6c80ed STL: refactorings 2010-02-28 08:03:22 +01:00
Daniel Marjamäki 248b6aa159 cleanup: removed unused variables 2010-02-28 07:38:07 +01:00