Commit Graph

1001 Commits

Author SHA1 Message Date
Kimmo Varis 047984ea89 GUI: Fix extra menu separator in File-menu.
The extra menu separator was added before the MRU menu items. When
updating the (menu) MRU items existing items were first removed
and new items added back. But the added separator was not removed.
2011-08-24 23:14:28 +03:00
Kimmo Varis 1f4e1e0ffe GUI: Check the project after creation.
Earlier the GUI (project) went into some weird state after creating
a new project. The project could not be checked in any discoverable
way.

This commit fixes the above bug by automatically checking the new
project after the project dialog is closed. I think this is what
most users expect to happen.
2011-08-24 22:41:48 +03:00
Kimmo Varis 2123f6fafc GUI: Update projectfile tests. 2011-08-23 20:44:27 +03:00
Kimmo Varis a3d6b697ad GUI: Update project file documentation. 2011-08-23 20:44:27 +03:00
Kimmo Varis 4998c913da GUI: Rename Ignore-feature to Exclude-feature.
Exclude is the correct term to use when removing paths from the
list of checked items. Ignore as a term was a poor choise to begin
with. XML file reading still recognizes and reads  the 'ignore'
element but writes 'exclude' element.

Ticket: #2995 (GUI: Rename ignore-feature to exclude-feature)
2011-08-23 20:44:04 +03:00
Robert Reif 88b11d889c run astyle 2011-08-22 20:32:35 -04:00
Kimmo Varis b732fc0a3e GUI: Make few strings const strings. 2011-08-22 22:37:38 +03:00
Kimmo Varis 981c28845f GUI: Update translation files. 2011-08-22 22:21:42 +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 042693a305 GUI: Rename Project-label in Projects-dialog.
The 'Project' label in Project-dialog is confusing and users think
it is project's name. When it acutually is the root directory of
the project. So rename the lable and move it below the 'Defines'-
field to make it less important looking.

Ticket: #2997 (GUI: 'Project'-field in project file-dialog is confusing)
2011-08-22 21:18:43 +03:00
Kimmo Varis 51102ee076 GUITESTS: Replace benchmark data file.
The benchmark data file had errors when checking with Cppcheck.
And people reported these errors. So replace the file with one
that has no (currently found) errors.
2011-08-12 14:40:14 +03:00
Kimmo Varis 2ef4e6fb59 GUITESTS: Remove the running script.
The script is available in another repository. I don't want to
distribute it with Cppcheck sources for now. Maybe if and when
there is more interest towards GUI tests...
2011-08-12 00:13:29 +03:00
Kimmo Varis c9816c67c5 GUI: Show extraversion in About-dialog.
If the "extra version" is defined (not empty) then it is shown
after the actual version number in the About-dialog.

Ticket: #2164 ([GUI] Add revision info to "About" window)
2011-08-11 18:13:54 +03:00
Kimmo Varis 447c3c28b4 GUI: Update translation files. 2011-08-03 10:58:03 +03:00
Kimmo Varis cff674ccac GUI: Don't translate non-translatable strings.
If strings contain only formatting placeholders for the dynamically
formatted text it does not make sense to mark the strings as
translatable. There is nothing translators can translate e.g. in
"%p".
2011-08-03 10:53:35 +03:00
Zachary Blair d2f4b8e3de Fixed 2915 (GUI: Show files checked in progress bar) 2011-07-27 23:30:45 -07:00
Kimmo Varis b7d110460e GUITESTS: Add simple readme.txt. 2011-07-24 21:45:53 +03:00
Kimmo Varis fe1ba6ae37 GUI: Simplify condition.
With current code we always have both filename and linenumber for
each error.
2011-07-21 20:15:24 +03:00
Kimmo Varis d1d8c24a03 GUI: Don't use relative paths for include files. 2011-07-21 15:13:41 +03:00
Kimmo Varis fea5c629eb GUI: Update translation files. 2011-07-20 13:38:23 +03:00
Kimmo Varis 8676647b03 GUI: Filter toolbar menu items not in synch.
When Filter-toolbar was enabled/disabled from the View-menu its
state was not updated to the context menu. And vice versa.

Ticket: #2923 (GUI: Filter toolbar menu items not synchronized)
2011-07-20 13:35:56 +03:00
Kimmo Varis ee988a0689 GUI: Filter toolbar didn't have a title.
Ticket: #2922 (GUI: Filter toolbar does not have a title)
2011-07-20 13:24:37 +03:00
Kimmo Varis e3cd600e4e GUI: Fix always false condition.
Ticket: #2827 (false negative: gui/resultstree.cpp:271 condition always false)
2011-07-17 15:25:46 +03:00
Kimmo Varis 634db2ab09 GUI: Update translation files. 2011-07-17 15:15:40 +03:00
Kimmo Varis aff8fbc05f GUI: Show error if no default editor configured.
There always should be default editor if there is editor
application configured. But it is possible in some cases that
default application is "lost". So check that we have default
application configured before trying to use it. And inform user
to configure default application instead of silently failing to
open the application (and the file) for the user.
2011-07-17 15:11:24 +03:00
Kimmo Varis 79385f0ff8 GUI: Fix separators when opening file to editor.
Ticket: #2916 (Wrong slashes in file path passed to the Windows-text editors)
2011-07-17 14:22:06 +03:00
Kimmo Varis 387fd35ff3 GUITESTS: Improve the running script.
Don't use recursion in the script. The Python's os.walk() already
lists all files in subdirectories and using recursion only caused
tests to be found twice. Also handle the case the project file
defines binary path with DESTDIR define.
2011-06-23 23:02:49 +03:00
Robert Reif f05ff9b4dc run astyle 2011-06-22 20:30:41 -04:00
Kimmo Varis 88f31403d7 GUITESTS: Run only existing tests with the script.
Improve the runner script to run only tests whose binary file
exists. Tests with inexistant binary file are not counted into
test counts in the summary.

Add the MIT license header. I'm now maintaining this script in
external repository with MIT license. So I can use the script
in other projects too.
2011-06-22 23:58:25 +03:00
Kimmo Varis d5157519a0 BENCHMARKS: Add simple benchmark. 2011-06-22 22:24:49 +03:00
Kimmo Varis ea6f6bb1aa GUITESTS: Print summary from the test script. 2011-06-21 15:38:18 +03:00
Kimmo Varis 0cd8282b2e GUITESTS: Add Python script for running all tests. 2011-06-21 15:38:18 +03:00
Kimmo Varis 6bae7b0f0f GUITESTS: Add FileList filtering tests. 2011-06-18 12:54:48 +03:00
Kimmo Varis 8b70046a42 GUITESTS: Add tests for adding directory. 2011-06-17 14:54:04 +03:00
Kimmo Varis d5652ee3cc GUITESTS: Move testdata to data-subdirectory. 2011-06-17 13:56:32 +03:00
Kimmo Varis 82e8e1a737 GUITESTS: Add simple test for FileList.
These tests check that FileList only accepts existing files with
accepted filename extensions.
2011-06-17 13:46:40 +03:00
Kimmo Varis 5ec241ee0e GUITESTS: Few compares in tests were wrong way around. 2011-06-17 13:18:42 +03:00
Kimmo Varis 3508a79cd6 GUI: Cleanup settings usage.
Use local QSettings instead of the one created by MainWindow.
2011-06-16 16:03:25 +03:00
Kimmo Varis b66b8a31cc GUITESTS: Add tests for loading project files. 2011-06-16 14:24:33 +03:00
Kimmo Varis 08ab764f63 GUITESTS: More flexible test data paths.
Use build-time define to set the path to the source files
directory. Which then can be used to format path to the test
data. This allows running tests from out-of-source-tree -builds
that e.g. QtCreator does.
2011-06-16 13:05:00 +03:00
Kimmo Varis 7ae2536784 GUI: Update translation files. 2011-06-15 11:32:08 +03:00
Kimmo Varis 3d3b818e66 GUI: Add Q_OBJECT to TxtReport class. 2011-06-15 11:28:47 +03:00
Kimmo Varis ebd5a123ce GUITESTS: Fix XML V1 test.
Test was using and assuming that severity string starts with
capital letter (e.g. "Style"). But the strings are all lowercase
letters.

