463 Commits

Author SHA1 Message Date
Kimmo Varis
5d1a10b0a3 Astyle cleanup. 2010-07-17 17:42:17 +03:00
Kimmo Varis
fa0f6edacf Rename ErrorMessage::toText() to ErrorMessage::toString(). 2010-07-14 18:31:05 +03:00
Daniel Marjamäki
94a8eba989 1.44: updated version information 2010-07-10 11:29:07 +02:00
Daniel Marjamäki
c34c3ee742 Unused functions: Refactoring 2010-07-08 13:01:53 +02:00
Daniel Marjamäki
09e02b9f9f updated --help output. The --enable is used to enable additional checks. 2010-06-02 21:34:03 +02:00
Daniel Marjamäki
8f76aea6ed 2 pass checking: broke out Cppcheck::analyseFile. To be used for tests 2010-05-21 21:06:11 +02:00
Daniel Marjamäki
75c9355e9a Added some multipass checking for the uninitialized variables. It is still experimental. You can activate it with the '--test-2-pass' switch. Some more refactorings are needed to make it truly usable, the main thing is to make it thread safe. 2010-05-21 19:35:18 +02:00
Daniel Marjamki
5fe2a56b41 doc: updated docs about -D command line flag 2010-05-16 08:48:03 +02:00
Daniel Marjamki
14b27f97fa Fixed #1212 (Allow giving used defines in command line) 2010-05-16 07:38:29 +02:00
Daniel Marjamki
d7b117402c Code cleanup: Removed autodealloc handling 2010-05-16 07:15:31 +02:00
Konrad Windszus
c39f80d361 Ticket #1318: Make sure error ids are unique 2010-05-13 22:14:29 +02:00
Daniel Marjamäki
cdb6915a5b cli help: show the flags in alphabetical order 2010-05-08 12:45:38 +02:00
Daniel Marjamäki
cbea8ceed0 Updated version to 1.43 2010-05-08 12:41:06 +02:00
Daniel Marjamäki
3bab5f6bd6 Borland C++: Fixed compiler errors 2010-04-17 07:25:53 +02:00
firewave
43dd749cc6 Fix #1585 (--append doesn't work with TAB formating) 2010-04-15 22:45:38 +02:00
Daniel Marjamäki
c718a7c595 astyle: Update to astyle 1.24 2010-04-15 20:08:51 +02:00
Reijo Tomperi
35d2a27b9c Update copyright year in all source files 2010-04-13 22:23:17 +03:00
Reijo Tomperi
a33e8f34c5 Disable "Overall time" output when --showtime is not used 2010-04-13 21:27:47 +03:00
Daniel Marjamäki
a7903c3385 dos2unix 2010-04-13 19:25:08 +02:00
firewave
89cdb088d6 More --showtime updates:
- removed "average"
- added number of results, average processing time and overall time to non-"file" output
2010-04-13 11:23:11 +02:00
Oliver Stoeneberg
f992ac7da7 showtime: refactoring and improving. Added summary/file/top5/average options. 2010-04-12 22:13:42 +02:00
Oliver Stoeneberg
cd859a59f2 Fixed #1591 (Patch to increase --showtime resolution) 2010-04-12 19:41:02 +02:00
Reijo Tomperi
9a4cbe0540 Changed CppCheck::parseFromArgs() to return boolean value and reportOut() in case of error.
It used to throw exception and return error message with the exception.
2010-04-11 22:53:21 +03:00
Daniel Marjamäki
96ba41b009 Cppcheck Help: Removed information about --auto-dealloc because it is not relevant at the moment. 2010-04-10 15:05:59 +02:00
Daniel Marjamäki
2d41e31cdd Cppcheck: Deprecated the command line options -a, --all and --enable=possibleError 2010-04-10 14:54:49 +02:00
Martin Ettl
f6a526c8c8 reduced -Wshadow warnings from gcc-4.4 2010-04-08 22:56:34 +02:00
Reijo Tomperi
6db663f6de Fix #1322 (Add cppcheckError and unusedFunction to --errorlist, give out internal errors in xml)
http://sourceforge.net/apps/trac/cppcheck/ticket/1322
2010-04-04 23:55:28 +03:00
Reijo Tomperi
be598757a1 Fix segmentation fault when calling with --errorlist and add a testcase for it. 2010-04-03 22:53:06 +03:00
Daniel Marjamäki
0cad22314e Reverted 'astyle fix'. Those changes are not in sync with my astyle configuration/setup. 2010-04-02 07:30:58 +02:00
Martin Ettl
193aa7d1d3 astyle fix 2010-04-02 02:21:53 +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
0f43ce4743 updated version to 1.42 2010-03-09 19:05:28 +01:00
Daniel Marjamäki
071aefbb58 1.41: Set version in files 2010-03-07 16:25:37 +01:00
Kimmo Varis
d064d38d35 Fix comment. 2010-02-26 13:21:27 +02:00
Daniel Marjamäki
ebf36c1150 Fixed #824 (Exit code of cppcheck) 2010-02-06 19:47:08 +01:00
Daniel Marjamäki
15b4abd6d3 killerbot: Fixed #1314 (specify the files to check in 1 input file) 2010-01-27 21:43:01 +01:00
Reijo Tomperi
7817d5b142 Fix #1279 (Change error message: Invalid number of character ({). Can't process file.)
http://sourceforge.net/apps/trac/cppcheck/ticket/1279
2010-01-23 23:18:11 +02:00
Daniel Marjamäki
53d036fadf Added Cppcheck::terminate function that will terminate the checking ASAP 2010-01-18 20:23:50 +01:00
Daniel Marjamäki
5595a17e41 Updated version to 1.40 2010-01-17 13:52:28 +01:00
Daniel Marjamäki
0a8ca1f160 Fixed #1271 (SIGSEGV on malformed source (macro stub + fundef)) 2010-01-16 13:56:57 +01:00
Daniel Marjamäki
f797794601 fixed cppcheck warning 2009-12-31 13:34:43 +01:00
Daniel Marjamäki
6fd74dce47 exitcode suppressions. Partly fixes #1113 2009-12-28 11:26:52 +01:00
Daniel Marjamäki
1a25e40180 Robert Reif: fix cppcheck post increment warning 2009-12-25 15:19:36 +01:00
Daniel Marjamäki
4419f4a342 Robert Reif: fix a style warning 2009-12-23 12:16:02 +01:00
Daniel Marjamäki
bbc63b6b5b twistedwave: Fixed #1055 (Support for inline suppressions) 2009-12-06 19:38:53 +01:00
Daniel Marjamäki
d94bc4c89f version 1.39 2009-12-06 13:34:51 +01:00
Daniel Marjamäki
42093911d6 updated help about --enable 2009-12-05 20:08:52 +01:00
Daniel Marjamäki
7f15fea735 Fixed #1043 (use cppcheck:.. syntax in error messages) 2009-12-05 08:08:28 +01:00
Daniel Marjamäki
84a6fe6b54 Fixed #1034 (change --enable to --enable=all) 2009-12-04 19:35:58 +01:00
Reijo Tomperi
f5c81429cb Refactoring: Parse --enable values in Settings class 2009-11-30 23:48:58 +02:00