Daniel Marjamäki
9800e82d13
GUI: Allow that platform is selected in project dialog
2018-03-13 13:07:10 +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
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
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
52c121c223
Disable Clang Analyzer for now. It needs a little more work.
2017-10-05 08:47:07 +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
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
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
0561d59d28
GUI: Added checkbox 'Analyze all Visual Studio configurations' in the projectfile dialog
2017-08-10 00:18:04 +02:00
Daniel Marjamäki
f6893c72d5
GUI: Fix ProjectFileDialog::updatePathsAndDefines()
2017-08-07 23:08:26 +02:00
Daniel Marjamäki
c2bb9890e9
GUI: add clang-tidy
2017-08-04 15:10:27 +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
c4ee9799bc
GUI: load/save data automatically in the ProjectFileDialog
2017-07-31 16:14:01 +02:00
Daniel Marjamäki
5e189de956
GUI: modernize connect in ProjectFileDialog
2017-07-31 08:09:57 +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
8d704f7709
GUI: Rename methods in ProjectFile
2017-07-28 05:08:59 +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
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
769b6a0b72
astyle formatting
2016-11-20 10:38:27 +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
Daniel Marjamäki
f555abb0b5
GUI: Expose --project to gui
2016-08-18 21:58:50 +02:00
Lauri Nurmi
996c9244d8
Update copyright year to 2007-2016.
2016-01-01 15:34:45 +02: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
0f9d90d2be
Changed Copyrights. Removed my name.
2015-11-18 20:04:50 +01:00
Daniel Marjamäki
ff11ba9847
Updated copyright year to 2015
2015-01-03 12:14:58 +01:00
Daniel Marjamäki
051d42ae6b
astyle formatting
2014-11-20 14:20:09 +01:00
orbitcowboy
f5d804f71a
running astyle
2014-11-20 10:13:03 +01:00
Daniel Marjamäki
e3c45334d9
Fixed #5585 (GUI: Project file -dialog lists all .cfg files as config libraries)
2014-06-14 21:17:04 +02:00
Daniel Marjamäki
f3622f729c
GUI: Added DATADIR setting. Related with #5513
2014-03-19 19:34:20 +01:00
Daniel Marjamäki
f991c8fd02
GUI: only show a library once in the projectfiledialog
2014-03-08 14:04:58 +01:00
Daniel Marjamäki
fd3a8a2a18
Update copyright
2014-02-15 07:45:39 +01:00
Daniel Marjamäki
cda9b409ef
GUI: List embedded cfg files in project dialog
2014-01-18 09:21:06 +01:00
Daniel Marjamäki
93b8a261a2
GUI: Add some sorting in the suppressions handling
2013-12-31 11:00:01 +01:00
Daniel Marjamäki
803182bf45
Reverted 'GUI: Added CFGDIR qmake flag' there are various installation problems and this only fixes one of them.
2013-12-31 10:35:34 +01:00
Daniel Marjamäki
24a9da3771
GUI: Add suppressions to project file
2013-12-30 22:32:50 +01:00
Daniel Marjamäki
c143b02e67
GUI: Added CFGDIR qmake flag
2013-12-30 09:01:44 +01:00
Daniel Marjamäki
bf8bb29938
GUI: Allow user to choose any available library file
2013-12-30 00:05:03 +01:00
Daniel Marjamäki
9698387d3a
GUI: Add libraries setting to project
2013-12-29 18:06:31 +01:00
Reijo Tomperi
5d5f7085bf
Updating year 2012 -> 2013 to .cpp and .h files and man page.
2013-01-01 18:29:08 +02:00
PKEuS
fc78cac797
Made several functions in GUI static or const
...
Fixed cppcheck message about wrong order in initializer list
2012-10-27 12:10:32 +02:00
PKEuS
b1a768e5ec
Cleanup of includes in GUI (Removed redundant includes, use forward declarations) - Build speedup by 3% in VS10 (LINKCORE=yes, Qt 4.8.3)
2012-10-07 12:25:34 +02:00
Kimmo Varis
cc92f1c432
GUI: Add include paths as relative to project file.
...
When adding a new include path check if the path is relative path to
the project file's path. If path is relative then remove the begin of
the path making it a relative path in project file.
Ticket: #3019 (GUI: Add project include paths as relative paths)
2012-01-10 22:14:51 +02:00
Reijo Tomperi
8cae17fda8
Update year to 2012
2012-01-01 01:05:37 +02:00
Daniel Marjamäki
6f8e42a5af
changed the astyle formatting flags
2011-10-13 20:53:06 +02:00
Kimmo Varis
ef6a14dbaf
GUI: Rename functions related to excluding.
2011-09-25 20:59:47 +03:00
Kimmo Varis
63e8e9ea57
GUI: Allow reordering includes in project dialog.
...
Since include dir order is important (Cppcheck uses the first file
it finds) user must be able to edit the order of include paths.
This commit adds "Up" and "Down" buttons to the Project-dialog's
inlude paths-tab. User can use those two buttons to re-order the
include directories.
Ticket: #3037 (GUI: Allow reordering include paths in project dialog)
2011-08-22 22:16:59 +03:00
Kimmo Varis
214a94e1b7
GUI: Make Project-dialog to remember its size.
2011-05-13 10:12:19 +03:00
Kimmo Varis
3dc87be0af
GUI: Set initial path for adding paths to project.
...
Use project file's location as base path when adding new paths
(checked, included or ignored) to the project. In most cases user
wants to add paths in the same project so this reduces browsing
paths considerably when adding them.
2011-05-13 09:23:43 +03:00
Daniel Marjamäki
a2d2d93958
astyle formatting
2011-03-01 17:58:15 +01:00
Kimmo Varis
81318bb4a1
GUI: Fix compiling.
2011-02-28 17:41:52 +02:00
Kimmo Varis
1c4e9c662b
GUI: Show native path separators.
...
Show native path separators in project file-dialog. Convert paths
to internal separators when reading from project file and when
reading from the dialog. Convert to native separators when adding
to the dialog (for the user).
2011-02-28 17:18:14 +02:00
Kimmo Varis
819dddf570
GUI: Add path separator for ignore dirs.
2011-02-28 16:24:18 +02:00
Kimmo Varis
fb74da7fbf
GUI: Fix bug mixing include and ignore dirs in GUI.
2011-02-28 16:18:16 +02:00
Kimmo Varis
bd405c454a
GUI: Add GUI for ignored paths in project files.
...
Add similar GUI than include paths has. Currently there is only
possibly select directories directly from the GUI. But filename
can be added to the path by editing it.
2011-02-28 15:58:44 +02:00
Kimmo Varis
cf4a73eb80
GUI: Use list to manage paths in project file.
...
Handling paths in line edit control is quite hard. List control is
much more pleasant to use for it. Convert Project file path
handling to similar list control usage than include paths earlier.
2011-02-26 13:18:11 +02:00
Kimmo Varis
d1d0706154
GUI: Edit project's include directories as list.
...
Editing include directories in edit control is not nice. Instead
add new tab and list control for the include directories. They
are now added, edited and removed like global include directories
in settings dialog.
2011-02-25 20:34:55 +02:00
Reijo Tomperi
226b605774
Change year 2010 -> 2011 in license texts.
2011-01-09 21:33:36 +02:00
Kimmo Varis
53e9938afe
GUI: Add path separator in ProjectFiles dialog.
...
Add path separator to end of the paths user added via Browse-dialog.
2010-11-11 22:08:10 +02:00
Kimmo Varis
1e503cbad5
GUI: Show native paths in ProjectFiles -dialog.
...
When adding paths to the dialog convert them to native separators.
When saving the paths convert them to internal separators.
2010-11-11 22:08:10 +02:00
Kimmo Varis
abf0a2ea52
GUI: Add buttons to add new paths to ProjectFile dialog.
2010-11-11 22:08:10 +02:00
Kimmo Varis
c80c709d7e
Add missing include lines.
2010-10-31 13:26:23 +02:00
Reijo Tomperi
3bedc9331e
Fix encoding in some files
2010-10-03 00:20:18 +03:00
Kimmo Varis
d967151c32
GUI: Add project root path to Project file -dialog.
2010-08-21 17:08:10 +03:00
Kimmo Varis
6a3bccae6f
GUI: Add check paths field to Project File -dialog.
2010-08-17 19:32:29 +03:00
Kimmo Varis
cc64907edb
GUI: Remove ; from the end of the include/define strings in dialog.
2010-07-13 12:40:20 +03:00
Kimmo Varis
4ceea93945
GUI: Show project file's name in project file -dialog title.
2010-07-12 20:31:37 +03:00
Kimmo Varis
bf1b49b370
GUI: Add Project class to handle project files and projects.
...
This commit separates logic more from the GUI. The dialog class is
only responsible from showing the dialog and handling data in it.
Other related classes do the project file reading/saving/etc.
2010-07-12 20:21:45 +03:00
Kimmo Varis
d2e6e3b49b
GUI: Don't write empty elements to project file.
2010-07-08 20:06:03 +03:00
Kimmo Varis
941c1a8eb8
GUI: Improve error handling for reading/writing project file.
2010-07-08 19:49:04 +03:00
Kimmo Varis
25a9c75287
GUI: Allow creating new project file.
...
Add new "New project file" item to File-menu and rename existing
"Project File" item to "Open Project File". Selecting new file
opens empty project file dialog. When the dialog is then closed
the user is asked to select a filename for the new project file.
2010-07-08 18:59:06 +03:00
Kimmo Varis
9d0c080697
GUI: Implement writing project file data to disk from dialog.
...
This commit implements writing data in the project file dialog back to
project file.
2010-07-08 00:59:02 +03:00
Kimmo Varis
34d0ff73d8
GUI: Add dialog for editing project file.
...
This commit adds the dialog and code that reads the project file data
to the dialog. The changed data is not yet saved back to the file.
2010-07-07 21:18:42 +03:00