Ticket #2832 (GUI: XML version 1 test fails)
2011-06-10 15:16:44 +03:00
Kimmo Varis 8cff768d99 GUITESTS: Use common build artifact directory.
Using common build artifacts (object files, moc files) avoids
recompiling whole lib and other shared files separately for each
test.
2011-06-10 14:35:02 +03:00
Kimmo Varis 8e18c69ba8 GUITESTS: Run Astyle. 2011-06-10 14:22:52 +03:00
Kimmo Varis 63cf743ba1 GUITESTS: Remove unneeded main file. 2011-06-10 14:15:24 +03:00
Kimmo Varis c51b66d0b1 GUITESTS: Move XML V2 tests to own project. 2011-06-10 14:13:41 +03:00
Kimmo Varis 1337abd9fe GUITESTS: Move XML format V1 tests to own project. 2011-06-10 14:01:08 +03:00
Kimmo Varis 85aed65e80 GUITESTS: Fix XML files paths. 2011-06-10 13:20:17 +03:00
Kimmo Varis edbb66cb20 GUITESTS: Refactoring XmlReport test. 2011-06-10 13:20:17 +03:00
Kimmo Varis eb648eb3f7 GUITESTS: Fix translation count in test. 2011-06-10 13:20:17 +03:00
Kimmo Varis 6820fc6933 GUITESTS: Refactoring test building.
Start building each test as separate project as QtestLib tests
usually are built. This commit adds the infrastructure and moves
TranslationHandler test as own project.
2011-06-10 13:19:46 +03:00
Kimmo Varis 24061e536b GUI: Give full path when opening project file.
Fix I did yesterday gave only filename of the project file for
function loading project file. Causing the loading failing if
not in "current" directory.
2011-06-08 10:40:17 +03:00
Kimmo Varis f12b27f360 GUI: More strict filtering for finding project file. 2011-06-07 23:56:48 +03:00
Kimmo Varis 8bfbf82bdc GUI: Suggest using project file if one is found.
If we there is project file in the directory to check then ask
user if one wants to use the project file instead. If there are
multiple project files then just tell there are project files
and ask if user wants to continue without using them.

Ticket: #2816 (GUI regression: Interrupted checking because of too many #ifdef configurations.)
2011-06-07 16:12:21 +03:00
Kimmo Varis faa1354445 GUI: Handle missing checked paths in project file.
If the project file does not define paths to check then check the
project root directory (which likely is the directory where the
project file is located).

Ticket #2816 (GUI regression: Interrupted checking because of too many #ifdef configurations.)
2011-06-07 14:29:59 +03:00
Robert Reif 5a27552669 make usre we have a project file before outputting its name 2011-06-06 18:30:44 -04:00
Robert Reif 6a7e4c838f Output GUI project name when checking starts or restarts 2011-06-04 08:38:51 -04:00
Daniel Marjamäki c971fa0d4b cmake: cleanup unmaintained cmake files 2011-05-19 17:16:04 +02:00
Kimmo Varis 056476d28a GUI: Simplify settings usage in Log window. 2011-05-13 10:38:54 +03:00
Kimmo Varis 1002d2e785 GUI: Simplify settings handling in Preferences dialog. 2011-05-13 10:25:52 +03:00
Kimmo Varis 214a94e1b7 GUI: Make Project-dialog to remember its size. 2011-05-13 10:12:19 +03:00
Kimmo Varis 010403699a GUI: Initialize Settings in main.
Setting organization and program name in main() allows us to
cleanup Settings class usage. As we don't need to keep using the
one instance of Settings but can create new Settings class
whenever we need to access settings. According to the Qt
documentation creating Settings class is fast.
2011-05-13 10:09:17 +03:00
Kimmo Varis 31e85f4097 GUI: Show main tab in project file dialog by default. 2011-05-13 09:28:00 +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
Kimmo Varis 0b0d890bd2 GUI: Remove trailing spaces from translated strings 2011-05-12 21:15:10 +03:00
Kimmo Varis fe4086f118 GUI: Update project file documentation.
Remove mentioning of automatic loading which was disabled in
previous commit.
2011-05-12 14:09:51 +03:00
Kimmo Varis a7b06d9b7e GUI: Remove automatic/silent loading of projects.
When project files support was added to the GUI there was no GUI
for them and automatic/silent loading was added. So that if the
directory contained project file with the same name (and .cppcheck
extension) then the project file was automatically loaded and used
for the checking.

This can be very confusing for the user as there is no any
indication that the project file is used. But this solution was
necessary at that time to get project file support added.

Now that we have usable GUI for the project files this automatic/
silent loading can be removed. Nobody really should be using it
anymore. And even if the automatic loading is needed one can give
the project file for the GUI using command line parameter.
2011-05-12 13:53:59 +03:00
Kimmo Varis 13b307878a GUI: Fix the gui.cppcheck to work with GUI.
The project file to check just GUI code was missing the directory
to check. This is probably due it was used originally as
"automatically" loaded project file which assumed current
directory is checked and only added some additional parameters.
2011-05-12 13:40:56 +03:00
Kimmo Varis 97eff37f28 GUI: Handle non-existing projects in MRU list.
If the project file in MRU list does not exist ask user if one
wants to remove the file from the list. If user agrees then the
file is removed from the list. Otherwise the file is left to the
list but not tried to open. User may have accidentally moved or
renamed the file so we give a possibility to add it back and not
just blindly removing it from the list.
2011-05-12 13:30:22 +03:00
Kimmo Varis 15820b87a4 GUI: Remove unneeded forward declaration. 2011-05-12 12:37:10 +03:00
Kimmo Varis 04652e75df GUI: Add most recently used projects to menu.
Add MRU items for project files to File-menu. When user creates
a new project file or opens existing project file it is added to
the list of recently used projects. Last 5 projects are remembered
and available for quick acess in the File-menu.
2011-05-12 12:34:23 +03:00
Zachary Blair 79370258df Fixed #2758 ([GUI] Provide a means to filter results based on a search string) 2011-05-03 22:30:54 -07:00
Kimmo Varis 8aafe2c038 GUI: Remove dependency to QtXml. 2011-04-28 09:16:12 +03:00
Kimmo Varis c7d99fe9a7 Remove ErrorLogger::reportStatus() method.
The ErrorLogger::reportStatus() is not lib code interface. The CLI
code does the looping through file list and gives one file at a
time for the core code. Hence lib has no any idea about the
progress and it can't provide such information.

Also the recent commit (6d858b6) caused a GUI build failure by
adding CLI code dependency to GUI. Which is big no-no.

