firewave
|
e3e2ee35aa
|
Disabled link time code generation for debug builds. Enabled .pdb generation for release builds.
|
2010-04-14 12:01:45 +02:00 |
Reijo Tomperi
|
e1fe238f06
|
Add simple --showtime test case
|
2010-04-13 23:52:19 +03:00 |
Reijo Tomperi
|
9c5e907b5c
|
Fix compiler warning: cast truncates constant value
|
2010-04-13 23:39:41 +03:00 |
firewave
|
4a5463d533
|
Merge branch 'master' of github.com:danmar/cppcheck
|
2010-04-13 22:24:12 +02:00 |
firewave
|
efd18e3d42
|
More cleanups to the Visual Studio projects. All options are now in line. Also enabled some default options like intrinsic functions, buffer checks and lick time code generation.
|
2010-04-13 22:22:44 +02:00 |
Reijo Tomperi
|
0912836c25
|
Fix: sizeof(char*) was not simplified correctly
|
2010-04-13 23:17:27 +03:00 |
Reijo Tomperi
|
4a33b226e6
|
Fix #1599 (false positive on if( (f = fopen("foo", "r")) == ((FILE*)NULL) ))
http://sourceforge.net/apps/trac/cppcheck/ticket/1599
|
2010-04-13 22:57:52 +03:00 |
Daniel Marjamäki
|
4f0f980272
|
readme: minor cleanup. we don't need to mention the '--all' flag anymore.
|
2010-04-13 21:55:16 +02:00 |
firewave
|
bffc097ab3
|
Moved shared files to seperate lib project
|
2010-04-13 21:40:00 +02:00 |
firewave
|
2271425dae
|
- cleaned up .vcproj files a bit
- raised the warning level in test.vcproj to 4 to match cppcheck.vcproj.
|
2010-04-13 21:33:08 +02:00 |
Reijo Tomperi
|
35d2a27b9c
|
Update copyright year in all source files
|
2010-04-13 22:23:17 +03:00 |
Reijo Tomperi
|
30ba3d1aee
|
Change some files to UTF-8
|
2010-04-13 21:57:41 +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
|
8373a6d4cb
|
astyle formatting
|
2010-04-13 19:30:51 +02:00 |
Zachary Blair
|
bd7dc9946e
|
Fixed #1530 (possible new check: strlen return value versus zero.)
|
2010-04-13 19:30:25 +02:00 |
Daniel Marjamäki
|
a7903c3385
|
dos2unix
|
2010-04-13 19:25:08 +02:00 |
firewave
|
8966888a92
|
Fixed some VS2008 warnings
|
2010-04-13 11:31:27 +02:00 |
firewave
|
ba864724cc
|
Removed some duplicated .cpp files from "Header Files" in Visual Studio project file
|
2010-04-13 11:29:50 +02:00 |
firewave
|
fef5ee81eb
|
Added test cases for more command-line options
|
2010-04-13 11:26:45 +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 |
Daniel Marjamäki
|
38a3fe37f9
|
Revert "Optimization: Made Tokenizer::setVarId a bit faster by temporarily assigning 'string id'. This means less string comparisons are needed."
This reverts commit 4b8080e425 .
|
2010-04-12 21:17:31 +02:00 |
Daniel Marjamäki
|
05eb894b82
|
Unit Testing: Better unit testing of Tokenizer::setVarId. Related to ticket #1592
|
2010-04-12 21:16:47 +02:00 |
Reijo Tomperi
|
d102369196
|
Fix #1590 (False negative: Array index out of bounds: "0 <= i")
http://sourceforge.net/apps/trac/cppcheck/ticket/1590
|
2010-04-12 22:04:59 +03:00 |
Oliver Stoeneberg
|
cd859a59f2
|
Fixed #1591 (Patch to increase --showtime resolution)
|
2010-04-12 19:41:02 +02:00 |
Robert Reif
|
67fafd4028
|
Fixed #1588 (typedef struct incorrectly simplified)
|
2010-04-12 19:05:31 +02:00 |
Reijo Tomperi
|
7f7e621ecb
|
More tests added to test/testbufferoverrun.cpp
|
2010-04-11 23:22:16 +03:00 |
Reijo Tomperi
|
cfc5f61e11
|
Merge branch 'master' of git@github.com:danmar/cppcheck
|
2010-04-11 22:56:31 +03: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
|
4b8080e425
|
Optimization: Made Tokenizer::setVarId a bit faster by temporarily assigning 'string id'. This means less string comparisons are needed.
|
2010-04-11 21:37:35 +02:00 |
Daniel Marjamäki
|
6f74c0af5e
|
Fixed #1587 (Crash while processing file)
|
2010-04-11 20:57:30 +02:00 |
Reijo Tomperi
|
b063783bc3
|
Add some unit tests for command line argument parsing
|
2010-04-11 15:25:30 +03:00 |
Reijo Tomperi
|
eb79e5f918
|
Enable -Wshadow in Makefile
|
2010-04-11 14:57:03 +03:00 |
Reijo Tomperi
|
d1f22d50e6
|
Fix last of the -Wshadow warnings.
|
2010-04-11 14:49:50 +03:00 |
Daniel Marjamäki
|
1f022e281f
|
Fixed SIGABRT in new checking
|
2010-04-10 21:28:49 +02:00 |
Daniel Marjamäki
|
5fed938f56
|
Fixed #1190 (array index out of bounds when index variable is assigned in a condition)
|
2010-04-10 21:12:00 +02:00 |
Daniel Marjamäki
|
e17cce6ac4
|
Unit Testing: Added an ASSERT
|
2010-04-10 18:54:12 +02:00 |
Daniel Marjamäki
|
15da4fe689
|
Refactoring: simplified test case
|
2010-04-10 18:50:28 +02:00 |
Daniel Marjamäki
|
d7db82293e
|
gui: removed options for possible error/style
|
2010-04-10 15:32:22 +02: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
|
af49d4ba87
|
manual: removed information about possible errors. The inconclusive checks have been disabled. Removed section about --auto-dealloc.. this section is not relevant at the moment.
|
2010-04-10 15:00:01 +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 |
Daniel Marjamäki
|
e9b4ea44a2
|
Refactoring: Disable inconclusive checks. They can still be activated for debugging/testing purposes
|
2010-04-10 14:05:33 +02:00 |
Daniel Marjamäki
|
7763d25847
|
Fixed #1357 (problem in stl insert method of set template)
|
2010-04-10 10:22:34 +02:00 |
Zachary Blair
|
3152816619
|
Fixed #779 (Tokenizer: delete register keyword everywhere)
|
2010-04-10 09:58:09 +02:00 |
Daniel Marjamäki
|
21717e05cd
|
Refactoring: use more specific conditions instead of std::isupper. Only the A-Z are interesting. This also fixes compiler errors.
|
2010-04-10 09:46:50 +02:00 |
Daniel Marjamäki
|
b4e9185177
|
Fixed #1134 (improve check: pointer access out of bounds not detected (allocated with malloc))
|
2010-04-10 07:57:29 +02:00 |
Martin Ettl
|
3388daadc3
|
ticket 1253 added testcases and one todo
|
2010-04-09 23:36:32 +02:00 |
Reijo Tomperi
|
6dc3860ae9
|
Fix more -Wshadow compile warnings
|
2010-04-09 22:40:37 +03:00 |
Daniel Marjamäki
|
f77dbbb14b
|
Fixed some false positives for unused struct members
|
2010-04-09 19:55:41 +02:00 |