Commit Graph

97 Commits

Author SHA1 Message Date
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