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
Kimmo Varis
2e755fac84
Run Astyle recursively for gui/test.
...
GUI's tests are now in separate subdirectories. To avoid adding
each subdirectory to the Astyle scripts run Astyle recursively.
2011-06-10 14:22:18 +03:00
Kimmo Varis
63cf743ba1
GUITESTS: Remove unneeded main file.
2011-06-10 14:15:24 +03:00
Kimmo Varis
c51b66d0b1
GUITESTS: Move XML V2 tests to own project.
2011-06-10 14:13:41 +03:00
Kimmo Varis
1337abd9fe
GUITESTS: Move XML format V1 tests to own project.
2011-06-10 14:01:08 +03:00
Kimmo Varis
85aed65e80
GUITESTS: Fix XML files paths.
2011-06-10 13:20:17 +03:00
Kimmo Varis
edbb66cb20
GUITESTS: Refactoring XmlReport test.
2011-06-10 13:20:17 +03:00
Kimmo Varis
eb648eb3f7
GUITESTS: Fix translation count in test.
2011-06-10 13:20:17 +03:00
Kimmo Varis
6820fc6933
GUITESTS: Refactoring test building.
...
Start building each test as separate project as QtestLib tests
usually are built. This commit adds the infrastructure and moves
TranslationHandler test as own project.
2011-06-10 13:19:46 +03:00
Robert Reif
a9e2e15e40
improve #2828 fix by adding switch
2011-06-09 07:32:43 -04:00
Robert Reif
6635ed4630
fix #2828 (false positive: Function parameter 'STYLE' hides enumerator with same name)
2011-06-08 20:14:52 -04:00
Daniel Marjamäki
97d47fa20e
Fixed #2805 (false positive: [NotAssigned1.cpp:5]: (style) Variable 'y' is not assigned a value)
2011-06-08 19:54:01 +02:00
Kimmo Varis
24061e536b
GUI: Give full path when opening project file.
...
Fix I did yesterday gave only filename of the project file for
function loading project file. Causing the loading failing if
not in "current" directory.
2011-06-08 10:40:17 +03:00
Kimmo Varis
f12b27f360
GUI: More strict filtering for finding project file.
2011-06-07 23:56:48 +03:00
Kimmo Varis
8bfbf82bdc
GUI: Suggest using project file if one is found.
...
If we there is project file in the directory to check then ask
user if one wants to use the project file instead. If there are
multiple project files then just tell there are project files
and ask if user wants to continue without using them.
Ticket: #2816 (GUI regression: Interrupted checking because of too many #ifdef configurations.)
2011-06-07 16:12:21 +03:00