This is admittedly a hack. But it allow us to build all modules
again.
2011-04-27 23:27:02 +03:00
Markus Elfring a1e6382247 Deletion of references to modules "QtHelp" and "QtXml" in the GUI CMake script
Two Qt modules are not needed any more in the CMake script for the graphical
user interface after the commit "GUI: Open online-help instead of local help".
3965a08b7b (commit)

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2011-04-27 20:48:58 +02:00
Greg Hewgill 6d858b63a1 Report percentage complete based on file size
This patch makes the (reasonable) assumption that the total size of all checked
files fits in a 'long' type.
2011-04-26 22:26:23 +12:00
Kimmo Varis f240574107 Modify the Cppcheck class to check one file at a time.
Unify usage and API of CppCheck class. Allow only one file checked
at a time, instead of list of files. Clients can then handle file
lists more naturally and as they see fit. Also clients have better
knowledge of how checking status should be handled.

The single-threaded CLI checking was only one using the file list.
Other clients were giving files (to list) one file at a time.
2011-04-24 19:17:52 +03:00
Kimmo Varis 173a3871c2 GUI: Move internal error option to Advanced-tab. 2011-04-16 18:55:53 +03:00
Kimmo Varis ee623e4fcd GUI: Update translation files. 2011-04-16 18:46:08 +03:00
Kimmo Varis 0112b9e150 GUI: Add option for enabling inconclusive checks.
Add new "Advanced" page to preferences-dialog and add there a
checkbox for enabling inconclusive checks. Now that checkbox is
the only control in that new page but there will be more controls
later on.
2011-04-16 18:46:08 +03:00
Kimmo Varis f9c97c7b56 GUI: Add support for inconclusive errors.
This is the first (and quick) support for the inconclusive errors.
We simply add [Inconclusive] to begin of the summary. This is
temporary solution until better GUI is implemented. XML v1 won't
be supporting inconclusive errors. For XML v2 we need still to
decide what to do.
2011-04-16 14:07:33 +03:00
Markus Elfring 0d76d87770 Merge branch 'master' of git://github.com/danmar/cppcheck 2011-04-07 16:55:47 +02:00
Kimmo Varis 1752cb62dc GUI: Print command line help with -h and --help. 2011-04-07 16:07:55 +03:00
Kimmo Varis a5c12172f9 GUI: Allow giving project file to command line.
GUI now recognizes -p <project file> command line parameter. When
given (with path to valid project file) GUI automatically loads
the project file and starts checking paths in it.

Ticket: #2613 (GUI: Should accept project file from command line)
2011-04-07 15:34:15 +03:00
Markus Elfring 6cd0c2f1b3 Addition of Spanish translation in the GUI CMake script
A file name was added to the GUI CMake script for the Spanish translation.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2011-04-06 17:06:23 +02:00
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
Kimmo Varis 46f7a81b7b GUI: Take filtering into use in GUI.
Add applying of filtering into list of files to check if we have
an active project file. Filtering is quite much similar to the
filtering in CLI.

If we have directory filter ("gui/") then we check all paths if
they contain "gui" part. In practice we search for string "/gui"
from the paths. If we have filename filtering
("gui/projectfile.cpp") then we check if any of the paths end
with that.
2011-02-28 00:13:28 +02:00
Kimmo Varis 9de4ce8c8e GUI: If project open failed project got invalid.
The project was deleted but not set as NULL when the project
open failed. Fix this by deleting the project only when the
opening succeeds.
2011-02-27 19:09:20 +02:00
Kimmo Varis e81fa46699 GUI: Convert some projectfile method arguments const. 2011-02-27 18:53:57 +02:00
Kimmo Varis d6f6da10fa GUI: Add ignored paths support to project file.
This patch adds support for ignored paths in the project file.
There is new <ignore> element which can contain one or more
<path> elements with name attribute containing the path to
ignore.
2011-02-27 18:32:53 +02:00
Kimmo Varis a80a38e25c GUI: Update translation files. 2011-02-26 13:23:06 +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
Kimmo Varis ece896a13d GUI: Fix for initializing default application. 2011-02-25 18:01:23 +02:00
Kimmo Varis 74c85b6b70 GUI: Select the default application in app list. 2011-02-25 13:15:53 +02:00
Kimmo Varis 166e5248db GUI: Rename methods.
We don't need the 'type' postfix. We are handling applications,
not application types.
2011-02-25 13:07:42 +02:00
Kimmo Varis e6e616e542 GUI: Fix opening error item with default app. 2011-02-25 12:16:20 +02:00
Kimmo Varis 085034ddf7 GUI: Fix for removing application.
The default application was not handled correctly when removing
application from the list. If the default application is removed
then we reset the default application to unknown. Otherwise we
make sure the default application is correct after the removal of
other application.
2011-02-25 12:04:10 +02:00
Kimmo Varis eabec80154 GUI: Show default application with [Default] text.
Instead of keeping the default application as a first item in
the application list point the default application by adding a
"[Default]" text after its name.
2011-02-25 11:45:04 +02:00
Kimmo Varis b7aa14f0e8 GUI: Improve edit application setttings dialog.
Make the editor application settings dialog to look similar than
include paths dialog. Move buttons right to the list, not below.
And remove unnecessary "application" word from button texts.
Rename Modify-button to Edit-button since we are not modifying
the application but editing its info. Similarly rename Delete-
button to Remove-button since we are not deleting the application
but removing from the list.
2011-02-25 09:43:07 +02:00
Kimmo Varis dd717427e1 GUI: Rename method.
SettingsDialog::PopulateListwidget() was a bit confusing name as
there are more than one list widgets already in settings-dialog.
2011-02-25 09:24:29 +02:00
Kimmo Varis 51eee5f3a7 GUI: Add list control for include paths.
Instead of hard-to-use single line edit control, use list control
for include paths. Have separate buttons for adding, editing and
removing paths. Paths are still stored as one string where paths
are separated with ";". Empty paths are ignored.
2011-02-24 22:12:15 +02:00
Greg Hewgill c3fe6f80da fix CppCheck constructor to allow gui to compile 2011-02-23 21:58:38 +13:00
Erik Lax eddbfbee1e Fixed: #2572 (GUI: Disable all UI actions on Recheck) 2011-02-11 21:08:37 +02:00
Erik Lax a1c1234596 Fixed: #2460 (GUI: Errors are sorted by line number alphabetically instead of numerically) 2011-02-11 21:03:39 +02:00
Kimmo Varis 1e3efd08f8 GUITEST: Add test reading XML format v2 file. 2011-02-09 22:08:29 +02:00
Kimmo Varis 4d886f8c3b GUITEST: Add test for reading old format XML report. 2011-02-09 22:08:25 +02:00
Kimmo Varis 11378108fa GUITEST: Add test for checking XML report version. 2011-02-09 22:08:25 +02:00
Kimmo Varis aa6341dbed Astyle: add option to convert to linux EOLs. 2011-02-09 14:13:37 +02:00
Kimmo Varis 9dd1515f6f GUITEST: Add couple of tests for XmlReport. 2011-02-09 01:59:12 +02:00
Kimmo Varis 2684b230f1 GUITEST: Add first GUI test testing TranslationHandler. 2011-02-08 23:42:50 +02:00
Kimmo Varis e15bc488c9 GUI: Better handling of unknown language loading.
If there were unknown language in settings the fallback to English
language didn't work as expected. And there were no proper current
language set after that. Initialize current language to English
so we always have English as proper fallback.
2011-02-08 18:22:44 +02:00
Kimmo Varis f66bdad03d GUI: Enable French translation.
French translation file was added to the source tree but not added
to the code loading translations.
2011-02-07 12:59:46 +02:00
Kimmo Varis 76b235b9cf GUI: Add comments for translationhandler.h. 2011-02-07 12:56:32 +02:00
Kimmo Varis fd112fc16e GUI: Store selected language as language code.
GUI was storing selected language as index to the languages list.
This is fragile since the order and count of items can change.
This commit changes to using ISO language code (e.g. "en" for
"English").

