Daniel Marjamäki
a6b6022497
Fixed #1851 (false positive: Member variable not initialized int ctor)
2010-07-14 18:50:29 +02:00
Kimmo Varis
d7f971c347
Add cppcheckexecutor.h to VS project.
2010-07-14 16:36:12 +03:00
Kimmo Varis
6c6ab0a78d
GUI: Sent ErrorItem with Error -signal.
...
This commit modifies and registers ErrorItem as proper metatype so it
can be used with Qt signals. Then sending Error-signals is refactored
so that ErrorItem instances are sent instead of several different
arguments that already contained couple of lists.
2010-07-14 14:24:46 +03:00
Daniel Marjamäki
bea714445a
Fixed #1850 (An access to a nested std::map via a negative integer key is reported as 'Array index out of bounds')
2010-07-14 12:24:07 +02:00
Daniel Marjamäki
233432a888
gcc: fixed compiler warning (suggest parantheses)
2010-07-14 09:46:08 +02:00
Daniel Marjamäki
a1ce80806e
Fixed #1844 (False positive: invalid iterator when erase() is used in if-else (with continue))
2010-07-14 09:42:10 +02:00
Daniel Marjamäki
73c6a154f3
manual: Added a chapter about the GUI
2010-07-13 16:23:02 +02:00
Kimmo Varis
cff008634e
GUI: Update translation files.
2010-07-13 13:02:12 +03:00
Kimmo Varis
3a70d0adf3
Merge branch 'projfile-gui'
2010-07-13 12:54:54 +03:00
Kimmo Varis
b92f7b854a
GUI: Disable Project file menu items when checking.
2010-07-13 12:46:28 +03:00
Kimmo Varis
cc64907edb
GUI: Remove ; from the end of the include/define strings in dialog.
2010-07-13 12:40:20 +03:00
Kimmo Varis
4a1708013e
GUI: Rename project file related methods in mainwindow.
2010-07-13 12:33:24 +03:00
Robert Reif
c572e6af87
Fixed #1846 (False positive with -s: Variable hides typedef with same name)
2010-07-13 08:08:12 +02:00
Daniel Marjamäki
b8980c4892
Merge branch 'master' into projfile-gui
2010-07-13 08:05:43 +02:00
Robert Reif
ab088bcec9
Fixed #1847 (False positive: Method using std::swap<>() can be declared const)
2010-07-13 08:04:48 +02:00
Robert Reif
225a529471
Fixed #1847 (False positive: Method using std::swap<>() can be declared const)
2010-07-13 08:01:57 +02:00
Daniel Marjamäki
414dbdb295
Merge branch 'master' into projfile-gui
2010-07-13 07:49:17 +02:00
Martin Ettl
51beb6d01a
gui/main added spaces between template brackets
2010-07-13 00:13:08 +03:00
Kimmo Varis
4a695c78d9
GUI: Add two new files I forgot to add earlier.
2010-07-13 00:10:48 +03:00
Daniel Marjamäki
7d0fd3f2aa
Fixed #1849 (GUI: failed to build gui)
2010-07-12 20:39:20 +02:00
Daniel Marjamäki
61150498c4
Variable Id: fixed issue with function call. Ticket: #1848
2010-07-12 20:18:03 +02:00
Martin Ettl
cba711f293
gui/main added spaces between template brackets
2010-07-12 20:02:58 +02:00
Kimmo Varis
4ceea93945
GUI: Show project file's name in project file -dialog title.
2010-07-12 20:31:37 +03:00
Kimmo Varis
e468779feb
GUI: Don't mention auto-allocated classes even in comments.
2010-07-12 20:22:19 +03:00
Kimmo Varis
bf1b49b370
GUI: Add Project class to handle project files and projects.
...
This commit separates logic more from the GUI. The dialog class is
only responsible from showing the dialog and handling data in it.
Other related classes do the project file reading/saving/etc.
2010-07-12 20:21:45 +03:00
Robert Reif
e86e8449f8
Variable usage: better handling of pointer aliasing. Ticket: #1729
2010-07-12 09:50:18 +02:00
Kimmo Varis
75f6ca5b66
GUI: Disable opening XML report file when checking files.
2010-07-12 02:18:26 +03:00
Kimmo Varis
801afae88b
GUI: Refactor linenumber in ErrorLine to unsigned int.
2010-07-12 01:51:36 +03:00
Kimmo Varis
4a2446d235
GUI: Ignore errors with "debug" severity.
...
GUI doesn't know about "debug" severity. And it is not worth the
trouble to add new category everywhere (icons etc) just for
internal debug messages.
2010-07-12 01:18:16 +03:00
Kimmo Varis
c9215e9e44
Change the "information" error to "debug" error.
...
There was one debugging error sent with "information" severity. That
confused the GUI that didn't know such severity. Change the severity
to "debug" so the meaning of the error is more clear.
2010-07-12 00:56:52 +03:00
Kimmo Varis
1504747030
Merge branch 'master' into projfile-gui
...
Conflicts:
gui/cppcheck_de.ts
gui/cppcheck_en.ts
gui/cppcheck_fi.ts
gui/cppcheck_nl.ts
gui/cppcheck_pl.ts
gui/cppcheck_ru.ts
gui/cppcheck_se.ts
gui/gui.pro
gui/main.ui
2010-07-11 19:43:31 +03:00
Kimmo Varis
8a24435db2
GUI: Update translation files.
2010-07-11 16:33:49 +03:00
Kimmo Varis
d5946a8359
Merge branch 'gui-load-xml'
2010-07-11 16:30:22 +03:00
Kimmo Varis
c9d63fa454
GUI: Remember user-selected base path.
...
Remember the base path user selects when opening files from loaded
XML report.
2010-07-11 16:20:19 +03:00
Kimmo Varis
b8793b1529
GUI: Ask file location from user if not found.
...
When loading report from XML there is no full paths so the file's real
path is not known and cppcheck cannot open it. So if the file has no
absolute path then we ask where the file is located from the user.
2010-07-11 14:22:55 +03:00
Kimmo Varis
f894b19209
GUI: Add errors read from XML report to GUI.
2010-07-11 02:02:08 +03:00
Kimmo Varis
9a5166075f
GUI: Fix line numbers and filenames in errors.
...
When converting to use new ErrorItem and ErrorLine I made few mistakes
in how I handled the data. And for some reason there was not even
warnings about converting integers to QStrings.
2010-07-11 01:07:40 +03:00
Kimmo Varis
352941f5df
GUI: Fix transporting errors.
...
Need to register integer list as new metatype so that Qt's type
system knows how to use it. Adding also additional constructors
for the ErrorItem.
2010-07-11 01:04:53 +03:00
Kimmo Varis
faa483b8d0
GUI: Use integer list instead of variant list for line numbers.
2010-07-10 20:54:33 +03:00
Kimmo Varis
2f0202d105
GUI: More refactoring to use ErrorItem and ErrorLine.
2010-07-10 20:30:31 +03:00
Kimmo Varis
0e9d0e9bde
GUI: Refactor error data passing to use own class.
2010-07-10 18:20:45 +03:00
Kimmo Varis
5e14abf735
GUI: Read errors from report XML file.
...
This commits adds new "Open XML" item to File-menu. Selecting this
menuitem allows user to select report file to open. When the file is
read the error data is printed to debug output. Later patches will
implement adding error data back to the GUI.
2010-07-10 16:37:36 +03:00
Kimmo Varis
81449a823a
GUI: Refactoring xmlreport to use pointer to stream writing class.
2010-07-10 13:53:44 +03:00
Daniel Marjamäki
78b8acfc88
Makefile: debug mode
2010-07-10 11:35:37 +02:00
Daniel Marjamäki
3b391398c1
1.44: updated Makefile for release
2010-07-10 11:31:07 +02:00
Daniel Marjamäki
72263d64b0
Changelog: updated for release
2010-07-10 11:30:03 +02:00
Daniel Marjamäki
94a8eba989
1.44: updated version information
2010-07-10 11:29:07 +02:00
Daniel Marjamäki
2e03e60218
Manual: Better description of -D. As suggested by kwin. Ticket #1212
2010-07-10 08:12:23 +02:00
Daniel Marjamäki
4b0e3edfa4
Unit Testing: Test that suppressions work
2010-07-09 13:27:15 +02:00
Daniel Marjamäki
abbd557761
Fixed #1836 (--suppresions file.txt fails due to wrong line edings)
2010-07-09 12:42:08 +02:00