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