Commit Graph

82 Commits

Author SHA1 Message Date
PKEuS b0f5b7dce0 Fixed freeze when canceling projectfile dialog when creating a new Project.
Updated gui.pro (forgot it in last commit)
2012-10-14 14:13:54 +02:00
XhmikosR 8d08c3b58b pro and pri files: remove unneeded empty lines, use spaces for consistency 2012-10-12 17:46:57 +02:00
PKEuS fa5c8fb90b Added support to link cppcheck-core dynamically into GUI (use LINKCORE=yes when calling qmake) 2012-10-06 21:23:52 +02:00
Edoardo Prezioso 2bf8195a22 New language file: Italian. 2012-09-16 13:21:46 +02:00
Kimmo Varis 602c93098e GUI: Remove Polish translation.
The Polish translation doesn't have any translated text. So it is
only waste of resources to have it available. And it may confuse
some people who try it.

Ticket #4008 (GUI: Polish translation does not translate and should be removed)
2012-08-02 10:21:13 +03:00
Changkyoon Kim 9d0fb1a169 GUI: Added Korean translation 2012-07-28 15:10:39 +02:00
Ryan Pavlik 9b1ef68713 In case of Windows, tell qmake it's a windows gui app 2012-04-30 11:47:40 -05:00
Daniel Marjamäki f5f7696d7d gui.pro: removed debug option that was added by mistake 2012-04-26 20:21:34 +02:00
Daniel Marjamäki 37305972fc GUI: Removed translations for english. There is no reason to translate a string from english to english. 2012-02-12 02:55:48 +01:00
Daniel Marjamäki feb187cb02 GUI: Added ui file for the selectfilesdialog 2012-01-11 21:32:52 +01:00
Daniel Marjamäki fb248ed270 GUI: New experimental dialog for selecting files to check 2012-01-10 22:39:22 +01:00
Kimmo Varis a057c8f30d GUI: Fix file order in project file. 2011-12-27 21:13:16 +02:00
Ryan Pavlik 53d848da1d Remove 'help' from qmake profile
Supports cross-build using mingw-cross-env
2011-10-24 17:48:54 -05:00
Kimmo Varis 00ae7dbda3 GUI: Move ShowTypes enum to own class and file.
We are using ShowTypes around the GUI codebase so it makes sense
to have it in its own class. And the class also contains related
helper functions instead of scattering them around different
classes.

ShowTypes also contains the visibility settings for all the
GUI severities. Implementation in this commit makes ShowTypes
class to load the visibility settings when it is created. And save
the settings when it is destroyed.
2011-10-11 22:20:36 +03:00
Kimmo Varis 56f6204cf7 GUI: Make platforms in GUI more dynamic.
We have now one list for checked platforms, menu items are created
dynamically based on that list. This makes it much easier to alter
the platforms list later on.
2011-10-02 22:10:05 +03:00
Kimmo Varis 8aafe2c038 GUI: Remove dependency to QtXml. 2011-04-28 09:16:12 +03:00
Kimmo Varis a5540e8548 GUI: Sort language files in project file. 2011-04-06 09:56:26 +03:00
Lauri Nurmi 8a4507cc55 GUI: Add Spanish translation.
Patch to add loading Spanish translation to GUI.