Fixes ticket #2446 (GUI: Don't use index number for language selection)
2011-02-07 12:30:13 +02:00
Kimmo Varis 64a70fa51c GUI: Refactoring translation handling.
Instead of separate language name and filename lists use one
list of structs. This makes language name and filename more
connected and makes handling of them easier.
2011-02-06 22:00:16 +02:00
Kimmo Varis 7d9f8e1706 GUI: Remove unneeded translation code. 2011-02-06 20:56:04 +02:00
Kimmo Varis 2a49ff9c4d GUI: Sort the languages list. 2011-02-06 20:47:12 +02:00
Kimmo Varis b62d034eae GUI: Update translation files. 2011-02-05 23:46:10 +02:00
Kimmo Varis 1e5743ff1e GUI: Add French translation to project file. 2011-02-05 23:46:05 +02:00
Kimmo Varis e8ebbf2701 GUI: Update translation files. 2011-02-05 18:38:17 +02:00
Kimmo Varis dd0182c99d GUI: Fix reading multiple error locations from XML. 2011-02-05 18:33:45 +02:00
Kimmo Varis c116caa7eb Merge branch 'xml2-refactoring' 2011-02-05 16:11:58 +02:00
Kimmo Varis f279fcd351 GUI: Unquote special characters when reading XML.
Unquote the quoted data from XML file when reading. We don't want
quoted chars to be visible in the GUI.
2011-02-05 16:07:59 +02:00
Kimmo Varis 9eacceb00a GUI: Read XML format version 2 files.
Implement the parsing of XML format v2 error data.
2011-02-05 15:56:56 +02:00
Kimmo Varis d31703e452 GUI: Read ErrorItems instead of ErrorLines from XML report.
XML report format 1 only had error "lines" that we promoted to "items"
when adding to GUI. XML report format 2 contains error "items" so
change the code to read items and do the promotion directly when
reading and parsing the data.
2011-02-05 12:41:29 +02:00
Kimmo Varis 0f0f53f919 GUI: Determine the XML report format before reading report. 2011-02-05 12:12:34 +02:00
Kimmo Varis 299e200d45 GUI: Quote special chars in the XML output.
Fixes ticket #2543 (GUI: Xml report does not quote special characters)
2011-02-05 00:23:25 +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
Daniel Marjamäki 45327e46cd GUI: Updated the swedish translation 2011-02-04 22:05:37 +01: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
Robert Reif 52fea0f245 Ticket #2522 (update project files to fix missing include messages) 2011-01-31 22:18:16 +02:00
Kimmo Varis 0112cd505d GUI: Update translation files. 2011-01-31 11:20:03 +02:00
Kimmo Varis f70aaac5cd GUI: Reword the option for checking all #ifdefs.
The current wording was confusing (espcially related to CLI) since
it said the option will make Cppcheck to check all #ifdef configs.
But this really is case only when there is excessive amount of
those configs and without the option some would be ignored. So
format the option text in line of CLI switch and say it is forcing
not enabling checking of all configurations.
2011-01-31 11:16:32 +02:00
Kimmo Varis b7cb684b1b GUI: Write error summary to CSV and TXT reports.
It makes more sense to write the one-line summary to TXT and
especially to CSV reports. Long multi-line verbose messages ruin
the layout these files.
2011-01-31 10:32:23 +02:00
Kimmo Varis 43b0e2a74c GUI: Fill summary data when reading XML file.
When reading XML file there is no summary data stored so we must
dublicate the message data to summary. Since message can be long
try to find full stop from the message and cut summary to it.

Ticket: #2402 ([GUI] Summary is not shown for loaded .xml file)
2011-01-31 10:25:14 +02:00
Kimmo Varis 97f041f292 GUI: Update homepage URL to About-dialog. 2011-01-27 13:14:53 +02:00
Kimmo Varis 50dba88077 Fix formatting of debug messages to log view.
Ticket #2513 (GUI: Garbage printed to log after missing include warning)

The linenumber was not properly converted to the QString so there
were garbage printed to the log.
2011-01-27 08:47:28 +02:00
Kimmo Varis 001d382614 GUI: Enable warnings about missing include files. 2011-01-26 23:44:15 +02:00
Kimmo Varis 012b07023b GUI: Fix compiler warning from GCC.
Thanks for vBm for reporting this!
2011-01-13 23:38:08 +02:00
Kimmo Varis 03093cb8c4 GUI: Update translation files. 2011-01-10 14:12:40 +02:00
Kimmo Varis 85a700b496 GUI: Remove Language-menu.
We now have language selection in Settings-dialog.
2011-01-10 00:52:02 +02:00
Kimmo Varis 29d6b443fa GUI: Add language selection panel to settings-dialog.
Settings-dialog is more natural place for language selection than
the main menu. We also have more space and freedom there to have
longer text etc to make the selection easier (menus are quite limited
controls).
2011-01-10 00:52:02 +02:00
Reijo Tomperi 226b605774 Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
Daniel Marjamäki d27b6a1598 astyle formatting 2011-01-07 20:48:02 +01:00
Kimmo Varis 6e0f6c5aec GUI: Add comment about storing paths. 2011-01-06 20:45:07 +02:00
Kimmo Varis 2a93aa9fce GUI: Convert path to native separators before copying it.
Ticket #2424 (Windows GUI: "Copy full path" doesn't copy the visible full path if it has been changed in preferences)

