Commit Graph

102 Commits

Author SHA1 Message Date
Kimmo Varis c5a3b306e4 GUI: Rename main toolbar in code. 2010-07-03 13:11:38 +03:00
Kimmo Varis 5d55bc0581 GUI: Remove remains of "possible error". 2010-07-03 12:58:56 +03:00
Kimmo Varis 35e655590c GUI: Remove remains of "all style".
Earlier "all style" was just removed as menu item but all the code related
was left in place. This commit actually removes the now unneeded code.
2010-07-03 11:48:25 +03:00
Robert Reif 1207531c21 Fixed #1698 (Add define support to GUI) 2010-05-20 07:22:19 +02:00
Daniel Marjamäki c52d7fbb22 Fixed #1689 (failed to build gui) 2010-05-17 20:05:41 +02:00
Daniel Marjamäki c718a7c595 astyle: Update to astyle 1.24 2010-04-15 20:08:51 +02:00
Reijo Tomperi 35d2a27b9c Update copyright year in all source files 2010-04-13 22:23:17 +03:00
Daniel Marjamäki d7db82293e gui: removed options for possible error/style 2010-04-10 15:32:22 +02:00
Daniel Marjamäki 0cad22314e Reverted 'astyle fix'. Those changes are not in sync with my astyle configuration/setup. 2010-04-02 07:30:58 +02:00
Martin Ettl 193aa7d1d3 astyle fix 2010-04-02 02:21:53 +02:00
Kimmo Varis d1bbcf1734 Implement Win32 FileLister as separate class.
Improve the system used to have separate versions of code of FileLister for
Win32 and Linux. New idea is to have Base FileLister class implementing
common code and then derived classes for Win32 and Linux specific code.