Ticket #2545 (cppcheck translated in spanish language)
2011-04-06 09:49:17 +03:00
Kimmo Varis eac3a8c86c GUI: Project file cleanup. 2011-04-04 14:18:28 +03:00
Kimmo Varis 9182b8be19 GUI: Fix gui.pro EOL style. 2011-04-02 20:16:18 +03:00
Kimmo Varis f82021d643 GUI: Improving application handling code.
Only allow access to Application's attributes through accessor
methods.
2011-04-02 16:30:46 +03:00
Kimmo Varis 3cb3992043 GUI: Move application definition to own header file. 2011-04-02 16:30:46 +03:00
Kimmo Varis 3965a08b7b GUI: Open online-help instead of local help.
Local help does not currently work (ticket #2316) and building it
is a bit painful in Windows. Hence it was decided on ticket #2677
and at IRC that we open on-line help from GUI until the local
help issue is solved.
2011-03-26 16:06:11 +02:00
Kimmo Varis 03bd4fa463 GUI: Rename Swedish translation file.
Ln pointed out in IRC that 'se' is not ISO-639 name of the Swedish,
but 'sv' is. So rename the translation file to use the correct
ISO-639 name. This wrong name also probably caused the GUI not
recognizing Swedish locale of the OS.
2011-03-20 16:24:14 +02:00
Kimmo Varis 1e5743ff1e GUI: Add French translation to project file. 2011-02-05 23:46:05 +02:00
Kimmo Varis df231aa738 GUI: Add base class for XML report classes.
A base class is needed for e.g. some common routines that can be
shared between the formats.
2011-02-04 23:56:14 +02:00
Kimmo Varis eaf0bca8fe GUI: Write XML version 2.
Ticket #2521 (GUI: Add XML format 2 support)
2011-02-04 22:42:43 +02:00
Kimmo Varis 062eabf246 Don't use relative paths in lib.pri.
Using relative path in included file binds it to be usable only
included from one directory. Instead use variable for giving the
base path for files.
2010-12-18 17:03:46 +02:00
Daniel Marjamäki 2d3865a671 Add support for user defined rules 2010-12-12 11:56:22 +01:00
vBm ccaa5c2c17 GUI: Initial addition of Serbian localization using clean English template. 2010-12-10 16:59:36 +01:00
Kimmo Varis 675cb5b5a2 GUI Add Japanese translation.
The translation was contributed by cjohnk7@sourceforge.net.
Ticket #2276.
2010-12-08 11:16:48 +02:00
Kimmo Varis 8e8e1d1d72 GUI: Collect statistics about amount of different severities.
Add new class for collecting statistics per each error severity. Add
a new tab to Statistics-dialog for these numbers.
2010-11-30 22:50:57 +02:00
Kimmo Varis 72759de7a9 GUI: Fix path separators in project file.
Qt 4.7 qmake warns about using backslash in paths.
2010-09-26 10:13:21 +03:00
Kimmo Varis b88ce77e4a Rename gui to cppcheck-gui.
The 'gui' as executable name is way too general. So this commit
renames it to 'cppcheck-gui' which clearly says it is gui for
cppcheck.
2010-09-11 12:15:46 +03:00
Zachary Blair 15b4cab4bb Fixed #1934 (GUI: Add checking info display) 2010-08-31 23:33:19 -07:00
Daniel Marjamäki 06b9cdb679 GUI: Updated online-help. This is still under work. 2010-08-20 21:25:43 +02:00
Daniel Marjamäki 2fea5f01d6 GUI: quick fix for #1957 (Unable to compile gui.pro with Qt Creator in Windows) 2010-08-19 18:21:42 +02:00
Kimmo Varis 7dbe5b547a GUI: Implement FileList class to handle list of files to check.
Create a list of files to check. Currently we only read this list
once. But later on we can refer to this list to for example
determine which files were checked and which not in aborted
checking.
2010-08-10 18:13:53 +03:00
Kimmo Varis 9a9266b042 GUI: Add lib to include- and dependency-directories. 2010-07-27 17:39:33 +03:00
Kimmo Varis 45a6742e3f Windows: Add _CRT_SECURE_NO_WARNINGS define.
The _CRT_SECURE_NO_WARNINGS define suppresses some Windows-specific
compile warnings. Windows has "secure" versions of some functions
and compiler outputs warnings that those "secure" versions should
be used instead. Since other platforms don't have those functions
we just suppress this warning for now on.
2010-07-27 17:34:13 +03:00
Kimmo Varis 7e88d7b41d GUI: Add simple log view.
Adding a simple log view which shows log messages the core code
emits.
2010-07-16 17:48:13 +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 1504747030 Merge branch 'master' into projfile-gui
Conflicts:
	gui/cppcheck_de.ts
	gui/cppcheck_en.ts
	gui/cppcheck_fi.ts
	gui/cppcheck_nl.ts
	gui/cppcheck_pl.ts
	gui/cppcheck_ru.ts
	gui/cppcheck_se.ts
	gui/gui.pro
	gui/main.ui
2010-07-11 19:43:31 +03:00
Kimmo Varis 352941f5df GUI: Fix transporting errors.
Need to register integer list as new metatype so that Qt's type
system knows how to use it. Adding also additional constructors
for the ErrorItem.
2010-07-11 01:04:53 +03:00
Kimmo Varis 2f0202d105 GUI: More refactoring to use ErrorItem and ErrorLine. 2010-07-10 20:30:31 +03:00
Kimmo Varis ee2f785529 GUI: Remove custom lrelease target.
Remove the custom lrelease target since it fails to work in
Fedora 13. In Fedora 13 there is no 'lrelease' binary but
'lrelease-qt4'.
2010-07-08 10:50:46 +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
Kimmo Varis 3575f2ec20 GUI: Remove tabs from project file. 2010-02-27 21:38:39 +02:00
Kimmo Varis 58ea4f35f4 GUI: Build to similar folders than cli in Windows.
This makes it easier to handle build files and manage installer.
2010-02-27 21:38:39 +02:00
Kimmo Varis 279e66a1d6 Open HTML help from Help-menu in Windows. 2010-02-23 17:50:59 +02:00