PKEuS
21f4574e74
lupdate and lrelease
...
Updated german translation
2019-06-29 09:50:53 +02:00
Daniel Marjamäki
84cc09d17c
Update Copyright
2019-06-29 07:49:14 +02:00
Daniel Marjamäki
d8daca30bf
lupdate gui.pro
2019-06-29 07:47:36 +02:00
Daniel Marjamäki
0ab3d07f75
Revert "GUI: Show information label if Cppcheck is outdated"
...
I plan to add something like this again after the release.
2019-06-28 22:36:19 +02:00
Daniel Marjamäki
5f759e89b3
GUI: Show information label if Cppcheck is outdated
2019-06-28 20:13:59 +02:00
Scott Furry
6d3d44835a
Add keyboard shortcuts for CodeEditor Widget ( #1931 )
...
Functionality for `copy` and `select all` text already exists as part
of widget construction. Commit adds connection of those existing
functions to execution with keyboard shortcuts user would normally expect.
(e.g. CTRL+C for copy text)
Qt does translation of keyboard shortcuts for platform
(i.e. Mac OS uses command key rather than control).
2019-06-28 17:17:24 +02:00
Scott Furry
158194d923
Propagate Monospaced Font to Line Number Area in Code Editor ( #1923 )
...
Styling change missed in #1913 .
2019-06-25 20:22:02 +02:00
versat
b1e2b9d61b
astyle formatting
...
[ci skip]
2019-06-25 15:29:15 +02:00
Daniel Marjamäki
b0e56f873f
GUI: Use --cli option when running addons to get results in json format
2019-06-25 01:22:50 +02:00
Scott Furry
0d76d078e2
Implement User Selectable Code Editor Style in cppcheck-gui ( #1913 )
...
Building on #1874 , commit adds user controls to choose
or edit style in cppcheck-gui ONLY. Commit does not
address CodeEditor style usage in triage app at this time.
Code Editor style can be altered from the added "Code Editor"
tab in the user preferences. The user has the option to select
default light, default dark, or to customize.
If user leaves the style set to light or dark defaults, this
will be reflected in the choices shown in the preferences
dialog.
User choice for Code Editor Style is saved in the cppcheck-gui
preferences under the heading "EditorStyle".
2019-06-23 19:04:53 +02:00
Daniel Marjamäki
0947a36c4f
astyle formatting
...
[ci skip]
2019-06-08 07:24:38 +02:00
Scott Furry
32f45490e2
CodeEditor Widget Styling ( #1874 )
...
* CodeEditor Widget Styling
With profileration of Qt5 styling methods, problems with presentation
can occur when using cppcheck-gui and user choosen themes. With a dark
theme, a highlighted line in the CodeEditor appears with white text on
a light background or dark colors on a dark background.
Commit makes changes to enforce a default style on the Code Editor widget.
Mechanism is provided, if desired, where a user defined styling can
be provided to CodeEditor widget.
* CodeEditor Widget Styling
With profileration of Qt5 styling methods, problems with presentation
can occur when using cppcheck-gui and user choosen themes. With a dark
theme, a highlighted line in the CodeEditor appears with white text on
a light background or dark colors on a dark background.
Commit makes changes to enforce a default style on the Code Editor widget.
Mechanism is provided, if desired, where a user defined styling can
be provided to CodeEditor widget.
2nd commit - remove declarations in gui/codeeditorstyle.h to possibly
resolve appveyor window builds.
2019-06-08 07:23:48 +02:00
Scott Furry
a5c1884810
Minor changes to gui code to silence repeated build warnings ( #1872 )
...
Compile of gui would result in repeated warnings from two conditions:
1) gui/erroritem.h:104:30: warning: extra ‘;’ [-Wpedantic]
Message points to Qt Macro Q_DECLARE_METATYPE usage.
Semi Colon at EOL removed.
2) gui/resultstree.h:201:10: warning [-Woverloaded-virtual]
Message is indicating that function ResultsTree::selectionChanged
is being iterpreted as overloading function of the same name
in base clase (QTreeView::selectionChanged).
Refactored - function renamed to ResultsTree::treeSelectionChanged
2019-06-05 10:13:37 +02:00
Scott Furry
dc5a38e61c
Modify Qt5 CMake and include Qt Charts Option ( #1837 )
...
Update CMake search for Qt5 componets to be consistent
with recommended practice from Kitware.
(see https://blog.kitware.com/cmake-finding-qt5-the-right-way/ )
Incorporate ability to build cppcheck-gui with Qt Charts
via CMake switch. Option "WITH_QCHARTS" will enable
search for Qt Charts to Qt5 component search and add
build flag "HAVE_QCHART".
2019-05-17 10:17:51 +02:00
Daniel Marjamäki
5b07901253
GUI: Add C++20 option
2019-05-05 10:44:09 +02:00
Daniel Marjamäki
0053476bef
Fix Cppcheck warnings
2019-04-30 01:46:02 +02:00
Daniel Marjamäki
ff8cf4fe25
gui/test: Add projectfile test
2019-04-20 19:07:14 +02:00
Daniel Marjamäki
3327102aa4
GUI: Test ProjectFile::getCheckSuppressions()
2019-04-19 15:09:55 +02:00
Daniel Marjamäki
ae3e53f391
Travis: Try to fix gui/test
2019-04-19 13:45:14 +02:00
Daniel Marjamäki
91c000c09d
Travis: Try to reactivate the gui/test tests
2019-04-19 11:57:52 +02:00
Daniel Marjamäki
93b27b2022
cleanup gui/test
2019-04-19 09:41:58 +02:00
Daniel Marjamäki
d89923386d
Removed gui/test/xmlreport
2019-04-19 08:41:48 +02:00
Daniel Marjamäki
fee01099a9
GUI: Fix tests
2019-04-19 07:39:43 +02:00
Daniel Marjamäki
b2e3af5869
Fixed #8637 (GUI: Supression filename should accept relative paths)
2019-04-18 09:52:29 +02:00
Daniel Marjamäki
ccc830870c
GUI: Updated selection of files/folders. Prefer relative paths.
2019-04-16 10:32:34 +02:00
Daniel Marjamäki
a0dd853642
analyzing one vs config (first debug config that matches platform)
2019-04-13 20:01:40 +02:00
Daniel Marjamäki
d7e08ce75f
GUI: Refactoring handling of setting for c++/c std
2019-04-12 12:12:12 +02:00
Daniel Marjamäki
f7be03fcbc
GUI: removed -std=posix and added -std=c++17
2019-04-12 11:52:28 +02:00
Daniel Marjamäki
dfe417c369
msvc compatibility: /constexpr/const/
2019-04-11 21:06:37 +02:00
Daniel Marjamäki
3c1f6ae5c2
appveyor: /constexpr/const/
2019-04-10 21:27:07 +02:00
Daniel Marjamäki
37c540b380
Use constexpr
2019-04-10 16:54:16 +02:00
Daniel Marjamäki
f6b410b469
GUI: add setting for 'checkHeaders', 'checkUnusedTemplates' and 'maxCtuDepth' to project
2019-04-10 16:49:24 +02:00
Daniel Marjamäki
7237acdb47
GUI: In the project dialog select libraries in a listbox
2019-04-06 16:44:43 +02:00
Sebastian
08d41ab8af
Load std.cfg before all other libraries ( #1740 )
...
- CLI: Save the libraries that should be loaded to a list and load them
after the std.cfg has been loaded.
- GUI: Load std.cfg (and windows.cfg / posix.cfg when applicable) before
setting other options and loading the other libraries.
In the project-file-dialog the std.cfg is searched first. If some
other library fails to load is is retried with first loading std.cfg.
- boost.cfg: Enable containers that depend on std containers.
2019-03-15 06:59:37 +01:00
Daniel Marjamäki
6717f49f20
Try to give some credit to the 3rd party libraries we use.
2019-02-10 17:16:53 +01:00
Daniel Marjamäki
bd7790fd8c
Update copyright year
2019-02-09 07:24:06 +01:00
Daniel Marjamäki
7ac43eda79
lupdate gui.pro
2019-02-09 07:20:17 +01:00
Lauri Nurmi
a7a0a54557
Show a clear button in the Quick Filter text field in GUI. ( #1603 )
2019-01-15 10:35:23 +01:00
Daniel Marjamäki
f629fa3d66
Fix Cppcheck warning
...
[ci skip]
2019-01-12 18:29:34 +01:00
amai2012
e259e7bc6c
#8626 twin include. Remove redundant include
2018-12-31 19:47:23 +01:00
Oliver Schode
1dd4c7a71e
Fixed typo in warning about modified variable inside assertion ( #1542 )
2018-12-28 15:24:50 +01:00
Sebastian
b51f19d530
Fix some doxygen warnings/issues in the comments ( #1537 )
2018-12-21 21:23:03 +01:00
fu7mu4
2abb3aa263
fix japanese translation typo and manual version ( #1515 )
2018-12-09 09:06:56 +01:00
Daniel Marjamäki
d9db20db96
Update copyright year
2018-12-08 07:53:28 +01:00
Daniel Marjamäki
7ad93fa1a2
lupdate
2018-12-08 07:51:03 +01:00
Daniel Marjamäki
2c5a31594c
fix argument name
2018-12-08 07:37:27 +01:00
Daniel Marjamäki
f5c2abaefa
Fix shadow warning
2018-11-19 10:21:02 +01:00
Markus Elfring
02c2018f25
Addition of a null pointer check in ProjectFileDialog::removeSuppression() ( #1457 )
...
The function “QListWidget::takeItem” is documented in the way
that a null pointer can be returned. This result was not checked
by the function “ProjectFileDialog::removeSuppression” so far.
Thus add a corresponding check so that an inappropriate pointer access
should not happen any more here.
Link: https://sourceforge.net/p/cppcheck/discussion/development/thread/d1d0b65245/#a1bf
Link: https://trac.cppcheck.net/ticket/8814
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2018-10-29 14:21:56 +01:00
Daniel Marjamäki
4533eb0bd6
GUI: cleanup the code
2018-10-22 21:00:04 +02:00
tompollok
ae657d49e8
enable AA_UseHighDpiPixmaps ( #1446 )
...
enables AA_UseHighDpiPixmaps for less pixeled icons on 4K displays
2018-10-22 19:07:02 +02:00
Daniel Marjamäki
1a75084d75
GUI: Refactor comparisons
2018-10-20 16:30:40 +02:00
fu7mu4
b31b4706c5
cppcheck_ja.ts is updated ( #1435 )
2018-10-17 16:03:41 +02:00
Alexander
ee2cea026a
Fixed bug with incorrect platform used for check if check is run from UI and platform settings is taken from xml file. ( #1434 )
2018-10-17 12:44:41 +02:00
Markus Elfring
937da6bd46
Put XmlReportV2 object on the stack in ResultsView::readErrorsXml() ( #1430 )
...
Dynamic memory allocation was used for a XmlReportV2 object
in the function “ResultsView::readErrorsXml”.
This object was put on the stack instead so that this software
became a bit safer and more efficient.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2018-10-17 06:38:14 +02:00
Daniel Marjamäki
7833ade128
Updated copyright year
2018-10-13 18:20:31 +02:00
Daniel Marjamäki
f9157f2aeb
lupdate gui.pro
2018-10-13 18:17:43 +02:00
PKEuS
8f32811b80
Updated german translation
2018-10-13 09:31:02 +02:00
alex
babafd75e3
Added support for -U option to the GUI.
2018-10-09 15:05:05 +02:00
Daniel Marjamäki
59731d70e8
triage: set error line properly
2018-09-01 06:39:22 +02:00
Daniel Marjamäki
c4000b27f8
Fix Cppcheck warning
2018-08-11 15:31:26 +02:00
Matthias Krüger
017f910c57
gui: fix 2 findings by cppcheck
...
[gui/projectfiledialog.h:283]: (performance) Function parameter 'shortText' should be passed by const reference.
[gui/projectfiledialog.cpp:675]: (performance) Function parameter 'shortText' should be passed by const reference.
also run dmake
2018-08-09 09:43:11 +02:00
Daniel Marjamäki
9e3b392ec6
GUI: Edit existing suppression in the project file dialog
2018-08-09 06:50:35 +02:00
Daniel Marjamäki
ddf7b186bb
GUI: Cleanup non-existing projects from the MRU
2018-08-08 11:03:51 +02:00
Daniel Marjamäki
f68f793256
GUI: load other results when open recent project
2018-08-08 09:07:05 +02:00
Daniel Marjamäki
90a3759479
Refactoring: early return
2018-08-08 09:00:04 +02:00
Daniel Marjamäki
b66af545ca
GUI: cleanup the details window
2018-08-07 10:45:00 +02:00
Daniel Marjamäki
a24c3b1d36
Fix GUI build
2018-08-05 14:25:43 +02:00
fu7mu4
41d4a6bde6
update cppcheck_ja.ts for 1.84 ( #1306 )
2018-07-13 22:49:30 +02:00
Daniel Marjamäki
8c228c6ced
GUI: better handling of suppressions
2018-07-01 14:24:37 +02:00
Daniel Marjamäki
5e34847592
GUI: Use relative paths in analysis
2018-07-01 08:00:05 +02:00
Daniel Marjamäki
db6f4f4a3b
Fix a few 'const reference' warnings by Cppcheck
2018-06-23 23:04:54 +02:00
Daniel Marjamäki
73a5aafba4
astyle formatting
...
[ci skip]
2018-06-19 14:02:58 +02:00
Daniel Marjamäki
d6b976fd21
GUI: Renamed private variable LangCodeRole
2018-06-18 14:19:14 +02:00
Daniel Marjamäki
bae36bddd2
GUI: Renamed private variable minsizes
2018-06-18 14:15:13 +02:00
Daniel Marjamäki
dbc19d6503
GUI: Renamed private variables
2018-06-18 14:11:34 +02:00
Daniel Marjamäki
7d00b30488
GUI: Rename private variable ui to mUi
2018-06-18 10:13:33 +02:00
Daniel Marjamäki
86c5f44d19
GUI: Rename private variables
2018-06-18 10:10:11 +02:00
amai2012
134d0be8b9
#8620 include used twice. Clean up includes.
2018-06-12 08:34:44 +02:00
Daniel Marjamäki
45379a3aa6
Updated copyright year for modified files
...
[ci skip]
2018-06-10 22:07:21 +02:00
Daniel Marjamäki
ff7e08bf0d
Run 'lupdate gui.pro'
...
[ci skip]
2018-06-10 22:05:27 +02:00
PKEuS
3e856c2e03
Updated german translation
2018-06-10 21:00:38 +02:00
Daniel Marjamäki
4da406baab
GUI: Better handling of addon output
2018-06-06 15:01:06 +02:00
Susi Lehtola
3f4aae75e2
LinguistTools is not a library. ( #1274 )
2018-06-03 07:13:39 +02:00
Susi Lehtola
f2fc38a5b4
Use modern CMake syntax. ( #1273 )
...
* Use modern CMake syntax.
* Update way of finding Qt5 components
2018-06-02 18:31:33 +02:00
orbitcowboy
ca449a7f27
Running astlye
2018-05-25 08:36:02 +02:00
bwoester
1af983dd95
Gui select bcb6 projects ( #1258 )
...
* Allow selecting bcb6 projects in "Analyze" -> "Files..."
This change also splits the filters for files which can be analyzed into multiple entries and includes a helper class to construct filter strings.
* move FilterStringBuilder to its own class and document it
* add new files to .pro
* add missing include for Q_DECLARE_TR_FUNCTIONS macro
* re-run astyle
* allow to import bcb6 project when creating a new cppcheck project
exchange class FilterStringBuilder with a toFilterString() helper method
* add missing include
2018-05-25 07:09:49 +02:00
IOBYTE
ce50df8047
Fix override warnings. ( #1234 )
2018-05-15 16:37:40 +02:00
Daniel Marjamäki
e5c4e31da6
Fix a number of noOperatorEq and noCopyConstructor warnings
2018-05-01 09:36:21 +02:00
Sebastian
b1bd6bb9ff
GUI: Applicationlist: Add Microsoft Visual Studio Code (on Windows) ( #1193 )
2018-04-26 16:26:10 +02:00
Sebastian
389fc0c1ee
GUI: Fix wrong receivers in connect calls ( #1178 )
...
Since the slots (functions) are not existent in the class MainWindow and
Qt complains that it can not connect the slots i guess it has been
forgotten to change the receiver.
The ResultsView class (from which mUI.mResults is an instance) contains
these slots, so i guess they should be connected there.
2018-04-18 21:37:09 +02:00
Sebastian
7aefdeb089
GUI: Remove connect call with nonexistent slot function ( #1177 )
...
When starting the application Qt prints this message:
QObject::connect: No such slot CodeEditor::highlightCurrentLine() in
..\gui\codeeditor.cpp:141
And this function really does not exist, i guess it is some relict. If
it is planned to implement it this PR can just be closed.
2018-04-18 15:42:03 +02:00
Daniel Marjamäki
ebb3912396
GUI: Refactoring
2018-04-16 19:57:23 +02:00
versat
024f84ea60
GUI: Add "Check library" and "Check configuration" menu entries
...
They both are only enabled when a project is loaded and when started
they reanalyze the project one time with the according settings.
2018-04-14 08:10:35 +02:00
Daniel Marjamäki
fb803789fd
astyle formatting
...
[ci skip]
2018-04-13 19:57:48 +02:00
Daniel Marjamäki
c4c678383e
GUI: copy selected warnings
2018-04-13 17:31:51 +02:00
Daniel Marjamäki
ff2c376fe8
GUI: Cleanup NewSuppressionDialog interface
2018-04-13 17:24:58 +02:00
versat
80a26312dc
GUI: Applicationlist: Find UltraEdit 32/64 on Windows
2018-04-12 22:07:08 +02:00
Daniel Marjamäki
308e044769
GUI: minor gui updates
...
* when loading xml results, show filename in window title
* when xml results are loaded, enable the save/print/etc buttons
2018-04-12 08:15:04 +02:00
Daniel Marjamäki
a0906140a6
Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName.
2018-04-09 06:43:48 +02:00
Daniel Marjamäki
e240f8cee8
Fixed #8473 (GUI: Missing addon, not looking in executable path subfolder)
2018-04-07 10:32:10 +02:00
Daniel Marjamäki
a828d2a199
GUI: Fix so correct tab is shown first in ProjectFileDialog
2018-04-07 10:20:47 +02:00
Sebastian
48d33da1d5
German translation: Fixed typo and punctuation marks. ( #1144 )
2018-04-04 14:19:57 +02:00
amai
3cc3bd7066
#8471 GUI German spelling: correct typo
2018-04-03 22:05:32 +02:00
amai
fe20a96013
#8467 Remove redundant include
2018-04-02 21:10:35 +02:00
Daniel Marjamäki
b4583d6e37
Made Report::close() non-virtual, it is not overriden and it is called from the Report destructor
2018-04-02 18:30:12 +02:00
PKEuS
e4273be2bc
Updated german translation
2018-04-02 08:52:09 +02:00
Daniel Marjamäki
7e4dba6a7e
Updated copyright year
2018-03-31 20:59:09 +02:00
Daniel Marjamäki
9edc2ac360
lupdate gui.pro
2018-03-31 20:55:29 +02:00
Daniel Marjamäki
588ec80122
misra: the user must provide the rule texts in text file.
2018-03-24 13:28:40 +01:00
Sebastian
e4becc5616
GUI: Fix loading of platform files in project file dialog ( #1122 )
...
Platform::loadPlatformFile needs the path to the binary not only the
path to the directory where the binary is in. Otherwise the last
directory could get stripped away and the platform files maybe will not
be found.
2018-03-16 05:35:30 +01:00
Sebastian
ad5f7cbf71
GUI: Minor fix: Rename one of the two layout items with the same name ( #1121 )
...
Qt warns about two QVBoxLayout objects with the same name and
automatically renames one.
This fixes the warning.
2018-03-15 14:59:34 +01:00
Daniel Marjamäki
9800e82d13
GUI: Allow that platform is selected in project dialog
2018-03-13 13:07:10 +01:00
Sebastian
004da46664
GUI: Make edit define tooltip more clear via example ( #1113 )
2018-03-12 15:20:09 +01:00
Sebastian
df34164b9f
GUI: Scratchpad: Add help texts; run astyle ( #1104 )
...
This adds labels with short explanations on how the scratchpad can be
used.
2018-03-07 12:38:50 +01:00
Martin Ettl
5fc8f13fd6
GUI: Expand found results when using the scratchpad.
2018-03-07 00:18:47 +01:00
Daniel Marjamäki
b66a214ce5
astyle formatting
...
[ci skip]
2018-03-06 22:51:06 +01:00
Sebastian
6b45be6c94
GUI: Avoid path concatenation when path is absolute ( #1103 )
...
When using an absolute path for import project, prepending the current
directory results in an invalid path and the analysis (silently, no
error shown in the GUI) fails.
2018-03-06 22:50:16 +01:00
Sebastian
857da29967
GUI: Remove redundant code ( #1102 )
...
The checked state of the addon checkboxes is already set in the
updateAddonCheckBox function directly above the removed code. I do not
see any reason to set it again and only for three of the four
checkboxes.
2018-03-06 22:49:33 +01:00
Sebastian
3c5ab13a6d
GUI: Add context menu entry for copying line nr ( #1100 )
...
* GUI: Add context menu entry for copying line nr
As requested in ticket 7947 (https://trac.cppcheck.net/ticket/7947 ) also
copying the line nr is implemented.
* Use early return for the new function and similar ones
2018-03-06 15:34:14 +01:00
fu7mu4
428d067f19
Cppcheck_ja.ts is updated ( #1099 )
...
* update to 1.82
* update cppcheck_ja.ts
2018-02-25 13:50:03 +01:00
Daniel Marjamäki
1b53e3ec1d
GUI: Updated codeeditor formatting
2018-02-23 22:17:40 +01:00
Luxon JEAN-PIERRE
211b5ba9fb
GUI: added new french translations ( #1094 )
2018-02-22 22:02:56 +01:00
Daniel Marjamäki
bd21d7fff6
GUI: Improved scrolling in code display
2018-02-21 22:49:50 +01:00
Daniel Marjamäki
9da0e785ef
GUI: Improve user interface when mCheckPath is not set
2018-02-20 22:23:02 +01:00
Daniel Marjamäki
be67b75035
GUI: early return
2018-02-20 14:32:07 +01:00
Daniel Marjamäki
5236bfd845
GUI: load xml => set check path to file path if that seems to match
2018-02-20 13:40:10 +01:00
Daniel Marjamäki
b1ae56736d
GUI: early return
2018-02-20 13:10:36 +01:00
Daniel Marjamäki
feef8f3ebe
GUI: Updated code viewer
2018-02-18 12:06:54 +01:00
Daniel Marjamäki
66c275e337
GUI: Added code editor for quick inspection of bugs
2018-02-17 22:24:41 +01:00
Daniel Marjamäki
79be1257ca
GUI: Minor tweaks. Rename variables. Make sure statistics menu option is enabled at startup if there are last results
2018-02-16 22:22:13 +01:00
Daniel Marjamäki
5acbae8cfa
GUI: If no analysis has been done, there are no statistics to show
2018-02-16 22:15:15 +01:00
Daniel Marjamäki
0883623159
GUI: Better handling of 'Hide all with ID'
2018-02-15 22:37:10 +01:00
Daniel Marjamäki
f8c74032a7
GUI: Early return
2018-02-15 21:29:18 +01:00
Daniel Marjamäki
3c00a22c42
GUI: Clarify user interface '...' => 'Browse...'
2018-02-10 17:31:49 +01:00
Lauri Nurmi
e0e664f996
Fix permissions of certain non-executable files ( #1083 )
...
mode 0755 => 0644
2018-02-09 19:46:38 +01:00
Boris Barbulovski
79bb91179b
double quotes instead single ( #1067 )
2018-01-30 08:43:49 +01:00
Daniel Marjamäki
84fda14684
GUI: cleanup settings dialog interface
2018-01-21 16:42:46 +01:00
Daniel Marjamäki
6f2d4361df
Misra: Integration of MISRA in the GUI. The misra addon can now extract the rule texts from the PDF.
2018-01-20 14:13:09 +01:00
PKEuS
adf45c5afe
Updated translations
2018-01-14 16:31:34 +01:00
Daniel Marjamäki
8e1a23317c
lupdate gui.pro
2018-01-14 16:06:07 +01:00
Daniel Marjamäki
af26f00e04
gui: update copyright message in about dialog
2018-01-14 15:46:20 +01:00
Daniel Marjamäki
c4caee6b18
Updated copyright year
2018-01-14 15:37:52 +01:00
PKEuS
b684e1f202
Updated AStyle to version 3.0.1
2018-01-08 20:20:33 +01:00
Sebastian
ba0ea2e8b1
Fix 7439: GUI: Remove value "constant" from minsize attribute items list ( #1020 )
...
The list of items for the minsize attributes in the LibraryEditor
contains the illegal value "constant" which is removed by this patch.
2018-01-05 11:10:21 +01:00
PKEuS
1fca9112d9
Updated german translation
2017-12-30 18:20:49 +01:00
orbitcowboy
80d0c8451f
Running astyle.
2017-12-08 09:16:34 +01:00
Sebastian
8d08357a73
GUI: Enhance context menu for analysis log ( #1014 )
...
*Add context menu entry for copying selected log entry
*Add context menu entry for copying the complete log
*Do not show context menu if analysis log is empty
*Renamed function log_clear to logClear so it matches the coding style
in the GUI
2017-12-06 21:39:53 +01:00
tompollok
a3bf023506
enable high dpi scaling when qt version >= 5.6.0 ( #1008 )
2017-12-05 21:51:58 +01:00
Sebastian
2f861070de
GUI: Fix: Create all directories in build dir ( #1009 )
...
mkdir() only creates the "last" directory, if more directories in the
path are missing it fails and does not create any directory.
With mkpath() all missing directories are created now.
2017-12-05 20:44:09 +01:00
Sebastian
36ebf165c8
GUI: Add clear log context menu entry ( #1012 )
...
* GUI: Add clear log context menu entry
Add custom context menu to analysis log with an entry to clear the log.
* Fix: Made string translatable
2017-12-05 20:42:16 +01:00
Daniel Marjamäki
247192452f
GUI: Better error handling when library file has unhandled elements
2017-11-12 21:03:22 +01:00
Daniel Marjamäki
d75d0965ff
GUI: Clear data properly in CppcheckLibraryData
2017-11-12 15:22:00 +01:00
Daniel Marjamäki
2be16ed663
GUI: in <function> group the return value elements together
2017-11-12 15:15:54 +01:00
Daniel Marjamäki
a794ae6c9d
GUI: Don't loose information when open/read std.cfg
2017-11-12 15:07:11 +01:00
Daniel Marjamäki
63feebc34f
GUI: Use early return
2017-11-11 21:52:36 +01:00
Daniel Marjamäki
120a7dd42e
GUI: Refactoring pythonCmd lookup
2017-10-12 22:24:45 +02:00
Daniel Marjamäki
abf97c2c26
GUI: refactoring
2017-10-12 17:02:25 +02:00
Daniel Marjamäki
74fc6485d2
GUI: Disable addons that are not found
2017-10-11 23:02:00 +02:00
orbitcowboy
5bc61e35a0
std.cfg: Added support for std::swap.
2017-10-11 13:12:00 +02:00
Daniel Marjamäki
fb94b47f84
GUI: Indicate in project file dialog if clang-tidy is not found
2017-10-10 21:32:37 +02:00
Daniel Marjamäki
09cdead6cb
GUI: Fixed problem with absolute build dir
2017-10-08 15:01:03 +02:00
Daniel Marjamäki
7b1f156ed0
GUI: Restore filemode for checkthread
2017-10-07 23:19:09 +02:00
PKEuS
a79b9125a4
Removed svg file from gui.qrc
2017-10-07 23:11:39 +02:00
Daniel Marjamäki
92314b65e9
GUI: Set PYTHONPATH
2017-10-07 16:21:35 +02:00
Daniel Marjamäki
ec55313c28
GUI: DataDir - use application path if datadir is not set
2017-10-07 16:09:14 +02:00
Daniel Marjamäki
3d353a021d
GUI: Use llvm-dragon.png instead of llvm-dragon.svg
2017-10-07 14:41:00 +02:00
Daniel Marjamäki
5b73a388bc
GUI: Run lupdate
2017-10-07 12:33:40 +02:00
Daniel Marjamäki
d06f718152
GUI: Updated swedish translations
2017-10-07 12:24:57 +02:00
PKEuS
55d0849180
Updated german translation
2017-10-07 11:49:15 +02:00
Daniel Marjamäki
52c121c223
Disable Clang Analyzer for now. It needs a little more work.
2017-10-05 08:47:07 +02:00
Daniel Marjamäki
ecc90c040e
GUI: When creating a new project, set a default value for build dir
2017-09-25 09:19:22 +02:00
Daniel Marjamäki
1b93e2fad9
GUI: Make last results work better
2017-09-23 15:11:42 +02:00
Daniel Marjamäki
bdac09c3af
GUI: Fix compile error
2017-09-22 23:24:03 +02:00
Daniel Marjamäki
233a6d2fc6
GUI: Fix warning ids and severities for clang/clang-tidy warnings
2017-09-22 22:32:02 +02:00
Daniel Marjamäki
9f306cf3aa
Added C++14 option
2017-09-22 22:00:00 +02:00
Daniel Marjamäki
791f6ecbec
GUI: Add 'Clang Analyzer' option
2017-09-22 18:57:53 +02:00
Daniel Marjamäki
6ddcfc3d1c
GUI: Updated handling of clang and clang-tidy
2017-09-22 15:41:27 +02:00
Rudolf Grauberger
6c2ed41e12
Remove theoretical qt4 support for gui projects ( #963 )
...
Update readme instruction to install and build with qt5 only. Remove version check for qt4.
2017-09-20 10:02:46 +02:00
Daniel Marjamäki
33664a88d1
Fixed CID 1378777, uncaught exception
2017-09-02 11:11:35 +02:00
Daniel Marjamäki
4311d4192a
Fixed CID 1360385, we know conversion can be made so use static_cast instead of dynamic_cast
2017-09-02 10:34:20 +02:00
Alexander Mai
0cae823c5d
Fix doxygen comments
2017-08-21 21:13:01 +02:00
Daniel Marjamäki
27fb430c1e
GUI: Code cleanup
2017-08-20 15:08:53 +02:00
Daniel Marjamäki
520ab204e5
GUI: Fix time axis formatting
2017-08-20 14:54:41 +02:00
Daniel Marjamäki
34a96a56be
GUI: Added buttons to show/hide clang/cppcheck results
2017-08-20 12:21:46 +02:00
Daniel Marjamäki
f6184bba0d
Fixed #8169 (GUI: Show checking log in mainwindow)
2017-08-19 22:55:13 +02:00
Daniel Marjamäki
330ceccdc9
GUI: Rework handling of tags. The allowed tags are now userdefined in the project file
2017-08-18 17:25:08 +02:00
Daniel Marjamäki
03b75b54ca
GUI: Updated parsing of addon output
2017-08-15 22:09:55 +02:00
Daniel Marjamäki
e5e0853dd3
GUI: Remove environment tweaks because it should not be needed
2017-08-15 11:27:26 +02:00
Matthias Krüger
2ea8754088
gui: MainWindow::reAnalyzeSelected(): remove unused parameter 'all'.
...
Was:
mainwindow.cpp:998:60: warning: unused parameter ‘all’ [-Wunused-parameter]
void MainWindow::reAnalyzeSelected(QStringList files, bool all)
^~~
.
2017-08-14 12:56:16 +02:00
Daniel Marjamäki
71f52b77a4
GUI: Configuration of python path for the addons
2017-08-14 00:23:21 +02:00
Daniel Marjamäki
663beb6fd2
GUI: Fix compile error
2017-08-13 17:38:47 +02:00
Daniel Marjamäki
928e053efc
GUI: VS headers for clang-tidy
2017-08-13 17:13:24 +02:00
Daniel Marjamäki
83ae7ce270
GUI: Remove include paths from the preferences dialog
2017-08-13 16:56:37 +02:00
Rudolf Grauberger
a007ba7d3c
GUI: Refactor Qt Signal/Slots to the new syntax
2017-08-13 13:41:52 +02:00
Rudolf Grauberger
4bde6f77ed
GUI: Remove support for Qt4 in gui.pro
2017-08-13 13:38:47 +02:00
Rudolf Grauberger
89cf19fdc1
GUI: Refactor Qt Signal/Slots to the new syntax
2017-08-13 13:35:19 +02:00
Daniel Marjamäki
d95efc44c7
GUI: Remove xmlreport_v1.xml test file
2017-08-13 11:05:30 +02:00
Daniel Marjamäki
184e621364
GUI: fix tests
2017-08-13 11:04:37 +02:00
Daniel Marjamäki
649f7b4d73
GUI: Tweak ProjectFileDialog, use groupbox
2017-08-12 23:20:56 +02:00
Daniel Marjamäki
117892e5b2
GUI: Reorder ProjectFileDialog tabs
2017-08-12 20:33:49 +02:00
Daniel Marjamäki
32b63e3079
GUI: chmod
2017-08-12 15:45:14 +02:00
Daniel Marjamäki
b62c145c36
GUI: Show separate statistics graphs for cppcheck and clang-tidy
2017-08-12 15:44:43 +02:00
Daniel Marjamäki
416cf641f3
GUI: Tweak ProjectFileDialog, use GroupBox
2017-08-12 13:02:15 +02:00
Daniel Marjamäki
5f324364bd
GUI: chmod
2017-08-12 12:05:12 +02:00
Daniel Marjamäki
f8c4d6cbc7
GUI: Clang settings
2017-08-12 12:04:42 +02:00
Daniel Marjamäki
2c837f2908
GUI: Show clang-tidy assertion errors in the results
2017-08-12 09:15:10 +02:00
Daniel Marjamäki
c11bcdfb40
GUI: Remove Clang tool and Misra addon for now
2017-08-11 23:48:13 +02:00
Daniel Marjamäki
5414d09e03
GUI: minor tweaks in Settings dialog
2017-08-11 23:40:37 +02:00
Daniel Marjamäki
c624fc2057
GUI: Fix statistics
2017-08-11 08:08:30 +02:00
Daniel Marjamäki
ad82f49ae2
GUI: Suppressing results
2017-08-11 07:45:29 +02:00
Daniel Marjamäki
5de64d6755
GUI: Fixed locations for clang/clang-tidy warnings
2017-08-10 22:46:23 +02:00
Daniel Marjamäki
e909d8fe0d
GUI: Add missing include
2017-08-10 16:58:50 +02:00
Daniel Marjamäki
1afebfa96d
improve the clang settings
2017-08-10 15:47:20 +02:00
Daniel Marjamäki
c29536cfe1
GUI: trim given vs include paths
2017-08-10 15:17:41 +02:00
Daniel Marjamäki
4cc5a594da
GUI: in Clang/clang-tidy analysis the configuration name must start with 'Debug'
2017-08-10 11:16:19 +02:00
Daniel Marjamäki
018d59b393
GUI: Fix bug when loading project file
2017-08-10 11:15:18 +02:00
Daniel Marjamäki
0561d59d28
GUI: Added checkbox 'Analyze all Visual Studio configurations' in the projectfile dialog
2017-08-10 00:18:04 +02:00
Daniel Marjamäki
e675ede07d
GUI: Separate tool statistics
2017-08-09 20:53:17 +02:00
Daniel Marjamäki
c1b0a07ab3
GUI: Add a simple graph in the statistics dialog
2017-08-09 16:31:04 +02:00
Daniel Marjamäki
9e10c2fc78
GUI: Clear results when closing project
2017-08-09 11:23:47 +02:00
Daniel Marjamäki
f42e7da295
GUI: Minor updates when checking with Clang
2017-08-08 20:12:03 +02:00
Daniel Marjamäki
5f1eecc02b
GUI: Minor tweaks
2017-08-08 12:10:20 +02:00
Frank Zingsheim
e182addcf6
CMake: Upgrade Qt4 to Qt5 ( #935 )
2017-08-07 23:49:47 +02:00
Daniel Marjamäki
f6893c72d5
GUI: Fix ProjectFileDialog::updatePathsAndDefines()
2017-08-07 23:08:26 +02:00
Daniel Marjamäki
ff8c5f7457
GUI: Added configuration for VS include paths
2017-08-07 23:00:24 +02:00
Daniel Marjamäki
b250791a1e
GUI: Use checksum for clang output to see if code is changed
2017-08-07 09:28:35 +02:00
Daniel Marjamäki
e1a086f83a
Restore mode 644 for gui/mainwindow.cpp
2017-08-06 21:37:15 +02:00
Daniel Marjamäki
c0c7a0a877
GUI: ensure Settings::terminated is false when analysis is started
2017-08-06 21:28:49 +02:00
Daniel Marjamäki
da255c35d3
GUI: Incremental analysis for clang/clang-tidy
2017-08-06 15:16:21 +02:00
Daniel Marjamäki
24027009e1
GUI: Updated handling of Clang
2017-08-06 12:14:15 +02:00
Daniel Marjamäki
7a19bddce4
Gui: Improve Clang in Windows. It must have standard headers so try to autodetect mingw headers.
2017-08-04 23:58:17 +02:00
Daniel Marjamäki
7f1db7b716
GUI: Working on Clang support on Windows
2017-08-04 20:08:01 +02:00
Daniel Marjamäki
c2bb9890e9
GUI: add clang-tidy
2017-08-04 15:10:27 +02:00
Daniel Marjamäki
7468b40a5e
GUI: Fix sinceDate handling
2017-08-03 23:27:18 +02:00
Matthias Krüger
abce74ff56
gui: update doxygen comment missed in previous commit.
2017-08-03 22:56:10 +02:00
Daniel Marjamäki
5fa7a4edc4
GUI: save dumpfiles in buildDir if possible
2017-08-03 22:54:38 +02:00
Matthias Krüger
0e40a4cc39
gui: ThreadHandler::check() remove unused parameter "all".
...
Was:
threadhandler.cpp:78:58: warning: unused parameter ‘all’ [-Wunused-parameter]
void ThreadHandler::check(const Settings &settings, bool all)
^~~
2017-08-03 22:48:38 +02:00
Daniel Marjamäki
67043b3524
GUI: Add -isystem and proper standard when running Clang
2017-08-03 21:39:20 +02:00
Matthias Krüger
ef80aba58f
gui: fix compiler selection if CXX is empty
2017-08-03 21:23:02 +02:00
Daniel Marjamäki
1f3f8f6f20
GUI: Minor fixes in the Clang parser
2017-08-03 20:33:01 +02:00
Matthias Krüger
25a19b5ca7
gui: get QMAKE_CXX from CXX env var of system.
2017-08-03 18:16:39 +02:00
Daniel Marjamäki
5c9f010a61
GUI: Refactoring run-addons
2017-08-03 18:04:15 +02:00
Daniel Marjamäki
1be04346b3
GUI: Refactoring, split out getAddonPath()
2017-08-03 17:26:16 +02:00
Daniel Marjamäki
14efd2fdf5
GUI: Split up parsers for addons/clang
2017-08-03 17:20:29 +02:00
Daniel Marjamäki
ac08e216a4
GUI: indicate that clang handling is experimental
2017-08-03 17:10:56 +02:00
PKEuS
b4cf79f1b7
GUI: Refactorizations
2017-08-03 12:43:44 +02:00
Daniel Marjamäki
dfc48be70e
Fixed #2363 (GUI: Using addons in the checking)
2017-08-03 12:30:28 +02:00
Daniel Marjamäki
952c31638c
Fixed #1862 (GUI: Allow user to tag errors)
2017-08-02 22:28:45 +02:00
Daniel Marjamäki
77d9a4d981
GUI: Remove unused method
2017-08-02 20:27:38 +02:00
Daniel Marjamäki
78e30e735e
GUI: Better history. Prepare for tagging messages.
2017-08-02 20:24:23 +02:00
Daniel Marjamäki
3e2236ac73
GUI: Rename variables
2017-08-02 19:09:03 +02:00
orbitcowboy
cc210679a5
gnu.cfg: Added returnValue-types.
2017-08-02 14:34:06 +02:00
Daniel Marjamäki
274bc179bf
GUI: constness
2017-08-02 14:26:56 +02:00
Daniel Marjamäki
f516c5696e
GUI: small refactoring
2017-08-02 12:45:57 +02:00
Daniel Marjamäki
5c7591db9e
Fix issues detected by Coverity, ResultsTree did not initialize all member variables
2017-08-02 08:57:44 +02:00
Daniel Marjamäki
cde262fd02
Refactoring, use early return
2017-08-02 08:49:45 +02:00
Daniel Marjamäki
ecc84ee027
Fix issue detected by Coverity, StatsDialog::mStatistics was not initialized in the constructor
2017-08-02 08:45:17 +02:00
orbitcowboy
7ab8d758c5
std.cfg: Added more returnValue-types.
2017-08-01 14:33:12 +02:00
Daniel Marjamäki
c4ee9799bc
GUI: load/save data automatically in the ProjectFileDialog
2017-07-31 16:14:01 +02:00
Daniel Marjamäki
17d9f88d9e
GUI: modernize, replace NULL with nullptr
2017-07-31 15:19:51 +02:00
Daniel Marjamäki
373f33406b
GUI: modernize connect in SettingsDialog
2017-07-31 15:13:16 +02:00
Daniel Marjamäki
9e234fa25c
GUI: modernize connect in StatsDialog
2017-07-31 13:55:47 +02:00
Daniel Marjamäki
ac13648d40
GUI: modernize connect in ThreadHandler
2017-07-31 13:52:03 +02:00
Daniel Marjamäki
efbe7b76ee
GUI: modernize connect in ThreadHandler
2017-07-31 13:46:23 +02:00
Daniel Marjamäki
037fc6e3a4
GUI: Remove Project class
2017-07-31 12:02:51 +02:00
Daniel Marjamäki
4986ffa2f1
GUI: modernize connect in ApplicationDialog
2017-07-31 10:18:02 +02:00
Daniel Marjamäki
ea95398123
GUI: modernize connect in AboutDialog
2017-07-31 10:16:23 +02:00
Daniel Marjamäki
2f554e82ff
GUI: modernize connect in ResultsTree
2017-07-31 08:18:34 +02:00
Daniel Marjamäki
9d93c01ba0
GUI: modernize connect in ResultsView
2017-07-31 08:17:13 +02:00
Daniel Marjamäki
5e189de956
GUI: modernize connect in ProjectFileDialog
2017-07-31 08:09:57 +02:00
Daniel Marjamäki
e589c4fc7d
GUI: modernize connect in MainWindow
2017-07-31 07:36:42 +02:00
Daniel Marjamäki
5ef3de7c88
GUI: Reanalyze all for projects
2017-07-30 23:02:30 +02:00
Daniel Marjamäki
65f5e219f1
GUI: Update translations
2017-07-30 13:43:15 +02:00
Daniel Marjamäki
abcabba88e
GUI: When loading project, try to load last results
2017-07-30 13:42:34 +02:00
Daniel Marjamäki
0b509e9e35
GUI: Update strings 'check' => 'analyze'
2017-07-30 13:31:02 +02:00
Daniel Marjamäki
2634593e3a
GUI: Update comments
2017-07-30 13:30:35 +02:00
Daniel Marjamäki
23ed35b1e6
GUI: Renamed methods 'Check' => 'Analyze'
2017-07-30 11:50:08 +02:00
PKEuS
17142db490
Updated translations
2017-07-30 11:29:06 +02:00
Daniel Marjamäki
d423a8c640
GUI: Renamed methods 'Check' => 'Analyze'
2017-07-30 11:19:47 +02:00
Daniel Marjamäki
d09cdfd63f
GUI: Rename 'Check' to 'Analyze'
2017-07-30 09:46:01 +02:00
Daniel Marjamäki
fcce43fb8d
GUI: reopen project after restart. If build dir is specified the last results will also be shown.
2017-07-30 00:13:00 +02:00
PKEuS
2aa1523a2d
GUI: Removed XML format version 1
2017-07-29 19:36:19 +02:00
PKEuS
57bd6aafd5
GUI:
...
- Updated copyright date
- Fixed compilation on Windows
- Updated german translation
2017-07-29 12:08:19 +02:00
Daniel Marjamäki
02540c0bc0
Ran lupdate
2017-07-29 11:37:23 +02:00
Daniel Marjamäki
80b7925047
GUI: Update swedish translation
2017-07-29 11:36:39 +02:00
Daniel Marjamäki
a698f58b6e
GUI: If build dir does not exist, ask user if it should be created
2017-07-28 19:39:11 +02:00
Daniel Marjamäki
1dfa92c2ce
astyle formatting
...
[ci skip]
2017-07-28 18:21:59 +02:00
Daniel Marjamäki
2828742e1e
GUI: Moved 'import project' to 'Paths and Defines' tab
2017-07-28 18:13:17 +02:00
Daniel Marjamäki
c1eb71e84d
GUI: Rename methods
2017-07-28 13:43:49 +02:00
Daniel Marjamäki
97a86313aa
GUI: rename methods, fix connect
2017-07-28 13:13:10 +02:00
Daniel Marjamäki
98803bb14c
GUI: Renamed methods in ThreadHandler
2017-07-28 12:39:28 +02:00
Daniel Marjamäki
90dd04d317
GUI: Update connect()
2017-07-28 12:22:15 +02:00
Daniel Marjamäki
73cbf617e2
GUI: Renamed methods in ResultsView
2017-07-28 12:10:10 +02:00
Daniel Marjamäki
090062baaf
GUI: Rename ResultsTree methods
2017-07-28 11:54:20 +02:00
Daniel Marjamäki
1f0720db3f
GUI: Renamed LowView methods
2017-07-28 11:37:17 +02:00
Daniel Marjamäki
95a280f43f
GUI: Renamed FileView method
2017-07-28 11:31:42 +02:00
Daniel Marjamäki
252fab2181
GUI: Renamed common functions
2017-07-28 11:20:35 +02:00
Daniel Marjamäki
0d8b7af2b3
GUI: Renamed methods in Report
2017-07-28 11:12:05 +02:00
Daniel Marjamäki
c4bd70210c
GUI: Rename methods in FileList and PathMatch
2017-07-28 10:55:51 +02:00
Daniel Marjamäki
24bdd6d246
GUI: Rename MainWindow slots
2017-07-28 10:41:03 +02:00
Daniel Marjamäki
213f17e79f
GUI: Rename methods in MainWindow
2017-07-28 05:44:15 +02:00
Daniel Marjamäki
8bd2531603
GUI: Rename methods in CheckThread
2017-07-28 05:26:11 +02:00
Daniel Marjamäki
5ed4c7f3ea
GUI: Rename methods in CheckStatistics
2017-07-28 05:23:25 +02:00
Daniel Marjamäki
24ce4292f2
GUI: Rename methods in ApplicationList
2017-07-28 05:18:43 +02:00
Daniel Marjamäki
8d704f7709
GUI: Rename methods in ProjectFile
2017-07-28 05:08:59 +02:00
Daniel Marjamäki
6c424709b6
GUI: Rename methods in Project
2017-07-28 04:57:28 +02:00
Daniel Marjamäki
2d23ee2490
GUI: Change text for project settings tab
2017-07-27 16:12:28 +02:00
Daniel Marjamäki
f316e0d572
GUI: handle 'cancel' in open dialog
2017-07-27 16:10:30 +02:00
Daniel Marjamäki
ca2f59a6d4
GUI: Try to simplify the 'Import Project' setting
2017-07-27 16:07:47 +02:00
Daniel Marjamäki
f6ee0f6868
GUI: Add tooltip for build dir setting
2017-07-27 14:40:19 +02:00
Daniel Marjamäki
80367095db
Fixed #7946 (GUI-CLI: Priorize specific command line parameters to guessing)
2017-06-25 22:18:51 +02:00
Daniel Marjamäki
839cb2bdaa
Fixed #7903 (Library Editor doesn't allow to select 'sizeof' as type of Min size of buffer)
2017-06-25 11:55:50 +02:00
Daniel Marjamäki
cc2526c5c5
Fixed #8096 (GUI: crash in ResultsTree::AddErrorItem)
2017-06-07 11:55:21 +02:00
Daniel Marjamäki
dee605ae59
Fixed #7734 (GUI: editable cells in file list)
2017-06-06 22:25:13 +02:00
Ayaz Salikhov
132c0af22a
Simplify some statements
2017-06-01 02:02:12 +03:00
Daniel Marjamäki
25e50e2a98
GUI: minor tweaks. Add tr().
2017-05-28 16:29:41 +02:00
Ameen Ali
5338339c2c
GUI: Add button in statistics window to export statistics to PDF
2017-05-28 16:16:28 +02:00
Ayaz Salikhov
28aa939d69
iwyu - include what you use
2017-05-27 04:33:47 +02:00
Daniel Marjamäki
c20dbad424
Fix Cppcheck warning
2017-05-22 10:26:16 +02:00
Daniel Marjamäki
a20fb4f36a
GUI: Update results
2017-05-21 08:25:55 +02:00
Matthias Krüger
531278e075
manuals: remove remaining occurrences of --append
2017-05-14 12:27:44 +02:00
PKEuS
16b26d9d0e
Updated german translation
2017-05-13 11:22:19 +02:00
Daniel Marjamäki
2a1c4d24e7
GUI: Update translations
2017-05-13 11:15:49 +02:00
PKEuS
f93f1bb1cc
Refactorization: Removed redundant "struct" keywords in gui/librarydialog.cpp
2017-05-11 11:02:10 +02:00
David Korth
336cf5fd08
Get rid of the double ".qm" in the missing translation message.
2017-05-11 11:02:10 +02:00
David Korth
310226bb6b
gui: Check CFGDIR if it's defined.
...
For quite a while, cppcheck-gui hasn't shown any of the standard
library packages on my Gentoo system. It turns out that cppcheck-gui
doesn't use CFGDIR, but it does use a DATADIR variable stored in
QSettings. Problem is, DATADIR isn't set unless you manually specify
--data-dir, which isn't very intuitive.
This commit adds CFGDIR to the default list of cfg paths if the
CFGDIR macro is defined during the build.
2017-05-11 11:02:10 +02:00
Daniel Marjamäki
549fec1628
GUI: Try to clarify --data-dir message
2017-05-03 21:44:59 +02:00
Daniel Marjamäki
34a56506cb
Fixed #8042 (Unclear semantics of --data-dir option of cppcheck-gui)
2017-05-01 11:41:22 +02:00
Daniel Marjamäki
633ed23c0d
Fix Cppcheck warnings about mismatching function argument names
2017-04-01 09:31:27 +02:00
Daniel Marjamäki
1ea392a40f
lupdate gui.pro
2016-12-31 18:13:11 +01:00
PKEuS
21ab39e2b2
Updated german translation
2016-12-29 11:33:13 +01:00
Daniel Marjamäki
6f2480fb4d
GUI: update whole program analysis
2016-12-09 20:48:32 +01:00
Stefan Weil
57b57428c2
Fix some typos in comments (found by codespell)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-11-27 11:40:42 +01:00
Daniel Marjamäki
769b6a0b72
astyle formatting
2016-11-20 10:38:27 +01:00
Daniel Marjamäki
93fc489cbc
GUI: rename main.ui to mainwindow.ui
2016-11-19 23:07:48 +01:00
Daniel Marjamäki
c2069c4b76
GUI: Renamed functions
2016-11-19 23:00:59 +01:00
Daniel Marjamäki
ad1b3361db
GUI: Renamed projectfile.ui to projectfiledialog.ui. moved some code from project.cpp to projectfiledialog.cpp
2016-11-19 22:54:32 +01:00
Daniel Marjamäki
0da33eaa80
GUI: Renamed elements
2016-11-19 22:37:12 +01:00
Daniel Marjamäki
7c046e541b
GUI: Renamed ui elements
2016-11-19 21:38:05 +01:00
Daniel Marjamäki
2b767d3f6f
GUI: Rename
2016-11-19 21:12:32 +01:00
Daniel Marjamäki
84e6163cb8
GUI: Add cppcheck build dir
2016-11-19 20:38:50 +01:00
fsb4000
14d4af1235
to update year at russian translation
2016-10-16 13:22:28 +07:00
PKEuS
04b9076af3
Updated german translation
2016-10-08 19:30:25 +02:00
Daniel Marjamäki
d9912a2bbe
updated translations
2016-10-08 18:05:11 +02:00
Daniel Marjamäki
143e7bf8b1
GUI: Formatting comments
2016-10-02 18:23:51 +02:00
Daniel Marjamäki
0e78dd5eac
GUI: refactoring, replace .c_str()
2016-10-02 18:11:44 +02:00
Daniel Marjamäki
81a38bd7ea
GUI: Refactorings
2016-10-02 18:03:21 +02:00
Daniel Marjamäki
03d6d34396
Fixed #4399 (Exclude directory with absolute path does not work)
2016-10-02 13:02:29 +02:00
Daniel Marjamäki
6f133a397b
Fixed #3492 (GUI: after edit project recheck use old settings)
2016-10-01 13:08:58 +02:00
Daniel Marjamäki
d4d1d32937
GUI: use early return
2016-10-01 12:06:04 +02:00
Daniel Marjamäki
cf9ece4187
astyle formatting
...
[ci skip]
2016-10-01 12:04:13 +02:00
Daniel Marjamäki
1beb22a247
Fixed #7746 (Cppcheck can not open compile_commands.json (only compile_database.json))
2016-10-01 11:25:58 +02:00
Chocobo1
54ac95223e
Resize page to content.
...
Results in better menu icon
2016-09-27 17:06:26 +08:00
Chocobo1
0972de14f1
Rename icon.svg to cppcheck-gui.svg
2016-09-27 16:28:36 +08:00
Chocobo1
4e11c0004d
Rename icon.png to cppcheck-gui.png
2016-09-27 16:28:36 +08:00
Chocobo1
bdc59a51dc
Add .desktop file
2016-09-27 16:05:38 +08:00
Daniel Marjamäki
1c970df17f
Revert "GUI: fix results if there is problem only in header and not in file-1."
...
This reverts commit 997a3cd9ca
.
2016-09-19 15:40:15 +02:00
Daniel Marjamäki
997a3cd9ca
GUI: fix results if there is problem only in header and not in file0.
2016-09-18 21:32:53 +02:00
Daniel Marjamäki
bea35ee04c
GUI: Select configuration that is checked
2016-08-21 15:57:38 +02:00
Daniel Marjamäki
86a6723a84
GUI: Fix 'Edit Project' dialog. Visual Studio solution was forgotten.
2016-08-20 18:34:17 +02:00
Daniel Marjamäki
4745d844ad
GUI: don't auto-skip configurations when checking .sln file
2016-08-20 16:14:52 +02:00
Daniel Marjamäki
fe2fa4d343
GUI: Only check current platform when checking sln/vcxproj file
2016-08-20 13:47:25 +02:00
Daniel Marjamäki
9cced993aa
GUI: You can now select Visual Studio files and Compile databases in the Check files dialog
2016-08-20 13:32:48 +02:00
Daniel Marjamäki
f555abb0b5
GUI: Expose --project to gui
2016-08-18 21:58:50 +02:00
PKEuS
ec4a85ecef
Added deprecation warning for XML format 1, which will be removed in cppcheck 1.81
2016-08-07 13:50:52 +02:00
Frank Zingsheim
47c063e13f
Fixed #7660 (cmake build does not handle simplecpp)
2016-08-06 18:21:54 +02:00
XhmikosR
8908442f9e
Losslessly compress images.
...
Before: 24,1 KB (24.685 bytes)
After: 23,0 KB (23.608 bytes)
2016-07-25 12:15:35 +03:00
umanamente
7466a49b21
Updated russian translation. ( #804 )
...
Add an optional extended description…
2016-06-14 14:01:17 +02:00
Daniel Marjamäki
85c7456546
http://cppcheck.sourceforge.net => http://cppcheck.net
2016-06-05 18:17:47 +02:00
PKEuS
de232268a3
ran lupdate gui.pro
2016-06-05 10:55:55 +02:00
Boris Barbulovski
69cc64a717
Translate text for current Qt(not both Qt4 & Qt5). ( #793 )
...
Check Qt version on compile time, and translate text for current Qt version.
2016-05-16 22:02:31 +02:00
PKEuS
19c0bccfee
Ran lupdate gui.pro, updated german translation
2016-03-20 10:34:55 +01:00
PKEuS
c31f7c7a48
Improved flags in gui.pro:
...
- shlwapi.lib is not necessary if dynamic linking is used
- Do not define _CRT_SECURE_NO_WARNINGS explicitly, it gets defined anyway.
2016-01-31 10:10:48 +01:00
Gumichan01
9afd632c91
French translations
2016-01-20 19:11:31 +01:00
Daniel Marjamäki
dc5e2d5c8d
xml: output file0 whenever it is different to filename, both for included files and when #line is used.
2016-01-19 07:01:21 +01:00
Akhilesh Nema
efff2c5397
Fixed #7294 (GUI: Add option in 'Settings' for 'Statistics Dialog' display.)
2016-01-16 17:43:57 +01:00
Akhilesh Nema
06ded4a3d4
Fixed #7240 (GUI: Result tree Context Menu should show default editor application only.)
2016-01-16 15:19:06 +01:00
Akhilesh Nema
2f29efce68
Fixed #7295 (GUI: 'Edit Project' and 'Close Project' actions getting enabled after Files/Directory check.)
2016-01-16 09:59:02 +01:00
Akhilesh Nema
4aa2876ca0
Fixed #7278 (GUI: error rechecking with some files)
2016-01-15 16:52:22 +01:00
Akhilesh Nema
6c1ac1bd53
GUI: Add detection for geany and Qtcreator as editor application
2016-01-15 09:33:04 +01:00
PKEuS
2a30e2bc01
Fixed bug in german translation
2016-01-09 11:00:32 +01:00
PKEuS
bd202ba20a
Ran lupdate gui.pro, updated german translation
2016-01-09 10:51:42 +01:00
PKEuS
37fefe3479
Removed non-standard code annotations with __attribute__
2016-01-09 09:33:56 +01:00
Daniel Marjamäki
24739869ba
GUI: Renamed 'Builtin' to 'Native'
2016-01-08 19:56:09 +01:00
Aleksandr Pikalev
e92bbf6481
Fixed #7275 - Make GUI tests buildable
...
* Use -std=c++11 flag for gcc and clang
* Use $$PWD variable in qmake files to have correct paths
* Change tokenizer.simplifyTokenList() to tokenizer.simplifyTokenList2()
* Add build-generated files to .gitignore
* Link libpcre only if rules are enabled
2016-01-08 15:21:36 +01:00
Daniel Marjamäki
79e663dd6f
Settings: Remove '_' prefix for public member variables
2016-01-03 16:18:17 +01:00
Daniel Marjamäki
ca4f55ec4c
Cleanup Copyrights. Now all should be just for Cppcheck team.
2016-01-01 23:04:16 +01:00
Lauri Nurmi
996c9244d8
Update copyright year to 2007-2016.
2016-01-01 15:34:45 +02:00
Akhilesh Nema
997d7dc695
Fixed #7231 (GUI: 'Selected File Recheck' being performed multiple times if file selection includes existing error messages.)
2015-12-29 01:38:36 +01:00
Akhilesh Nema
0886ef9c5f
Fixed #3192 (GUI: Allow opening project file without extra parameter from CLI)
2015-12-26 11:47:07 +01:00
Daniel Marjamäki
cc987d8ff5
astyle formatting
2015-12-23 23:05:26 +01:00
Akhilesh Nema
bedd85fa50
Fixed #1459 (GUI: Allow re-checking selected files/folders)
2015-12-23 10:28:07 +01:00
fu7mu4
dab0774297
add translations in Japanese
2015-12-19 16:30:30 +09:00
PKEuS
8f22e4924c
Updated AStyle to version 2.05.1
...
Tweaked runastyle.bat a little bit.
2015-12-17 15:53:13 +01:00
Daniel Marjamäki
e88a1b0915
astyle formatting
2015-12-08 14:23:26 +01:00
Akhilesh Nema
ca3c19c63d
GUI: Fixed compiler warnings
2015-12-07 11:24:54 +01:00
Akhilesh Nema
20b695d62d
GUI: Handle 'Enter Key' Event in results tree.
2015-12-03 19:33:36 +01:00
Aleksandr Pikalev
e9b84a4f06
Related #7173 : LibraryEditor: Do not save file with empty name
2015-11-29 17:02:08 +01:00
Aleksandr Pikalev
fe8cedade5
Fixed #7173 (Library Editor: Save As button and error messages)
2015-11-29 11:21:04 +01:00
Aleksandr Pikalev
e8decd925b
Fixed #7161 (GUI: Do not lose [Default] label after editing an application)
2015-11-28 21:39:48 +01:00
Aleksandr Pikalev
a6206ae727
Fixed #7174 : Do not forget argument number in Library Editor
2015-11-27 10:54:06 +01:00
Frank Zingsheim
70c20515a9
Cmake object linkage. Fix #7128 : (cppcheck 1.70 doesn't report any warnings)
2015-11-26 20:25:09 +01:00
Daniel Marjamäki
e2b859bf42
Library Editor: Load/save <warn> elements
2015-11-22 11:45:29 +01:00
Daniel Marjamäki
aedba792b5
Library Editor: Don't write empty comments
2015-11-21 16:10:14 +01:00
Daniel Marjamäki
0f9d90d2be
Changed Copyrights. Removed my name.
2015-11-18 20:04:50 +01:00
PKEuS
65e8538590
GUI: Attempt to fix editor detection for x64 Windows
2015-11-18 17:35:10 +01:00
PKEuS
68afbaae07
Ran lupdate/lrelease. Updated german translation.
2015-11-14 10:55:48 +01:00
Aleksandr Pikalev
e1342435ca
Fixed #7063 (GUI: better extensions filtering)
...
Make filtering case insensitive to let check *.C, *.CPP, etc files.
Show in file open dialog only files that could be checked.
2015-11-13 20:21:07 +01:00
Aleksandr Pikalev
c0191b25ac
Fixed #5662 (GUI - Save results missing some entries)
...
Use empty parent index as we test top level items.
2015-11-13 20:21:06 +01:00
PKEuS
cc783b0186
Updated/Improved several readme files
2015-11-06 15:19:08 +01:00
Aleksandr Pikalev
ebfa40c369
Fixed #7047 (Library Editor crashes if I try to edit not selected function)
2015-11-05 16:34:08 +01:00
XhmikosR
0825c57c9f
GUI: losslessly compress images.
...
Before: 21,9 KB (22.477 bytes)
After: 21,4 KB (21.996 bytes)
[ci skip]
2015-10-22 08:44:26 +03:00
PKEuS
04a31011b0
GUI: Do not show Severity, Id, Inconclusive and Summary twice if an error element has a child
2015-10-15 12:08:51 +02:00
PKEuS
dfe61f415d
GUI: Improved handling of inconclusive messages ( #3815 )
...
- Moved setting from "Advanced" to "General" tab
-> Moved remaining single item, too, as it does not make sense to keep a tab for a single option. This option is now shown at the bottom of the dialog
- Replaced [inconclusive] string in "Summary" Column by extra column "Inconclusive", which is only visible if inconclusive checking is enabled
2015-10-15 11:59:17 +02:00
PKEuS
6dcb918b78
GUI: Implemented "Recheck all files" button ( #3614 ), renamed "Recheck files" button to "Recheck modified files" ( #3624 )
2015-10-14 19:07:20 +02:00
PKEuS
dcb746a49a
GUI: Improved translations:
...
- Fixed translation of default buttons for Qt5
- Removed translation opportunity for language names. English or native names are better than translated names (#4014 )
2015-10-14 18:21:00 +02:00
PKEuS
fb2802d6a3
GUI: Show file that included a header in details view ( #4026 )
2015-10-14 18:10:14 +02:00
PKEuS
46a43f3041
GUI: Properly refresh result tree if new rows are added ( #4727 )
2015-10-14 17:44:52 +02:00
PKEuS
61d8a73f4c
GUI:
...
- Support enforcing language (#5456 )
- Fixed several broken settings by saving them before creating Settings instance (changing them required restarting cppcheck)
- Updated german translation
2015-10-14 14:32:21 +02:00
Aleksandr Pikalev
f239057e33
Change Q_WS_WIN to Q_OS_WIN
...
Q_WS_* macroses were removed from Qt5.
Use Q_OS_* instead.
2015-10-07 13:42:42 +02:00
ngosang
82ba6b5901
Update Spanish translation
2015-09-23 23:09:37 +02:00
Daniel Marjamäki
e09f583096
GUI: library editor, edit function comments
2015-09-10 20:11:05 +02:00
orbitcowboy
60770a8fdc
test/cfg: Improved testing of std.cfg regarding uninitialized variables.
2015-09-08 15:43:22 +02:00
Daniel Marjamäki
a32aa03035
GUI: Library editor - rename function
2015-09-08 15:38:02 +02:00
Daniel Marjamäki
4cffff7bde
GUI: tweaks in library dialog for sorting and filter
2015-09-06 14:54:21 +02:00
Daniel Marjamäki
9f31414179
GUI: Library editor - added sort button and filter edit box
2015-09-06 14:20:27 +02:00
Daniel Marjamäki
65d246aea2
GUI: Library editor - edit argument when user double clicks on it
2015-09-06 10:38:01 +02:00
Daniel Marjamäki
ddfc766375
GUI: indentation of cfg files
2015-09-06 09:10:45 +02:00
Daniel Marjamäki
0e5f7fe567
GUI: fixes to save cfg files properly in the library editor
2015-09-06 08:48:13 +02:00
Daniel Marjamäki
ff0f4cef16
GUI: Add handling of containers to CppcheckLibraryData
2015-09-05 20:13:26 +02:00
Daniel Marjamäki
40bd3de9b3
GUI: rewrote library dialog xml input/output
2015-09-05 11:37:55 +02:00
Daniel Marjamäki
f5c6561e18
GUI: Readd library editor
2015-09-04 20:46:26 +02:00
Daniel Marjamäki
41d7e8e1f0
GUI: Quick fix for a crash when mContextItem->parent() is NULL
2015-09-04 20:04:31 +02:00
Daniel Marjamäki
b7bac8c920
GUI: Disable and hide library editor for now. It will be readded after the release.
2015-09-04 14:20:49 +02:00
PKEuS
2ae7bcaf1b
Ran lupdate gui.pro, updated german translation (only translatable strings), fixed typo in main.ui
2015-09-04 14:08:05 +02:00
Daniel Marjamäki
4385879b72
GUI: Improved handling of noreturn in library editor
2015-09-03 20:36:26 +02:00
Daniel Marjamäki
bfb70f3312
saving std.cfg with libraryeditor, applied some of the generated diffs.
2015-09-03 07:00:43 +02:00
Daniel Marjamäki
6b49a39282
GUI: Make it possible to configure minsizes through the LibraryDialog
2015-09-01 18:13:27 +02:00
Daniel Marjamäki
c9d14f4bb0
GUI: LibraryDialog - update presentation of minsizes
2015-08-31 09:04:35 +02:00
Daniel Marjamäki
a65fabebce
GUI: refactoring librarydialog
2015-08-30 18:37:12 +02:00
Daniel Marjamäki
3bae4ae429
GUI: Renamed LibraryData to CppcheckLibraryData to try to avoid a name clash
2015-08-30 13:41:57 +02:00
Daniel Marjamäki
779207933c
GUI: Added missing files. Forgot to add them in my last commit.
2015-08-30 13:35:02 +02:00
Daniel Marjamäki
dd7c0b353d
GUI: Added a dedicated dialog for LibraryDialog for configuration of function arguments
2015-08-30 13:33:43 +02:00
Martin Ettl
fb643ba2d4
Running astyle; test/cfg/: Since #6958 is fixed, activated test cases for fma()-functions.
2015-08-30 11:59:33 +02:00
Daniel Marjamäki
ab4adf2836
GUI: Added a dedicated 'Add function' dialog to the LibraryDialog
2015-08-30 10:24:44 +02:00
Daniel Marjamäki
f9415fc904
GUI: minor tweaks of library editor
2015-08-30 02:49:17 +02:00
Daniel Marjamäki
f5d131671c
GUI: Let user add function in the library editor
2015-08-29 18:50:08 +02:00
Daniel Marjamäki
6aeb3ff5e3
GUI: Load/save cfg files better
2015-08-29 18:07:59 +02:00
Daniel Marjamäki
f357d8611d
GUI: Allow some editing of argument properties in the library editor
2015-08-29 17:24:56 +02:00
Daniel Marjamäki
cc8939cef9
GUI: Refactoring library editor, splitting out data to separate file
2015-08-23 16:03:24 +02:00