Robert Reif
48e6ea271a
start using symbol database array info for buffer overrun checks
2011-06-22 22:44:11 -04:00
Robert Reif
0c46f44e3d
add array information to symbol database
2011-06-22 22:41:11 -04:00
Robert Reif
dac826d0ac
use a more conventional technique for accessing ArrayInfo private variables
2011-06-22 20:35:58 -04:00
Robert Reif
f05ff9b4dc
run astyle
2011-06-22 20:30:41 -04:00
Kimmo Varis
88f31403d7
GUITESTS: Run only existing tests with the script.
...
Improve the runner script to run only tests whose binary file
exists. Tests with inexistant binary file are not counted into
test counts in the summary.
Add the MIT license header. I'm now maintaining this script in
external repository with MIT license. So I can use the script
in other projects too.
2011-06-22 23:58:25 +03:00
Kimmo Varis
d5157519a0
BENCHMARKS: Add simple benchmark.
2011-06-22 22:24:49 +03:00
Reijo Tomperi
b13bd7ad06
Fix #2843 , Astyle script does not recognize Astyle 2.02
...
http://sourceforge.net/apps/trac/cppcheck/ticket/2843
2011-06-22 21:41:14 +03:00
Reijo Tomperi
8b8ea6fcbf
Add some comments to runastyle script
2011-06-22 14:20:36 +03:00
Reijo Tomperi
5a72bed064
Fix #2847 , cppcheck hangs with 100% cpu load
...
http://sourceforge.net/apps/trac/cppcheck/ticket/2847
2011-06-22 14:09:42 +03:00
Daniel Marjamäki
e4f6d4c987
Fixed #2808 (False positive 'Possible null pointer dereference')
2011-06-21 18:45:30 +02:00
Daniel Marjamäki
be27b35fc4
createrelease: updated upload command
2011-06-21 17:46:16 +02:00
Kimmo Varis
ea6f6bb1aa
GUITESTS: Print summary from the test script.
2011-06-21 15:38:18 +03:00
Kimmo Varis
0cd8282b2e
GUITESTS: Add Python script for running all tests.
2011-06-21 15:38:18 +03:00
Robert Reif
db39f4364e
fix #2845 (segmentation fault of cppcheck)
2011-06-21 07:31:55 -04:00
seb777
f1782799cb
run astyle
2011-06-20 23:06:18 +02:00
seb777
172903cde4
fix 2846 (false positive for auto_ptr check with container element)
2011-06-20 23:02:05 +02:00
Daniel Marjamäki
47a15b6486
Fixed #2830 (false positive: resource leak when using fdopen)
2011-06-20 18:42:13 +02:00
Robert Reif
d80a55267c
fix #2844 fix to generate correct output
2011-06-19 20:19:16 -04:00
Robert Reif
0bd26a73c4
fix #2844 (typedef causes 'syntax error')
2011-06-19 17:57:01 -04:00
Felix Geyer
e49763b14f
Ticket: #2823 (cppcheck fails to build with system tinymxl and -Wl,--as-needed)
2011-06-19 20:56:12 +03:00
Kimmo Varis
82f436c367
GUITESTS: Add short mention of tests to gui readme.
2011-06-18 13:11:05 +03:00
Kimmo Varis
6bae7b0f0f
GUITESTS: Add FileList filtering tests.
2011-06-18 12:54:48 +03:00
Kimmo Varis
a6c35cb828
Fix tools/Makefile permissions.
2011-06-18 11:08:40 +03:00
Daniel Marjamäki
033cde9ca5
createrelease: added scp command for uploading files
2011-06-18 08:35:47 +02:00
seb777
20de3f90ef
fix 2838 (Token::Match called with varid 0 on auto_ptr check) cleanup code and better check varid
2011-06-17 21:09:27 +02:00
Kimmo Varis
8b70046a42
GUITESTS: Add tests for adding directory.
2011-06-17 14:54:04 +03:00
Kimmo Varis
d5652ee3cc
GUITESTS: Move testdata to data-subdirectory.
2011-06-17 13:56:32 +03:00
Kimmo Varis
82e8e1a737
GUITESTS: Add simple test for FileList.
...
These tests check that FileList only accepts existing files with
accepted filename extensions.
2011-06-17 13:46:40 +03:00
Kimmo Varis
5ec241ee0e
GUITESTS: Few compares in tests were wrong way around.
2011-06-17 13:18:42 +03:00
seb777
5b940c0c7f
fix #747 and #748 (incorrect use of auto_ptr - new check)
2011-06-16 20:26:00 +02:00
Kimmo Varis
3508a79cd6
GUI: Cleanup settings usage.
...
Use local QSettings instead of the one created by MainWindow.
2011-06-16 16:03:25 +03:00
Kimmo Varis
b66b8a31cc
GUITESTS: Add tests for loading project files.
2011-06-16 14:24:33 +03:00
Kimmo Varis
08ab764f63
GUITESTS: More flexible test data paths.
...
Use build-time define to set the path to the source files
directory. Which then can be used to format path to the test
data. This allows running tests from out-of-source-tree -builds
that e.g. QtCreator does.
2011-06-16 13:05:00 +03:00
Kimmo Varis
7ae2536784
GUI: Update translation files.
2011-06-15 11:32:08 +03:00
Kimmo Varis
3d3b818e66
GUI: Add Q_OBJECT to TxtReport class.
2011-06-15 11:28:47 +03:00
Robert Reif
eaf836b323
fix extra qualification check for same class name in different namespaces
2011-06-14 15:31:52 -04:00
Lauri Nurmi
be57aa5ad5
Fixed #2836 ([PATCH] FP: Dereferenced iterator has been erased)
2011-06-14 07:26:59 +02:00
Daniel Marjamäki
f04f060e71
Makefile: Set debug mode
2011-06-12 18:37:01 +02:00
Daniel Marjamäki
301429d151
1.49: Updated Makefile for release
2011-06-12 18:28:04 +02:00
Daniel Marjamäki
dbe3147b20
1.49: Updated the changelog
2011-06-12 18:26:15 +02:00
Daniel Marjamäki
a8cb7b445f
1.49: updated version
2011-06-12 18:24:31 +02:00
Robert Reif
e584b08066
fix #2835 (crash of cppcheck ( ><,f<i, ))
2011-06-12 12:09:52 -04:00
Robert Reif
729ee72a5a
fix #2831 (crash of cppcheck ( z<y<x> ))
2011-06-12 08:38:15 -04:00
Robert Reif
d1b260699a
fix #2834 (crash of cppcheck (std::vector<int>::iterator))
2011-06-12 08:24:49 -04:00
Robert Reif
5e3263235b
fix #2739 (segmentation fault of cppcheck ( if()x ))
2011-06-11 15:51:12 -04:00
seb777
6c725a685c
With the agreement of Daniel Marjamäki, I write my name in this AUTHORS file.
...
If you also want to have your name in this file, contribute to cppcheck.
2011-06-11 00:03:55 +02:00
Robert Reif
3d4eb0d77e
fix #2682 (segmentation fault of cppcheck ( x a[0] = ))
2011-06-10 15:11:45 -04:00
Kimmo Varis
ebd5a123ce
GUITESTS: Fix XML V1 test.
...
Test was using and assuming that severity string starts with
capital letter (e.g. "Style"). But the strings are all lowercase
letters.
Ticket #2832 (GUI: XML version 1 test fails)
2011-06-10 15:16:44 +03:00
Kimmo Varis
8cff768d99
GUITESTS: Use common build artifact directory.
...
Using common build artifacts (object files, moc files) avoids
recompiling whole lib and other shared files separately for each
test.
2011-06-10 14:35:02 +03:00
Kimmo Varis
8e18c69ba8
GUITESTS: Run Astyle.
2011-06-10 14:22:52 +03:00