Commit Graph

864 Commits

Author SHA1 Message Date
Daniel Marjamäki e1ed22aa2b Fixed #1187 (GUI: fix project file loading) 2010-01-03 08:39:00 +01:00
Kimmo Varis 9e2a42ebf9 CMake - use more strict compiler flags. 2009-12-20 10:45:57 +02:00
Kimmo Varis c988b14fb5 CMake- fix building GUI from different directory. 2009-12-19 18:15:48 +02:00
Kimmo Varis d51520d656 CMake - add Windows resource files to build. 2009-12-19 16:54:38 +02:00
Kimmo Varis 401afea2f2 Fix Windows GUI resource file. 2009-12-19 16:53:47 +02:00
Kimmo Varis 41eb141e61 CMake - cleaner way to set additional library for Windows. 2009-12-19 16:21:46 +02:00
Kimmo Varis d70c60b702 CMake - Fix Windows build. 2009-12-17 22:31:13 +02:00
Kimmo Varis cf071ccdad CMake - build GUI translation files. 2009-12-15 22:27:18 +02:00
Kimmo Varis 3437242ea7 CMake GUI build - fix adding resources to GUI. 2009-12-15 22:27:18 +02:00
Kimmo Varis e010575398 Build GUI using CMake.
This is a start for building GUI with CMake. It works but it is a bit ugly.
2009-12-15 22:27:18 +02:00
Martin Ettl 2e7a4c7b75 gui:added an right-click option "copy message" 2009-12-06 17:46:24 +01:00
Daniel Marjamäki 348c663ce0 gui: with the define NDEBUG the assertions are disabled 2009-11-28 17:34:49 +01:00
Daniel Marjamäki 4e340d556d Robert Reif: initialize array (#366) 2009-11-24 17:25:27 +01:00
Reijo Tomperi d5e7d688d2 Fix #864 (GUI fails to open second position for multi-line errors)
Apply patch from robertreif
http://sourceforge.net/apps/trac/cppcheck/ticket/864
2009-11-20 00:43:46 +02: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 40f2265abf robertreif: Fixed #442 (Filter duplicate errors in GUI) 2009-11-16 17:09:30 +01:00
Daniel Marjamäki 9207f7ade5 robertreif: Fixed #726 (GUI: Fix quoting of paths with spaces in Windows) 2009-11-16 17:02:28 +01:00
Daniel Marjamäki 5616a9569e gui: fixed compiler error 2009-11-15 17:47:23 +01:00
Daniel Marjamäki cba94feded Restructuring: Updated the Visual Studio project files. They are now generated by qmake 2009-10-28 17:37:38 +01:00
Daniel Marjamäki f2106f96ad Restructuring: updated win_installer scripts 2009-10-27 20:22:11 +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
Daniel Marjamäki 278f1b8722 eliedebrauwer: fix typo (#755) 2009-10-01 18:01:54 +02:00
Daniel Marjamäki 0c7bced265 eliedebrauwer: dutch translation (#756) 2009-10-01 17:56:43 +02:00
Daniel Marjamäki 36076d238e eliedebrauwer: dutch translation (#756) 2009-10-01 17:55:13 +02:00
Reijo Tomperi fdde2182b9 Fix GPL comments in all files. ">." was missing from the end. 2009-09-27 18:08:31 +03:00
Vesa Pikki 1c1ffa63f3 Fixed ticket#687.
Thread state is now initialized to "Ready".
2009-09-18 20:56:31 +02:00
Kimmo Varis 5e30a725d4 Move gui's readme to root directory to make it easier to find. 2009-09-06 10:54:42 +03:00
Aleksey Palazhchenko d9d2f53df6 Added top-level 'check' target.
Also refactored all. pro files by the way. :)
2009-09-04 22:59:25 +04:00
Kimmo Varis ec40b4c628 Don't force debug builds in qmake project files.
When creating makefiles with qmake one needs to give the target in command
line. E.g.
  $ qmake -config debug
or
  $ qmake -config release

For Visual studio projects both targets are generated by just running the
qmake command without switches.
2009-08-17 18:12:53 +03:00
Kimmo Varis d16d19e580 Add new header file to qmake project files. 2009-08-17 18:05:10 +03:00
Daniel Marjamäki e2681be8f2 Swedish: Updated the translation file 2009-08-16 09:38:25 +02:00
Reijo Tomperi f36f3bfae1 line change and encoding fixes 2009-08-15 22:39:57 +03:00
Vesa Pikki 0db35229cb Added a Polish translation file.
Also added some missing Finnish and English translations.
2009-08-09 23:11:13 +03:00
Reijo Tomperi c6a1f17318 encoding fix 2009-08-04 22:41:32 +03:00
Kimmo Varis a34d6fd2de Oops. Didn't mean to commit the change to gui/test.cpp. But since I did,
lets remove the linefeeds and make the function look like it gets called.
2009-08-03 01:18:15 +03:00
Reijo Tomperi e0f416e52e astyle fix 2009-08-02 22:11:17 +03:00
Kimmo Varis e5372de295 GUI: update translation files. 2009-08-02 15:02:54 +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
Kimmo Varis 5ce15eeb23 GUI: Change settings-dialog title to 'Preferences'.
The menuitem is 'Preferences' so the dialog must have the same title.
2009-08-01 18:28:21 +03:00
Kimmo Varis f406babc32 GUI: Make two report saving errors translatable. 2009-08-01 09:42:52 +03:00
Kimmo Varis f11d34c109 GUI: Fix bug that GUI didn't close the report file. 2009-07-31 22:19:21 +03:00
Kimmo Varis 2fb3b187f0 GUI: Fix GUI to recognize and use "possible error" type (was "all" earlier). 2009-07-31 22:12:05 +03:00
Slava Semushin 0e61395a63 gui/cppcheck_ru.ts: start Russian translation. 2009-07-26 16:10:11 +07:00
Slava Semushin 5d941aa137 gui: regenerate ts-files. 2009-07-26 16:09:02 +07:00
Kimmo Varis d1eb7e6558 GUI: clarify compiling instructions a bit. 2009-07-18 13:34:00 +03:00
Daniel Marjamäki 7df3670128 doc: updated doxygen comments. three groups where created - 'GUI', 'Core' and 'Checks' 2009-07-17 10:49:01 +02:00
Vesa Pikki 962757c257 Added support for checking files via commandline arguments. 2009-07-16 08:20:29 +03:00
Kimmo Varis 2dca9d438d GUI: Place intermediate resource files to temp folder. 2009-07-14 16:18:34 +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 dfdbf85730 GUI: Improve About-dialog layout.
Add vertical spacer above texts to that icon box becomes narrow and text box wide.
2009-07-12 14:22:56 +03:00
Kimmo Varis 17a27bd5e6 GUI: Wordwrap texts in the About-dialog.
Fixes ticket #454 (About-dialog size/text problems).
2009-07-12 11:09:50 +03:00
Daniel Marjamäki 1a97090526 Translation: Updated the translation file for swedish 2009-07-06 17:04:17 +02:00
Kimmo Varis c8493e31ef GUI: Add icons for error messages of failed report saving. 2009-07-06 12:37:54 +03:00
Kimmo Varis 3884b4f997 GUI: Make report class destructors virtual. 2009-07-06 12:33:10 +03: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
Kimmo Varis 81ab6a75c3 Fix ticket #456 (GUI:: save only the results selected in view settings)
http://sourceforge.net/apps/trac/cppcheck/ticket/456
2009-07-04 22:29:48 +03:00
Reijo Tomperi 6e378615cf astyle fix 2009-07-04 15:54:28 +03:00
Vesa Pikki a7c1d99d01 I reverted back the translation file checking.
Allthough I put it after QTranslator had failed to load the translation.
This still allows QTranslator to try and open the file with several
variations of the file. To user we'll tell that the default file is missing.
2009-07-04 12:06:31 +03:00
Vesa Pikki f603dfde82 Removed an unnecessary translation file check.
It was missing the file extension and QTranslator returns false
if it was unable to find the translation file which is just as good.
QTranslator can also check for several variations of the given filename.
2009-07-04 11:13:04 +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 3b1c9098b8 GUI: Show instructions instead of error when viewer application is not configured. 2009-07-03 17:46:39 +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 8c2f5b42df GUI: Check translation file exists before loading it.
This allows more accurate error message for the user.
2009-07-03 14:18:35 +03:00
Kimmo Varis e2248c35f9 Fix EOL style for gui/resultsview.ui that got converted to Windows style.
Apparently QT Creator blindly converts file EOL style without any warning to user.
2009-07-03 13:44:45 +03:00
Kimmo Varis a155d895fd GUI: Remove doubled margin from main window.
The main window sets default margin for central widget. And layout was setting another margin so margin was doubled.
2009-07-03 12:57:25 +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 a415ab1e5c Added missing license texts. 2009-07-02 21:28:05 +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 e1701d5b27 Removed unused statusbar. 2009-07-02 19:55:25 +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 8694f6e982 About dialog now uses Qt Designer ui file.
Updated translations again.
2009-07-02 19:36:45 +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 32725c872e Updated the translation files. 2009-07-02 19:15:34 +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
Kimmo Varis 85d89c29c0 GUI: Add homepage URL to About-dialog. 2009-07-02 18:56:18 +03:00
Vesa Pikki 97508ade3f Added ui files for Settings and Application dialogs.
The code doesn't use those at the moment though.
Updated the translation files aswell.
2009-07-02 14:12:22 +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
Kimmo Varis 23b816f43b Astyle fixes. 2009-07-01 23:47:38 +03:00
Kimmo Varis 4644f8b841 GUI: Add View-menu item to show/hide standard toolbar. 2009-07-01 23:46:42 +03:00
Kimmo Varis d029a50833 Fix couple of typos in comments. 2009-06-27 10:43:03 +03:00
Kimmo Varis 64f304684f GUI: Remove GUI for showing unused functions.
Implements ticket #443 (Remove checking of unused functions from GUI) https://sourceforge.net/apps/trac/cppcheck/ticket/443
See also ticket #434
https://sourceforge.net/apps/trac/cppcheck/ticket/434
2009-06-27 10:41:30 +03:00
Kimmo Varis 64f88f147c GUI: Disable checking unused functions.
Implements ticket #443 (Remove checking of unused functions from GUI)
https://sourceforge.net/apps/trac/cppcheck/ticket/443
See also ticket #434
https://sourceforge.net/apps/trac/cppcheck/ticket/434
2009-06-27 10:30:32 +03:00
Reijo Tomperi f740277ce5 Fixed compile error in Linux
Include guard naming fix (names starting with underscore+capital letter are reserved in C++, so we should not use those)
Codeblocks project file update
2009-06-24 23:49:38 +03:00
Kimmo Varis 364d8067ec GUI: Add include guard for projectfile.h. 2009-06-24 13:56:28 +03:00
Kimmo Varis 678714419c GUI: Refactor report saving.
Refactoring report writing to own classes and using QT's XML classes for XML output. This also fixes the ticket ##408 (GUI generates invalid xml).
https://sourceforge.net/apps/trac/cppcheck/ticket/408
2009-06-24 10:54:56 +03:00
Kimmo Varis df241441dc Fix ticket #437 (Compile warnings in GUI (in Linux))
https://sourceforge.net/apps/trac/cppcheck/ticket/437
Add empty cases for XML element types we don't need to handle.
2009-06-23 09:20:09 +03:00
Kimmo Varis e3271115f2 GUI: Add checked directory path to main window caption. 2009-06-22 18:45:48 +03:00
Kimmo Varis 3012bd5312 Fix EOL style of project file doc and example project file. 2009-06-22 12:38:21 +03:00
Kimmo Varis 74263b30de Add QT XML DLL to Windows installer and update docs. 2009-06-22 12:35:44 +03:00
Kimmo Varis 1aafeebe7b GUI: Add support for project files.
GUI reads per-project settings (automatically deallocated classes) from XML project file. The project file format is described in projectfile.txt. Example project file is added for gui.

See also forum discussion at:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=46
2009-06-22 11:57:17 +03:00
Kimmo Varis dc75761856 GUI: Don't allow to open Settings-dialog while checking. 2009-06-21 00:03:59 +03:00
Kimmo Varis 7c50e74b95 GUI: Rename Check all/Uncheck all View-menu items to Show all/Hide all.
It is not obvious for user what those items do and after all it is about showing/hiding all items.
2009-06-20 23:52:54 +03:00
Kimmo Varis 2adfd3607d GUI: Enable clearing/saving results also if there are only hidden results.
This commit fixes a bug in my earlier commit that only checked visible results.
2009-06-20 23:42:12 +03:00
Kimmo Varis 71aa189efb GUI: Notify user the compare is ready if main window is inactive. 2009-06-20 23:23:54 +03:00
Kimmo Varis 5643d816cf GUI: Clear results from view before starting new compare.
Strictly speaking this is not necessary but it is the easiest way to set the GUI state to "no results"-state.
2009-06-20 23:13:08 +03:00
Kimmo Varis 0792d89a6b GUI: Disable result cleaning and saving during the checking. 2009-06-20 23:05:17 +03:00
Kimmo Varis 210014b930 GUI: Make three Get*() methods const methods. 2009-06-20 20:55:28 +03:00
Kimmo Varis 2eff269e60 GUI: Make ThreadHandler class part of object tree. 2009-06-20 19:55:23 +03:00
Kimmo Varis af994d23e1 Doxygen fixes. Wrong parameter names etc. 2009-06-20 12:54:49 +03:00
Reijo Tomperi ffd8008081 Encoding changed from ISO* to UTF-8 2009-06-18 21:21:18 +03:00
Kimmo Varis 269e823c63 GUI: Use native file selection dialog to select viewer application.
In Windows use *.exe filter since almost all executable applications have that extension so it makes no sense to show all files.
2009-06-18 00:54:39 +03:00
Kimmo Varis a19c9861da GUI: Use native file selection dialog when selecting report file. 2009-06-18 00:34:22 +03:00
Kimmo Varis 071c79c5cb GUI: Use native dialogs in Windows for check file/directory selection. 2009-06-17 22:35:24 +03:00
Kimmo Varis 195880807e GUI: Refactor menu and toolbar creation to own methods. 2009-06-15 00:48:16 +03:00
Reijo Tomperi 0966a2fbd4 astyle fix 2009-06-14 23:22:19 +03:00
Vesa Pikki 3b73fc6494 Made License and Authors dialogs a bit bigger. 2009-06-14 19:24:00 +03:00
Kimmo Varis 7bbdc8382a GUI: Add new context menu items to copy filename/full path to clipboard. 2009-06-14 15:09:52 +03:00
Kimmo Varis 801a241e0b GUI: Show authors list and license in simple text file view dialog.
Add "Authors" and "License" items to the Help-menu. When selected, these items open simple text file viewer dialog. The AUTHORS and COPYING files are embedded to the executable and shown in the dialog.
2009-06-14 12:57:43 +03:00
Kimmo Varis d7d7b529c9 GUI: Remove the SVG icon from the resources file as it is not used. 2009-06-14 00:20:41 +03:00
Kimmo Varis c55f28ca2b GUI: Move Windows-specific options and files to own scope in project file. 2009-06-13 23:14:09 +03:00
Kimmo Varis 3311113775 GUI: Include Windows resources from resource file having version info. 2009-06-13 23:13:03 +03:00
Kimmo Varis e240848bc1 GUI: Add common.h to the project. 2009-06-13 22:44:56 +03:00
Reijo Tomperi 9ea80b4d74 Fix ticket #397 (xml output doesn't encode " and & -characters as it should)
http://sourceforge.net/apps/trac/cppcheck/ticket/397
2009-06-12 22:02:01 +03:00
Vesa Pikki 799252e8f2 Force extension to the file and check save type by filter and not by filename. 2009-06-12 21:22:45 +03:00
Reijo Tomperi 170f4cf788 Fix compile error in GUI 2009-06-09 22:42:13 +03:00
Kimmo Varis 7efd4e48b8 GUI: One messagebox was missing "this" parameter. 2009-06-09 17:03:38 +03:00
Vesa Pikki 013057b526 Astyle formatting. 2009-06-09 11:22:28 +03:00
Vesa Pikki 398c81f4a8 Force progressbar to be visible when checking starts. 2009-06-09 11:21:17 +03:00
Vesa Pikki b67424785f Added messagebox to inform user about not found/non visible errors. 2009-06-09 10:51:27 +03:00
Vesa Pikki de0bea3479 Merge branch 'master' of git@github.com:danmar/cppcheck 2009-06-09 09:31:54 +03:00
Vesa Pikki 814cd37c90 Added some warning messageboxes.
One for when user tries to double click and there are now applications specified.
Another for when user tries to check something and the file list is empty.
2009-06-09 09:30:28 +03:00
Kimmo Varis 54d861f99e GUI: Add readme file with instructions for running and compiling the GUI. 2009-06-09 00:15:29 +03:00
Kimmo Varis f146ce1aae GUI: If application list contains applications select the first by default. 2009-06-08 16:58:26 +03:00
Kimmo Varis 7ac73e0d25 GUI: Show error message when the viewer application cannot be started. 2009-06-08 16:47:53 +03:00
Kimmo Varis dfb18efed3 Fix #378 (GUI doesn't start application if path contains spaces)
In Windows we must surround paths including spaces with quotation marks. This patch fixes application path when it is read from Browse-dialog.
2009-06-08 16:22:12 +03:00
Kimmo Varis 9cbf9e78de GUI: Show application path with native separators. 2009-06-08 14:58:51 +03:00
Kimmo varis fb04e84975 GUI: Update project file after file renaming. 2009-06-08 00:51:02 +03:00
Kimmo Varis 3142a73fd9 GUI: Limit application name's max length. Limit the application name in Applications-dialog to 100 chars. Nobody should need longer names especially when the application name is shown as a menuitem. 2009-06-06 13:07:53 +03:00
Kimmo Varis db17236000 GUI: Make Settings-dialog a parent of Add Application-dialog. 2009-06-06 12:57:16 +03:00
Kimmo Varis 13eb74173c GUI: Make mainwindow parent of Settings-dialog. 2009-06-06 12:51:14 +03:00
Kimmo Varis 3e0f1a5e56 GUI: Astyle fix. 2009-06-06 12:49:59 +03:00
Kimmo Varis 3b080e5b0b GUI: Convert native path to internal presentation.
If application path is edited by hand there can be native Windows path separators. Unify path separators to internal presentation before storing the path.
2009-06-06 11:38:48 +03:00
Kimmo Varis d0757c5797 GUI: Fix handling UTF-8 strings in sources.
Our source files are UTF-8 and as such contain some chars outside 7-bit ASCII. To handle UTF-8 correctly we must set text codec for QT to UTF-8.
2009-06-06 10:51:50 +03:00
Reijo Tomperi 51349d126b UTF-8 fixes to GUI files
aboutdialog.* added to codeblocks projectfile
2009-06-05 23:52:05 +03:00
Kimmo Varis 8470cdafc0 GUI: Fix warning from About-dialog layout. 2009-06-05 12:29:02 +03:00
Kimmo Varis 9b5350e369 GUI: Enable sorting in results view. 2009-06-04 17:46:19 +03:00
Kimmo Varis 0fe601a1c9 GUI: Improve Settings-dialog layout. 2009-06-04 17:20:01 +03:00
Kimmo Varis c9ceccfd3d GUI: Prevent exiting the application while checking. 2009-06-04 17:02:35 +03:00
Kimmo Varis 6d37cd0371 GUI: Add program icon to the About-dialog. 2009-06-04 16:03:36 +03:00
Kimmo Varis d5a5df7fe6 GUI: Add About-dialog.
Replace messagebox containing about-text with dialog. About-dialog must contain copyright information.
2009-06-04 15:35:41 +03:00
Kimmo Varis 62741bfd4a Remove some empty lines. 2009-06-04 13:07:21 +03:00
Vesa Pikki 95c9fe5d20 Added a missing include. 2009-06-03 21:42:43 +03:00
Vesa Pikki a330e9c35f Added the initial version of saving results to a file. 2009-06-03 21:18:22 +03:00
Reijo Tomperi 2a7470e986 Changed EOL character to LF in a few files. 2009-06-02 23:32:58 +03:00
Reijo Tomperi 5ca3ba59d5 astyle fix 2009-06-02 23:13:29 +03:00
Kimmo Varis 027c31f39c GUI: Implement stopping the compare.
Threads must be exited from check cleanly even though it takes small amount of time. Just terminating thread can have unpredictable side-effects (even weird crashes).
2009-06-02 02:01:53 +03:00
Kimmo Varis e791d1c960 Fix mixed EOL style. 2009-06-02 01:39:52 +03:00
Kimmo Varis 0178fed611 GUI: Add Collapse/Expand all -items to View-menu. 2009-06-02 01:26:44 +03:00
Kimmo Varis acedcebf25 Fix mixed EOL style. 2009-06-02 00:54:21 +03:00
Kimmo Varis 88c16ab226 Fix mixed EOL style. 2009-06-02 00:52:14 +03:00
Kimmo Varis fb53806172 Fix mixed EOL style. 2009-06-02 00:49:15 +03:00
Kimmo Varis a89380e93d GUI: Include result tree icons to resource (and executable). 2009-06-02 00:06:44 +03:00
Kimmo Varis fba1102689 GUI: Add manifest for Windows build. 2009-05-30 20:49:17 +03:00
Kimmo Varis 997872f624 GUI: Fix building with MinGW.
Add shlwapi library to qmake project file. Use WCHAR instead of wchar_t.
2009-05-30 20:45:51 +03:00
Reijo Tomperi 58eda6e978 Fix ticket #325 (Replace developer names in source files with AUTHORS file)
http://apps.sourceforge.net/trac/cppcheck/ticket/325
2009-05-30 08:48:12 +03:00
Kimmo Varis 31c68ffb5a Fix EOL style (had Unix/DOS) mixed style. 2009-05-28 18:30:20 +03:00
Kimmo Varis f5730d3d75 GUI: Fix typo in Add New Application -dialog. 2009-05-28 18:14:16 +03:00
Kimmo Varis 44e5985fe5 GUI: Add separator in View-menu before check/uncheck all. 2009-05-28 18:10:09 +03:00
Kimmo Varis 0792b52c6e GUI: Add application icon for Windows. 2009-05-28 17:54:07 +03:00
Kimmo Varis 04226295a0 GUI: Use PNG icon instead of SVG icon for Check directory -action. 2009-05-28 16:30:44 +03:00
Kimmo Varis d73ab89c93 Add icon files to resource file.
Having resource files compiled in the executable makes installing the application easier (especially on Windows).
2009-05-28 11:32:32 +03:00
Vesa Pikki 4f41adf45e Astyle formatting. 2009-05-26 18:23:06 +03:00
Vesa Pikki 76c7290e12 Added 22x22 icons from http://tango.freedesktop.org.
Also added icon source to AUTHORS file.
Also added toolbar with the default actions.
Added icons to result files and errors.
2009-05-26 18:21:39 +03:00
Daniel Marjamäki c7c9966fa3 renamed the logo files to icon instead 2009-05-25 18:54:15 +02:00
Daniel Marjamäki d21f309d61 logo: modified the logo so it looks better when used as mainicon for the gui program 2009-05-25 18:07:24 +02:00
Vesa Pikki 1173854c6f GUI now uses Cppcheck's logo. 2009-05-25 16:00:42 +03:00
Vesa Pikki d9c36eada2 Astyle formatting. 2009-05-24 12:09:37 +03:00
Vesa Pikki 04b23b582c User can now undo changes to application list by clicking cancel. 2009-05-24 12:09:31 +03:00
Vesa Pikki 9bb0cff511 Astyle formatting. 2009-05-24 11:55:54 +03:00
Vesa Pikki de0dd0a2bb Fixed issues pointed out by Reijo.
The number of threads is now atleast 1.
Added a very simple about dialog with version number and license.
Replaced all CppCheck's with Cppcheck.
Renamed "show more errors" to "show possible false positives" in the menu.
User created application now has to have a name and a path.
2009-05-24 11:53:29 +03:00
Vesa Pikki 2d8b08d4ab Added more comments to class members and methods. 2009-05-23 19:29:24 +03:00
Vesa Pikki 2b7bf671d7 Now starts the default application by double clicking the error. 2009-05-23 18:45:05 +03:00
Vesa Pikki 70c32c10e4 Added the initial version of opening a error with user specified application. 2009-05-23 14:26:04 +03:00
Vesa Pikki 78d4318c5e Added the ability to add/remove/modify applications to open errors with.
Only the list of applications added, errors cant be opened yet.
2009-05-23 13:37:30 +03:00
Vesa Pikki ae7fc7fe3e When adding a new error, only hides it and doesn't check all errors. 2009-05-23 11:33:38 +03:00
Vesa Pikki f0a26b3ffe Results tree now uses only QStandardItemModel for data storage.
Items are now hidden from the tree and the tree is not recreated everytime it is refreshed.
Also added test.cpp as a sample data for GUI testing.
Added Check all and uncheck all buttons to menu to show/hide all errors more easily.
2009-05-23 11:17:27 +03:00
Vesa Pikki 63000e57d1 Updated new cppcheck files to project file. 2009-05-23 07:56:50 +03:00
Reijo Tomperi 9c9e920829 Fix ticket #252 (Fix --style warnings in cppcheck)
http://apps.sourceforge.net/trac/cppcheck/ticket/252
2009-04-13 12:02:21 +03:00
Vesa Pikki 8efae83184 Removed unnecessary options from settings dialog. 2009-03-22 20:00:06 +02:00
Vesa Pikki d1e43ee6ea Added a window title. 2009-03-22 19:51:49 +02:00
Vesa Pikki 31845a89bc Added license text. 2009-03-22 19:47:25 +02:00
Vesa Pikki f752cca1e2 Merge branch 'gui'
Conflicts:

	gui/resultstree.cpp
2009-03-22 19:42:45 +02:00
Vesa Pikki 1e66d7f0e4 Merge conflicts. 2009-03-22 19:41:32 +02:00
Vesa Pikki 855dda69b7 Conflicts:
gui/mainwindow.cpp
	gui/resultstree.cpp
2009-03-22 19:40:29 +02:00
Vesa Pikki 0953995ee3 Merged gui branch to master. 2009-03-22 19:39:44 +02:00
Vesa Pikki 55ad06a7b2 Astyle formatting. 2009-03-22 19:38:03 +02:00
Vesa Pikki 856b3cd949 Can now hide and show results based on cpp flags. 2009-03-22 19:37:26 +02:00
Vesa Pikki 592ff8ba3c Added view menu and buttons for it. 2009-03-22 18:46:51 +02:00
Vesa Pikki c6e8d61db3 Added recheck and clear results buttons. 2009-03-22 17:42:48 +02:00
Vesa Pikki 9eda0ce52c astyle formatting. 2009-03-22 17:41:14 +02:00
Vesa Pikki 84853aa7f9 Added recheck and clear results buttons. 2009-03-22 17:40:47 +02:00
Vesa Pikki f04bdccee4 Astyle formatting. 2009-03-22 15:15:16 +02:00
Vesa Pikki 5e1994068a Added settings dialog to select what kind of errors are visible. 2009-03-22 14:32:07 +02:00
Vesa Pikki d008592a84 Removed check dialog.
Files to be checked are selected by default file open dialog with all checking options enabled.
2009-03-22 14:28:52 +02:00
unknown bc6e1a74d0 Windows Qt compilation fixes.
FileLister::RecursiveAddFiles failed to compile in Windows when GUI was compiled. Since that method wasn't used in Qt build I ifdeffed it out.

Also removed vcl related code from checkdialog since that was removed from release.
2009-03-07 18:53:50 +02:00
Vesa Pikki 71a79a4ce6 Removed some unnecessary debug prints. 2009-03-02 19:59:51 +00:00
Vesa Pikki e629db6818 Now adds directory contents to list of files to check.
Only adds proper (.cpp,.c,.cpp,...) files to the list of files to check.
Modified checkthread to clear results after each file.
2009-03-02 19:56:51 +00:00
Vesa Pikki cc6cec091a Began implementing ThreadExecutor with Qt threads. Still a work in progress.
Added tr to all strings.
2009-03-01 20:44:42 +00:00
Vesa Pikki b39c15410b Began implementing a simple Qt based GUI.
Also modified astyle scripts to format gui code aswell.
2009-03-01 07:38:21 +00:00