Commit Graph

565 Commits

Author SHA1 Message Date
Kimmo Varis a5540e8548 GUI: Sort language files in project file. 2011-04-06 09:56:26 +03:00
Kimmo Varis 6aabc79d49 GUI: Update translation files.
Adding new Spanish translation added one new translatable string
and changed linenumbers in one file.
2011-04-06 09:53:15 +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 c95ff88272 GUI: Add Spanish translation.
Add Spanish GUI translation contributed by
qcondor@users.sourceforge.net.

Ticket #2545 (cppcheck translated in spanish language)
2011-04-06 09:29:13 +03:00
Kimmo Varis e006087a38 GUI: update translation files. 2011-04-06 09:12:09 +03:00
Daniel Marjamaki aa96fdfeb3 gui: removed obsolete strings in the swedish translation 2011-04-05 21:29:48 +02:00
Daniel Marjamaki 0f13f4abe4 gui: updated swedish translations 2011-04-05 21:27:03 +02:00
Kimmo Varis f498e53cd2 GUI: Improve the error message for language loading error. 2011-04-04 23:10:02 +03:00
Kimmo Varis eac3a8c86c GUI: Project file cleanup. 2011-04-04 14:18:28 +03:00
Kimmo Varis dcfc7aa3f0 GUI: Don't show error when no application added.
I earlier added a check for missing (editor) application command
line parameters. If parameters are missing at GUI startup an
message is shown to user to check the settings. Unfortunately
my check was incomplete and it also triggered when there was no
applications defined. Which happens when user starts GUI for a
first time.

Fix the check so that user is only informed in case the parameters
are missing and name + path are set.
2011-04-04 11:16:53 +03:00
Kimmo Varis 820e1697cc GUI: Improve the Application dialog layoyt.
In GNOME the whole big text area was not shown without making the
dialog bigger. So improve the layout for better scaling and adjust
dialog size when it gets initialized.
2011-04-04 11:00:09 +03:00
Kimmo Varis cfd570e1f3 GUI: Fix setting application path as name.
The application dialog initialized name field with path.
2011-04-04 10:23:43 +03:00
Kimmo Varis 9182b8be19 GUI: Fix gui.pro EOL style. 2011-04-02 20:16:18 +03:00
Kimmo Varis 33f743875b GUI: Add new files to CMake build file. 2011-04-02 16:58:53 +03:00
Kimmo Varis 68a28ab9b9 GUI: Modify ApplicationDialog to get/return Application class. 2011-04-02 16:30:50 +03:00
Kimmo Varis 91345234e0 GUI: Refactoring application definition.
Using Application class as method parameters instead of separate
application attributes.
2011-04-02 16:30:47 +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 b0dbb545c9 GUI: Update translation files. 2011-04-02 12:36:37 +03:00
Kimmo Varis 292984db39 GUI: Simplify handling applications with spaces in paths.
Earlier user had to add quotation marks around application executable
path in application dialog. Because we could not determine which part
is path and which part is parameters. As we now have separate
variables we can automatically add the quotation marks when needed
before starting the application. This reduces the confusion users
have had about the correct formatting of paths.
2011-04-02 12:30:21 +03:00
Kimmo Varis 95e38c2cd5 GUI: Update/fix application dialog texts.
I forgot to update the dialog texts when adding the parameters field.
2011-04-02 12:30:17 +03:00
Kimmo Varis 62cd07b52e GUI: Add accel keys for application dialog and fix tab order. 2011-04-02 12:30:16 +03:00
Kimmo Varis 1f7d9145b0 GUI: Have separate setting for editor app path and params.
Currently combined editor application path + params is a bit
problematic (at least in Windows). We really don't know where the app
path ends and parameters start. So proper quoting is not always
possible.

And application path and command line parameters are clearly
different settings anyway. So make them separate settings. It has
bunch of other positive sides too. Like one can now browse new path
for the application without loosing the parameters.

When starting Cppcheck version with these new settings user is warned
that loading settings had problems and asked to check and fix the
settings.
2011-04-02 12:30:16 +03:00
Markus Elfring ccf1282c91 Deletion of "htmlhelp" from link setting in a CMake script (bug #2524, #1957)
The library "htmlhelp" is not needed by the graphical user interface at the moment.
2fea5f01d6 (gui)/gui.pro

There are difficulties to fulfil this dependency.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2011-03-28 09:03:04 +02:00
Markus Elfring db84b3d0e7 Renaming of the file for the Swedish translation in a CMake script (bug #2524)
A translation file was renamed to use the correct ISO-639 name.
03bd4fa463 (gui)/gui.pro

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2011-03-26 20:57:55 +01:00
Markus Elfring 87d85cd89e Renaming of the GUI executable to "cppcheck-gui" in a CMake script (bug #2524)
The executable file for the graphical user interface was renamed in a CMake
script to synchronise this setting with the qmake build specification.
b88ce77e4a (gui)/gui.pro

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2011-03-26 20:55:08 +01:00
Kimmo Varis 9a5d45a968 GUI: Update online-help to open the HTML manual. 2011-03-26 20:37:28 +02:00
Daniel Marjamaki c6b176014b cmake: removed the non-working pcre. ticket: #2679 2011-03-26 19:03:11 +01:00
Kimmo Varis aab1b996ab GUI: Remove help viewer files from CMake build. 2011-03-26 17:52:08 +02: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
Sebastien Debrard 29b7d4b9c3 sync cmake files with the master branch 2011-03-26 02:03:52 +01:00
Markus Elfring 9301ee28a8 Added CMake files 2011-03-25 07:14:53 +01:00
Kimmo Varis 056f8b3a52 GUI: Update translation files. 2011-03-20 16:24:14 +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 c34a129102 GUI: Update About-dialog copyright year to 2011. 2011-03-08 08:59:52 +02:00
Kimmo Varis d8ced1dbb1 GUI: Initialize Severity in ErrorItem constructor. 2011-03-07 23:43:59 +02:00
Kimmo Varis d9efd53033 GUI: Add back translation of severity texts.
Translation of severity texts was temporarily disabled by earlier
commits. Now adding new method to ResultsTree for getting
translated severity string.
2011-03-07 23:35:58 +02:00
Kimmo Varis 0d27966eb8 GUI: Update more severity conversion methods. 2011-03-07 23:11:59 +02:00
Kimmo Varis 5bf98447c9 GUI: Make Severity to ShowType use enum values.
Continue converting Severity use in GUI from QString to enum
values.
2011-03-07 22:36:47 +02:00
Kimmo Varis d2c06501d9 GUI: Convert severity in ErrorLine to enum value.
This commit continues converting severity in GUI to enum.
2011-03-07 21:20:09 +02:00
Kimmo Varis 7c589384d2 GUI: Use severity enum in ErrorItem.
Convert from using string to enum values for severity in ErrorItem.
Storing and handling severity as string was the easy way earlier
but it is not convenient or efficient way to handle severities.
This commit is the first step in converting severity handling to
use the enum values instead of strings.
2011-03-07 21:10:30 +02: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 b1db29278d GUI: Update project file description file. 2011-02-28 16:31:46 +02:00
Kimmo Varis 819dddf570 GUI: Add path separator for ignore dirs. 2011-02-28 16:24:18 +02:00
Kimmo Varis ae11b064c8 GUI: Small cleanup for projectfile code. 2011-02-28 16:21:03 +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 6fc90d1f18 GUI: Write ignore paths to project file. 2011-02-28 16:08:14 +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