We keep paths internally with / separator and only convert to native
separators (for Windows) when showing them. Conversion was missing
from path copying function.
2011-01-06 20:36:35 +02:00
Kimmo Varis b7a3fc4908 GUI: Enable information messages.
Dan added new enable-flag for information messages in commit 033e759.
Enable that flag for GUI so that the information messages are visible
in the GUI.
2011-01-05 23:33:53 +02:00
Kimmo Varis 46c03973ee GUI: Show ideal thread count next to current thread count.
Ideal thread count is determined by Qt as number of available cores.
Ticket: #2194 (Automatically match thread count to available cores)
2010-12-27 18:00:44 +02:00
Kimmo Varis 6404374bba GUI: Update translation files. 2010-12-27 11:43:20 +02:00
Kimmo Varis 8a81022a30 GUI: Use simple "Errors" instead of "Common errors".
We have only one "error" category nowadays so we don't need to
separate different error categories anymore.
2010-12-27 11:42:17 +02:00
Kimmo Varis ba38f73168 GUI: Improve toolbar button tooltips. 2010-12-27 11:38:43 +02:00
Kimmo Varis f7c0377412 GUI: Fix EOL style of stats.ui. 2010-12-27 11:27:39 +02:00
Kimmo Varis 2cd4fbfeb2 GUI: Add 'portability' warnings to statistics-dialog. 2010-12-27 11:17:17 +02:00
Kimmo Varis f150f1ba05 GUI: Add GUI for showing 'portability' warnings.
Add menuitem, icon and toolbar button for portability warnings.
Ticket #2359 (Gui: Show portability warnings).
2010-12-27 11:06:31 +02:00
Kimmo Varis 0758160fcd GUI: Fix building with Qt < 4.7.0.
I accidentally added the 'placeholderText' attribute to settings.ui
when editing it with Qt Creator. That attribute was added in Qt
4.7.0 and we are not using it for anything. So removing it to fix
building with older Qt versions.
2010-12-26 23:49:43 +02:00
Kimmo Varis dd13a98fd9 GUI: Improve Preferences-dialog layout.
Make threads-textfield smaller as it can contain only three numbers.
Also set the input mask so that three numbers at max are accepted.
2010-12-26 20:18:49 +02:00
Kimmo Varis 991318d0de GUI: zero is not valid value for bool type. 2010-12-26 18:37:11 +02:00
Kimmo Varis 436bd68ece GUI: Reorder settings-constants in common.h
It is easier to manage those constants when there is even some basic
ordering and organization.
2010-12-26 18:35:51 +02:00
Kimmo Varis d367243039 GUI: Allow enabling inline suppressions from the GUI.
Ticket #2342 (inline suppressions not available from the GUI)
2010-12-26 18:29:43 +02:00
Kimmo Varis 3020e77570 GUI: Show information messages count in stats dialog. 2010-12-26 15:23:56 +02:00
Kimmo Varis a73970483d GUI: Add "Information" errors items to menu and toolbar. 2010-12-26 15:23:55 +02:00
Kimmo Varis 84180e4fcd GUI: Change Style-warnings icon.
I want to use the current Style-warning icon for Information
messages. So change the Style-warning icon first to new
icon.
2010-12-26 15:23:54 +02:00
Kimmo Varis 31c974c954 GUI: Add Information-severity support. 2010-12-26 15:23:54 +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
vBm 46a11183a5 Fixed some spelling mistakes 2010-12-15 18:45:53 +01:00
Zachary Blair 500c0a19c3 Fixed #2047 (GUI: save log to file) 2010-12-14 23:51:21 -08:00
Zachary Blair 05ebf120c3 Fixed #2266 (GUI: Better check duration display format) 2010-12-14 00:16:26 -08:00
Kimmo Varis 9186cd8503 GUI: Add partial support for portability severity.
Add 'backend' support for the new 'portability' severity. The new
severity is handled, converted to new SHOW_PORTABILITY and added
with correct type to the result view.

There is no menuitem/toolbar button to show/hide portability
items. Likewise there is no line for portability issues in stats-
dialog.

Ticket #2106 (More severities and new xml format)
2010-12-13 11:25:45 +02:00
Daniel Marjamäki 2d3865a671 Add support for user defined rules 2010-12-12 11:56:22 +01:00
Daniel Marjamäki 71146a444b online-help: Remove old files before generating new ones. 2010-12-11 17:29:40 +01:00
Daniel Marjamäki ab37127511 GUI: updated help file. Use latest manual. 2010-12-11 17:04:31 +01:00
vBm ccaa5c2c17 GUI: Initial addition of Serbian localization using clean English template. 2010-12-10 16:59:36 +01:00
Kimmo Varis bc30c7d23b GUI: Small cleanup - use const reference. 2010-12-08 15:08:27 +02:00
Kimmo Varis 27936a9968 GUI: Small cleanup - use const reference. 2010-12-08 14:55:56 +02:00
Kimmo Varis fab16c4cbf GUI: Fix typo in Japanese translation name.
The typo was visible in the Language-menu.
2010-12-08 11:52:49 +02:00
Kimmo Varis ec842782e4 GUI: Update language files. 2010-12-08 11:22:08 +02: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 383df58e7e Fix EOL style for stats.ui.
I accidentally committed stats.ui with Windows EOL style.
2010-12-08 10:59:06 +02:00
Kimmo Varis 3527c04cfb GUI: Update translation files. 2010-12-07 18:24:45 +02:00
Kimmo Varis abc5ec9009 GUI: Don't translate placeholder texts in stats dialog. 2010-12-07 18:22:32 +02:00
Kimmo Varis b41447384c GUI: Don't show summary/details for the parent items. 2010-12-01 18:58:26 +02:00
Kimmo Varis 9731c736e5 Fix ticket #2269 ([GUI] Crash when rechecking files while having hidden stuff)
If there is no current item show empty details panel.
2010-12-01 18:19:37 +02:00
Kimmo Varis 523a4a6f05 GUI: Add files I forgot to add when committing statistic patches. 2010-11-30 23:50:40 +02:00
Kimmo Varis 57a61a4a83 GUI: Show also summary in the details pane.
Show both short summary and verbose message in lower details panel
in the GUI: Add titles for short summary and message. Hopefully this
makes it easier to read the messages and copy/paste them too.
2010-11-30 23:37:25 +02:00
Kimmo Varis 2b8f6b9b56 GUI: Copy statistics also to clipboard. 2010-11-30 22:50:57 +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 e0702d3ef8 GUI: Allow selecting multiple items in results tree.
If multiple items are selected then other than "Hide" context menu
items are disabled.
2010-11-28 23:26:53 +02:00
Kimmo Varis 94ab34d797 GUI: Update translation files. 2010-11-26 23:22:14 +02:00
Kimmo Varis e0e0e3b4fa GUI: Change text in Add Application-dialog back to plain text.
Revert change ca9f8a7036 that converted
text in Add Application -dialog to rich text. The text is plain
text and doesn't use any formatting so plain text is good for it.
2010-11-26 23:20:25 +02:00
Kimmo Varis 14ee95eab7 GUI: Cleanup duplicate code. 2010-11-26 22:51:38 +02:00
Kimmo Varis 2dfa1d540e GUI: Add Setting for global include paths.
This commit adds new setting and GUI for global include dirs. When
project file with include dirs is loaded, global includes dirs are
added first and after them the include dirs from project file.
2010-11-26 22:35:45 +02:00
Kimmo Varis c685035ca4 GUI: Fixing includes. 2010-11-24 17:39:53 +02:00
Kimmo Varis 458af3c931 Merge branch 'error-details'
Conflicts:
	gui/resultstree.h
	gui/resultsview.cpp
