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
Kimmo Varis
faa1354445
GUI: Handle missing checked paths in project file.
...
If the project file does not define paths to check then check the
project root directory (which likely is the directory where the
project file is located).
Ticket #2816 (GUI regression: Interrupted checking because of too many #ifdef configurations.)
2011-06-07 14:29:59 +03:00
Robert Reif
5a27552669
make usre we have a project file before outputting its name
2011-06-06 18:30:44 -04:00
Robert Reif
6a7e4c838f
Output GUI project name when checking starts or restarts
2011-06-04 08:38:51 -04:00
Robert Reif
e9bc72b4f2
todo tests for #2812 (false negative: null pointer dereference when returning struct member)
2011-06-03 22:16:08 -04:00
Robert Reif
0f6da27b9f
fix #2795 (hash operator[] is not 'const') (original patch by Sebastien Debrard) (modified to use the symbol database)
2011-06-03 22:00:27 -04:00
Robert Reif
a7fe9a3b50
fix 2 use after frees in simplifyEnum found by visual studio and verified by valgrind
2011-06-03 21:50:08 -04:00
Daniel Marjamäki
1b4b4ee43e
Fixed #2806 (False positive with g_strstrip())
2011-05-29 17:44:10 +02:00
seb777
e06b2419a4
fix #2786 (new check: Using sizeof with numeric constant)
...
Add unit test and improve check with negative constant because in cppcheck %num%
means 'integer'
2011-05-28 16:40:01 +08:00
Robert Reif
a99aded1a4
add support for null pointer checking struct pointers
2011-05-27 23:30:19 -04:00
Robert Reif
311651cc66
fix #2804 (Underlying type of enumerator produces a syntax error)
2011-05-27 11:17:39 -04:00
Robert Reif
42316f3e0b
fix #2792 (false positive: Member variable 'class::m_val' is not assigned a value in 'class::operator=')
2011-05-24 20:25:34 -04:00
seb777
287840e6bc
fix #2786
2011-05-25 01:45:58 +08:00
Daniel Marjamäki
1c841535ee
Fixed #2798 (False positive: Invalid iterator check doesn't respect code paths)
2011-05-22 17:17:24 +02:00
Greg Hewgill
4cc13f497d
Allow suppression of the 'cppcheckError' error reported by the threaded CLI executor.
...
This is related to commit 5bbf39d094
.
2011-05-22 20:47:55 +12:00
Daniel Marjamäki
52499ca8f8
Fixed #2790 (Incorrect allocation mismatch error)
2011-05-19 19:41:18 +02:00
Stefan Weil
21a2a91b3c
executionpath: fix memory leak
2011-05-19 19:31:51 +02:00
Daniel Marjamäki
c971fa0d4b
cmake: cleanup unmaintained cmake files
2011-05-19 17:16:04 +02:00
Daniel Marjamäki
ab1b293f23
Fixed #2737 ((error) Analysis failed. If the code is valid then please report this failure.)
2011-05-19 17:04:36 +02:00
WenChung Chiu
1ea52cfa02
Fixed #2784 (Pointer issue: *&f=open())
2011-05-18 07:25:30 +02:00
Daniel Marjamäki
b6dcdd7b79
Preprocessor: Don't report that there are missing system includes unless --debug-warnings has been given.
2011-05-15 09:38:13 +02:00
Kimmo Varis
056476d28a
GUI: Simplify settings usage in Log window.
2011-05-13 10:38:54 +03:00
Kimmo Varis
1002d2e785
GUI: Simplify settings handling in Preferences dialog.
2011-05-13 10:25:52 +03:00
Kimmo Varis
214a94e1b7
GUI: Make Project-dialog to remember its size.
2011-05-13 10:12:19 +03:00
Kimmo Varis
010403699a
GUI: Initialize Settings in main.
...
Setting organization and program name in main() allows us to
cleanup Settings class usage. As we don't need to keep using the
one instance of Settings but can create new Settings class
whenever we need to access settings. According to the Qt
documentation creating Settings class is fast.
2011-05-13 10:09:17 +03:00
Kimmo Varis
31e85f4097
GUI: Show main tab in project file dialog by default.
2011-05-13 09:28:00 +03:00