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