2010-11-24 17:24:36 +02:00
Kimmo Varis c6046b6663 GUI: Clear the details panel when starting new check. 2010-11-24 17:09:02 +02:00
Zachary Blair 6b9d9188c9 Fixed #1861 (GUI: Allow hiding error) Disabled menu item when not applicable 2010-11-24 00:48:07 -08:00
Kimmo Varis 0da55d6477 GUI: Improve updating details view.
After previous patches the details view was only updated when the
item was clicked with mouse. This patch improves the updating and
now it works also when changing selected item using keyboard.
2010-11-23 22:37:31 +02:00
Kimmo Varis f1b511a366 GUI: Remember main window splitter state.
Save and restore the vertical splitter state (sizes of tree view and
details panel).
2010-11-23 21:57:16 +02:00
Kimmo Varis 81a599e260 GUI: Rename the splitter widget. 2010-11-23 21:32:35 +02:00
Kimmo Varis 74c15d436b GUI: Add missing include lines. 2010-11-23 00:37:29 +02:00
Kimmo Varis 20334815c6 GUI: Remove Message-column from the error tree view.
The full detailed message is shown in the own panel below error tree.
2010-11-22 23:32:04 +02:00
Kimmo Varis 060131df2f GUI: Add own panel for detailed error messages.
This commit adds new rich text panel for the detailed error messages.
When user clicks error item the detailed error text is updated to
the panel. This way we have much more freedom in formatting the
message and user can easily copy/paste (parts of) the message.
2010-11-22 23:13:12 +02:00
Zachary Blair a16c0dbd5e Fixed #1861 (GUI: Allow hiding error) 2010-11-21 10:55:34 -08:00
Kimmo Varis 3fba8b52c0 GUI: Right-align line number. 2010-11-19 23:11:40 +02:00
Kimmo Varis a0a1ad806a GUI: Add tooltips for error items. 2010-11-19 22:54:40 +02:00
Kimmo Varis 3226281c59 GUI: Add new "Summary" column to results.
Summary column contains the short message core produces.
2010-11-11 23:15:06 +02:00
Kimmo Varis 999e446777 GUI: Add new short summary to error structures.
Also rename 'msg' in structures to 'message' for consistency.
2010-11-11 22:51:00 +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
Daniel Marjamäki ba7a3b376e Fixed #2167 (Drop linefeeds from error messages) 2010-11-11 19:54:43 +01:00
Kimmo Varis c80c709d7e Add missing include lines. 2010-10-31 13:26:23 +02:00
Kimmo Varis ca9f8a7036 GUI: Improve External editor add/edit dialog layout.
Get rid of the form layout stretching the Browse-button so wide. Use
form-like but more flexible layout. Change the term 'Application to
execute' to 'Command to execute'. This reduces duplication and makes
clear difference between application name and the command to execute
to start the application. Fix also tab ordering so that the
application name field gets the focus initially.
2010-10-28 23:47:30 +03:00
Kimmo Varis 3b4770e5a3 GUI: Use Notepad in Windows as default editor if Notepad++ not found. 2010-10-28 23:21:05 +03:00
Kimmo Varis 16fe2f8802 GUI: Failed to start default Notepad++.
Notepad++ found and set as editor by default failed to start. There
were no quotation marks around path containing space chars.
2010-10-28 22:54:30 +03:00
Kimmo Varis d2182dbd3e GUI: It is Notepad++ with capital first letter. 2010-10-28 22:32:35 +03:00
Kimmo Varis 6b017f6a2c GUI: Fix modality of Application dialog when editing application. 2010-10-28 22:32:01 +03:00
Kimmo Varis 3ad4067262 GUI: Fix saving new error categories names. 2010-10-28 20:04:35 +03:00
Kimmo Varis 23eb8c41eb GUI: Add icons for warning/performance categories and add them to toolbar. 2010-10-18 21:35:35 +03:00
Kimmo Varis aefa7d3370 GUI: Shorten menutexts for error/style items.
Items located in 'View' menu don't need 'Show' word as View-menu name
already implies it is about viewing items.
2010-10-18 20:58:04 +03:00
Kimmo Varis bee8d15848 GUI: Add support for warning and performance -error types. 2010-10-18 20:50:34 +03:00
Reijo Tomperi 3bedc9331e Fix encoding in some files 2010-10-03 00:20:18 +03: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
Daniel Marjamäki d9e7dd4d31 ln-: updated copyright 2010-09-16 22:15:37 +02: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
Kimmo Varis 0fd51a814f Fix ticket #2041 (GUI: duplicate messages because file name case different) 2010-09-10 17:42:14 +03:00
Kimmo Varis c0d1bfeedf GUI: use new style API to enable style checks. 2010-09-06 23:28:41 +03:00
Kimmo Varis cf2822c427 GUI: Upate translation files. 2010-09-05 12:47:10 +03:00
Sbastien Debrard 2049f70754 Fixed #1972 (file extensions) 2010-09-02 19:17:47 +02:00
Kimmo Varis 6777718403 GUI: Fix slot name for debugerrors.
Now DebugErrors get correctly routed to check log. The wrong slot
name also caused a warning printed to the console as reported by
thevbm in ticket #2006.
2010-09-01 19:42:28 +03:00
Zachary Blair 15b4cab4bb Fixed #1934 (GUI: Add checking info display) 2010-08-31 23:33:19 -07:00
Kimmo Varis 2f0a245032 Fix error I made merging my internal error handling.
GUI didn't show debug warnings even if they were enabled.
2010-08-29 14:06:01 +03:00
Kimmo Varis b0fa7bfd8c GUI: Add option to show debug warnings in checking log. 2010-08-29 09:38:03 +03:00
Kimmo Varis 20a4f1e195 GUI: Output debug errors to log view.
Debug errors were not shown anywhere in the GUI, they were just
ignored. This commit adds new signal for those debug errors and
directs them to checking log.

Solves ticket #1898 (GUI: Handle internal errors from lib)
2010-08-28 20:37:21 +03:00
Kimmo Varis 35afc4c63f GUI: Disable debug warnings for now. 2010-08-28 09:21:25 +03:00
Kimmo Varis 11e073cf99 GUI: Fix compiling. 2010-08-28 09:16:01 +03:00
Daniel Marjamäki 4d6b7bea2e GUI: some fixes of help
* moved the help file to the application folder
 * use absolute path instead of relative path for helpfile
 * show warning messages if help file doesn't exist or fails to be loaded
2010-08-25 20:08:07 +02:00
Kimmo Varis c0c4d18120 GUI: Disable project opening while checking files. 2010-08-25 20:59:30 +03:00
Kimmo Varis b6bef44f61 GUI: Fix enabling project closing action.
Project closing action was not enabled when the project file was
opened from the checked directory. Also update the window caption to
contain project file name that was opened from the checked
directory.
2010-08-25 18:54:45 +03:00
Kimmo Varis 501015c760 GUI: Fix GCC build failure because of copy-paste error. 2010-08-25 01:01:44 +03:00
Kimmo Varis 28996bd9c1 Fixed #1978 (Fix compiler warnings in GUI (MainWindow::mExiting’ will be initialized after...)) 2010-08-25 00:56:45 +03:00
Kimmo Varis 8731b3efdd Fixed #1977 (GUI crashes when checking a directory)
The GUI was crashing if no project files were in checked directory.
I missed this case in my own testing because I had created test
project files for each directory. Whoops!

Anyway, this now also makes silently loaded project files (project
file residing in directory but not load by the user) as normal
projects in the GUI.
2010-08-25 00:47:05 +03:00
Kimmo Varis ce0f65e761 GUI: Fix for loading "oldstyle" project file. 2010-08-24 20:50:25 +03:00
Kimmo Varis 4ccdcf0fc2 Merge remote branch 'remotes/kimmo/loadable-project'
Conflicts:
	gui/gui.qrc
	gui/mainwindow.cpp
	gui/mainwindow.h
