This commit is contained in:
Sébastien Debrard 2011-01-31 23:51:24 +01:00
commit 606a90a987
23 changed files with 533 additions and 296 deletions

View File

@ -3,10 +3,14 @@
<root name="."/>
<includedir>
<dir name="lib/"/>
<dir name="cli/"/>
<dir name="externals/"/>
<dir name="gui/temp/"/>
</includedir>
<paths>
<dir name="lib/"/>
<dir name="cli/"/>
<dir name="gui/"/>
<dir name="test/"/>
</paths>
</project>

View File

@ -222,10 +222,10 @@ kate -l(line) (file)</translation>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="203"/>
<location filename="mainwindow.cpp" line="233"/>
<location filename="mainwindow.cpp" line="523"/>
<location filename="mainwindow.cpp" line="641"/>
<location filename="mainwindow.cpp" line="659"/>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="811"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -552,28 +552,28 @@ kate -l(line) (file)</translation>
<translation>Kein passenden Dateien zum Überprüfen gefunden!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="566"/>
<location filename="mainwindow.cpp" line="567"/>
<source>License</source>
<translation>Lizenz</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="573"/>
<location filename="mainwindow.cpp" line="574"/>
<source>Authors</source>
<translation>Autoren</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="581"/>
<location filename="mainwindow.cpp" line="582"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation>XML-Dateien (*.xml);;Textdateien (*.txt);;CSV-Dateien (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="583"/>
<location filename="mainwindow.cpp" line="584"/>
<source>Save the report file</source>
<translation>Speichert die Berichtdatei</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="591"/>
<location filename="mainwindow.cpp" line="443"/>
<location filename="mainwindow.cpp" line="592"/>
<source>XML files (*.xml)</source>
<translation>XML-Dateien (*.xml)</translation>
</message>
@ -584,40 +584,40 @@ kate -l(line) (file)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="306"/>
<location filename="mainwindow.cpp" line="741"/>
<location filename="mainwindow.cpp" line="787"/>
<location filename="mainwindow.cpp" line="742"/>
<location filename="mainwindow.cpp" line="788"/>
<source>Project: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="444"/>
<location filename="mainwindow.cpp" line="445"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="519"/>
<location filename="mainwindow.cpp" line="520"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="597"/>
<location filename="mainwindow.cpp" line="598"/>
<source>Text files (*.txt)</source>
<translation>Textdateien (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="603"/>
<location filename="mainwindow.cpp" line="604"/>
<source>CSV files (*.csv)</source>
<translation>CSV-Dateien (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="643"/>
<location filename="mainwindow.cpp" line="644"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="661"/>
<source>Failed to change the language:
%1
@ -633,39 +633,39 @@ Do you want to stop the checking and exit Cppcheck?.</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="709"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Cppcheck Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="709"/>
<source>Failed to load help file (not found)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Failed to load help file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="731"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="777"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="733"/>
<location filename="mainwindow.cpp" line="734"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="779"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="811"/>
<location filename="mainwindow.cpp" line="812"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
@ -1018,8 +1018,9 @@ Legen Sie unter dem Menü Ansicht fest, welche Art von Fehlern angezeigt werden
</message>
<message>
<location filename="settings.ui" line="138"/>
<source>Check all #ifdef configurations</source>
<translation>Alle #ifdef-Konfigurationen überprüfen</translation>
<source>Force checking all #ifdef configurations</source>
<oldsource>Check all #ifdef configurations</oldsource>
<translation type="unfinished">Alle #ifdef-Konfigurationen überprüfen</translation>
</message>
<message>
<location filename="settings.ui" line="145"/>

View File

@ -224,10 +224,10 @@ kate -l(line) (file)</translation>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="203"/>
<location filename="mainwindow.cpp" line="233"/>
<location filename="mainwindow.cpp" line="523"/>
<location filename="mainwindow.cpp" line="641"/>
<location filename="mainwindow.cpp" line="659"/>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="811"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -554,28 +554,28 @@ kate -l(line) (file)</translation>
<translation>No suitable files found to check!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="566"/>
<location filename="mainwindow.cpp" line="567"/>
<source>License</source>
<translation>License</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="573"/>
<location filename="mainwindow.cpp" line="574"/>
<source>Authors</source>
<translation>Authors</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="581"/>
<location filename="mainwindow.cpp" line="582"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="583"/>
<location filename="mainwindow.cpp" line="584"/>
<source>Save the report file</source>
<translation>Save the report file</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="591"/>
<location filename="mainwindow.cpp" line="443"/>
<location filename="mainwindow.cpp" line="592"/>
<source>XML files (*.xml)</source>
<translation>XML files (*.xml)</translation>
</message>
@ -586,40 +586,40 @@ kate -l(line) (file)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="306"/>
<location filename="mainwindow.cpp" line="741"/>
<location filename="mainwindow.cpp" line="787"/>
<location filename="mainwindow.cpp" line="742"/>
<location filename="mainwindow.cpp" line="788"/>
<source>Project: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="444"/>
<location filename="mainwindow.cpp" line="445"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="519"/>
<location filename="mainwindow.cpp" line="520"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="597"/>
<location filename="mainwindow.cpp" line="598"/>
<source>Text files (*.txt)</source>
<translation>Text files (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="603"/>
<location filename="mainwindow.cpp" line="604"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="643"/>
<location filename="mainwindow.cpp" line="644"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="661"/>
<source>Failed to change the language:
%1
@ -633,39 +633,39 @@ Do you want to stop the checking and exit Cppcheck?.</source>
%1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="709"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Cppcheck Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="709"/>
<source>Failed to load help file (not found)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Failed to load help file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="731"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="777"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="733"/>
<location filename="mainwindow.cpp" line="734"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="779"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="811"/>
<location filename="mainwindow.cpp" line="812"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
@ -1018,8 +1018,9 @@ To toggle what kind of errors are shown, open view menu.</translation>
</message>
<message>
<location filename="settings.ui" line="138"/>
<source>Check all #ifdef configurations</source>
<translation>Check all #ifdef configurations</translation>
<source>Force checking all #ifdef configurations</source>
<oldsource>Check all #ifdef configurations</oldsource>
<translation type="unfinished">Check all #ifdef configurations</translation>
</message>
<message>
<location filename="settings.ui" line="145"/>

View File

@ -226,10 +226,10 @@ kate -l(line) (file)
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="203"/>
<location filename="mainwindow.cpp" line="233"/>
<location filename="mainwindow.cpp" line="523"/>
<location filename="mainwindow.cpp" line="641"/>
<location filename="mainwindow.cpp" line="659"/>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="811"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -556,28 +556,28 @@ kate -l(line) (file)
<translation>Tarkistettavaksi sopivia tiedostoja ei löytynyt!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="566"/>
<location filename="mainwindow.cpp" line="567"/>
<source>License</source>
<translation>Lisenssi</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="573"/>
<location filename="mainwindow.cpp" line="574"/>
<source>Authors</source>
<translation>Tekijät</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="581"/>
<location filename="mainwindow.cpp" line="582"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation>XML-tiedostot (*.xml);;Tekstitiedostot (*.txt);;CSV-tiedostot (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="583"/>
<location filename="mainwindow.cpp" line="584"/>
<source>Save the report file</source>
<translation>Tallenna raportti</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="591"/>
<location filename="mainwindow.cpp" line="443"/>
<location filename="mainwindow.cpp" line="592"/>
<source>XML files (*.xml)</source>
<translation>XML-tiedostot (*xml)</translation>
</message>
@ -588,40 +588,40 @@ kate -l(line) (file)
</message>
<message>
<location filename="mainwindow.cpp" line="306"/>
<location filename="mainwindow.cpp" line="741"/>
<location filename="mainwindow.cpp" line="787"/>
<location filename="mainwindow.cpp" line="742"/>
<location filename="mainwindow.cpp" line="788"/>
<source>Project: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="444"/>
<location filename="mainwindow.cpp" line="445"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="519"/>
<location filename="mainwindow.cpp" line="520"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="597"/>
<location filename="mainwindow.cpp" line="598"/>
<source>Text files (*.txt)</source>
<translation>Tekstitiedostot (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="603"/>
<location filename="mainwindow.cpp" line="604"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="643"/>
<location filename="mainwindow.cpp" line="644"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="661"/>
<source>Failed to change the language:
%1
@ -637,39 +637,39 @@ Do you want to stop the checking and exit Cppcheck?.</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="709"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Cppcheck Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="709"/>
<source>Failed to load help file (not found)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Failed to load help file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="731"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="777"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="733"/>
<location filename="mainwindow.cpp" line="734"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="779"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="811"/>
<location filename="mainwindow.cpp" line="812"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
@ -1022,8 +1022,9 @@ Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valik
</message>
<message>
<location filename="settings.ui" line="138"/>
<source>Check all #ifdef configurations</source>
<translation>Tarkista kaikki #ifdef kombinaatiot</translation>
<source>Force checking all #ifdef configurations</source>
<oldsource>Check all #ifdef configurations</oldsource>
<translation type="unfinished">Tarkista kaikki #ifdef kombinaatiot</translation>
</message>
<message>
<location filename="settings.ui" line="145"/>

View File

@ -210,10 +210,10 @@ kate -l(line) (file)</translation>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="203"/>
<location filename="mainwindow.cpp" line="233"/>
<location filename="mainwindow.cpp" line="523"/>
<location filename="mainwindow.cpp" line="641"/>
<location filename="mainwindow.cpp" line="659"/>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="811"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -546,24 +546,24 @@ kate -l(line) (file)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="306"/>
<location filename="mainwindow.cpp" line="741"/>
<location filename="mainwindow.cpp" line="787"/>
<location filename="mainwindow.cpp" line="742"/>
<location filename="mainwindow.cpp" line="788"/>
<source>Project: </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="591"/>
<location filename="mainwindow.cpp" line="443"/>
<location filename="mainwindow.cpp" line="592"/>
<source>XML files (*.xml)</source>
<translation>XML (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="444"/>
<location filename="mainwindow.cpp" line="445"/>
<source>Open the report file</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="519"/>
<location filename="mainwindow.cpp" line="520"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
@ -572,42 +572,42 @@ Do you want to stop the checking and exit Cppcheck?.</source>
Cppcheckを終了しますか.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="566"/>
<location filename="mainwindow.cpp" line="567"/>
<source>License</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="573"/>
<location filename="mainwindow.cpp" line="574"/>
<source>Authors</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="581"/>
<location filename="mainwindow.cpp" line="582"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation>XML (*.xml);; (*.txt);;CSV形式ファイル (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="583"/>
<location filename="mainwindow.cpp" line="584"/>
<source>Save the report file</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="597"/>
<location filename="mainwindow.cpp" line="598"/>
<source>Text files (*.txt)</source>
<translation> (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="603"/>
<location filename="mainwindow.cpp" line="604"/>
<source>CSV files (*.csv)</source>
<translation>CSV形式ファイル (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="643"/>
<location filename="mainwindow.cpp" line="644"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="661"/>
<source>Failed to change the language:
%1
@ -620,39 +620,39 @@ Do you want to stop the checking and exit Cppcheck?.</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="709"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Cppcheck Help</source>
<translation>Cppcheck </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="709"/>
<source>Failed to load help file (not found)</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Failed to load help file</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="731"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="777"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation> (*.cppcheck);;All files(*.*)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="733"/>
<location filename="mainwindow.cpp" line="734"/>
<source>Select Project File</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="779"/>
<source>Select Project Filename</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="811"/>
<location filename="mainwindow.cpp" line="812"/>
<source>No project file loaded</source>
<translation></translation>
</message>
@ -1003,8 +1003,9 @@ To toggle what kind of errors are shown, open view menu.</source>
</message>
<message>
<location filename="settings.ui" line="138"/>
<source>Check all #ifdef configurations</source>
<translation> #ifdef </translation>
<source>Force checking all #ifdef configurations</source>
<oldsource>Check all #ifdef configurations</oldsource>
<translation type="unfinished"> #ifdef </translation>
</message>
<message>
<location filename="settings.ui" line="145"/>

View File

@ -224,10 +224,10 @@ kate -l(line) (file)</translation>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="203"/>
<location filename="mainwindow.cpp" line="233"/>
<location filename="mainwindow.cpp" line="523"/>
<location filename="mainwindow.cpp" line="641"/>
<location filename="mainwindow.cpp" line="659"/>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="811"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -554,28 +554,28 @@ kate -l(line) (file)</translation>
<translation>Geen geschikte bestanden gevonden om te controleren!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="566"/>
<location filename="mainwindow.cpp" line="567"/>
<source>License</source>
<translation>Licentie</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="573"/>
<location filename="mainwindow.cpp" line="574"/>
<source>Authors</source>
<translation>Auteurs</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="581"/>
<location filename="mainwindow.cpp" line="582"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation>XML bestanden (*.xml);;Tekst bestanden (*.txt);;CSV bestanden (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="583"/>
<location filename="mainwindow.cpp" line="584"/>
<source>Save the report file</source>
<translation>Rapport opslaan </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="591"/>
<location filename="mainwindow.cpp" line="443"/>
<location filename="mainwindow.cpp" line="592"/>
<source>XML files (*.xml)</source>
<translation>XML bestanden (*.xml)</translation>
</message>
@ -586,40 +586,40 @@ kate -l(line) (file)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="306"/>
<location filename="mainwindow.cpp" line="741"/>
<location filename="mainwindow.cpp" line="787"/>
<location filename="mainwindow.cpp" line="742"/>
<location filename="mainwindow.cpp" line="788"/>
<source>Project: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="444"/>
<location filename="mainwindow.cpp" line="445"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="519"/>
<location filename="mainwindow.cpp" line="520"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="597"/>
<location filename="mainwindow.cpp" line="598"/>
<source>Text files (*.txt)</source>
<translation>Tekst bestanden (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="603"/>
<location filename="mainwindow.cpp" line="604"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="643"/>
<location filename="mainwindow.cpp" line="644"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="661"/>
<source>Failed to change the language:
%1
@ -633,39 +633,39 @@ Do you want to stop the checking and exit Cppcheck?.</source>
%1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="709"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Cppcheck Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="709"/>
<source>Failed to load help file (not found)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Failed to load help file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="731"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="777"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="733"/>
<location filename="mainwindow.cpp" line="734"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="779"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="811"/>
<location filename="mainwindow.cpp" line="812"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
@ -1018,8 +1018,9 @@ Gebruik het uitzicht menu om te selecteren welke fouten getoond worden.</transla
</message>
<message>
<location filename="settings.ui" line="138"/>
<source>Check all #ifdef configurations</source>
<translation>Controleer alle #ifdef combinaties</translation>
<source>Force checking all #ifdef configurations</source>
<oldsource>Check all #ifdef configurations</oldsource>
<translation type="unfinished">Controleer alle #ifdef combinaties</translation>
</message>
<message>
<location filename="settings.ui" line="145"/>

View File

@ -211,10 +211,10 @@ kate -l(line) (file)</oldsource>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="203"/>
<location filename="mainwindow.cpp" line="233"/>
<location filename="mainwindow.cpp" line="523"/>
<location filename="mainwindow.cpp" line="641"/>
<location filename="mainwindow.cpp" line="659"/>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="811"/>
<source>Cppcheck</source>
<translation type="unfinished"></translation>
</message>
@ -547,92 +547,92 @@ kate -l(line) (file)</oldsource>
</message>
<message>
<location filename="mainwindow.cpp" line="306"/>
<location filename="mainwindow.cpp" line="741"/>
<location filename="mainwindow.cpp" line="787"/>
<location filename="mainwindow.cpp" line="742"/>
<location filename="mainwindow.cpp" line="788"/>
<source>Project: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="444"/>
<location filename="mainwindow.cpp" line="445"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="566"/>
<location filename="mainwindow.cpp" line="567"/>
<source>License</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="573"/>
<location filename="mainwindow.cpp" line="574"/>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="581"/>
<location filename="mainwindow.cpp" line="582"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="583"/>
<location filename="mainwindow.cpp" line="584"/>
<source>Save the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="709"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Cppcheck Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="709"/>
<source>Failed to load help file (not found)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Failed to load help file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="779"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="811"/>
<location filename="mainwindow.cpp" line="812"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="591"/>
<location filename="mainwindow.cpp" line="443"/>
<location filename="mainwindow.cpp" line="592"/>
<source>XML files (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="519"/>
<location filename="mainwindow.cpp" line="520"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="597"/>
<location filename="mainwindow.cpp" line="598"/>
<source>Text files (*.txt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="603"/>
<location filename="mainwindow.cpp" line="604"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="643"/>
<location filename="mainwindow.cpp" line="644"/>
<source>Cppcheck - %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="661"/>
<source>Failed to change the language:
%1
@ -641,13 +641,13 @@ Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="731"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="777"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="733"/>
<location filename="mainwindow.cpp" line="734"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
@ -994,7 +994,8 @@ To toggle what kind of errors are shown, open view menu.</source>
</message>
<message>
<location filename="settings.ui" line="138"/>
<source>Check all #ifdef configurations</source>
<source>Force checking all #ifdef configurations</source>
<oldsource>Check all #ifdef configurations</oldsource>
<translation type="unfinished"></translation>
</message>
<message>

View File

@ -214,10 +214,10 @@ kate -l(line) (file)</oldsource>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="203"/>
<location filename="mainwindow.cpp" line="233"/>
<location filename="mainwindow.cpp" line="523"/>
<location filename="mainwindow.cpp" line="641"/>
<location filename="mainwindow.cpp" line="659"/>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="811"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -544,28 +544,28 @@ kate -l(line) (file)</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="566"/>
<location filename="mainwindow.cpp" line="567"/>
<source>License</source>
<translation>Лицензия</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="573"/>
<location filename="mainwindow.cpp" line="574"/>
<source>Authors</source>
<translation>Авторы</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="581"/>
<location filename="mainwindow.cpp" line="582"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="583"/>
<location filename="mainwindow.cpp" line="584"/>
<source>Save the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="591"/>
<location filename="mainwindow.cpp" line="443"/>
<location filename="mainwindow.cpp" line="592"/>
<source>XML files (*.xml)</source>
<translation type="unfinished"></translation>
</message>
@ -576,40 +576,40 @@ kate -l(line) (file)</oldsource>
</message>
<message>
<location filename="mainwindow.cpp" line="306"/>
<location filename="mainwindow.cpp" line="741"/>
<location filename="mainwindow.cpp" line="787"/>
<location filename="mainwindow.cpp" line="742"/>
<location filename="mainwindow.cpp" line="788"/>
<source>Project: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="444"/>
<location filename="mainwindow.cpp" line="445"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="519"/>
<location filename="mainwindow.cpp" line="520"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="597"/>
<location filename="mainwindow.cpp" line="598"/>
<source>Text files (*.txt)</source>
<translation>Текстовые файлы (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="603"/>
<location filename="mainwindow.cpp" line="604"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="643"/>
<location filename="mainwindow.cpp" line="644"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="661"/>
<source>Failed to change the language:
%1
@ -625,39 +625,39 @@ Do you want to stop the checking and exit Cppcheck?.</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="709"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Cppcheck Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="709"/>
<source>Failed to load help file (not found)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Failed to load help file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="731"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="777"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="733"/>
<location filename="mainwindow.cpp" line="734"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="779"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="811"/>
<location filename="mainwindow.cpp" line="812"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
@ -1007,8 +1007,9 @@ To toggle what kind of errors are shown, open view menu.</source>
</message>
<message>
<location filename="settings.ui" line="138"/>
<source>Check all #ifdef configurations</source>
<translation>Проверять все варианты #ifdef конфигураций</translation>
<source>Force checking all #ifdef configurations</source>
<oldsource>Check all #ifdef configurations</oldsource>
<translation type="unfinished">Проверять все варианты #ifdef конфигураций</translation>
</message>
<message>
<location filename="settings.ui" line="145"/>

View File

@ -224,10 +224,10 @@ kate -l(line) (file)</translation>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="203"/>
<location filename="mainwindow.cpp" line="233"/>
<location filename="mainwindow.cpp" line="523"/>
<location filename="mainwindow.cpp" line="641"/>
<location filename="mainwindow.cpp" line="659"/>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="811"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -555,28 +555,28 @@ kate -l(line) (file)</translation>
<translation>Inga lämpliga filer hittades!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="566"/>
<location filename="mainwindow.cpp" line="567"/>
<source>License</source>
<translation>Licens</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="573"/>
<location filename="mainwindow.cpp" line="574"/>
<source>Authors</source>
<translation>Utvecklare</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="581"/>
<location filename="mainwindow.cpp" line="582"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation>XML filer (*.xml);;Text filer (*.txt);;CSV filer (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="583"/>
<location filename="mainwindow.cpp" line="584"/>
<source>Save the report file</source>
<translation>Spara rapport</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="591"/>
<location filename="mainwindow.cpp" line="443"/>
<location filename="mainwindow.cpp" line="592"/>
<source>XML files (*.xml)</source>
<translation>XML filer (*.xml)</translation>
</message>
@ -587,40 +587,40 @@ kate -l(line) (file)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="306"/>
<location filename="mainwindow.cpp" line="741"/>
<location filename="mainwindow.cpp" line="787"/>
<location filename="mainwindow.cpp" line="742"/>
<location filename="mainwindow.cpp" line="788"/>
<source>Project: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="444"/>
<location filename="mainwindow.cpp" line="445"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="519"/>
<location filename="mainwindow.cpp" line="520"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="597"/>
<location filename="mainwindow.cpp" line="598"/>
<source>Text files (*.txt)</source>
<translation>Text filer (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="603"/>
<location filename="mainwindow.cpp" line="604"/>
<source>CSV files (*.csv)</source>
<translation>CSV filer (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="643"/>
<location filename="mainwindow.cpp" line="644"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="661"/>
<source>Failed to change the language:
%1
@ -636,39 +636,39 @@ Do you want to stop the checking and exit Cppcheck?.</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="709"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Cppcheck Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="709"/>
<source>Failed to load help file (not found)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Failed to load help file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="731"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="777"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="733"/>
<location filename="mainwindow.cpp" line="734"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="779"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="811"/>
<location filename="mainwindow.cpp" line="812"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
@ -1021,8 +1021,9 @@ För att ställa in vilka fel som skall visas använd visa menyn.</translation>
</message>
<message>
<location filename="settings.ui" line="138"/>
<source>Check all #ifdef configurations</source>
<translation>Kontrollera alla #ifdef konfigurationer</translation>
<source>Force checking all #ifdef configurations</source>
<oldsource>Check all #ifdef configurations</oldsource>
<translation type="unfinished">Kontrollera alla #ifdef konfigurationer</translation>
</message>
<message>
<location filename="settings.ui" line="145"/>

View File

@ -224,10 +224,10 @@ kate -l(line) (file)</translation>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="203"/>
<location filename="mainwindow.cpp" line="233"/>
<location filename="mainwindow.cpp" line="523"/>
<location filename="mainwindow.cpp" line="641"/>
<location filename="mainwindow.cpp" line="659"/>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="811"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -554,28 +554,28 @@ kate -l(line) (file)</translation>
<translation>No suitable files found to check!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="566"/>
<location filename="mainwindow.cpp" line="567"/>
<source>License</source>
<translation>License</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="573"/>
<location filename="mainwindow.cpp" line="574"/>
<source>Authors</source>
<translation>Authors</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="581"/>
<location filename="mainwindow.cpp" line="582"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="583"/>
<location filename="mainwindow.cpp" line="584"/>
<source>Save the report file</source>
<translation>Save the report file</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="591"/>
<location filename="mainwindow.cpp" line="443"/>
<location filename="mainwindow.cpp" line="592"/>
<source>XML files (*.xml)</source>
<translation>XML files (*.xml)</translation>
</message>
@ -586,40 +586,40 @@ kate -l(line) (file)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="306"/>
<location filename="mainwindow.cpp" line="741"/>
<location filename="mainwindow.cpp" line="787"/>
<location filename="mainwindow.cpp" line="742"/>
<location filename="mainwindow.cpp" line="788"/>
<source>Project: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="444"/>
<location filename="mainwindow.cpp" line="445"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="519"/>
<location filename="mainwindow.cpp" line="520"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="597"/>
<location filename="mainwindow.cpp" line="598"/>
<source>Text files (*.txt)</source>
<translation>Text files (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="603"/>
<location filename="mainwindow.cpp" line="604"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="643"/>
<location filename="mainwindow.cpp" line="644"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="661"/>
<source>Failed to change the language:
%1
@ -633,39 +633,39 @@ Do you want to stop the checking and exit Cppcheck?.</source>
%1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="709"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Cppcheck Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="708"/>
<location filename="mainwindow.cpp" line="709"/>
<source>Failed to load help file (not found)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="717"/>
<location filename="mainwindow.cpp" line="718"/>
<source>Failed to load help file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="731"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="777"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="733"/>
<location filename="mainwindow.cpp" line="734"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="779"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="811"/>
<location filename="mainwindow.cpp" line="812"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
@ -1018,8 +1018,9 @@ To toggle what kind of errors are shown, open view menu.</translation>
</message>
<message>
<location filename="settings.ui" line="138"/>
<source>Check all #ifdef configurations</source>
<translation>Check all #ifdef configurations</translation>
<source>Force checking all #ifdef configurations</source>
<oldsource>Check all #ifdef configurations</oldsource>
<translation type="unfinished">Check all #ifdef configurations</translation>
</message>
<message>
<location filename="settings.ui" line="145"/>

View File

@ -65,7 +65,7 @@ void CsvReport::WriteError(const ErrorItem &error)
QString line;
const QString file = QDir::toNativeSeparators(error.files[error.files.size() - 1]);
line += QString("%1,%2,").arg(file).arg(error.lines[error.lines.size() - 1]);
line += QString("%1,%2").arg(error.severity).arg(error.message);
line += QString("%1,%2").arg(error.severity).arg(error.summary);
mTxtWriter << line << endl;
}

View File

@ -2,5 +2,6 @@
<project version="1">
<includedir>
<dir name="../lib"/>
<dir name="temp"/>
</includedir>
</project>

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>589</width>
<height>281</height>
<height>313</height>
</rect>
</property>
<property name="windowTitle">
@ -135,7 +135,7 @@
<item>
<widget class="QCheckBox" name="mForce">
<property name="text">
<string>Check all #ifdef configurations</string>
<string>Force checking all #ifdef configurations</string>
</property>
</widget>
</item>

View File

@ -76,7 +76,7 @@ void TxtReport::WriteError(const ErrorItem &error)
}
}
line += QString("(%1) %2").arg(error.severity).arg(error.message);
line += QString("(%1) %2").arg(error.severity).arg(error.summary);
mTxtWriter << line << endl;
}

View File

@ -159,6 +159,16 @@ ErrorLine XmlReport::ReadError(QXmlStreamReader *reader)
line.line = attribs.value("", LineAttribute).toString().toUInt();
line.id = attribs.value("", IdAttribute).toString();
line.severity = attribs.value("", SeverityAttribute).toString();
// NOTE: This dublicates the message to Summary-field. But since
// old XML format doesn't have separate summary and verbose messages
// we must add same message to both data so it shows up in GUI.
// Check if there is full stop and cut the summary to it.
QString summary = attribs.value("", MsgAttribute).toString();
const int ind = summary.indexOf('.');
if (ind != -1)
summary = summary.left(ind + 1);
line.summary = summary;
line.message = attribs.value("", MsgAttribute).toString();
}
return line;

View File

@ -485,6 +485,12 @@ void CheckNullPointer::nullPointerByDeRefAndChec()
break;
}
if (tok1->str() == ")" && Token::simpleMatch(tok1->link()->previous(), "sizeof ("))
{
tok1 = tok1->link()->previous();
continue;
}
if (tok1->str() == "break")
break;

View File

@ -713,21 +713,36 @@ void Preprocessor::preprocess(std::istream &srcCodeStream, std::string &processe
// Get the DEF in this line: "#ifdef DEF"
std::string Preprocessor::getdef(std::string line, bool def)
{
if (line.empty() || line[0] != '#')
return "";
// If def is true, the line must start with "#ifdef"
if (def && line.find("#ifdef ") != 0 && line.find("#if ") != 0 && line.find("#elif ") != 0 && line.find("#if defined ") != 0)
if (def && line.compare(0, 7, "#ifdef ") != 0 && line.compare(0, 4, "#if ") != 0
&& (line.compare(0, 6, "#elif ") != 0 || line.compare(0, 7, "#elif !") == 0))
{
return "";
}
// If def is false, the line must start with "#ifndef"
if (!def && line.find("#ifndef ") != 0)
if (!def && line.compare(0, 8, "#ifndef ") != 0 && line.compare(0, 7, "#elif !") != 0)
{
return "";
}
// Remove the "#ifdef" or "#ifndef"
if (line.find("#if defined ") == 0)
if (line.compare(0, 12, "#if defined ") == 0)
line.erase(0, 11);
else if (line.compare(0, 15, "#elif !defined(") == 0)
{
std::string::size_type pos = 0;
line.erase(0, 15);
pos = line.find(")");
// if pos == ::npos then another part of the code will complain
// about the mismatch
if (pos != std::string::npos)
line.erase(pos, 1);
}
else
line.erase(0, line.find(" "));
@ -775,6 +790,8 @@ std::list<std::string> Preprocessor::getcfgs(const std::string &filedata, const
if (_errorLogger)
_errorLogger->reportProgress(filename, "Preprocessing (get configurations 1)", 0);
if (line.empty())
continue;
if (line.compare(0, 6, "#file ") == 0)
{
@ -806,6 +823,9 @@ std::list<std::string> Preprocessor::getcfgs(const std::string &filedata, const
if (!line.empty() && line.compare(0, 3, "#if") != 0)
includeguard = false;
if (line[0] != '#')
continue;
if (includeguard)
continue;
@ -868,7 +888,7 @@ std::list<std::string> Preprocessor::getcfgs(const std::string &filedata, const
simplifyCondition(varmap, def, false);
}
if (! deflist.empty() && line.find("#elif ") == 0)
if (! deflist.empty() && line.compare(0, 6, "#elif ") == 0)
deflist.pop_back();
deflist.push_back(def);
def = "";
@ -888,6 +908,21 @@ std::list<std::string> Preprocessor::getcfgs(const std::string &filedata, const
def += ";";
def += *it;
}
else
{
std::ostringstream lineStream;
lineStream << __LINE__;
ErrorLogger::ErrorMessage errmsg;
ErrorLogger::ErrorMessage::FileLocation loc;
loc.setfile(filename);
loc.line = linenr;
errmsg._callStack.push_back(loc);
errmsg._severity = Severity::fromString("error");
errmsg.setmsg(*it+" is already guaranteed to be defined");
errmsg._id = "preprocessor" + lineStream.str();
_errorLogger->reportErr(errmsg);
}
}
if (from_negation)
{
@ -903,7 +938,7 @@ std::list<std::string> Preprocessor::getcfgs(const std::string &filedata, const
}
}
else if (line.find("#else") == 0 && ! deflist.empty())
else if (line.compare(0, 5, "#else") == 0 && ! deflist.empty())
{
if (deflist.back() == "!")
{
@ -919,7 +954,7 @@ std::list<std::string> Preprocessor::getcfgs(const std::string &filedata, const
}
}
else if (line.find("#endif") == 0 && ! deflist.empty())
else if (line.compare(0, 6, "#endif") == 0 && ! deflist.empty())
{
if (deflist.back() == "!")
ndeflist.pop_back();
@ -1345,7 +1380,23 @@ std::string Preprocessor::getcode(const std::string &filedata, std::string cfg,
}
}
else if (line.find("#elif ") == 0)
else if (line.compare(0, 7, "#elif !") == 0)
{
if (matched_ifdef.back())
{
matching_ifdef.back() = false;
}
else
{
if (!match_cfg_def(cfgmap, ndef))
{
matching_ifdef.back() = true;
matched_ifdef.back() = true;
}
}
}
else if (line.compare(0, 6, "#elif ") == 0)
{
if (matched_ifdef.back())
{

View File

@ -106,6 +106,7 @@ private:
TEST_CASE(array_index_29); // ticket #1734
TEST_CASE(array_index_30); // ticket #2086 - out of bounds when type is unknown
TEST_CASE(array_index_31); // ticket #2120 - out of bounds in subfunction when type is unknown
TEST_CASE(array_index_32);
TEST_CASE(array_index_multidim);
TEST_CASE(array_index_switch_in_for);
TEST_CASE(array_index_calculation);
@ -1067,6 +1068,21 @@ private:
ASSERT_EQUALS("", errout.str());
}
void array_index_32()
{
check("class X\n"
"{\n"
" public:\n"
" X()\n"
" {\n"
" m_x[0] = 0;\n"
" m_x[1] = 0;\n"
" }\n"
" int m_x[1];\n"
"};\n");
TODO_ASSERT_EQUALS("[test.cpp:7]: (error) Array 'm_x[1]' index 1 out of bounds\n","", errout.str());
}
void array_index_multidim()
{
check("void f()\n"

View File

@ -437,6 +437,15 @@ private:
" }\n"
"}\n");
ASSERT_EQUALS("", errout.str());
// #2525 - sizeof
check("void f() {\n"
" int *test = NULL;\n"
" int c = sizeof(test[0]);\n"
" if (!test)\n"
" ;\n"
"}\n");
ASSERT_EQUALS("", errout.str());
}
void nullpointer5()

View File

@ -429,13 +429,118 @@ private:
preprocessor.preprocess(istr, actual, "file.c");
// Make sure an error message is written..
TODO_ASSERT_EQUALS("[test.cpp:3]: this preprocessor condition is always true",
"", errout.str());
ASSERT_EQUALS("[file.c:3]: (error) ABC is already guaranteed to be defined\n",
errout.str());
// Compare results..
ASSERT_EQUALS("\n\n\n\n\n\n", actual[""]);
ASSERT_EQUALS("\nA\n\nB\n\n\n", actual["ABC"]);
ASSERT_EQUALS(2, static_cast<unsigned int>(actual.size()));
test7a();
test7b();
test7c();
test7d();
}
void test7a()
{
const char filedata[] = "#ifndef ABC\n"
"A\n"
"#ifndef ABC\n"
"B\n"
"#endif\n"
"#endif\n";
// Preprocess => actual result..
std::istringstream istr(filedata);
std::map<std::string, std::string> actual;
Settings settings;
Preprocessor preprocessor(&settings, this);
errout.str("");
preprocessor.preprocess(istr, actual, "file.c");
// Make sure an error message is written..
TODO_ASSERT_EQUALS("[file.c:3]: (error) ABC is already guaranteed NOT to be defined\n",
"", errout.str());
// Compare results..
ASSERT_EQUALS(2, static_cast<unsigned int>(actual.size()));
}
void test7b()
{
const char filedata[] = "#ifndef ABC\n"
"A\n"
"#ifdef ABC\n"
"B\n"
"#endif\n"
"#endif\n";
// Preprocess => actual result..
std::istringstream istr(filedata);
std::map<std::string, std::string> actual;
Settings settings;
Preprocessor preprocessor(&settings, this);
errout.str("");
preprocessor.preprocess(istr, actual, "file.c");
// Make sure an error message is written..
TODO_ASSERT_EQUALS("[file.c:3]: (error) ABC is already guaranteed NOT to be defined\n",
"", errout.str());
// Compare results..
ASSERT_EQUALS(2, static_cast<unsigned int>(actual.size()));
}
void test7c()
{
const char filedata[] = "#ifdef ABC\n"
"A\n"
"#ifndef ABC\n"
"B\n"
"#endif\n"
"#endif\n";
// Preprocess => actual result..
std::istringstream istr(filedata);
std::map<std::string, std::string> actual;
Settings settings;
Preprocessor preprocessor(&settings, this);
errout.str("");
preprocessor.preprocess(istr, actual, "file.c");
// Make sure an error message is written..
ASSERT_EQUALS("[file.c:3]: (error) ABC is already guaranteed to be defined\n",
errout.str());
// Compare results..
ASSERT_EQUALS(2, static_cast<unsigned int>(actual.size()));
}
void test7d()
{
const char filedata[] = "#if defined(ABC)\n"
"A\n"
"#if defined(ABC)\n"
"B\n"
"#endif\n"
"#endif\n";
// Preprocess => actual result..
std::istringstream istr(filedata);
std::map<std::string, std::string> actual;
Settings settings;
Preprocessor preprocessor(&settings, this);
errout.str("");
preprocessor.preprocess(istr, actual, "file.c");
// Make sure an error message is written..
ASSERT_EQUALS("[file.c:3]: (error) ABC is already guaranteed to be defined\n",
errout.str());
// Compare results..
ASSERT_EQUALS(2, static_cast<unsigned int>(actual.size()));
}
@ -806,6 +911,7 @@ private:
if_cond2b();
if_cond2c();
if_cond2d();
if_cond2e();
}
void if_cond2b()
@ -893,6 +999,31 @@ private:
ASSERT_EQUALS("\n!a\n\nb\n\n\n\n\n\n\n\n\n\n\n\n", actual["B"]);
}
void if_cond2e()
{
const char filedata[] = "#if !defined(A)\n"
"!a\n"
"#elif !defined(B)\n"
"!b\n"
"#endif\n";
// Preprocess => actual result..
errout.str("");
std::istringstream istr(filedata);
std::map<std::string, std::string> actual;
Settings settings;
settings.debug = settings.debugwarnings = true;
Preprocessor preprocessor(&settings, this);
preprocessor.preprocess(istr, actual, "file.c");
// Compare results..
ASSERT_EQUALS(3, static_cast<unsigned int>(actual.size()));
ASSERT_EQUALS("\n!a\n\n\n\n", actual[""]);
ASSERT_EQUALS("\n\n\n!b\n\n", actual["A"]);
TODO_ASSERT_EQUALS("\n\n\n\n\n", "", actual["A;B"]);
ASSERT_EQUALS("", errout.str());
}
void if_cond3()
{
const char filedata[] = "#ifdef A\n"

View File

@ -227,11 +227,11 @@ int main(int argc, char **argv)
fout << "\n###### Targets\n\n";
fout << "cppcheck:\t$(LIBOBJ)\t$(CLIOBJ)\t$(EXTOBJ)\n";
fout << "cppcheck: $(LIBOBJ) $(CLIOBJ) $(EXTOBJ)\n";
fout << "\t$(CXX) $(CPPFLAGS) $(CXXFLAGS) -o cppcheck $(CLIOBJ) $(LIBOBJ) $(EXTOBJ) -lpcre $(LDFLAGS)\n\n";
fout << "all:\tcppcheck\ttestrunner\n\n";
fout << "testrunner:\t$(TESTOBJ)\t$(LIBOBJ)\t$(EXTOBJ)\tcli/threadexecutor.o\tcli/cmdlineparser.o\tcli/cppcheckexecutor.o\tcli/filelister.o\tcli/filelister_unix.o\n";
fout << "\t$(CXX) $(CPPFLAGS) $(CXXFLAGS) -o testrunner $(TESTOBJ) $(LIBOBJ) $(EXTOBJ) -lpcre cli/threadexecutor.o cli/cmdlineparser.o\tcli/filelister.o\tcli/filelister_unix.o $(LDFLAGS)\n\n";
fout << "all:\tcppcheck testrunner\n\n";
fout << "testrunner: $(TESTOBJ) $(LIBOBJ) $(EXTOBJ) cli/threadexecutor.o cli/cmdlineparser.o cli/cppcheckexecutor.o cli/filelister.o cli/filelister_unix.o\n";
fout << "\t$(CXX) $(CPPFLAGS) $(CXXFLAGS) -o testrunner $(TESTOBJ) $(LIBOBJ) $(EXTOBJ) -lpcre cli/threadexecutor.o cli/cmdlineparser.o cli/filelister.o cli/filelister_unix.o $(LDFLAGS)\n\n";
fout << "test:\tall\n";
fout << "\t./testrunner\n\n";
fout << "check:\tall\n";
@ -248,7 +248,7 @@ int main(int argc, char **argv)
fout << "\t$(XP) $(DB2MAN) $(MAN_SOURCE)\n\n";
fout << "tags:\n";
fout << "\tctags -R --exclude=doxyoutput .\n\n";
fout << "install:\tcppcheck\n";
fout << "install: cppcheck\n";
fout << "\tinstall -d ${BIN}\n";
fout << "\tinstall cppcheck ${BIN}\n\n";
#endif