Mathias Schmid
fa30464a96
Fix scratchpad translation on language change. ( #3078 )
2021-01-23 17:56:16 +01:00
Mathias Schmid
583ee7b70e
Fix update of some translations after application language switch. ( #3049 )
2021-01-15 18:19:51 +01:00
Rikard Falkeborn
bedf3118ef
library: Refactor to use enum class ( #3026 )
2021-01-08 10:29:01 +01:00
Oliver Stöneberg
fbf5858f76
fixed and enabled several clang-tidy warnings ( #2816 )
2021-01-02 19:10:25 +01:00
Daniel Marjamäki
a493e17a6a
Tweaks to use summaries in GUI
2020-12-19 20:46:00 +01:00
Daniel Marjamäki
bca3605f77
astyle formatting
2020-09-21 19:48:04 +02:00
Oliver Stöneberg
1077b0d2a6
small compileroptions.cmake cleanup ( #2817 )
...
* compileroptions.cmake: moved common warnings to proper scope and aligned them with other build systems / fixed some -Wrange-loop-construct clang warnings
* compileroptions.cmake: use check_cxx_compiler_flag() via add_compile_options_safe() helper to avoid compiler version checks
2020-09-21 19:41:28 +02:00
Oliver Stöneberg
7189b303ae
fixed some modernize-loop-convert clang-tidy warnings ( #2815 )
2020-09-21 19:30:47 +02:00
Daniel Marjamäki
51a6f154e0
GUI: If DATADIR is not configured try to guess it. Try to use application path. Or look if there is a cppcheck path.
2020-08-29 21:26:49 +02:00
Daniel Marjamäki
262d37fb47
windows installer: another attempt to make help work. the 'contents' are shown now but for some reason the 'index' is not.
2020-08-28 19:05:11 +02:00
Daniel Marjamäki
6277eece67
Variable contracts
2020-08-24 20:57:49 +02:00
Daniel Marjamäki
14dfa035c1
GUI: Try to reuse Qt Assistant to show help
2020-08-01 18:56:37 +02:00
Daniel Marjamäki
09241030c3
GUI: Add online help
2020-07-20 11:59:28 +02:00
Daniel Marjamäki
9af288e1dd
Fixed #9724 (GUI: The tags do not work anymore)
2020-07-16 23:03:54 +02:00
Daniel Marjamäki
b249d9be31
GUI: Refactor tags
2020-07-16 20:19:36 +02:00
Daniel Marjamäki
6ab4f39f52
GUI: Suppress cppcheck-id
2020-07-15 13:03:07 +02:00
Daniel Marjamäki
c5f9e85ee7
GUI: Add configuration for max recursion in template instantiation
2020-06-26 17:12:02 +02:00
Daniel Marjamäki
32e569704b
executeCommand in CppCheckExecutor or QCheckThread
2020-05-19 16:04:40 +02:00
Daniel Marjamäki
2ef538c171
Tweak paths when executing addons in Cppcheck
2020-05-17 21:45:37 +02:00
Daniel Marjamäki
547d1b158e
Fixed #9723 (GUI: inline suppressions does not work for addons)
2020-05-17 16:50:13 +02:00
Daniel Marjamäki
08ddd84780
Update copyright year
2020-05-10 11:16:32 +02:00
Daniel Marjamäki
3e0218299b
Revert "Update copyright year"
...
This reverts commit 6eec6c4bd5
.
2020-05-10 11:13:05 +02:00
Daniel Marjamäki
6eec6c4bd5
Update copyright year
2020-05-10 11:11:34 +02:00
Daniel Marjamäki
cdc530a25f
GUI: When clearing results, remove files in build dir
2020-04-29 18:10:01 +02:00
Daniel Marjamäki
e89f5ab593
GUI: Double click on contract to edit it
2020-04-29 17:51:25 +02:00
Daniel Marjamäki
12dfd8a5ca
GUI: Show missing/added contracts in tab
2020-04-28 22:09:01 +02:00
Daniel Marjamäki
dae009ca01
GUI: Try to improve usability for function contracts
2020-04-27 17:36:17 +02:00
Daniel Marjamäki
f7096a2232
Bug hunting: basic handling of contracts through GUI
2020-04-27 09:08:50 +02:00
Lauri Nurmi
e8c5c2b154
Show version number in Cppcheck GUI's title bar ( #2615 )
...
Also don't mark the string "Cppcheck" as translatable, as it is
questionable whether the product's name is supposed to be translated ever.
2020-04-22 09:26:21 +02:00
Oliver Stöneberg
91beccb304
fixed some clang-tidy warnings in gui code ( #2565 )
2020-03-07 11:33:08 +01:00
Daniel Marjamäki
e4250f890e
GUI: Show bughunting report
2020-02-10 20:24:36 +01:00
Daniel Marjamäki
bb701fd8be
GUI: Tweak ProjectFileDialog: Bug hunting, safe class checking
2020-02-09 21:02:28 +01:00
Daniel Marjamäki
25b5304efc
GUI: Simple first hack to allow bughunting in the GUI
2020-02-04 21:20:43 +01:00
Daniel Marjamäki
632dc0f141
GUI: Select parser; Cppcheck or Clang
2020-02-02 10:45:42 +01:00
Daniel Marjamäki
81fff2edf1
Fixed #9464 (Import compile database; only check given configuration)
2019-11-09 17:51:42 +01:00
Daniel Marjamäki
cb119f5910
Fixed #8977 (GUI : Inspecting Cppcheck results)
2019-08-23 21:27:32 +02:00
Daniel Marjamäki
d661ab09ce
GUI: Fixed suppressions when reanalyzing files
2019-08-19 12:59:44 +02:00
Daniel Marjamäki
5d021cb41d
GUI: Revert my theme changes. The theme selection will only be for the code editor again.
2019-08-18 21:11:46 +02:00
Daniel Marjamäki
a17f2a6f05
Compiling/Installing : The CFGDIR parameter was removed. Use FILESDIR instead.
2019-08-17 10:53:07 +02:00
Daniel Marjamäki
831f2009f5
GUI: Set current dir when starting the GUI so results are shown properly
2019-08-14 10:23:36 +02:00
Daniel Marjamäki
6c55d27f19
Fixed #9240 (GUI: Issue with file names in suppressions (undesired expansion to full path))
2019-08-11 15:53:23 +02:00
Daniel Marjamäki
6b662c7353
Fixed #8777 (GUI: Wrong platform used and shown in "Analysis Log")
2019-07-29 11:22:57 +02:00
Daniel Marjamäki
681bd0a911
GUI: Better settings for extended safe checks
2019-07-23 11:54:38 +02:00
Daniel Marjamäki
70e0c66c35
GUI: Use theme in whole program
2019-07-22 15:55:51 +02:00
Daniel Marjamäki
40600cbc38
GUI: Fixed build directory, use project file path by default
2019-07-17 16:01:54 +02:00
Wolfgang Stöggl
1c32455ae1
Fix some typos ( #1983 )
2019-07-12 17:55:44 +02:00
Daniel Marjamäki
4a70208e0e
GUI: Activate 'human knowledge' options
2019-07-11 21:05:52 +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
versat
b1e2b9d61b
astyle formatting
...
[ci skip]
2019-06-25 15:29:15 +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
5b07901253
GUI: Add C++20 option
2019-05-05 10:44:09 +02:00
Daniel Marjamäki
3327102aa4
GUI: Test ProjectFile::getCheckSuppressions()
2019-04-19 15:09:55 +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
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
f6b410b469
GUI: add setting for 'checkHeaders', 'checkUnusedTemplates' and 'maxCtuDepth' to project
2019-04-10 16:49:24 +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
bd7790fd8c
Update copyright year
2019-02-09 07:24:06 +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
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
alex
babafd75e3
Added support for -U option to the GUI.
2018-10-09 15:05:05 +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
a24c3b1d36
Fix GUI build
2018-08-05 14:25:43 +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
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
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
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
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
7e4dba6a7e
Updated copyright year
2018-03-31 20:59:09 +02:00
Daniel Marjamäki
9800e82d13
GUI: Allow that platform is selected in project dialog
2018-03-13 13:07:10 +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
Daniel Marjamäki
b1ae56736d
GUI: early return
2018-02-20 13:10:36 +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
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
Daniel Marjamäki
c4caee6b18
Updated copyright year
2018-01-14 15:37:52 +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
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
09cdead6cb
GUI: Fixed problem with absolute build dir
2017-10-08 15:01:03 +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
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
9f306cf3aa
Added C++14 option
2017-09-22 22:00:00 +02:00
Daniel Marjamäki
6ddcfc3d1c
GUI: Updated handling of clang and clang-tidy
2017-09-22 15:41:27 +02:00
Daniel Marjamäki
33664a88d1
Fixed CID 1378777, uncaught exception
2017-09-02 11:11:35 +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