2010-08-24 20:37:51 +03:00
Daniel Marjamäki d97b3bd9d9 GUI: Added icons to the help window. 2010-08-23 22:01:01 +02:00
Kimmo Varis f2e3090a83 GUI: Fix bug that same defines were added to list several times. 2010-08-21 22:59:55 +03:00
Kimmo Varis dbf097326d Improve project file documentation. 2010-08-21 22:54:28 +03:00
Kimmo Varis 2f063ad775 GUI: Use rootpath from Project file.
If rootpath is given in project file then use it as a current
directory. Also check if paths given in project file are
relative and use rootpath as base path for relative paths.
2010-08-21 19:38:51 +03:00
Kimmo Varis d967151c32 GUI: Add project root path to Project file -dialog. 2010-08-21 17:08:10 +03:00
Daniel Marjamäki 8432e0048f GUI: updated helpwindow ui 2010-08-21 13:43:07 +02:00
Daniel Marjamäki 65c5b9906e GUI: Fixed help window leaks and made sure it is closed when the gui is closed 2010-08-21 11:02:52 +02:00
Kimmo Varis 1e7694d56b GUI: Add new optional root-element to project file.
Add support for new root-element to project file. This element
defines project root directory if given. If not given then project
root is directory where the project file is located.
2010-08-20 23:58:00 +03:00
Daniel Marjamäki ac8544f3b3 GUI: fixed the online-help.qhp file listing 2010-08-20 22:31:49 +02:00
Daniel Marjamäki 1e59302be6 GUI: Removed the help collection file because it didn't work on different Qt setups 2010-08-20 22:12:40 +02: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 1d0debddef astyle formatting 2010-08-20 19:31:23 +02:00
Kimmo Varis 5a65f4d55d GUI: Prevent opening new files or directories when project file loaded. 2010-08-19 22:28:56 +03:00
Kimmo Varis 2da6a242d2 GUI: Set current directory when loading a project file. 2010-08-19 22:06:45 +03:00
Daniel Marjamäki 043ff6aab5 GUI: Added generated file online-help.qhc because it is not yet autogenerated when building 2010-08-19 19:21:39 +02:00
Daniel Marjamäki c83461c858 GUI: added simple help file 2010-08-19 18:58:40 +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 c8e073576c GUI: Add icon for Open Project and add it to toolbar. 2010-08-19 17:47:27 +03:00
Kimmo Varis 6a3bccae6f GUI: Add check paths field to Project File -dialog. 2010-08-17 19:32:29 +03:00
Kimmo Varis aef0aeb974 GUI: Set project filename to main window caption.
When project file is closed the caption is emptied.
2010-08-17 18:06:17 +03:00
Kimmo Varis d4210f4fc0 GUI: Leave new project file open and selected.
When user creates new project file one probably wants to keep using
the same project file. So leave it open for use.
2010-08-15 22:51:15 +03:00
Daniel Marjamäki 8d52c33790 GUI: Use Notepad++ by default in windows. Ticket: #1931 2010-08-15 16:40:16 +02:00
Tim Gerundt eb6d596085 Fixed #1916 (gui: Update german translation) 2010-08-15 16:07:48 +02:00
Kimmo Varis 0f4d067926 GUI: Add menuitem to edit open project file.
Earlier we opened project file only for editing. But now that we
really use project files we need separate feature for editing
them.
2010-08-15 16:12:32 +03:00
Kimmo Varis ab1aaf9a45 GUI: Add menuitem to close open project file. 2010-08-15 12:12:28 +03:00
Kimmo Varis c98d398398 GUI: Open project file and check contained paths.
Now we load user-selected project file and start checking paths it
contains. Project file can be anywhere as long as it contains valid
path(s) to check.
2010-08-15 11:35:46 +03:00
Daniel Marjamäki 676e0d2c70 astyle formatting 2010-08-15 08:11:32 +02:00
Erik Lax 6423288d2e Fixed #1931 (GUI should try to detect the best possible editor) 2010-08-15 07:58:14 +02:00
Kimmo Varis a82edf5278 GUI: Add check paths to project file.
Add new element containing paths to check into the project file. This
is for growing project files to real project files that can be loaded
and selected from the GUI. And decoupling project files from the
directory they reside. So you can put project file in any directory,
load it and it checks paths listed.
2010-08-14 18:42:37 +03:00
Kimmo Varis 737ca1a968 Fix filenames starting with capital letters.
I accidentally committed two new files with filenames starting
with capital letters from Windows machine. The Linux build
breakage was fixed by fixing the include lines. But the correct
fix is to fix filenames as we are using all lower letter filenames
in this project.
2010-08-11 17:22:39 +03:00
Ettl Martin 653b5f37b8 gui: fixed regression du to case sensitifity of Linux 2010-08-10 23:04:59 +02:00
Kimmo Varis 2a294babc3 GUI: Use canonical path as checking path.
Cleanup the path name before starting checking and saving it.
2010-08-10 18:13:53 +03: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
Robert Reif 483a3ddfe1 Fixed #1925 (fix some cppcheck warnings in cppcheck) 2010-08-10 07:26:59 +02: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
Ettl Martin 76fbbd7bd0 fixed regression due to missing settings.h 2010-07-26 22:59:35 +02:00
Daniel Marjamäki 3c376047ba pulled changes from kimmov (filelocation-refactor) 2010-07-19 18:06:49 +02:00
Kimmo Varis c3dfe1a356 GUI: Fix bug that every error item got own parent item.
The code could not find existing parent item since items have paths
with native separators and search was done with non-native path
separators.
2010-07-18 13:17:21 +03:00
Kimmo Varis 50b41a25de Fixed #1870 (Wrong path in report)
Current directory was set from first file in the list. That file
could be in subdirectory when wrong path was set. Also getting
absolute path was buggy.
2010-07-18 13:00:39 +03:00
Kimmo Varis d8077cf2f7 Fixed #1870 (Wrong path in report)
Current directory was set from first file in the list. That file
could be in subdirectory when wrong path was set. Also getting
absolute path was buggy.
2010-07-18 12:57:48 +03:00
Kimmo Varis 006c9f17d4 GUI: Avoid unnecessary path separator conversion. 2010-07-18 11:20:10 +03:00
Kimmo Varis 0b463dadb9 GUI: Close application cleanly when exiting while checking.
Earlier commit allowed cppcheck to exit immediately while checking.
This however leads crashes and error logs shown since the thread
termination leaves things in inconsistent state. I thought cppcheck
would close fast enough so these could be ignored. But apparently
not.

