Kimmo Varis
387fd35ff3
GUITESTS: Improve the running script.
...
Don't use recursion in the script. The Python's os.walk() already
lists all files in subdirectories and using recursion only caused
tests to be found twice. Also handle the case the project file
defines binary path with DESTDIR define.
2011-06-23 23:02:49 +03:00
Daniel Marjamäki
40a14736b7
Added TODO test case for the simplifyKnownVariables to better simplify local variables
2011-06-23 17:03:14 +02:00
Daniel Marjamäki
2d1b7285d2
Fixed #2815 (FP: Null pointer dereference error about a member)
2011-06-23 16:58:01 +02:00
Tim Gerundt
07507a4e1d
Merge branch 'master' of https://github.com/danmar/cppcheck
2011-06-23 12:08:21 +02:00
Tim Gerundt
dcaf7be9b5
Web: Download only the chars we really need from Orbitron font - Dev info page too
2011-06-23 12:06:04 +02:00
Tim Gerundt
84121ea370
Web: Download only the chars we really need from Orbitron font
2011-06-23 11:10:42 +02:00
Tim Gerundt
af8c8393fe
Web: Update download to version 1.49
2011-06-23 11:05:06 +02:00
Robert Reif
a87fb388e3
use symbol database to lookup variable type for buffer overrun checks
2011-06-22 23:11:17 -04:00
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