FileLister is not anymore a static class. Instead we use singleton of
derived class.
2010-03-11 21:58:59 +02:00
Kimmo Varis 0a372a4727 Fix GUI compile error on Linux. 2010-02-23 19:09:05 +02:00
Kimmo Varis 279e66a1d6 Open HTML help from Help-menu in Windows. 2010-02-23 17:50:59 +02:00
Kimmo Varis e38694ccfc Remove some excessive empty lines. 2010-02-23 14:34:51 +02:00
Kimmo Varis 0186d59cbe Fixed #1229 (GUI: project file not read when checking a file) 2010-01-06 11:34:02 +02:00
Kimmo Varis e1b30721cd Fixed #1226 (GUI: project include file relative path search problem)
Thanks for Robert Reif for finding and reporting problem in previous commit.
2010-01-06 03:15:56 +02:00
Kimmo Varis 5bb3c5898b Fixed #1226 (GUI: project include file relative path search problem) 2010-01-06 01:40:26 +02:00
Daniel Marjamäki e1ed22aa2b Fixed #1187 (GUI: fix project file loading) 2010-01-03 08:39:00 +01:00
Reijo Tomperi 74cefb7f3a Fix #981 (GUI saves report with wrong extension)
Apply patch from robertreif
http://sourceforge.net/apps/trac/cppcheck/ticket/981
2009-11-20 00:19:44 +02:00
Daniel Marjamäki 5616a9569e gui: fixed compiler error 2009-11-15 17:47:23 +01:00
Reijo Tomperi 1ee28ba444 Refactoring: Make Cppcheck::version() static
Update codeblocks projectfile
2009-10-25 22:06:58 +02:00
Daniel Marjamäki d4f706e040 fixed qmake building with new folder structure 2009-10-25 19:29:10 +01:00
Daniel Marjamäki fa14dcbf68 fixed compiler error when building gui 2009-10-17 11:34:17 +02:00
Reijo Tomperi 8e0f868a5e Fix #455 (Recheck is enabled when no previous results available)
http://sourceforge.net/apps/trac/cppcheck/ticket/455
2009-10-13 11:19:00 +03:00
Reijo Tomperi fdde2182b9 Fix GPL comments in all files. ">." was missing from the end. 2009-09-27 18:08:31 +03:00
Kimmo Varis f6d2445e16 Add 'possible style error' severity for the GUI.
Fixes ticket #436 (GUI: All style -severity). The possible style errors can be now selected visible / hidden so all severities have their own menu item.
2009-08-02 15:00:22 +03:00
Kimmo Varis 4da5679737 GUI: Use native path separators in main window caption. 2009-08-02 14:08:04 +03:00
Vesa Pikki 962757c257 Added support for checking files via commandline arguments. 2009-07-16 08:20:29 +03:00
Kimmo Varis 635acfa2ab GUI: Remove security-category.
The security-category was removed from core in commits 03f3ee62a0 and 11bc5195b8.
2009-07-13 16:47:38 +03:00
Daniel Marjamäki 11bc5195b8 cleanup: continued with the removing of the security. Some more work is needed but now everything compiles and runs at least. 2009-07-12 22:21:49 +02:00
Kimmo Varis 58c21dde1c GUI: Add new CSV report type.
CSV files are handy (and commonly used) to export/import data to other programs. CSV reports allow easy import of cppcheck error data to other programs for further processing.
2009-07-06 12:30:49 +03:00
Reijo Tomperi 8b0e481d46 Refactoring: Rename member functions to follow naming guidelines. 2009-07-05 23:16:43 +03:00
Reijo Tomperi 6e378615cf astyle fix 2009-07-04 15:54:28 +03:00
Vesa Pikki d5762b8003 Merge branch 'master' of git@github.com:danmar/cppcheck 2009-07-04 11:07:23 +03:00
Vesa Pikki e656c951e5 Settings are now saved before window has closed.
This enables us to check if toolbar is visible or not. Earlier
we saved settings after the window was closed and checking for
toolbar visibility was not feasible anymore.
2009-07-04 11:06:29 +03:00
Kimmo Varis 462117485d GUI: Read include directories from project file. 2009-07-04 01:38:47 +03:00
Kimmo Varis f1847e736d GUI: Further improve error message for lang file not found.
Not being able to switch language is critical error, not just warning. Also show full file name (with extension) of the file not found.
2009-07-03 17:20:54 +03:00
Kimmo Varis 71eaf8f58f Remove unused variable. 2009-07-03 10:56:08 +03:00
Vesa Pikki 7a4115236a TranslationHandler now suggests a language based on sysytem locale.
Also made sure toolbar visibility is updated before saving settings.
2009-07-02 23:41:37 +03:00
Vesa Pikki 27d630f58d Disabling progressbar if stop button is pressed.
This actually had no visible effect on KDE.
2009-07-02 20:23:44 +03:00
Vesa Pikki 8f516a5638 Checks if toolbar is closed when opening view menu.
Basically just reverted back Kimmo's code that was lost in merge.
2009-07-02 20:13:22 +03:00
Vesa Pikki 7e043b182d Fileview dialogs now use Qt Designer ui files.
Translation also updated.
2009-07-02 19:46:26 +03:00
Vesa Pikki 7d2c26bd25 Merge branch 'master' of git@github.com:danmar/cppcheck
Conflicts:
	gui/mainwindow.cpp
2009-07-02 19:16:50 +03:00
Vesa Pikki e973f9653b Settings dialog and application dialog now use Qt Designer ui files. 2009-07-02 19:14:12 +03:00
Kimmo Varis df7ca21a31 Astyle fixes. 2009-07-02 18:57:09 +03:00
Vesa Pikki 1daba9e913 Error types are now translated aswell. 2009-07-02 13:48:32 +03:00
Vesa Pikki 4206a9d218 Toolbar can now be hidden.
Treeview's headers will now be translated when language changes.
2009-07-02 11:46:26 +03:00
Vesa Pikki ebfa55b1c3 Began adding translations and using Qt Designer .ui files.
Also added QSetting value names to common.h

Work is halfway on both translations and .ui files.

I added a very quick and rough finnish translation.

The program now requires the translation files to be created before running
that can be done with lrelease gui.pro.

To compile the whole GUI one must do the following
cd gui
qmake
lrelease gui.pro
make
2009-07-02 11:33:28 +03:00
Kimmo Varis b245b7a832 GUI: Do not make settings names translatable.
Having translated settings names is a bad idea. If user changes GUI language one loses settings. Also settings might be exported/imported and translated names might not work between systems/users.
2009-07-02 02:02:34 +03:00
Kimmo Varis c79d50a710 GUI: Remember standard toolbar visibility (add it to settings). 2009-07-02 00:05:09 +03:00