So this commits adds new bool mExiting for MainWindow and sets that
to true when exiting while checking. When the checking is ready this
attribute is checked and if it is true the application can now be
cleanly exited.
2010-07-17 23:52:50 +03:00
Kimmo Varis 3261f848c3 GUI: Fix includes for dialogs/views.
At first we created the GUI in the code and so needed all the layouts
etc include to the code. Now when we are using UI files we don't need
all those included. So clean them up. Also use forward declarations
instead of includes in header files when possible.
2010-07-17 22:57:32 +03:00
Kimmo Varis 93bfa24d3e GUI: Ensure native path separators in reports.
Ensure that native separators are used in saved reports. Reports may
be parsed by other programs/scripts so it is important that paths
are properly formatted.
2010-07-17 21:07:09 +03:00
Kimmo Varis c606dc8403 GUI: Show paths with native separators in result tree.
GUI used to show paths with / separator which is not native
separator in Windows. So lets convert shown paths to native
separators before adding them to the GUI.
2010-07-17 20:26:24 +03:00
Kimmo Varis d5a6b02e9e GUI: Fix building after path handling refactorings. 2010-07-17 18:36:21 +03:00
Kimmo Varis db7c9848d0 GUI: Update translation files. 2010-07-17 10:54:53 +03:00
Kimmo Varis de767a7cf1 GUI: Remember log view size. 2010-07-16 23:27:57 +03:00
Kimmo Varis 8bf8dd4bf7 GUI: Add Clear-button to log view. 2010-07-16 18:35:51 +03:00
Kimmo Varis 7f3825d922 GUI: Add close-button to log view. 2010-07-16 18:07:23 +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 f5024a7f67 Fixed #1853 (GUI: Allow closing gui.exe while checking)
The GUI now asks if user wants to stop the current checking and exit
the application.
2010-07-16 12:44:11 +03:00
Kimmo Varis f81774f5b9 GUI: Fix compile after Severity changes. 2010-07-14 21:12:54 +03:00
Kimmo Varis 6c6ab0a78d GUI: Sent ErrorItem with Error -signal.
This commit modifies and registers ErrorItem as proper metatype so it
can be used with Qt signals. Then sending Error-signals is refactored
so that ErrorItem instances are sent instead of several different
arguments that already contained couple of lists.
2010-07-14 14:24:46 +03:00
Kimmo Varis cff008634e GUI: Update translation files. 2010-07-13 13:02:12 +03:00
Kimmo Varis b92f7b854a GUI: Disable Project file menu items when checking. 2010-07-13 12:46:28 +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 4a1708013e GUI: Rename project file related methods in mainwindow. 2010-07-13 12:33:24 +03:00
Daniel Marjamäki 414dbdb295 Merge branch 'master' into projfile-gui 2010-07-13 07:49:17 +02:00
Martin Ettl 51beb6d01a gui/main added spaces between template brackets 2010-07-13 00:13:08 +03:00
Kimmo Varis 4a695c78d9 GUI: Add two new files I forgot to add earlier. 2010-07-13 00:10:48 +03:00
Daniel Marjamäki 7d0fd3f2aa Fixed #1849 (GUI: failed to build gui) 2010-07-12 20:39:20 +02:00
Martin Ettl cba711f293 gui/main added spaces between template brackets 2010-07-12 20:02:58 +02: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 e468779feb GUI: Don't mention auto-allocated classes even in comments. 2010-07-12 20:22:19 +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 75f6ca5b66 GUI: Disable opening XML report file when checking files. 2010-07-12 02:18:26 +03:00
Kimmo Varis 801afae88b GUI: Refactor linenumber in ErrorLine to unsigned int. 2010-07-12 01:51:36 +03:00
Kimmo Varis 4a2446d235 GUI: Ignore errors with "debug" severity.
GUI doesn't know about "debug" severity. And it is not worth the
trouble to add new category everywhere (icons etc) just for
internal debug messages.
2010-07-12 01:18:16 +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 8a24435db2 GUI: Update translation files. 2010-07-11 16:33:49 +03:00
Kimmo Varis c9d63fa454 GUI: Remember user-selected base path.
Remember the base path user selects when opening files from loaded
XML report.
2010-07-11 16:20:19 +03:00
Kimmo Varis b8793b1529 GUI: Ask file location from user if not found.
When loading report from XML there is no full paths so the file's real
path is not known and cppcheck cannot open it. So if the file has no
absolute path then we ask where the file is located from the user.
2010-07-11 14:22:55 +03:00
Kimmo Varis f894b19209 GUI: Add errors read from XML report to GUI. 2010-07-11 02:02:08 +03:00
Kimmo Varis 9a5166075f GUI: Fix line numbers and filenames in errors.
When converting to use new ErrorItem and ErrorLine I made few mistakes
in how I handled the data. And for some reason there was not even
warnings about converting integers to QStrings.
2010-07-11 01:07:40 +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 faa483b8d0 GUI: Use integer list instead of variant list for line numbers. 2010-07-10 20:54:33 +03:00
Kimmo Varis 2f0202d105 GUI: More refactoring to use ErrorItem and ErrorLine. 2010-07-10 20:30:31 +03:00
Kimmo Varis 0e9d0e9bde GUI: Refactor error data passing to use own class. 2010-07-10 18:20:45 +03:00
Kimmo Varis 5e14abf735 GUI: Read errors from report XML file.
This commits adds new "Open XML" item to File-menu. Selecting this
menuitem allows user to select report file to open. When the file is
read the error data is printed to debug output. Later patches will
implement adding error data back to the GUI.
2010-07-10 16:37:36 +03:00
Kimmo Varis 81449a823a GUI: Refactoring xmlreport to use pointer to stream writing class. 2010-07-10 13:53:44 +03:00
Kimmo Varis c76d288ad9 GUI: Update translation files. 2010-07-08 20:15:03 +03:00
Kimmo Varis d98d840e98 GUI: Set buddies in Project file -dialog. 2010-07-08 20:13:19 +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 4958424adc GUI: Fix giving filename to project file saving function. 2010-07-08 16:16:25 +03:00
Kimmo Varis 7407b2d861 GUI: Revert testing changes from project file. 2010-07-08 16:15:39 +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 eda97528dd GUI: Update project file spec.
Remove autoalloc list from example and remove mentioning that there is
no GUI for project files.
2010-07-08 02:12:54 +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
Kimmo Varis f60a469932 Fixed #1831 (GUI: no progress bar when rechecking files)
Need to initialize the checking also when rechecking.
2010-07-07 12:25:47 +03:00
Daniel Marjamäki bf7ce98178 GUI: updated swedish translation 2010-07-05 13:36:44 +02:00
Daniel Marjamäki b63c932320 GUI: updated swedish translation 2010-07-05 13:29:58 +02:00
Kimmo Varis 643d400716 GUI: Refactoring progress/finished handling.
Progress signal had also item count with it and then the handler determined
that check is ready when max count of progress was done. Also progressbar
was practically reset in every progress signal. This was simply fragile
code.

After this patch progress signal has only the current progress count. Total
count of items is given when initializing the checking. And there is
separate function for handling check finishing.

This also fixes the bug that progressbar was not hidden after checking
or when interrupting the checking.
2010-07-04 18:54:41 +03:00
Kimmo Varis acbf5af586 GUI: Fixup TS translation files after they got messed up earlier.
The lupdate got confused of removing "Show security errors" and there being
existing string "Show style errors". lupdate thought the "Show style errors"
was a new version ("similar enough") of "Show security errors" string
instead of new string to translate. Or actually existing translated string.
So many translations got "Show style errors" translated by earlier
translation of "Show security errors".

This commit fixes the mess by manually removing "Show security errors"
references and restoring correct translations of "Show style errors" from
earlier file versions.

Good lesson to learn about lupdate behavior.
2010-07-04 01:15:09 +03:00
Kimmo Varis 5aadf242d7 GUI: Remove code for automatic deallocated classes.
Project file code still read the list of automatically deallocated
classes from project file. That feature hasn't been supported in
few last releases.
2010-07-04 00:15:19 +03:00
Kimmo Varis 9296c717f3 GUI: Change UI file to LF EOLs.
In previous commit I accidentally committed the UI file with CRLF EOLs.
2010-07-03 20:29:09 +03:00
Kimmo Varis 77a34643e2 GUI: Refactoring toolbar member names to be more consistent. 2010-07-03 20:03:53 +03:00
Kimmo Varis 7ddb60dd5a GUI: Update translation files. 2010-07-03 19:46:48 +03:00
Kimmo Varis 3f04aebf7c GUI: Add View-menu item for showing/hiding Categories-toolbar. 2010-07-03 19:37:09 +03:00
Kimmo Varis 1faf3b0078 GUI: Move menuitem to hide/show main toolbar to own submenu. 2010-07-03 15:33:43 +03:00
Kimmo Varis e0c49e4eae GUI: Add new toolbar for error/warning categories.
This commit adds new toolbar to the GUI for fast and easy switching of
different warning//error categories. The icons are currently just
placeholders until more descriptive icons are created.
2010-07-03 14:19:02 +03:00
Kimmo Varis c5a3b306e4 GUI: Rename main toolbar in code. 2010-07-03 13:11:38 +03:00